@import url("/charts.css");
@font-face {
  font-family: "Atlas Newsreader";
  src: url("/assets/newsreader-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atlas Newsreader";
  src: url("/assets/newsreader-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Atlas Jakarta";
  src: url("/assets/jakarta-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atlas Jakarta";
  src: url("/assets/jakarta-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Atlas Jakarta";
  src: url("/assets/jakarta-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Atlas Jakarta";
  src: url("/assets/jakarta-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #192b3b;
  --muted: #647586;
  --paper: #f5f6f9;
  --white: #fff;
  --line: #dfe5eb;
  --primary: #5844df;
  --mint: #b8efda;
  --teal: #078b82;
  --coral: #f97861;
  --yellow: #f3d584;
  --radius: 18px;
  font:
    15px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--primary);
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b8aaff;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 650;
}
h2 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 750;
  font-size: 30px;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 650;
  margin-top: 7px;
  color: inherit;
}
.brand-mark {
  width: 43px;
  height: 46px;
  border-radius: 13px;
  background: var(--primary);
  color: white;
  text-align: center;
  line-height: 41px;
  font-family: Georgia, serif;
  font-size: 42px;
  position: relative;
}
.brand-mark span {
  font: 18px system-ui;
  position: absolute;
  right: 2px;
  top: -5px;
  background: var(--mint);
  color: var(--ink);
  border-radius: 50%;
  width: 24px;
  height: 24px;
}
.button {
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 20px #5844df22;
}
.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.button.dark {
  background: var(--ink);
}
.button.mint {
  background: var(--mint);
  color: var(--ink);
}
.button.danger {
  background: #b93942;
}
.button.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.full {
  width: 100%;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-width: 0;
}
.panel h2 {
  font-size: 20px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.spaced {
  margin-top: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 19px;
}
.field label,
.field-label {
  font-size: 12px;
  font-weight: 750;
}
.field input,
.field select,
.field textarea,
.search-input {
  width: 100%;
  background: #fcfcfd;
  border: 1px solid #d9e0e6;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  min-width: 0;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field small {
  font-size: 11px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin: 12px 0;
}
.check input {
  accent-color: var(--primary);
  margin-top: 5px;
}
.notice {
  border: 1px solid #e7dfb9;
  background: #fffae9;
  color: #6e5a28;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 20px;
}
.notice.info {
  background: #edf6fc;
  border-color: #ccdfed;
  color: #36556c;
}
.notice.success {
  background: #e9f8ef;
  border-color: #baddc8;
  color: #29734b;
}
.tag {
  display: inline-block;
  border-radius: 6px;
  background: #eef0f8;
  color: #536079;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.tag.good {
  background: #dff5e9;
  color: #117a52;
}
.tag.bad {
  background: #fbe4e6;
  color: #a33945;
}
.tag.warn {
  background: #fff1d5;
  color: #866216;
}
.help {
  border: 1px solid #ccd6e0;
  color: #6b7991;
  background: transparent;
  font-size: 10px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 14px;
  padding: 0;
  margin-left: 5px;
}
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-page {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.premium-modal {
  border: 0;
  border-radius: 22px;
  padding: 34px;
  max-width: 620px;
  width: calc(100% - 32px);
  color: var(--ink);
  box-shadow: 0 25px 100px #17283b44;
}
.premium-modal::backdrop {
  background: #10233099;
  backdrop-filter: blur(5px);
}
.premium-modal .modal-body {
  max-height: 65vh;
  overflow: auto;
}
.premium-modal .actions {
  justify-content: flex-end;
  margin-top: 25px;
}
.modal-x {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 25px;
  color: var(--muted);
  border: 0;
  background: none;
}
.toast {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 25px #0002;
  padding: 16px 22px;
  border-radius: 12px;
  max-width: 480px;
  margin: 10px;
}
.toast.error {
  background: #a33242;
}
#notifications {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 10000;
}
.empty {
  text-align: center;
  padding: 45px 20px;
}
.empty-symbol {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #eeebff;
  color: var(--primary);
  border-radius: 16px;
  font-size: 30px;
  margin-bottom: 15px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: #f7f8fb;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid #e9edf1;
  vertical-align: top;
}
td {
  max-width: 400px;
  overflow-wrap: anywhere;
}
td .actions {
  flex-wrap: nowrap;
}
.bars {
  display: grid;
  gap: 15px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 2fr 55px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.bar-row > div {
  height: 8px;
  background: #edf0f4;
  border-radius: 10px;
  overflow: hidden;
}
.bar-row i {
  height: 100%;
  display: block;
  background: var(--primary);
  border-radius: 10px;
}
.bar-row:nth-child(2n) i {
  background: var(--teal);
}
.bar-row b {
  text-align: right;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.public-header {
  max-width: 1280px;
  margin: auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.public-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
}
.public-header nav > a:not(.button) {
  color: var(--ink);
}
.landing-hero {
  max-width: 1280px;
  margin: auto;
  padding: 60px 32px 90px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.landing-hero h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -3px;
}
.landing-hero em {
  color: var(--primary);
  font-style: normal;
}
.landing-hero p {
  max-width: 510px;
  font-size: 17px;
  color: var(--muted);
}
.hero-art {
  position: relative;
  overflow: hidden;
  background: var(--mint);
  border-radius: 40% 40% 18px 18px;
  padding: 45px 30px 30px;
  min-height: 430px;
}
.hero-art .mini-board {
  background: white;
  box-shadow: 0 30px 60px #18274318;
  border-radius: 16px;
  padding: 24px;
  transform: rotate(-3deg);
}
.orbit {
  position: absolute;
  right: -15px;
  top: 15px;
  width: 115px;
  height: 115px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 52px;
  color: var(--ink);
  transform: rotate(20deg);
}
.hero-art .art-label {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
}
.mini-score {
  font-size: 52px;
  letter-spacing: -3px;
}
.feature-section {
  padding: 70px 32px;
  max-width: 1280px;
  margin: auto;
}
.feature-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #ede9ff;
  color: var(--primary);
  border-radius: 15px;
  font-size: 23px;
  margin-bottom: 26px;
}
.feature-card:nth-child(2n) .feature-icon {
  background: #def6ed;
  color: var(--teal);
}
.feature-card:nth-child(3n) .feature-icon {
  background: #fff0db;
  color: #b47b29;
}
.feature-card p {
  font-size: 13px;
  color: var(--muted);
}
.band {
  background: var(--ink);
  color: white;
  padding: 70px 32px;
}
.band-inner {
  max-width: 1216px;
  margin: auto;
}
.band .eyebrow {
  color: var(--mint);
}
.band p {
  color: #b6c8d6;
}
.public-footer {
  max-width: 1280px;
  margin: auto;
  padding: 40px 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.public-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-story {
  background: #243c3e;
  color: white;
  padding: 50px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  position: absolute;
  border: 1px solid #c5efda30;
  border-radius: 50%;
  width: 560px;
  height: 560px;
  right: -260px;
  top: -230px;
  box-shadow:
    0 0 0 70px #c5efda08,
    0 0 0 140px #c5efda05;
}
.auth-story .brand {
  z-index: 1;
}
.auth-story .story-copy {
  position: relative;
  z-index: 1;
  margin: 70px 0;
}
.auth-story h1 {
  font:
    clamp(42px, 4.2vw, 68px)/1.15 Georgia,
    serif;
  letter-spacing: -2px;
}
.auth-story p {
  max-width: 440px;
  color: #bdcfd0;
}
.auth-story .eyebrow {
  color: var(--mint);
}
.story-shapes {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 45px;
}
.story-shapes i {
  width: 55px;
  height: 55px;
  background: var(--mint);
  border-radius: 50%;
}
.story-shapes i:nth-child(2) {
  background: var(--coral);
  border-radius: 12px;
  transform: rotate(15deg);
}
.story-shapes i:nth-child(3) {
  background: var(--yellow);
  border-radius: 50% 50% 0 0;
}
.auth-story small {
  color: #9cb5b6;
}
.auth-form-side {
  padding: 55px 9%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-form {
  width: 100%;
  max-width: 450px;
}
.auth-form h1 {
  font:
    40px/1.2 Georgia,
    serif;
  letter-spacing: -1px;
}
.auth-form > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
  margin: 22px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.social {
  display: flex;
  gap: 10px;
}
.social > * {
  flex: 1;
}
.text-center {
  text-align: center;
}
.legal {
  max-width: 820px;
  margin: 55px auto;
  padding: 35px;
}
.legal h1 {
  font-size: 42px;
}
.legal h2 {
  margin-top: 32px;
}
.legal p,
.legal li {
  color: var(--muted);
}
.sidebar {
  position: fixed;
  width: 235px;
  inset: 0 auto 0 0;
  padding: 30px 22px;
  background: #182f36;
  color: #cad9df;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar .brand {
  color: white;
  margin-bottom: 40px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
  overflow-y: auto;
  min-height: 0;
}
.sidebar nav a {
  color: #abc0ca;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar nav a.active {
  background: #b8efda;
  color: #183d3b;
  font-weight: 750;
}
.sidebar nav a:hover:not(.active) {
  background: #ffffff0a;
  color: white;
}
.nav-section {
  font-size: 9px;
  letter-spacing: 2px;
  color: #7798a5;
  padding: 22px 14px 7px;
}
.sidebar-foot {
  margin-top: auto;
  font-size: 11px;
  padding-top: 30px;
}
.sidebar-foot .avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #57727b;
  color: white;
  float: left;
  margin-right: 10px;
}
.sidebar-foot button {
  background: none;
  border: 0;
  color: #9bb1ba;
  margin-top: 16px;
  padding: 0;
  font-size: 12px;
}
.workspace {
  margin-left: 235px;
}
.workspace-header {
  padding: 22px 36px;
  border-bottom: 1px solid var(--line);
  background: #ffffffb3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.workspace-header small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
}
.workspace-header strong {
  font-size: 18px;
}
.workspace-content {
  padding: 34px 36px;
  max-width: 1600px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.page-head h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.page-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.welcome {
  background: #e5e1fc;
  border: 1px solid #d9d1fc;
  border-radius: 22px;
  padding: 30px 35px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.welcome h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}
.welcome p {
  color: #6d6596;
  max-width: 640px;
  font-size: 14px;
}
.welcome-symbol {
  font-size: 80px;
  color: var(--primary);
  line-height: 1;
}
.stat {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}
.stat small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat strong {
  display: block;
  font-size: 35px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 6px 0;
}
.stat p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.stat.mint {
  background: #dff3eb;
  border-color: #c9e7db;
}
.stat.lilac {
  background: #eeeafa;
  border-color: #ded7f5;
}
.stat.peach {
  background: #fff0e9;
  border-color: #f2dccf;
}
.audit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.audit-row:last-child {
  border: 0;
}
.site-icon {
  width: 45px;
  height: 45px;
  background: #ebe8fa;
  border-radius: 13px;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.audit-row .site-info {
  flex: 1;
  min-width: 0;
}
.site-info a {
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.site-info small {
  display: block;
  font-size: 11px;
}
.score-pill {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 38px;
  border-radius: 9px;
  background: #ddf3e8;
  color: #118465;
  font-weight: 750;
}
.score-pill.low {
  background: #fbe5df;
  color: #aa4e37;
}
.progress {
  height: 8px;
  background: #edf0f4;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--primary);
  transition: width 0.5s;
}
.tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin: 25px 0;
}
.tabs button {
  border: 0;
  background: transparent;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.tabs button.active {
  color: var(--primary);
  background: #eae6fd;
  font-weight: 750;
}
.grade-panel {
  background: var(--ink);
  color: white;
  border-radius: 18px;
  padding: 26px;
}
.grade-panel .grade {
  font:
    80px/1 Georgia,
    serif;
  color: var(--mint);
}
.grade-panel small {
  color: #b4c7d6;
}
.metric {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  min-width: 0;
}
.metric small {
  font-size: 10px;
}
.metric strong {
  display: block;
  font-size: 28px;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.metric.warn {
  border-left-color: #cfa54d;
}
.metric.bad {
  border-left-color: var(--coral);
}
.metric p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.filmstrip {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 8px 0 20px;
}
.filmstrip figure {
  margin: 0;
  flex-shrink: 0;
  width: 135px;
}
.filmstrip img {
  width: 135px;
  height: 90px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8fa;
}
.filmstrip figcaption {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
}
.waterfall {
  min-width: 720px;
}
.waterfall .network-name {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.waterfall-track {
  height: 15px;
  background: #f0f2f7;
  min-width: 220px;
  border-radius: 3px;
  position: relative;
}
.waterfall-track i {
  position: absolute;
  height: 100%;
  background: #9280d1;
  border-radius: 3px;
  min-width: 2px;
}
.finding {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  margin-bottom: 12px;
}
.finding summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.finding p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.finding ul {
  font-size: 11px;
  overflow-wrap: anywhere;
  padding-left: 18px;
}
.finding code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.choice {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: var(--primary);
  background: #f4f1ff;
}
.choice input {
  margin-top: 6px;
  accent-color: var(--primary);
}
.choice strong {
  display: block;
  font-size: 14px;
}
.choice small {
  font-size: 12px;
  display: block;
  margin-top: 7px;
}
.combobox {
  position: relative;
}
.model-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 280px;
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 15px 35px #152c4222;
}
.model-options button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 13px;
  background: white;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  font-size: 12px;
}
.model-options button:hover,
.model-options button:focus {
  background: #eeeafa;
}
.message {
  padding: 16px 20px;
  border-radius: 13px;
  background: #f2f5f8;
  margin: 15px 0;
  max-width: 90%;
}
.message.admin {
  background: #eeeafa;
  margin-left: auto;
}
.message p {
  white-space: pre-wrap;
  font-size: 13px;
  margin: 7px 0;
}
.message small {
  font-size: 10px;
}
.report-frame {
  width: 100%;
  height: 75vh;
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
}
.compare-check {
  accent-color: var(--primary);
}
.form-narrow {
  max-width: 800px;
}
.menu-toggle {
  display: none;
}
.mobile-only {
  display: none;
}
.good-text {
  color: var(--teal);
}
.bad-text {
  color: #b93942;
}
.mono {
  font:
    11px ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.money {
  font-variant-numeric: tabular-nums;
}
.hidden,
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-content {
    padding: 26px 22px;
  }
  .sidebar {
    width: 205px;
    padding: 27px 15px;
  }
  .workspace {
    margin-left: 205px;
  }
  .landing-hero {
    gap: 30px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-form-side {
    padding: 40px 8%;
  }
}
@media (max-width: 760px) {
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 235px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vmax #182f3688;
  }
  .workspace {
    margin: 0;
  }
  .workspace-header {
    padding: 15px 20px;
  }
  .workspace-header strong {
    font-size: 15px;
  }
  .menu-toggle {
    display: inline-flex;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 22px;
  }
  .workspace-content {
    padding: 24px 16px;
  }
  .page-head {
    flex-direction: column;
  }
  .page-head h1 {
    font-size: 27px;
  }
  .welcome {
    padding: 24px;
  }
  .welcome-symbol {
    display: none;
  }
  .stat {
    padding: 18px;
  }
  .stat strong {
    font-size: 28px;
  }
  .panel {
    padding: 20px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 25px;
    min-height: 160px;
  }
  .auth-story .story-copy,
  .auth-story > small {
    display: none;
  }
  .auth-form-side {
    padding: 35px 25px;
  }
  .public-header {
    padding: 22px;
  }
  .public-header nav > a:not(.button) {
    display: none;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 30px 24px 60px;
  }
  .hero-art {
    max-width: 430px;
    margin: 20px auto 0;
    width: 100%;
  }
  .feature-section {
    padding: 45px 24px;
  }
  .public-footer {
    flex-direction: column;
    padding: 30px 24px;
  }
  .legal {
    margin: 15px;
    padding: 25px 10px;
  }
  .audit-row {
    gap: 10px;
  }
  .audit-row .button {
    padding: 8px;
    font-size: 10px;
  }
  .brand {
    font-size: 26px;
  }
  .brand-mark {
    transform: scale(0.9);
  }
  .welcome h2 {
    font-size: 28px;
  }
  .premium-modal {
    padding: 27px 22px;
  }
  .social {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition: none !important;
  }
}
.auth-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.auth-security {
  margin: 18px 0;
}
.auth-security p,
.social-note {
  font-size: 12px;
  line-height: 1.6;
}
.social-provider {
  gap: 10px;
  font-size: 13px;
  white-space: normal;
}
.social-provider:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.google-letter {
  color: #4285f4;
  font-size: 22px;
  font-weight: 700;
}
.ms-logo {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 2px;
  flex-shrink: 0;
}
.ms-logo i {
  width: 8px;
  height: 8px;
  background: #f25022;
}
.ms-logo i:nth-child(2) {
  background: #7fba00;
}
.ms-logo i:nth-child(3) {
  background: #00a4ef;
}
.ms-logo i:nth-child(4) {
  background: #ffb900;
}
.social-terms {
  font-size: 12px;
}

/* Atlas workspace — editorial intelligence desk */
body:has(.workspace) {
  background:
    radial-gradient(circle at 74% 0%, #7967ff0c 0 18%, transparent 42%), #f3f5f8;
}
.sidebar {
  width: 268px;
  padding: 26px 20px 22px;
  background: linear-gradient(165deg, #101b2f 0%, #142b36 64%, #123539 100%);
  border-right: 1px solid #ffffff0d;
  box-shadow: 24px 0 70px #14233b17;
  overflow: hidden;
}
.sidebar-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -125px;
  right: -130px;
  border-radius: 50%;
  border: 1px solid #78e9c939;
  box-shadow:
    0 0 0 38px #78e9c908,
    0 0 0 78px #806cff08;
  pointer-events: none;
}
.sidebar .brand {
  position: relative;
  z-index: 1;
  margin: 0 8px 28px;
  font-size: 27px;
}
.sidebar .brand-mark {
  background: linear-gradient(145deg, #7258ff, #503bd8);
  box-shadow: 0 12px 30px #080d1f55;
}
.workspace-label {
  margin: 0 12px 16px;
  color: #78919e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.workspace-label i,
.secure-badge i,
.live-chip i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #66e3bd;
  box-shadow: 0 0 0 4px #66e3bd18;
}
.sidebar nav {
  gap: 4px;
  padding-right: 3px;
}
.sidebar nav a {
  position: relative;
  padding: 11px 13px;
  border-radius: 12px;
  color: #aebfc9;
  font-size: 12px;
  transition: 0.18s ease;
}
.sidebar nav a > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #8ba3af;
  background: #ffffff06;
}
.sidebar nav a.active {
  color: #fff;
  background: linear-gradient(90deg, #6b55ef, #4f43cf);
  box-shadow: 0 10px 24px #090b2550;
}
.sidebar nav a.active:before {
  content: "";
  position: absolute;
  left: -20px;
  height: 22px;
  width: 3px;
  border-radius: 4px;
  background: #72e6c3;
}
.sidebar nav a.active > span {
  color: #8ef0d2;
  background: #ffffff12;
}
.nav-section {
  color: #667e8c;
  padding: 25px 13px 8px;
}
.sidebar-foot {
  margin: 20px -2px -2px;
  padding: 17px 12px 0;
  border-top: 1px solid #ffffff10;
  color: #d8e3e8;
}
.sidebar-foot .avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #66e3bd, #3da690);
  color: #10212d;
  font-weight: 800;
}
.sidebar-foot button {
  color: #8fa5b1;
  transition: 0.2s;
}
.sidebar-foot button:hover {
  color: #fff;
}
.workspace {
  margin-left: 268px;
  min-height: 100vh;
}
.workspace-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  padding: 17px clamp(24px, 3vw, 48px);
  background: #f8f9fbd9;
  backdrop-filter: blur(18px);
  border-color: #dce2e9;
}
.workspace-header small {
  color: #7c8b9a;
  font-weight: 800;
}
.workspace-header strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 20px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.secure-badge {
  color: #627582;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.workspace-content {
  padding: 38px clamp(28px, 3vw, 52px) 70px;
  max-width: 1680px;
}
.button {
  border-radius: 12px;
  background: linear-gradient(135deg, #6750ed, #5039da);
  box-shadow: 0 7px 20px #5944df20;
}
.button.secondary {
  box-shadow: none;
  background: #fff;
}
.button.ghost {
  background: transparent;
  color: #fff;
  border-color: #ffffff36;
  box-shadow: none;
}
.button.ghost:hover {
  background: #ffffff0d;
}
.panel {
  border-color: #dce3ea;
  border-radius: 20px;
  box-shadow: 0 14px 45px #192b3b09;
}
.page-head {
  align-items: center;
  margin-bottom: 28px;
}
.page-head h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -1.4px;
}
.premium-hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  align-items: center;
  padding: 48px 54px;
  color: white;
  background:
    radial-gradient(circle at 78% 50%, #7964ff38 0 3%, transparent 4% 100%),
    linear-gradient(120deg, #111c31 0%, #19284b 58%, #34439c 100%);
  border: 0;
  box-shadow: 0 28px 70px #1c28512b;
}
.premium-hero:before,
.premium-hero:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid #a89cff26;
  width: 390px;
  height: 390px;
  right: -80px;
  top: -165px;
}
.premium-hero:after {
  width: 260px;
  height: 260px;
  right: -15px;
  top: -100px;
}
.premium-hero > div:first-child {
  position: relative;
  z-index: 2;
}
.premium-hero .eyebrow {
  color: #75e6c3;
}
.premium-hero h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
}
.premium-hero h2 em {
  color: #b9afea;
  font-style: normal;
}
.premium-hero p {
  color: #c5cfdf;
  max-width: 680px;
  font-size: 14px;
}
.hero-compass {
  position: relative;
  width: 220px;
  height: 220px;
  flex: 0 0 220px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.hero-compass:before,
.hero-compass:after,
.hero-compass span:before,
.hero-compass span:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 2px;
  height: 200px;
  background: linear-gradient(transparent, #8d7cff, transparent);
  transform-origin: center;
}
.hero-compass:after {
  transform: rotate(90deg);
}
.hero-compass span:before {
  transform: rotate(45deg);
}
.hero-compass span:after {
  transform: rotate(-45deg);
}
.hero-compass i {
  position: absolute;
  width: 105px;
  height: 105px;
  border: 1px solid #72e6c35c;
  border-radius: 50%;
  box-shadow: 0 0 0 25px #ffffff05;
}
.hero-compass b {
  font-size: 10px;
  letter-spacing: 3px;
  color: #77e5c4;
}
.metrics-strip {
  margin-bottom: 24px;
}
.stat {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 25px 27px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 38px #192b3b08;
}
.stat:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #6a55ed;
}
.stat.mint,
.stat.lilac,
.stat.peach {
  background: #fff;
}
.stat.mint:before {
  background: #21aa86;
}
.stat.lilac:before {
  background: #8a72ef;
}
.stat.peach:before {
  background: #f17f63;
}
.stat-orbit {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid #75849716;
  border-radius: 50%;
  right: -30px;
  top: -35px;
  box-shadow: 0 0 0 18px #75849708;
}
.stat small {
  color: #718192;
  font-weight: 750;
}
.stat strong {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 400;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.7fr);
  gap: 20px;
}
.chart-panel,
.portfolio-panel {
  min-height: 410px;
}
.panel-heading,
.integration-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.panel-heading h2,
.integration-title h2 {
  margin: 0;
}
.live-chip,
.connection-state {
  border: 1px solid #dbe4e6;
  border-radius: 30px;
  padding: 7px 10px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #61747b;
  white-space: nowrap;
}
.trend-chart {
  padding-top: 10px;
}
.trend-chart svg {
  width: 100%;
  display: block;
  overflow: visible;
}
.trend-guide {
  stroke: #dfe6ec;
  stroke-width: 1;
  stroke-dasharray: 4 7;
}
.trend-fill {
  fill: #6651e914;
}
.trend-stroke {
  fill: none;
  stroke: #6651e9;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trend-point {
  fill: #fff;
  stroke: #6651e9;
  stroke-width: 4;
}
.trend-axis {
  display: flex;
  justify-content: space-between;
  color: #7c8997;
  font-size: 9px;
  padding: 0 15px;
  overflow: hidden;
}
.chart-empty {
  min-height: 285px;
  display: grid;
  place-items: center;
  position: relative;
  color: #78889a;
  font-size: 12px;
  text-align: center;
}
.chart-grid {
  position: absolute;
  inset: 30px 0;
  display: grid;
  align-content: space-around;
}
.chart-grid i {
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbe3ea, transparent);
}
.portfolio-panel {
  background: linear-gradient(145deg, #fff, #faf9ff);
}
.health-ring {
  --good-end: calc(var(--healthy) * 1%);
  --attention-end: calc((var(--healthy) + var(--attention)) * 1%);
  width: 180px;
  height: 180px;
  margin: 26px auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    #23aa83 0 var(--good-end),
    #e3a633 var(--good-end) var(--attention-end),
    #e56d68 var(--attention-end) 100%
  );
  position: relative;
}
.health-ring:after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #fbfaff;
  box-shadow: inset 0 0 0 1px #e3e4ec;
}
.health-ring > div {
  position: relative;
  z-index: 2;
  text-align: center;
}
.health-ring strong {
  display: block;
  font:
    42px/1 Georgia,
    serif;
}
.health-ring small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.health-legend {
  display: grid;
  gap: 10px;
}
.health-legend span {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 9px;
  color: #667686;
  font-size: 11px;
}
.health-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23aa83;
}
.health-legend i.warn {
  background: #e3a633;
}
.health-legend i.bad {
  background: #e56d68;
}
.health-legend b {
  color: var(--ink);
}
.activity-panel,
.ranking-panel {
  min-height: 430px;
}
.activity-panel .audit-row {
  margin: 0 -4px;
  padding: 17px 4px;
}
.insight-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  margin-top: 20px;
  padding: 14px;
  background: #f3f1ff;
  border-radius: 12px;
  color: #5e6481;
  font-size: 11px;
}
.insight-note span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #6a55ed;
  color: #fff;
  font-family: Georgia, serif;
}
.insight-note p {
  margin: 0;
}
.empty {
  min-height: 260px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 28%, #6852eb12, transparent 33%),
    repeating-linear-gradient(0deg, transparent 0 41px, #dce3eb66 42px),
    repeating-linear-gradient(90deg, transparent 0 80px, #dce3eb45 81px);
}
.empty-symbol {
  background: #17243d;
  color: #76e4c2;
  box-shadow: 0 12px 32px #14213d26;
}
.form-narrow {
  max-width: 1120px;
}
#new-audit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
#new-audit .spaced {
  margin-top: 0;
}
#new-audit > .actions {
  grid-column: 1/-1;
  padding: 20px 2px;
}
#ai-settings {
  max-width: 1100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #faf9ff);
}
#ai-settings:after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -125px;
  top: -120px;
  border: 1px solid #6d57eb24;
  border-radius: 50%;
  box-shadow:
    0 0 0 34px #6d57eb09,
    0 0 0 72px #54d8b706;
  pointer-events: none;
}
#ai-settings > * {
  position: relative;
  z-index: 1;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.1px;
}
.field input,
.field select,
.field textarea,
.search-input {
  min-height: 52px;
  border-radius: 13px;
  border-color: #d7dfe8;
  background: #fafbfc;
  transition:
    border 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.search-input:focus {
  background: #fff;
  border-color: #7d68ef;
  box-shadow: 0 0 0 4px #6952ee12;
  outline: 0;
}
.choice {
  border-radius: 16px;
  min-height: 130px;
  transition: 0.2s;
}
.choice:has(input:checked) {
  border-color: #715bed;
  background: #f4f1ff;
  box-shadow: 0 12px 30px #5d48df12;
}
.notice {
  border-radius: 14px;
}
.audit-row {
  transition: 0.18s;
}
.audit-row:hover {
  background: #f8f9fc;
  transform: translateX(3px);
}
.site-icon {
  border-radius: 14px;
  background: #f0edff;
}
.admin-intro {
  padding: 28px 32px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(110deg, #101c30, #29366f);
  color: #fff;
  box-shadow: 0 20px 55px #16214426;
}
.admin-intro h2 {
  font:
    34px Georgia,
    serif;
  margin-bottom: 8px;
}
.admin-intro p {
  color: #bdc7dc;
  margin: 0;
}
.admin-intro .eyebrow {
  color: #72e5c2;
}
.integration-grid {
  align-items: start;
}
.integration-card {
  padding: 30px;
}
.integration-title {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.integration-title small {
  display: block;
  color: #7b8998;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.integration-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #151f36;
  color: #73e5c3;
  font-size: 19px;
  flex: 0 0 auto;
}
.integration-title > div {
  flex: 1;
}
.connection-state.online {
  color: #087d60;
  background: #e8f8f2;
  border-color: #ccece0;
}
.smtp-test {
  margin: 24px 0;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f2efff, #eef8f6);
  border: 1px solid #ddd7fb;
}
.smtp-test p {
  font-size: 11px;
  color: #637283;
}
.table-scroll {
  border-radius: 13px;
  border: 1px solid #e2e7ed;
}
.table-scroll table {
  border: 0;
}
.table-scroll thead {
  background: #f6f7fa;
}

@media (max-width: 1100px) {
  .sidebar {
    width: 232px;
  }
  .workspace {
    margin-left: 232px;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-panel {
    min-height: auto;
  }
  .health-ring {
    width: 160px;
    height: 160px;
  }
  #new-audit {
    grid-template-columns: 1fr;
  }
  #new-audit > .actions {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: min(86vw, 310px);
    padding: 24px 17px;
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
  .workspace {
    margin-left: 0;
  }
  .workspace-header {
    min-height: 66px;
    padding: 12px 14px;
  }
  .workspace-header strong {
    font-size: 14px;
  }
  .workspace-header small,
  .secure-badge {
    display: none;
  }
  .workspace-header .button.small {
    font-size: 11px;
    padding: 8px 11px;
  }
  .workspace-content {
    padding: 20px 14px 50px;
  }
  .page-head {
    gap: 12px;
    margin-bottom: 20px;
  }
  .page-head h1 {
    font-size: 30px;
  }
  .page-head > .actions {
    width: 100%;
  }
  .page-head > .actions > * {
    flex: 1;
    min-width: 0;
  }
  .premium-hero {
    min-height: auto;
    padding: 30px 24px;
    display: block;
    border-radius: 18px;
  }
  .premium-hero h2 {
    font-size: 31px;
  }
  .premium-hero p {
    font-size: 12px;
  }
  .hero-compass {
    display: none;
  }
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    min-height: 124px;
    padding: 18px;
  }
  .stat strong {
    font-size: 34px;
  }
  .stat p {
    font-size: 9px;
  }
  .analytics-grid {
    gap: 12px;
  }
  .chart-panel,
  .portfolio-panel {
    min-height: auto;
  }
  .trend-axis span:nth-child(even) {
    display: none;
  }
  .panel {
    padding: 19px;
    border-radius: 17px;
  }
  .panel-heading {
    align-items: flex-start;
  }
  .panel-heading h2 {
    font-size: 19px;
  }
  .audit-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 9px;
  }
  .audit-row .button {
    display: none;
  }
  .audit-row .tag {
    grid-column: 2;
  }
  .score-pill {
    grid-row: 1;
    grid-column: 3;
  }
  .site-info small {
    line-height: 1.4;
  }
  .integration-card {
    padding: 20px;
  }
  .integration-title {
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .connection-state {
    grid-column: 1/-1;
    width: max-content;
  }
  .smtp-test {
    margin: 18px -5px;
    padding: 16px;
  }
  .empty {
    min-height: 220px;
  }
  .health-ring {
    width: 150px;
    height: 150px;
  }
  .tabs {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
  }
  .table-scroll {
    margin-left: -8px;
    margin-right: -8px;
    border-radius: 10px;
  }
}
@media (max-width: 420px) {
  .metrics-strip {
    grid-template-columns: 1fr;
  }
  .premium-hero .actions a {
    width: 100%;
  }
  .topbar-actions {
    gap: 7px;
  }
}

/* Stitch 2026 — institutional, privacy and support surfaces */
.institutional-site {
  background-image: radial-gradient(circle at 1px 1px, #2736550d 1px, transparent 0);
  background-size: 28px 28px;
}
.institutional-page {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 76px 0 110px;
}
.institutional-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
  padding: 22px 0 42px;
}
.institutional-hero h1 {
  max-width: 820px;
  margin: 12px 0 16px;
  font: 400 clamp(48px, 6vw, 76px)/.98 "Atlas Newsreader", Georgia, serif;
  letter-spacing: -3px;
}
.institutional-hero > div > p {
  max-width: 800px;
  margin: 0;
  color: #5f6d82;
  font-size: 16px;
  line-height: 1.75;
}
.institutional-hero dl {
  min-width: 250px;
  margin: 0;
  border-left: 1px solid #dce2eb;
  padding-left: 28px;
}
.institutional-hero dl > div + div {
  margin-top: 18px;
}
.institutional-hero dt,
.institutional-hero dd {
  margin: 0;
  font: 9px/1.5 "Courier New", monospace;
  letter-spacing: 1px;
}
.institutional-hero dt { color: #8a95a6; }
.institutional-hero dd { margin-top: 4px; color: #25334a; font-weight: 700; }
.operator-disclosure {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0 0 48px;
  padding: 20px 24px;
  border: 1px solid #ead9a7;
  border-radius: 10px;
  background: #fff9e8;
}
.operator-disclosure > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d9b85b;
  border-radius: 50%;
  color: #8a6715;
  font: italic 600 15px/1 Georgia, serif;
}
.operator-disclosure b { color: #493919; font-size: 13px; }
.operator-disclosure p { margin: 4px 0 0; color: #75633b; font-size: 12px; line-height: 1.65; }
.policy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 2px;
}
.policy-toc > span,
.policy-number,
.contact-guidance > span,
.priority-channel > span,
.data-principles > span {
  color: #7b8799;
  font: 700 9px/1.5 "Courier New", monospace;
  letter-spacing: 1.2px;
}
.policy-toc > span { padding: 0 14px 13px; }
.policy-toc > a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 7px;
  color: #4f5c70;
  font-size: 11px;
  transition: .18s ease;
}
.policy-toc > a:hover {
  color: #3929c9;
  background: #eeecff;
  transform: translateX(3px);
}
.policy-toc > a b {
  color: #6554e8;
  font: 700 9px/1.6 "Courier New", monospace;
}
.policy-side-note {
  margin-top: 22px;
  padding: 22px;
  border-radius: 9px;
  color: #dbe4f4;
  background: linear-gradient(145deg, #111b31, #17104c);
  box-shadow: 0 18px 40px #101b3b1f;
}
.policy-side-note > b { color: #72e1c2; font: 700 9px/1.5 "Courier New", monospace; letter-spacing: 1px; }
.policy-side-note p { color: #aeb9cc; font-size: 11px; line-height: 1.65; }
.policy-side-note a { color: #fff; font-size: 11px; font-weight: 700; }
.policy-content { display: grid; gap: 24px; }
.policy-section {
  scroll-margin-top: 105px;
  padding: 42px 46px;
  border: 1px solid #e0e5ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 35px #22335d08;
}
.policy-number { color: #5b4be1; }
.policy-section h2,
.data-action-card h2,
.priority-channel h2,
.contact-form-head h2 {
  margin: 8px 0 20px;
  color: #172136;
  font-size: 22px;
  letter-spacing: -.4px;
}
.policy-section > p,
.data-action-card > p {
  margin: 0 0 16px;
  color: #566477;
  font-size: 13px;
  line-height: 1.8;
}
.policy-section a { text-decoration: underline; text-underline-offset: 3px; }
.legal-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.legal-card-grid article {
  padding: 19px;
  border: 1px solid #e4e8ee;
  border-radius: 7px;
  background: #f6f7f9;
}
.legal-card-grid article b { color: #28354a; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.legal-card-grid article p { margin: 7px 0 0; color: #697589; font-size: 11px; line-height: 1.65; }
.legal-card-grid.compact article:first-child { border-left: 3px solid #21a881; }
.legal-card-grid.compact article:last-child { border-left: 3px solid #f16f5d; }
.legal-callout {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid #5b4be1;
  border-radius: 4px 8px 8px 4px;
  background: #f0effc;
}
.legal-callout b { color: #302583; font-size: 12px; }
.legal-callout span { color: #625e7c; font-size: 11px; }
.policy-document-footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 4px 0;
  color: #8591a2;
  font: 9px/1.5 "Courier New", monospace;
}
.data-control-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr);
  gap: 34px;
  align-items: start;
}
.data-action-card,
.data-principles,
.contact-form,
.contact-guidance {
  border: 1px solid #e0e5ed;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 14px 40px #22335d0a;
}
.data-action-card { padding: 45px 48px; }
.data-action-card .actions { margin-top: 28px; }
.data-principles { padding: 31px; }
.data-principles article {
  padding: 18px 0;
  border-top: 1px solid #e7eaf0;
}
.data-principles article:first-of-type { margin-top: 14px; }
.data-principles article b { color: #302583; font-size: 12px; }
.data-principles article p { margin: 5px 0 0; color: #677488; font-size: 11px; }
.data-rights-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid #dfe4eb;
  border-radius: 10px;
  overflow: hidden;
  background: #dfe4eb;
}
.data-rights-strip article { padding: 24px; background: #fff; }
.data-rights-strip b { color: #273349; font-size: 12px; }
.data-rights-strip p { margin: 6px 0 0; color: #6b7789; font-size: 10px; line-height: 1.6; }
.contact-layout { grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr); }
.contact-form { padding: 38px 42px; }
.contact-form-head {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 25px;
  border-bottom: 1px solid #e5e9ef;
}
.contact-form-head > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: #5746df;
  background: #eeecff;
}
.contact-form-head h2 { margin: 0 0 4px; }
.contact-form-head p { margin: 0; color: #6a7789; font-size: 11px; }
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  padding: 28px 0;
}
.contact-fields .full { grid-column: 1/-1; }
.contact-form .field { gap: 8px; }
.contact-form .field > label {
  display: flex;
  justify-content: space-between;
  color: #273349;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.contact-form .field label small { font-weight: 400; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 8px;
  border-color: #dce2ea;
  background: #f7f8fa;
}
.contact-form input,
.contact-form select { min-height: 52px; }
.contact-form textarea { min-height: 190px; resize: vertical; padding: 14px; }
.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.contact-submit span { color: #7a8799; font-size: 10px; }
.contact-success {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #a9ddcc;
  border-radius: 8px;
  color: #176b55;
  background: #effaf6;
  font-size: 12px;
}
.contact-aside { display: grid; gap: 24px; }
.priority-channel {
  padding: 34px;
  border-radius: 11px;
  color: #fff;
  background: radial-gradient(circle at 100% 100%, #2d1a84, transparent 48%), #100946;
  box-shadow: 0 22px 50px #17104924;
}
.priority-channel > span { color: #7ae1c3; }
.priority-channel h2 { margin-top: 20px; color: #fff; }
.priority-channel p { color: #aaa8c8; font-size: 12px; line-height: 1.7; }
.priority-channel .button.light { display: flex; margin-top: 24px; color: #151231; background: #fff; }
.contact-guidance { padding: 30px; }
.contact-guidance ul { padding: 0; margin: 19px 0 0; list-style: none; }
.contact-guidance li { padding: 14px 0; border-top: 1px solid #e7eaf0; color: #657286; font-size: 11px; line-height: 1.55; }
.contact-guidance li b { color: #273349; }
.contact-safety {
  padding: 20px 22px;
  border-radius: 9px;
  background: #eceff3;
}
.contact-safety b { color: #29364b; font-size: 11px; }
.contact-safety p { margin: 4px 0 0; color: #687589; font-size: 10px; }

html[data-theme="dark"] .institutional-site { background-color: #0b1320; background-image: radial-gradient(circle at 1px 1px, #92a3c410 1px, transparent 0); }
html[data-theme="dark"] .institutional-hero > div > p,
html[data-theme="dark"] .policy-section > p,
html[data-theme="dark"] .data-action-card > p { color: #a2aec0; }
html[data-theme="dark"] .institutional-hero dl { border-color: #2a364b; }
html[data-theme="dark"] .institutional-hero dd,
html[data-theme="dark"] .policy-section h2,
html[data-theme="dark"] .data-action-card h2,
html[data-theme="dark"] .contact-form-head h2 { color: #eef2f8; }
html[data-theme="dark"] .operator-disclosure { border-color: #66552a; background: #282319; }
html[data-theme="dark"] .operator-disclosure b { color: #f0d992; }
html[data-theme="dark"] .operator-disclosure p { color: #c4b47f; }
html[data-theme="dark"] .policy-section,
html[data-theme="dark"] .data-action-card,
html[data-theme="dark"] .data-principles,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .contact-guidance { border-color: #28354a; background: #111c2e; }
html[data-theme="dark"] .legal-card-grid article,
html[data-theme="dark"] .data-rights-strip article { border-color: #2b374b; background: #172337; }
html[data-theme="dark"] .legal-card-grid article b,
html[data-theme="dark"] .data-rights-strip b,
html[data-theme="dark"] .contact-guidance li b { color: #dce4f1; }
html[data-theme="dark"] .legal-card-grid article p,
html[data-theme="dark"] .data-rights-strip p,
html[data-theme="dark"] .data-principles article p,
html[data-theme="dark"] .contact-guidance li { color: #9eabbd; }
html[data-theme="dark"] .legal-callout { background: #211c48; }
html[data-theme="dark"] .legal-callout b { color: #bdb5ff; }
html[data-theme="dark"] .legal-callout span { color: #aaa7c5; }
html[data-theme="dark"] .policy-toc > a { color: #a7b2c5; }
html[data-theme="dark"] .policy-toc > a:hover { color: #fff; background: #201b47; }
html[data-theme="dark"] .data-principles article,
html[data-theme="dark"] .contact-form-head,
html[data-theme="dark"] .contact-guidance li { border-color: #2a374b; }
html[data-theme="dark"] .data-rights-strip { border-color: #29364a; background: #29364a; }
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form textarea { color: #ecf1f9; border-color: #2e3b50; background: #0d1727; }
html[data-theme="dark"] .contact-safety { background: #182438; }
html[data-theme="dark"] .contact-safety b { color: #dbe3f1; }

@media (max-width: 900px) {
  .institutional-page { width: min(100% - 36px, 760px); padding-top: 45px; }
  .institutional-hero { grid-template-columns: 1fr; gap: 25px; }
  .institutional-hero dl { display: flex; gap: 40px; padding: 0; border: 0; }
  .institutional-hero dl > div + div { margin: 0; }
  .policy-layout,
  .data-control-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; grid-template-columns: 1fr 1fr; }
  .policy-toc > span,
  .policy-side-note { grid-column: 1/-1; }
  .data-rights-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .institutional-page { width: calc(100% - 28px); padding: 30px 0 70px; }
  .institutional-hero { padding-bottom: 28px; }
  .institutional-hero h1 { font-size: 45px; letter-spacing: -2px; }
  .institutional-hero > div > p { font-size: 14px; }
  .institutional-hero dl { display: grid; gap: 12px; }
  .operator-disclosure { grid-template-columns: 1fr; padding: 18px; margin-bottom: 28px; }
  .policy-toc { display: none; }
  .policy-content { gap: 15px; }
  .policy-section,
  .data-action-card,
  .contact-form { padding: 28px 22px; }
  .legal-card-grid,
  .contact-fields,
  .data-rights-strip { grid-template-columns: 1fr; }
  .contact-fields .full { grid-column: auto; }
  .contact-submit { align-items: stretch; flex-direction: column; }
  .contact-submit .button { width: 100%; }
  .policy-document-footer { flex-direction: column; gap: 10px; }
}

/* Stitch 2026 — Sovereign Intelligence Desk */
.page-kicker {
  display: block;
  margin-bottom: 8px;
  color: #5848d9;
  font: 700 9px/1.2 "Atlas Jakarta", sans-serif;
  letter-spacing: 1.8px;
}
.desk-title {
  display: flex;
  align-items: baseline;
  gap: 11px;
}
.desk-title i {
  width: 1px;
  height: 17px;
  background: #d7dee7;
}
.desk-title strong {
  font-family: "Atlas Newsreader", Georgia, serif;
  font-style: italic;
}
.profile-shortcut {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dbe2ea;
  border-radius: 50%;
  background: #fff;
  color: #314154;
  font-size: 11px;
  font-weight: 800;
}
.workspace-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px clamp(28px, 3vw, 52px);
  border-top: 1px solid #dde3ea;
  color: #7e8a98;
  background: #f8f9fb;
  font: 9px/1.4 "Courier New", monospace;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}
.workspace-footer > strong {
  color: #15233b;
  letter-spacing: 1.2px;
}
.workspace-footer-security {
  margin-left: auto;
}
.workspace-footer-security b {
  color: #334154;
}
.workspace-footer-security i {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 14px;
  border-radius: 50%;
  background: #687689;
  vertical-align: middle;
}
.verification-notice {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 12px 16px;
  border-color: #ecdba1;
  box-shadow: 0 7px 20px #725b1310;
}
.verification-notice p {
  flex: 1;
  margin: 0;
}
.verification-notice code {
  padding: 2px 5px;
  color: #6e5421;
  background: #fff5ce;
}
.notice-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff3c9;
  color: #ad7315;
}
.section-technical-head,
.vault-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e7ebf0;
}
.section-technical-head .eyebrow {
  margin: 0;
  color: #4e5d71;
  font-family: "Courier New", monospace;
}
.section-technical-head > small {
  font-size: 10px;
}
.system-online,
.vault-status b {
  padding: 5px 9px;
  border: 1px solid #ccebdd;
  border-radius: 5px;
  background: #f0fbf7;
  color: #07805f;
  font: 10px/1.2 "Courier New", monospace;
}
.system-online i,
.vault-status i,
.support-ready i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #19b88a;
}
.audit-composer {
  max-width: none;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr) !important;
}
.scope-panel,
.interpretation-panel {
  min-height: 520px;
  padding: 30px;
}
.scope-panel .field:first-of-type input {
  padding-left: 18px;
  font-family: "Courier New", monospace;
}
.measurement-note,
.usage-explanation {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 0;
}
.measurement-note p,
.usage-explanation p {
  margin: 0;
}
.interpretation-panel > p {
  margin-bottom: 24px;
  font-size: 12px;
}
.interpretation-choices {
  display: grid;
  gap: 14px;
}
.interpretation-choices .choice {
  min-height: 135px;
  padding: 20px 18px;
}
.choice strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.choice strong i {
  padding: 3px 7px;
  border-radius: 4px;
  background: #f0f1f5;
  color: #5b6680;
  font: 8px/1.2 "Courier New", monospace;
  font-style: normal;
  white-space: nowrap;
}
.zero-knowledge {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #e6eaf0;
  color: #8792a2;
  font: 10px/1.4 "Courier New", monospace;
}
.audit-launch {
  justify-content: flex-start;
  gap: 18px;
}
.audit-launch small {
  max-width: 650px;
}
.crypto-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  padding: 10px 13px;
  border: 1px solid #dee3ea;
  background: #fff;
  color: #5645dd;
  font-size: 15px;
}
.crypto-badge span,
.crypto-badge b {
  color: #48566a;
  font: 700 9px/1.25 "Courier New", monospace;
  text-transform: uppercase;
}
.crypto-badge b {
  grid-column: 2;
  color: #1d2a3d;
}
.ai-vault {
  max-width: none !important;
  padding: 32px !important;
}
.vault-status {
  color: #5545d3;
  font: 700 9px/1.3 "Courier New", monospace;
  letter-spacing: 1px;
}
.history-panel,
.usage-ledger,
.support-panel {
  min-height: 480px;
  overflow: hidden;
}
.history-search {
  max-width: 720px;
}
.history-empty,
.usage-ledger > .empty,
.support-empty {
  min-height: 390px;
  margin: 8px -8px -8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #edf0f4;
}
.history-empty p,
.support-empty p {
  max-width: 540px;
}
.empty-link {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 650;
}
.usage-metrics .stat {
  border-top: 4px solid #6550e8;
}
.usage-metrics .stat:nth-child(2) {
  border-top-color: #8a91eb;
}
.usage-metrics .stat:nth-child(3) {
  border-top-color: #20ad83;
}
.usage-metrics .stat:nth-child(4) {
  border-top-color: #e9a020;
}
.usage-metrics .stat:before {
  display: none;
}
.support-panel {
  padding: 0;
}
.support-empty {
  min-height: 520px;
  margin: 0;
  border: 0;
  border-radius: inherit;
}
.support-ready {
  margin-top: 12px;
  padding: 7px 12px;
  border: 1px solid #e0e5eb;
  border-radius: 30px;
  background: #fff;
  color: #667486;
  font: 9px/1.2 "Courier New", monospace;
  text-transform: uppercase;
}
.support-meta {
  position: absolute;
  right: 26px;
  bottom: 18px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  color: #768296;
  font: 9px/1.4 "Courier New", monospace;
  text-transform: uppercase;
}
.support-meta b {
  color: #273449;
}
.support-empty {
  position: relative;
}
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.85fr);
  gap: 22px;
  align-items: start;
}
.account-access,
.privacy-card,
.danger-zone {
  padding: 30px;
}
.account-identity {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 8px 0 24px;
}
.account-identity > span:first-child {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #0f163b;
  color: #fff;
  font: 18px/1 "Courier New", monospace;
  box-shadow: 0 8px 18px #11183b26;
}
.account-identity div strong,
.account-identity div small {
  display: block;
}
.account-metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 17px;
  margin-bottom: 32px;
  background: #f3f4f6;
  border-radius: 4px;
}
.account-metadata span {
  display: grid;
}
.account-metadata small {
  font-size: 9px;
  letter-spacing: 1px;
}
.account-metadata b {
  font-size: 11px;
}
.credential-form {
  padding-top: 24px;
  border-top: 1px solid #e8ebf0;
}
.credential-form h3 {
  margin-bottom: 5px;
}
.account-side {
  display: grid;
  gap: 22px;
}
.policy-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 16px;
  background: #f3f4f6;
  color: var(--ink);
}
.policy-link > span {
  color: #5848de;
  font-size: 20px;
}
.policy-link strong,
.policy-link small {
  display: block;
}
.policy-link small {
  font-size: 10px;
}
.danger-zone .eyebrow {
  color: #b92632;
}
.danger-zone .notice strong {
  text-transform: uppercase;
}
.danger-zone .notice p {
  margin: 5px 0 0;
}

/* Public landing page */
.sovereign-site {
  min-height: 100vh;
  color: #111a2d;
  background: #fbfcfe;
}
.sovereign-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: none;
  padding: 18px max(28px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid #e7eaf0;
  background: #fbfcfef2;
  backdrop-filter: blur(18px);
}
.sovereign-header .brand {
  font-size: 23px;
}
.sovereign-header .brand-mark {
  width: 38px;
  height: 40px;
  line-height: 36px;
  font-size: 34px;
}
.sovereign-header nav {
  gap: 20px;
  font-size: 11px;
}
.public-menu {
  display: none;
}
.sovereign-hero {
  max-width: 1440px;
  min-height: 760px;
  padding: 86px 38px 100px;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: 58px;
}
.engine-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  margin-bottom: 24px;
  border: 1px solid #c9eadf;
  border-radius: 5px;
  color: #087c5f;
  background: #f0fbf7;
  font: 700 9px/1.3 "Courier New", monospace;
  letter-spacing: 1px;
}
.engine-status i,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1cb98c;
  box-shadow: 0 0 0 4px #1cb98c16;
}
.engine-status b {
  padding-left: 8px;
  border-left: 1px solid #b9ddd1;
  color: #5b6678;
}
.sovereign-hero h1 {
  margin-bottom: 28px;
  font-family: "Atlas Newsreader", Georgia, serif;
  font-size: clamp(48px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -3.5px;
}
.sovereign-hero h1 em {
  display: inline;
  color: #4f43d8;
  font-style: italic;
}
.sovereign-hero .hero-copy > p {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.8;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 25px;
  color: #667489;
  font-size: 10px;
}
.live-audit {
  overflow: hidden;
  border: 1px solid #263654;
  border-radius: 18px;
  background: #111a2d;
  color: #dce4f3;
  box-shadow: 0 36px 80px #19264c2d;
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}
.live-audit-head,
.audit-tabs,
.score-overview,
.live-findings {
  padding: 20px 24px;
}
.live-audit-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #26324a;
}
.live-audit-head > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px 9px;
}
.live-audit-head small {
  grid-column: 2;
  color: #8491a7;
  font-size: 9px;
}
.live-audit-head > span {
  color: #60e3be;
  font: 9px/1.4 "Courier New", monospace;
}
.audit-tabs {
  display: flex;
  gap: 22px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: #0c1425;
  color: #7f8ba0;
  font-size: 9px;
  text-transform: uppercase;
}
.audit-tabs b {
  color: #7be5c6;
}
.score-overview {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
}
.score-dial {
  display: grid;
  place-items: center;
  align-content: center;
  width: 135px;
  height: 135px;
  border: 8px solid #46c49f;
  border-right-color: #314057;
  border-radius: 50%;
}
.score-dial strong {
  font: 44px/1 "Atlas Newsreader", Georgia, serif;
  color: #fff;
}
.score-dial small {
  color: #8d99ac;
  font: 8px/1.2 "Courier New", monospace;
}
.live-audit .bar-row {
  grid-template-columns: 1fr 1.3fr 32px;
  color: #b5c0d3;
  font-size: 9px;
}
.live-audit .bar-row > div {
  background: #26334a;
}
.live-audit .bar-row i {
  background: #5f50e5;
}
.live-findings {
  border-top: 1px solid #26324a;
  background: #0d1628;
}
.live-findings article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #222e43;
}
.live-findings article > i {
  padding: 4px 7px;
  border-radius: 5px;
  background: #684fe3;
  font: 8px/1 "Courier New", monospace;
  font-style: normal;
}
.live-findings article strong,
.live-findings article small {
  display: block;
}
.live-findings article small {
  color: #7e8ba1;
  font-size: 9px;
}
.live-findings article > b {
  color: #7ae1c2;
  font-size: 9px;
}
.demo-caption {
  display: block;
  padding: 12px 24px;
  color: #78859a;
  background: #0a1221;
  font-size: 8px;
  text-align: center;
}
.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e6e9ef;
  border-bottom: 1px solid #e6e9ef;
  background: #fff;
}
.signal-strip span {
  padding: 22px 25px;
  border-right: 1px solid #e6e9ef;
  color: #59677b;
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.signal-strip b {
  margin-right: 8px;
  color: #5647dc;
  font-family: "Courier New", monospace;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
  align-items: end;
}
.section-intro .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 0;
}
.feature-section h2,
.semantic-section h2,
.ai-sovereignty h2,
.method-section h2,
.faq-section h2,
.final-cta h2 {
  font: 400 clamp(38px, 4vw, 60px)/1.05 "Atlas Newsreader", Georgia, serif;
  letter-spacing: -2px;
}
.section-intro p {
  color: #687589;
}
.anatomy {
  padding-top: 105px;
  padding-bottom: 105px;
}
.anatomy .feature-card {
  position: relative;
  min-height: 270px;
  padding: 34px;
  border-radius: 5px;
  box-shadow: none;
}
.feature-number {
  position: absolute;
  right: 24px;
  top: 19px;
  color: #c5cbd5;
  font: 12px/1 "Courier New", monospace;
}
.anatomy .feature-card > small {
  color: #5748da;
  font: 9px/1.3 "Courier New", monospace;
  text-transform: uppercase;
}
.semantic-section,
.ai-sovereignty,
.delivery {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.semantic-section {
  max-width: none;
  padding-right: max(32px, calc((100vw - 1216px) / 2));
  padding-left: max(32px, calc((100vw - 1216px) / 2));
  color: #edf2fb;
  background: #0d1627;
}
.semantic-section p,
.semantic-section li,
.ai-sovereignty p {
  color: #aeb9cb;
  line-height: 1.8;
}
.semantic-section li {
  margin-bottom: 10px;
}
.semantic-map {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid #35425a;
  border-radius: 50%;
  box-shadow: inset 0 0 0 55px #111d3212, inset 0 0 0 110px #111d3220;
}
.semantic-map:before,
.semantic-map:after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: #35425a;
}
.semantic-map:after {
  transform: rotate(90deg);
}
.semantic-map b,
.semantic-map span,
.semantic-map i {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18243a;
  color: #78e1c2;
  font: 10px/1 "Courier New", monospace;
  font-style: normal;
}
.semantic-map b {
  inset: 50% auto auto 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  background: #5848df;
  color: #fff;
}
.semantic-map span {
  width: 95px;
  height: 95px;
  top: 5%;
  left: 38%;
}
.semantic-map i {
  width: 58px;
  height: 58px;
}
.semantic-map i:nth-of-type(1) { left: 6%; top: 43%; }
.semantic-map i:nth-of-type(2) { right: 7%; top: 42%; }
.semantic-map i:nth-of-type(3) { left: 25%; bottom: 8%; }
.semantic-map i:nth-of-type(4) { right: 24%; bottom: 8%; }
.ai-sovereignty {
  grid-template-columns: 0.85fr 1.15fr;
}
.ai-console {
  padding: 30px;
  border-radius: 10px;
  color: #dfe6f4;
  background: #101a2d;
  box-shadow: 0 25px 60px #17244826;
}
.console-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #28344a;
  font: 11px/1.4 "Courier New", monospace;
}
.console-line i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52ddb5;
}
.console-line b {
  color: #77869e;
  font-weight: 400;
}
.token-ledger {
  display: grid;
  gap: 5px;
  padding: 17px;
  margin-top: 18px;
  background: #18243b;
}
.token-ledger small {
  color: #5edbb8;
  font: 9px/1.3 "Courier New", monospace;
}
.ai-sovereignty > div:last-child p,
.ai-sovereignty article p {
  color: #687589;
}
.ai-sovereignty article {
  padding-top: 18px;
  border-top: 2px solid #5847df;
}
.method-section {
  padding: 100px max(32px, calc((100vw - 1216px) / 2));
  background: #f1f3f7;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 45px;
  background: #dce1e8;
  border: 1px solid #dce1e8;
}
.method-grid article {
  min-height: 260px;
  padding: 34px;
  background: #fff;
}
.method-grid article > b {
  color: #5748dc;
  font: 12px/1 "Courier New", monospace;
}
.method-grid p {
  color: #6c798b;
}
.delivery {
  grid-template-columns: 1fr 0.85fr;
  position: relative;
}
.report-sheet {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 36px;
  border: 1px solid #dce2ea;
  border-radius: 6px;
  background: #fff;
  box-shadow: 25px 30px 0 #ecedf4;
  transform: rotate(2deg);
}
.report-sheet > span,
.report-sheet > small {
  color: #6f7d91;
  font: 9px/1.3 "Courier New", monospace;
  letter-spacing: 1px;
}
.report-sheet > strong {
  font: 32px/1.1 "Atlas Newsreader", Georgia, serif;
}
.report-sheet i {
  display: block;
  height: 14px;
  background: linear-gradient(90deg, #5949dd 0 72%, #edf0f4 72%);
}
.report-sheet i:nth-of-type(2) { background: linear-gradient(90deg, #24a985 0 86%, #edf0f4 86%); }
.report-sheet i:nth-of-type(3) { background: linear-gradient(90deg, #e5a02c 0 64%, #edf0f4 64%); }
.delivery #public-plans {
  grid-column: 1/-1;
}
.faq-section {
  max-width: 1000px;
  margin: auto;
  padding: 90px 32px;
}
.faq-section details {
  border-top: 1px solid #dfe4eb;
  padding: 22px 4px;
}
.faq-section details:last-child {
  border-bottom: 1px solid #dfe4eb;
}
.faq-section summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}
.faq-section details p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #687589;
}
.final-cta {
  padding: 100px 32px;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 50% 0, #594b9d, transparent 38%), #10192c;
}
.final-cta .eyebrow {
  color: #72e1c1;
}
.final-cta p {
  color: #b4bfd0;
}
.final-cta .actions {
  justify-content: center;
}
.final-cta .button.secondary {
  border-color: #556077;
  color: #fff;
  background: transparent;
}
.sovereign-footer {
  max-width: none;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 45px;
  padding: 65px max(32px, calc((100vw - 1216px) / 2)) 30px;
  border: 0;
  color: #8996a9;
  background: #09121f;
}
.sovereign-footer .brand {
  color: #fff;
}
.footer-brand p {
  max-width: 330px;
}
.footer-brand > span {
  color: #5cdbb6;
  font: 9px/1.3 "Courier New", monospace;
}
.sovereign-footer > div:not(.footer-brand):not(.footer-bottom) {
  display: grid;
  align-content: start;
  gap: 10px;
}
.sovereign-footer strong {
  margin-bottom: 8px;
  color: #eef2f8;
  font-size: 11px;
  text-transform: uppercase;
}
.sovereign-footer a {
  color: #8996a9;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
  border-top: 1px solid #1b2636;
  font: 9px/1.4 "Courier New", monospace;
}

html[data-theme="dark"] .page-kicker { color: #8b7ef4; }
html[data-theme="dark"] .profile-shortcut,
html[data-theme="dark"] .crypto-badge,
html[data-theme="dark"] .support-ready { background: #101a2c; border-color: #27344a; color: #cbd5e3; }
html[data-theme="dark"] .workspace-footer { background: #0c1422; border-color: #202c3e; color: #7e8da3; }
html[data-theme="dark"] .workspace-footer > strong,
html[data-theme="dark"] .workspace-footer-security b { color: #dce4f2; }
html[data-theme="dark"] .section-technical-head,
html[data-theme="dark"] .vault-status,
html[data-theme="dark"] .zero-knowledge,
html[data-theme="dark"] .credential-form { border-color: #273347; }
html[data-theme="dark"] .choice strong i,
html[data-theme="dark"] .account-metadata,
html[data-theme="dark"] .policy-link { background: #111c2e; color: #d9e2f0; }
html[data-theme="dark"] .sovereign-site { background: #0b1320; color: #e8edf6; }
html[data-theme="dark"] .sovereign-header { background: #0b1320ee; border-color: #243047; }
html[data-theme="dark"] .sovereign-header nav > a:not(.button) { color: #c3ccdc; }
html[data-theme="dark"] .signal-strip { background: #0e1828; border-color: #263248; }
html[data-theme="dark"] .signal-strip span { border-color: #263248; color: #aeb9ca; }
html[data-theme="dark"] .section-intro p,
html[data-theme="dark"] .ai-sovereignty > div:last-child p,
html[data-theme="dark"] .ai-sovereignty article p,
html[data-theme="dark"] .faq-section details p { color: #9eabbd; }
html[data-theme="dark"] .anatomy .feature-card,
html[data-theme="dark"] .method-grid article,
html[data-theme="dark"] .report-sheet { background: #111c2e; border-color: #2a364a; }
html[data-theme="dark"] .method-section { background: #0e1726; }
html[data-theme="dark"] .method-grid { background: #263248; border-color: #263248; }
html[data-theme="dark"] .report-sheet { box-shadow: 25px 30px 0 #101827; }
html[data-theme="dark"] .faq-section details { border-color: #2a3649; }

@media (max-width: 1100px) {
  .audit-composer,
  .account-layout { grid-template-columns: 1fr !important; }
  .sovereign-hero { grid-template-columns: 1fr; }
  .live-audit { transform: none; }
  .semantic-section,
  .ai-sovereignty,
  .delivery { gap: 45px; }
  .sovereign-header nav { gap: 12px; }
  .sovereign-header nav > a:nth-child(2),
  .sovereign-header nav > a:nth-child(3),
  .sovereign-header nav > a:nth-child(4) { display: none; }
}
@media (max-width: 760px) {
  .desk-title { display: grid; gap: 0; }
  .desk-title i { display: none; }
  .topbar-actions .profile-shortcut,
  .topbar-actions .theme-toggle { display: none; }
  .workspace-footer { display: grid; grid-template-columns: auto 1fr; padding: 14px; }
  .workspace-footer-security { grid-column: 1/-1; margin: 0; }
  .verification-notice { display: grid; grid-template-columns: auto 1fr; }
  .verification-notice .button { grid-column: 1/-1; width: 100%; }
  .scope-panel,
  .interpretation-panel,
  .account-access,
  .privacy-card,
  .danger-zone { min-height: 0; padding: 20px; }
  .section-technical-head { align-items: flex-start; }
  .system-online { white-space: nowrap; }
  .account-identity { grid-template-columns: 48px 1fr; }
  .account-identity > span:first-child { width: 48px; height: 48px; }
  .account-identity > .tag { grid-column: 2; justify-self: start; }
  .account-metadata { grid-template-columns: 1fr; }
  .support-meta { position: static; width: 100%; padding-top: 30px; flex-direction: column; gap: 8px; }
  .sovereign-header { padding: 14px 18px; }
  .public-menu { display: block; border: 0; background: transparent; color: inherit; font-size: 22px; }
  .sovereign-header nav { display: none; position: absolute; top: 69px; right: 14px; left: 14px; padding: 16px; border: 1px solid #dfe4eb; border-radius: 14px; background: #fff; box-shadow: 0 20px 45px #14203b2b; }
  .sovereign-header nav.open { display: grid; }
  .sovereign-header nav > a:nth-child(n) { display: flex; }
  html[data-theme="dark"] .sovereign-header nav { background: #101a2b; border-color: #29364b; }
  .sovereign-hero { min-height: 0; padding: 58px 20px 68px; gap: 45px; }
  .sovereign-hero h1 { font-size: 45px; letter-spacing: -2px; }
  .engine-status b { display: none; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; }
  .live-audit-head,
  .audit-tabs,
  .score-overview,
  .live-findings { padding-right: 15px; padding-left: 15px; }
  .audit-tabs { overflow: auto; }
  .score-overview { grid-template-columns: 1fr; }
  .score-dial { margin: auto; }
  .live-findings article { grid-template-columns: auto 1fr; }
  .live-findings article > b { display: none; }
  .signal-strip { grid-template-columns: 1fr 1fr; }
  .signal-strip span { padding: 16px 10px; font-size: 8px; }
  .section-intro,
  .semantic-section,
  .ai-sovereignty,
  .delivery { grid-template-columns: 1fr; }
  .anatomy,
  .semantic-section,
  .ai-sovereignty,
  .method-section,
  .delivery,
  .faq-section { padding: 68px 20px; }
  .feature-section h2,
  .semantic-section h2,
  .ai-sovereignty h2,
  .method-section h2,
  .faq-section h2,
  .final-cta h2 { font-size: 40px; letter-spacing: -1.5px; }
  .semantic-map { width: 320px; max-width: 100%; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 0; }
  .report-sheet { min-height: 300px; box-shadow: 12px 16px 0 #ecedf4; }
  .sovereign-footer { grid-template-columns: 1fr 1fr; padding: 52px 20px 25px; gap: 35px 22px; }
  .footer-brand { grid-column: 1/-1; }
  .sovereign-footer > div:nth-child(4) { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}
@media (max-width: 430px) {
  .trust-row { grid-template-columns: 1fr; }
  .sovereign-footer { grid-template-columns: 1fr; }
  .sovereign-footer > div { grid-column: 1 !important; }
}

/* Aparência — escolha persistente Light / Dark */
.theme-toggle {
  min-height: 38px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 8px 24px #14213d0a;
}
.theme-toggle:hover {
  border-color: #8d7cff;
  transform: translateY(-1px);
}
.theme-toggle-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #eeeaff;
  color: #5d48df;
  font-size: 14px;
}
.theme-toggle.compact [data-theme-label] {
  display: none;
}
.auth-form-side {
  position: relative;
}
.auth-form-side > .theme-toggle {
  position: absolute;
  top: 24px;
  right: 28px;
}
.appearance-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
}
.appearance-panel:before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -160px;
  top: -190px;
  border-radius: 50%;
  border: 1px solid #745fff22;
  box-shadow: 0 0 0 34px #745fff08;
}
.appearance-panel > * {
  position: relative;
  z-index: 1;
}
.appearance-panel h2 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  margin-bottom: 6px;
}
.appearance-panel p {
  margin: 0;
}
.theme-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(100%, 430px);
}
.theme-options > button {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  gap: 0 12px;
  align-items: center;
  text-align: left;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
}
.theme-options > button.active {
  border-color: #7562ef;
  box-shadow: 0 0 0 3px #6750ed18;
}
.theme-options strong,
.theme-options small {
  grid-column: 2;
}
.theme-options small {
  font-size: 9px;
}
.theme-preview {
  grid-row: 1 / 3;
  width: 64px;
  height: 48px;
  padding: 8px;
  display: grid;
  grid-template-columns: 13px 1fr;
  grid-template-rows: 8px 1fr;
  gap: 4px;
  border-radius: 9px;
  border: 1px solid #dfe4ec;
  background: #f5f6fa;
  box-shadow: inset 13px 0 #16243b;
}
.theme-preview i {
  display: block;
  grid-column: 2;
  border-radius: 4px;
  background: #dcd8fa;
}
.theme-preview i:nth-child(2) {
  background: #fff;
}
.theme-preview i:nth-child(3) {
  display: none;
}
.dark-preview {
  border-color: #35425c;
  background: #0b1222;
  box-shadow: inset 13px 0 #060b15;
}
.dark-preview i {
  background: #6955e6;
}
.dark-preview i:nth-child(2) {
  background: #1b263c;
}

html[data-theme="dark"] {
  --ink: #edf2fb;
  --muted: #9ba9bc;
  --paper: #080e1b;
  --white: #111a2c;
  --line: #29354b;
  --primary: #806bff;
  --mint: #72e4c2;
  --teal: #60d9b8;
  color-scheme: dark;
  background: #080e1b;
}
html[data-theme="dark"] body,
html[data-theme="dark"] body:has(.workspace) {
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 0%, #6652ea18 0 15%, transparent 40%), #080e1b;
}
html[data-theme="dark"] .workspace-header {
  background: #0d1525df;
  border-color: #263247;
  box-shadow: 0 10px 35px #0003;
}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .stat,
html[data-theme="dark"] .stat.mint,
html[data-theme="dark"] .stat.lilac,
html[data-theme="dark"] .stat.peach,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .finding,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .hero-art .mini-board,
html[data-theme="dark"] .premium-modal,
html[data-theme="dark"] .model-options,
html[data-theme="dark"] .model-options button,
html[data-theme="dark"] .button.secondary {
  color: var(--ink);
  background: #111a2c;
  border-color: #29354b;
  box-shadow: 0 16px 44px #0003;
}
html[data-theme="dark"] .panel:hover {
  border-color: #35435d;
}
html[data-theme="dark"] .portfolio-panel,
html[data-theme="dark"] #ai-settings {
  background: linear-gradient(145deg, #111a2c, #151a31);
}
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .search-input {
  color: var(--ink);
  background: #0c1424;
  border-color: #303d54;
}
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus,
html[data-theme="dark"] .search-input:focus {
  background: #101a2d;
  border-color: #806bff;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #718097;
}
html[data-theme="dark"] .theme-toggle {
  background: #141e32;
  border-color: #303c52;
  color: #eaf0fb;
  box-shadow: 0 10px 28px #0003;
}
html[data-theme="dark"] .theme-toggle-icon {
  color: #ffe08a;
  background: #2c2a3e;
}
html[data-theme="dark"] .notice {
  color: #e2c879;
  background: #2a2415;
  border-color: #4a4022;
}
html[data-theme="dark"] .notice.info {
  color: #a8cee8;
  background: #132638;
  border-color: #26445a;
}
html[data-theme="dark"] .notice.success {
  color: #8ee1bb;
  background: #102a24;
  border-color: #275044;
}
html[data-theme="dark"] .tag {
  color: #c4cee0;
  background: #202b40;
}
html[data-theme="dark"] .tag.good {
  color: #86dfb7;
  background: #15352d;
}
html[data-theme="dark"] .tag.warn {
  color: #eed18a;
  background: #382e18;
}
html[data-theme="dark"] .tag.bad {
  color: #f4a3ab;
  background: #3c2028;
}
html[data-theme="dark"] th,
html[data-theme="dark"] .table-scroll thead {
  color: #aeb9cb;
  background: #0d1627;
}
html[data-theme="dark"] td,
html[data-theme="dark"] th,
html[data-theme="dark"] .table-scroll {
  border-color: #27344a;
}
html[data-theme="dark"] .bar-row > div,
html[data-theme="dark"] .progress,
html[data-theme="dark"] .waterfall-track {
  background: #253047;
}
html[data-theme="dark"] .tabs button.active,
html[data-theme="dark"] .choice:has(input:checked),
html[data-theme="dark"] .model-options button:hover,
html[data-theme="dark"] .model-options button:focus {
  color: #ded8ff;
  background: #282348;
}
html[data-theme="dark"] .audit-row:hover {
  background: #151f33;
}
html[data-theme="dark"] .site-icon,
html[data-theme="dark"] .empty-symbol {
  color: #8d7cff;
  background: #272342;
}
html[data-theme="dark"] .empty {
  background:
    radial-gradient(circle at 50% 28%, #725eff1d, transparent 33%),
    repeating-linear-gradient(0deg, transparent 0 41px, #26334b88 42px),
    repeating-linear-gradient(90deg, transparent 0 80px, #26334b66 81px);
}
html[data-theme="dark"] .trend-guide {
  stroke: #334058;
}
html[data-theme="dark"] .trend-fill {
  fill: #806bff20;
}
html[data-theme="dark"] .trend-point {
  fill: #111a2c;
  stroke: #8a77ff;
}
html[data-theme="dark"] .chart-grid i {
  background: linear-gradient(90deg, transparent, #2d3950, transparent);
}
html[data-theme="dark"] .health-ring:after {
  background: #111a2c;
  box-shadow: inset 0 0 0 1px #303b52;
}
html[data-theme="dark"] .health-legend span,
html[data-theme="dark"] .integration-title small,
html[data-theme="dark"] .smtp-test p {
  color: #9caabc;
}
html[data-theme="dark"] .insight-note,
html[data-theme="dark"] .smtp-test {
  color: #c5c0ed;
  background: linear-gradient(135deg, #24213f, #142a31);
  border-color: #39335d;
}
html[data-theme="dark"] .message {
  background: #192438;
}
html[data-theme="dark"] .message.admin {
  background: #292348;
}
html[data-theme="dark"] .filmstrip img {
  background: #0b1322;
}
html[data-theme="dark"] .report-frame {
  background: #0b1322;
}
html[data-theme="dark"] .connection-state.online {
  color: #8ce5bd;
  background: #143229;
  border-color: #28503f;
}
html[data-theme="dark"] .auth-layout,
html[data-theme="dark"] .auth-form-side {
  background: #080e1b;
}
html[data-theme="dark"] .auth-story {
  background: linear-gradient(145deg, #121c31, #173739);
}
html[data-theme="dark"] .band,
html[data-theme="dark"] .grade-panel {
  color: #fff;
  background: #111b2e;
}
html[data-theme="dark"] .button.dark {
  color: white;
  background: linear-gradient(135deg, #745fff, #5741dc);
}
html[data-theme="dark"] .feature-icon {
  background: #2b264a;
}
html[data-theme="dark"] .feature-card:nth-child(2n) .feature-icon {
  background: #17392f;
}
html[data-theme="dark"] .feature-card:nth-child(3n) .feature-icon {
  background: #3a2c1b;
}
html[data-theme="dark"] .toast {
  color: #fff;
  background: #202b43;
}
html[data-theme="dark"] .theme-options > button {
  background: #0d1627;
  border-color: #303d54;
}
html[data-theme="dark"] .theme-options > button.active {
  background: #171d36;
  border-color: #8a77ff;
}

@media (max-width: 760px) {
  .theme-toggle [data-theme-label] {
    display: none;
  }
  .theme-toggle {
    min-width: 38px;
    padding: 7px;
  }
  .appearance-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .theme-options {
    width: 100%;
  }
  .auth-form-side > .theme-toggle {
    top: 14px;
    right: 16px;
  }
}
@media (max-width: 420px) {
  .theme-options {
    grid-template-columns: 1fr;
  }
  .topbar-actions .theme-toggle {
    display: none;
  }
}

/* Autenticação editorial — layout Stitch adaptado ao produto real */
.refined-auth {
  min-height: 100dvh;
  grid-template-columns: minmax(520px, 45.8%) minmax(0, 1fr);
  background: #fcfdfe;
  font-family: "Atlas Jakarta", system-ui, sans-serif;
}
.refined-auth .auth-story {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 720px;
  padding: clamp(44px, 5.2vw, 80px);
  background:
    radial-gradient(circle at 90% 16%, #15303d70 0, transparent 36%),
    linear-gradient(150deg, #0d171d, #0a151b 78%);
  border-right: 1px solid #26343c;
}
.auth-technical-grid {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image: radial-gradient(#ffffff0d 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.auth-orbits,
.auth-orbits i {
  position: absolute;
  pointer-events: none;
}
.auth-orbits {
  inset: 0;
  overflow: hidden;
}
.auth-orbits i {
  width: 680px;
  height: 680px;
  right: -245px;
  top: -190px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
}
.auth-orbits i:nth-child(2) {
  width: 920px;
  height: 920px;
  right: -360px;
  top: -320px;
  opacity: 0.62;
}
.auth-orbits i:nth-child(3) {
  width: 1200px;
  height: 1200px;
  right: -500px;
  top: -450px;
  opacity: 0.36;
}
.auth-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  color: #fff;
}
.auth-brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff;
  background:
    linear-gradient(#0d171d, #0d171d) padding-box,
    linear-gradient(145deg, #7057ff, #4bd8be) border-box;
  box-shadow: 0 13px 35px #03070c99;
}
.auth-brand-mark b {
  font:
    600 22px "Atlas Newsreader",
    Georgia,
    serif;
}
.auth-brand-mark i {
  position: absolute;
  width: 6px;
  height: 6px;
  right: 10px;
  top: 16px;
  border-radius: 50%;
  background: #56dec2;
}
.auth-brand strong {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.8px;
}
.auth-brand small {
  display: block;
  margin-top: 7px;
  color: #aebbc7;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
}
.refined-auth .story-copy {
  position: relative;
  z-index: 2;
  margin: auto 0;
  max-width: 570px;
  padding: 70px 0;
}
.auth-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 6px 15px;
  margin-bottom: 30px;
  color: #6ee4c4;
  border: 1px solid #24bd9161;
  border-radius: 999px;
  background: #0b6b4d2b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.auth-story-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #51ddba;
  box-shadow: 0 0 0 5px #51ddba0e;
}
.refined-auth .auth-story h1 {
  margin: 0 0 34px;
  max-width: 550px;
  color: #f8fafc;
  font:
    400 clamp(52px, 4.15vw, 67px) / 1.03 "Atlas Newsreader",
    Georgia,
    serif;
  letter-spacing: -2.4px;
}
.refined-auth .auth-story p {
  max-width: 560px;
  margin: 0 0 54px;
  color: #c5ccd2;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.7;
}
.refined-auth .story-shapes {
  gap: 15px;
  margin: 0;
}
.refined-auth .story-shapes i {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: 0 15px 35px #0005;
}
.refined-auth .story-shapes i:first-child {
  background: linear-gradient(145deg, #a7ecd7, #81d7bd);
  transform: rotate(-3deg);
}
.refined-auth .story-shapes i:nth-child(2) {
  background: linear-gradient(145deg, #f68b74, #e96954);
  transform: rotate(5deg);
}
.refined-auth .story-shapes i:nth-child(3) {
  background: linear-gradient(145deg, #ffe08a, #f3c45b);
  border-radius: 18px 30px 18px 18px;
  transform: rotate(-2deg);
}
.refined-auth .story-shapes span {
  align-self: center;
  min-height: 36px;
  margin-left: 18px;
  padding: 9px 0 9px 20px;
  border-left: 1px solid #ffffff17;
  color: #8c9ba8;
  font:
    12px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.refined-auth .auth-story > small {
  position: relative;
  z-index: 2;
  padding-top: 34px;
  border-top: 1px solid #ffffff12;
  color: #9aa9b5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.1px;
}
.refined-auth .auth-form-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  padding: clamp(34px, 4vw, 64px) clamp(40px, 7vw, 105px) 44px;
  overflow-y: auto;
  background: #fcfdfe;
}
.auth-form-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 42px;
}
.auth-form-top > .theme-toggle {
  position: static;
}
.auth-secure-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #dee5ed;
  border-radius: 999px;
  color: #34435c;
  background: #f3f6f9;
  box-shadow: 0 2px 5px #15243c08;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.auth-secure-badge svg {
  width: 15px;
  height: 15px;
  margin-right: 7px;
  fill: none;
  stroke: #009a75;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.refined-auth .auth-form {
  width: 100%;
  max-width: 560px;
  margin: auto;
  padding: 64px 0 48px;
}
body:has(#auth-form [name="name"]) .refined-auth .auth-form {
  max-width: 612px;
  padding-top: 42px;
}
.auth-heading {
  margin-bottom: 38px;
}
.auth-heading .eyebrow {
  margin-bottom: 9px;
  color: #00956c;
  font-size: 11px;
  letter-spacing: 2.2px;
}
.auth-heading h1,
.refined-auth .auth-form > h1 {
  margin: 0;
  color: #0d1421;
  font:
    400 clamp(38px, 3vw, 46px) / 1.1 "Atlas Newsreader",
    Georgia,
    serif;
  letter-spacing: -1.4px;
}
.auth-heading p,
.refined-auth .auth-form > p {
  margin: 14px 0 0;
  color: #60708a;
  font-size: 15px;
  line-height: 1.55;
}
.auth-field {
  margin-bottom: 21px;
}
.auth-field > label {
  display: block;
  margin-bottom: 8px;
  color: #14223a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.auth-input-wrap {
  position: relative;
  border-radius: 14px;
}
.auth-input-wrap input {
  width: 100%;
  min-height: 62px;
  padding: 0 48px 0 50px;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  outline: 0;
  color: #172033;
  background: #f9fafc;
  box-shadow: 0 2px 5px #172b4906;
  font-family: "Atlas Jakarta", system-ui, sans-serif;
  font-size: 14px;
  transition: 0.16s;
}
.auth-input-wrap:not(:has(.auth-input-icon)) input {
  padding-left: 16px;
}
.auth-input-wrap input::placeholder {
  color: #95a5bc;
}
.auth-input-wrap:focus-within input {
  border-color: #5c52e9;
  background: #fff;
  box-shadow: 0 0 0 4px #6258ed17;
}
.auth-input-icon {
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 50%;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #92a2b7;
  font-size: 18px;
  font-weight: 600;
}
.auth-input-icon svg,
.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-toggle {
  position: absolute;
  z-index: 2;
  inset: 0 0 0 auto;
  width: 48px;
  border: 0;
  border-radius: 0 14px 14px 0;
  color: #91a1b7;
  background: transparent;
}
.password-toggle:hover,
.password-toggle.visible {
  color: #5548dd;
}
.auth-forgot {
  display: flex;
  justify-content: flex-end;
  margin: -9px 0 22px;
  font-size: 12px;
  font-weight: 500;
}
.auth-security {
  margin: 13px 0 22px;
}
.auth-security #bot-status {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: #67768d;
  font-size: 12px;
  line-height: 1.5;
}
.auth-security #bot-status:before {
  content: "i";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid #9bacbf;
  border-radius: 50%;
  color: #8293a9;
  font:
    600 10px Georgia,
    serif;
}
.auth-submit {
  min-height: 60px;
  margin-top: 4px;
  border-radius: 14px;
  background: linear-gradient(135deg, #5547e9, #4b3fdd);
  box-shadow: 0 8px 20px #4f46e52c;
  font-size: 14px;
}
.auth-submit b {
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.15s;
}
.auth-submit:hover b {
  transform: translateX(3px);
}
.refined-auth .divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 37px 0 27px;
  color: #8797ad;
  font-size: 11px;
}
.refined-auth .divider:before,
.refined-auth .divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dfe5ec;
}
.refined-auth .divider span {
  padding: 0 15px;
  white-space: nowrap;
}
.refined-auth .social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.refined-auth .social-provider {
  min-height: 54px;
  border-color: #dae2eb;
  border-radius: 13px;
  color: #17223a;
  background: #fff;
  box-shadow: 0 2px 5px #1b2a410a;
  font-size: 12px;
}
.refined-auth .social-provider:not(:disabled):hover {
  border-color: #aebad0;
  background: #f8fafc;
}
.provider-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.refined-auth .ms-logo {
  grid-template-columns: repeat(2, 7px);
}
.refined-auth .ms-logo i {
  width: 7px;
  height: 7px;
}
.refined-auth .social-note {
  margin: 17px 0;
  color: #607089;
  font-size: 10.5px;
  line-height: 1.55;
}
.refined-auth .social-terms {
  margin: 0;
  color: #53627a;
  font-size: 11px;
  line-height: 1.5;
}
.refined-auth .social-terms input,
.refined-auth .primary-terms input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #5145e5;
}
.auth-confirmation-note {
  margin: 15px 0 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid #e0e6ed;
  color: #98a5b8;
  font-size: 10.5px;
  line-height: 1.55;
}
.auth-switch {
  margin-top: 53px;
  padding-top: 31px;
  border-top: 1px solid #edf0f4;
  color: #435067;
  text-align: center;
  font-size: 13px;
}
.auth-switch a {
  margin-left: 4px;
  font-weight: 600;
}
.password-guidance {
  display: block;
  margin: -12px 0 20px;
  color: #64748b;
  font-size: 11px;
}
.refined-auth .primary-terms {
  margin: 0 0 20px;
  color: #4f5e75;
  font-size: 11px;
  line-height: 1.55;
}
.auth-email-notice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid #dde5ed;
  border-radius: 14px;
  color: #56667d;
  background: #f7f9fb;
}
.auth-email-notice > span {
  color: #5c50e8;
  font-size: 17px;
}
.auth-email-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}
body:has(#auth-form [name="name"]) .auth-field {
  margin-bottom: 17px;
}
body:has(#auth-form [name="name"]) .auth-input-wrap input {
  min-height: 58px;
}
body:has(#auth-form [name="name"]) .auth-security {
  margin: 5px 0 17px;
  text-align: center;
}
body:has(#auth-form [name="name"]) .auth-security #bot-status {
  display: inline-block;
}
body:has(#auth-form [name="name"]) .refined-auth .divider {
  margin: 29px 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 9px;
  font-weight: 600;
}
body:has(#auth-form [name="name"]) .auth-switch {
  margin-top: 27px;
  padding-top: 24px;
  font-size: 11px;
}

html[data-theme="dark"] .refined-auth,
html[data-theme="dark"] .refined-auth .auth-form-side {
  background: #080e1b;
}
html[data-theme="dark"] .auth-secure-badge {
  color: #cbd5e3;
  border-color: #2b384e;
  background: #121d30;
}
html[data-theme="dark"] .auth-heading h1,
html[data-theme="dark"] .refined-auth .auth-form > h1 {
  color: #f2f5fa;
}
html[data-theme="dark"] .auth-heading p,
html[data-theme="dark"] .refined-auth .auth-form > p {
  color: #98a8be;
}
html[data-theme="dark"] .auth-field > label {
  color: #d8e0eb;
}
html[data-theme="dark"] .auth-input-wrap input {
  color: #edf2fa;
  border-color: #2d3a51;
  background: #0e1728;
}
html[data-theme="dark"] .auth-input-wrap:focus-within input {
  border-color: #7766f6;
  background: #111c30;
}
html[data-theme="dark"] .refined-auth .divider:before,
html[data-theme="dark"] .refined-auth .divider:after,
html[data-theme="dark"] .auth-switch {
  border-color: #273349;
}
html[data-theme="dark"] .refined-auth .divider:before,
html[data-theme="dark"] .refined-auth .divider:after {
  background: #273349;
}
html[data-theme="dark"] .refined-auth .social-provider {
  color: #e1e7f2;
  border-color: #2b384d;
  background: #101a2c;
}
html[data-theme="dark"] .auth-email-notice {
  color: #b5c0d1;
  border-color: #2a384d;
  background: #101a2b;
}
html[data-theme="dark"] .refined-auth .social-note,
html[data-theme="dark"] .refined-auth .social-terms,
html[data-theme="dark"] .auth-switch,
html[data-theme="dark"] .password-guidance {
  color: #95a5bb;
}
html[data-theme="dark"] .auth-confirmation-note {
  border-color: #2a374c;
  color: #7f8fa6;
}

@media (max-width: 1000px) {
  .refined-auth {
    grid-template-columns: minmax(390px, 43%) minmax(0, 1fr);
  }
  .refined-auth .auth-story {
    padding: 42px;
  }
  .refined-auth .auth-form-side {
    padding-left: 45px;
    padding-right: 45px;
  }
  .refined-auth .auth-story h1 {
    font-size: 49px;
  }
  .refined-auth .story-shapes span {
    display: none;
  }
}
@media (max-width: 760px) {
  .refined-auth {
    display: block;
    min-height: 100dvh;
  }
  .refined-auth .auth-story {
    position: relative;
    height: auto;
    min-height: 300px;
    padding: 24px;
  }
  .refined-auth .auth-brand-mark {
    width: 42px;
    height: 42px;
  }
  .refined-auth .auth-brand strong {
    font-size: 21px;
  }
  .refined-auth .story-copy {
    display: block;
    padding: 38px 0 8px;
  }
  .auth-story-badge {
    min-height: 0;
    margin-bottom: 14px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 8px;
  }
  .refined-auth .auth-story h1 {
    max-width: 330px;
    margin: 0;
    font-size: 32px;
    line-height: 1.02;
    letter-spacing: -1px;
  }
  .refined-auth .auth-story p,
  .refined-auth .story-shapes,
  .refined-auth .auth-story > small {
    display: none;
  }
  .refined-auth .auth-form-side {
    padding: 18px 22px 34px;
    overflow: visible;
  }
  .auth-form-top {
    min-height: 44px;
  }
  .refined-auth .auth-form {
    max-width: 560px;
    padding: 28px 0 10px;
  }
  body:has(#auth-form [name="name"]) .refined-auth .auth-form {
    padding-top: 24px;
  }
  .auth-heading {
    margin-bottom: 28px;
  }
  .auth-heading h1,
  .refined-auth .auth-form > h1 {
    font-size: 36px;
  }
  .auth-input-wrap input {
    min-height: 56px;
  }
  .auth-submit {
    min-height: 55px;
  }
  .refined-auth .social {
    grid-template-columns: 1fr;
  }
  .auth-switch {
    margin-top: 34px;
  }
}
@media (max-width: 420px) {
  .auth-secure-badge {
    font-size: 10px;
  }
  .refined-auth .auth-form-side {
    padding-left: 17px;
    padding-right: 17px;
  }
  .auth-heading h1,
  .refined-auth .auth-form > h1 {
    font-size: 33px;
  }
  .refined-auth .divider span {
    padding: 0 9px;
  }
}
