:root {
  color-scheme: light;
  --ink: #142230;
  --muted: #5d6c78;
  --line: #d8e1e8;
  --paper: #f6f8f9;
  --white: #ffffff;
  --brand: #1a3a5c;
  --accent: #ff8c42;
  --green: #1e7a5f;
  --shadow: 0 22px 70px rgba(20, 34, 48, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  min-height: 72px;
  padding: 16px max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(246, 248, 249, 0.92);
  border-bottom: 1px solid rgba(216, 225, 232, 0.8);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  color: var(--brand);
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--brand);
  background: #eaf0f4;
}

.hero {
  padding: 72px max(24px, calc((100vw - 1120px) / 2)) 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 56px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(26, 58, 92, 0.08), rgba(255, 140, 66, 0.08)),
    var(--paper);
  overflow: hidden;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.lede {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button.primary {
  color: white;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand);
  border-color: var(--line);
  background: white;
}

.button:hover {
  transform: translateY(-1px);
}

.phone-strip {
  min-height: 560px;
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 16px;
  align-items: center;
}

.phone-strip img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 28px;
  border: 8px solid #111a23;
  box-shadow: var(--shadow);
  background: #111a23;
}

.phone-strip img:nth-child(2) {
  transform: translateY(38px);
}

.proof-band,
.features,
.page-shell {
  padding: 64px max(24px, calc((100vw - 1120px) / 2));
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.proof-band p,
.features p,
.page-hero p,
.notice-panel p,
.contact-panel p,
.legal p,
.legal li,
.policy-table span {
  color: var(--muted);
}

.proof-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.proof-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  font-weight: 700;
}

.proof-list.compact {
  gap: 8px;
}

.proof-list.compact li {
  padding: 12px 14px;
  font-size: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.features article,
.notice-panel,
.contact-panel,
.legal-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.page-shell {
  min-height: calc(100vh - 150px);
}

.page-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.verify-page {
  display: grid;
  gap: 22px;
}

.verify-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 44px;
  align-items: center;
}

.verify-hero-copy {
  max-width: 600px;
}

.verify-hero h1 {
  font-size: clamp(40px, 5.2vw, 64px);
}

.verifier-panel {
  padding: 22px;
  border: 1px solid rgba(26, 58, 92, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 252, 253, 0.96)),
    white;
  box-shadow: 0 18px 50px rgba(20, 34, 48, 0.1);
}

.verifier-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.verifier-panel-header p {
  margin: 0;
}

.status-pill,
.outcome-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 820;
}

.status-pill {
  color: var(--brand);
  background: #eaf0f4;
}

.verify-dropzone {
  min-height: 250px;
  padding: 30px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed #b9c7d2;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(26, 58, 92, 0.045), rgba(255, 140, 66, 0.05)),
    #fbfcfd;
  cursor: pointer;
}

.verify-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.dropzone-title {
  margin: 16px 0 10px;
  max-width: 480px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 820;
}

.dropzone-copy {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
}

.dropzone-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--brand);
  background: rgba(26, 58, 92, 0.08);
  font-size: 13px;
  font-weight: 760;
}

.verify-upload {
  display: grid;
  gap: 12px;
}

.verify-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.verify-submit:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.upload-privacy {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.original-file-guide {
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: 8px;
  background: #fbfcfd;
}

.original-file-guide strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 14px;
}

.original-file-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.verify-result {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.verify-result-heading {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.verify-result-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.verify-result-heading strong {
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.verify-result h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.05;
}

.verify-result p {
  margin-bottom: 12px;
  color: var(--muted);
}

.verify-media-preview {
  margin: 0 0 14px;
}

.verify-media-frame {
  display: grid;
  min-height: 180px;
  max-height: 320px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 244, 248, 0.88)),
    #f3f7fa;
}

.verify-media-frame img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.verify-media-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.verify-media-preview figcaption span {
  font-weight: 820;
  text-transform: uppercase;
}

.verify-media-preview figcaption strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 760;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verify-result-guidance {
  padding: 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-size: 14px;
}

.verify-result dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.verify-result dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.verify-result dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.verify-result dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 720;
}

.verify-result-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.verify-summary-action,
.verify-report-action {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
}

.verify-summary-action {
  color: white;
  background: var(--brand);
}

.verify-report-action {
  color: var(--brand);
  background: white;
  border: 1px solid rgba(26, 58, 92, 0.22);
}

.verify-summary-action:hover,
.verify-report-action:hover {
  transform: translateY(-1px);
}

.verify-summary-action:active,
.verify-report-action:active {
  transform: translateY(0);
}

.verify-report-action:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.verify-summary-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.evidence-pack-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.evidence-pack-summary div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.evidence-pack-summary strong,
.evidence-pack-summary span {
  display: block;
}

.evidence-pack-summary strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.evidence-pack-summary span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.evidence-pack-results {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-pack-results li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(26, 58, 92, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.evidence-pack-results strong,
.evidence-pack-results span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-pack-results strong {
  color: var(--ink);
  font-size: 13px;
}

.evidence-pack-results span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.evidence-pack-results em {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.evidence-pack-results .is-verified em {
  color: #126149;
  background: #e0f1ea;
}

.evidence-pack-results .is-metadata em {
  color: var(--brand);
  background: #e5edf3;
}

.evidence-pack-results .is-warning em {
  color: #91511d;
  background: #ffe8d7;
}

.evidence-pack-results .is-neutral em {
  color: var(--muted);
  background: #eef3f6;
}

.verify-result.is-verified {
  border-color: rgba(30, 122, 95, 0.28);
  background: #f4fbf8;
}

.verify-result.is-verified .verify-result-heading strong {
  color: #126149;
  background: #e0f1ea;
}

.verify-result.is-metadata {
  border-color: rgba(26, 58, 92, 0.24);
  background: #f6f9fb;
}

.verify-result.is-metadata .verify-result-heading strong {
  color: var(--brand);
  background: #e5edf3;
}

.verify-result.is-warning {
  border-color: rgba(145, 81, 29, 0.28);
  background: #fff8f2;
}

.verify-result.is-warning .verify-result-heading strong {
  color: #91511d;
  background: #ffe8d7;
}

.verify-result.is-neutral .verify-result-heading strong {
  color: var(--muted);
  background: #eef3f6;
}

.file-mark {
  width: 52px;
  height: 64px;
  position: relative;
  border: 2px solid var(--brand);
  border-radius: 8px;
  background: white;
}

.file-mark::before {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: -2px;
  right: -2px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  border-radius: 0 8px 0 6px;
  background: #eef3f6;
}

.file-mark::after {
  content: "";
  width: 26px;
  height: 3px;
  position: absolute;
  left: 14px;
  bottom: 22px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 10px 0 rgba(26, 58, 92, 0.2);
}

.verifier-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.verifier-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.verifier-facts dt {
  margin-bottom: 4px;
  color: var(--brand);
  font-weight: 820;
}

.verifier-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.verify-outcomes,
.verify-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.verify-outcomes article,
.verify-workflow,
.verify-notes > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.verify-outcomes h2 {
  margin: 16px 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.verify-outcomes p,
.verify-workflow p,
.verify-steps span {
  color: var(--muted);
}

.outcome-label.verified {
  color: #126149;
  background: #e8f4ef;
}

.outcome-label.metadata {
  color: var(--brand);
  background: #eaf0f4;
}

.outcome-label.warning {
  color: #91511d;
  background: #fff1e8;
}

.verify-workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 40px;
  align-items: start;
}

.evidence-pack-guide {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: 28px;
  align-items: start;
  border: 1px solid rgba(26, 58, 92, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(26, 58, 92, 0.07), rgba(255, 140, 66, 0.08)),
    white;
}

.evidence-pack-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.04;
}

.evidence-pack-copy p,
.evidence-pack-grid p,
.evidence-pack-note p {
  color: var(--muted);
}

.evidence-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.evidence-pack-grid article {
  min-height: 190px;
  padding: 18px;
  display: grid;
  align-content: start;
  border: 1px solid rgba(216, 225, 232, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.evidence-pack-grid span {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-size: 13px;
  font-weight: 820;
}

.evidence-pack-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.evidence-pack-grid p {
  margin: 0;
  font-size: 14px;
}

.evidence-pack-note {
  grid-column: 1 / -1;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  border: 1px solid rgba(255, 140, 66, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.evidence-pack-note strong {
  color: var(--brand);
}

.evidence-pack-note p {
  margin: 0;
  font-size: 14px;
}

.verify-workflow h2,
.verify-notes h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.verify-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: verify-step;
}

.verify-steps li {
  min-height: 104px;
  padding: 18px 18px 18px 70px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.verify-steps li::before {
  counter-increment: verify-step;
  content: counter(verify-step);
  width: 36px;
  height: 36px;
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-weight: 820;
}

.verify-steps strong,
.verify-steps span {
  display: block;
}

.verify-steps strong {
  margin-bottom: 4px;
}

.verify-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-page {
  gap: 22px;
}

.privacy-hero {
  max-width: none;
  margin-bottom: 2px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 32px;
  align-items: end;
}

.privacy-hero-copy {
  max-width: 800px;
}

.privacy-hero .lede {
  max-width: 720px;
  margin-bottom: 0;
}

.privacy-status {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.privacy-status h2 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.privacy-status p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.privacy-status a {
  color: var(--brand);
  font-weight: 760;
  text-underline-offset: 3px;
}

.policy-date {
  display: flex;
  width: fit-content;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--brand);
  font-size: 14px;
  font-weight: 760;
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.privacy-summary article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  display: grid;
  grid-template-rows: 24px minmax(52px, auto) 1fr;
  align-items: start;
}

.privacy-summary span {
  display: inline-flex;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 820;
}

.privacy-summary h2 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
  align-self: start;
}

.privacy-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.privacy-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.legal-section {
  max-width: none;
  height: 100%;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
}

.legal-section.wide {
  grid-column: 1 / -1;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
}

.legal-list li {
  margin: 9px 0;
}

.policy-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.policy-table > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: 18px;
  padding: 16px;
}

.policy-table > div + div {
  border-top: 1px solid var(--line);
}

.policy-table strong {
  color: var(--brand);
}

.contact-strip a,
.legal-section a {
  color: var(--brand);
  font-weight: 760;
  text-underline-offset: 3px;
}

.muted {
  color: var(--muted);
}

.big-link {
  color: var(--brand);
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 820;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.legal {
  display: grid;
  gap: 18px;
}

.team-portal-page {
  background: #f5f7f9;
}

.team-portal-page .team-site-header {
  min-height: 64px;
  padding-inline: max(32px, calc((100vw - 1440px) / 2));
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(216, 225, 232, 0.72);
}

.team-site-header .brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.team-site-header .brand span {
  font-size: 16px;
}

.team-site-header .brand em {
  min-height: 26px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(26, 58, 92, 0.1);
  border-radius: 6px;
  color: var(--muted);
  background: #f6f8f9;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.team-site-header nav {
  gap: 2px;
}

.team-site-header nav a {
  min-height: 34px;
  padding: 7px 10px;
  color: #526170;
}

.team-site-header nav a:hover {
  color: var(--brand);
  background: #eef3f6;
}

.team-app {
  padding-inline: max(32px, calc((100vw - 1440px) / 2));
  padding-top: 42px;
  padding-bottom: 56px;
  display: grid;
  gap: 22px;
}

.team-dashboard-grid[hidden],
.team-secure-gate[hidden],
.team-portal-hero[hidden] {
  display: none !important;
}

.team-portal-hero {
  min-height: auto;
  width: min(100%, 640px);
  margin-inline: auto;
  padding-block: clamp(22px, 5vh, 54px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.team-portal-copy {
  max-width: 640px;
}

.team-portal-copy h1 {
  margin-bottom: 4px;
  color: #0f2031;
  font-size: clamp(36px, 4vw, 46px);
  line-height: 1.08;
}

.team-portal-copy .lede {
  margin-bottom: 0;
  color: #536271;
  font-size: clamp(18px, 2vw, 24px);
}

.team-trust-list {
  margin: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 6px;
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 55px rgba(20, 34, 48, 0.06);
  counter-reset: team-flow;
  list-style: none;
}

.team-trust-list li {
  min-height: 84px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: start;
  border: 0;
  border-radius: 6px;
  color: var(--brand);
  background: transparent;
  box-shadow: none;
  counter-increment: team-flow;
}

.team-trust-list li::before {
  content: counter(team-flow, decimal-leading-zero);
  width: 32px;
  height: 32px;
  margin-top: 1px;
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(30, 122, 95, 0.16);
  border-radius: 8px;
  color: var(--green);
  background: #edf7f2;
  font-size: 12px;
  font-weight: 820;
}

.team-trust-list strong,
.team-trust-list span {
  min-width: 0;
  display: block;
}

.team-trust-list strong {
  font-size: 14px;
  font-weight: 840;
}

.team-trust-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.team-secure-gate {
  width: 100%;
  padding: 36px 54px 30px;
  border: 1px solid rgba(26, 58, 92, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 252, 0.98)),
    white;
  box-shadow: 0 24px 70px rgba(20, 34, 48, 0.14);
}

.team-gate-header {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-bottom: 8px;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.team-login-emblem {
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #1a3a5c;
  box-shadow: 0 12px 30px rgba(26, 58, 92, 0.2);
}

.team-login-emblem img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
}

.team-lock-badge {
  min-height: 30px;
  margin-bottom: 12px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  color: #126149;
  background: #e0f1ea;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-secure-gate h2 {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: clamp(25px, 2.6vw, 32px);
  line-height: 1.05;
}

.team-gate-divider {
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}

.team-security-list {
  margin: 16px 0 0;
  padding: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(26, 58, 92, 0.1);
  border-radius: 8px;
  background: #f7fafb;
  list-style: none;
}

.team-security-list li {
  min-width: 0;
  padding: 0 0 8px;
  display: grid;
  gap: 2px;
  border-bottom: 1px solid rgba(216, 225, 232, 0.72);
}

.team-security-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.team-security-list strong,
.team-security-list span {
  display: block;
}

.team-security-list strong {
  color: var(--brand);
  font-size: 13px;
}

.team-security-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.team-gate-footnote {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid rgba(26, 58, 92, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: #f7fafb;
  font-size: 12px;
  line-height: 1.4;
}

.team-dashboard-header {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 4px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.team-dashboard-header h1 {
  max-width: 720px;
  margin-bottom: 6px;
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.02;
}

.team-dashboard-header .lede {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.team-dashboard-nav {
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.team-dashboard-nav a {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.team-dashboard-nav a:hover {
  color: var(--brand);
  background: #eef3f6;
}

.team-health-panel {
  min-height: 96px;
  margin-bottom: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.health-dot {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: #b7c2ca;
  box-shadow: 0 0 0 6px rgba(183, 194, 202, 0.18);
}

.health-dot[data-state="ready"] {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(30, 122, 95, 0.16);
}

.health-dot[data-state="partial"] {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 140, 66, 0.17);
}

.health-dot[data-state="offline"] {
  background: #91511d;
  box-shadow: 0 0 0 6px rgba(145, 81, 29, 0.14);
}

.team-health-panel strong,
.team-health-panel span {
  display: block;
}

.team-health-panel strong {
  margin-bottom: 3px;
  color: var(--brand);
  font-size: 18px;
}

.team-health-panel span {
  color: var(--muted);
  font-size: 14px;
}

.team-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.team-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 38px rgba(20, 34, 48, 0.045);
}

.team-panel-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.team-panel h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
}

.team-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-status-chip {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--brand);
  background: #eaf0f4;
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
}

.team-workspace-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  grid-template-areas:
    "identity nav"
    "metrics actions";
  gap: 16px 18px;
  align-items: start;
}

.team-workspace-identity {
  grid-area: identity;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.team-workspace-actions {
  grid-area: actions;
  min-width: 0;
  align-self: end;
  justify-self: end;
}

.team-workspace-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.team-workspace-title-row h2 {
  min-width: 0;
  font-size: clamp(25px, 3vw, 34px);
}

.team-workspace-panel .team-panel-note {
  margin: 10px 0 12px;
  max-width: 520px;
}

.team-workspace-nav {
  grid-area: nav;
  align-self: start;
  justify-self: end;
}

.team-metrics {
  grid-area: metrics;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.team-metrics div {
  min-height: 74px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: 8px;
  background: #fbfcfd;
}

.team-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.team-metrics dd {
  margin: 3px 0 0;
  color: var(--brand);
  font-size: 26px;
  font-weight: 820;
  line-height: 1;
}

.team-panel-note {
  color: var(--muted);
}

.team-secure-gate .team-panel-note {
  margin: 0;
  color: #6a7682;
  font-size: 16px;
  line-height: 1.35;
}

.team-secure-gate .team-auth-message {
  display: none;
}

body[data-team-mode="gate"] {
  min-height: 100vh;
  background: #ffffff;
}

body[data-team-mode="gate"] .team-site-header {
  display: none;
}

body[data-team-mode="gate"] .team-app {
  min-height: 100vh;
  padding: 0;
}

body[data-team-mode="gate"] .team-portal-hero {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(560px, 1.14fr);
  gap: 0;
  align-items: stretch;
}

body[data-team-mode="gate"] .team-portal-copy {
  position: relative;
  max-width: none;
  min-height: 100vh;
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(145deg, rgba(255, 140, 66, 0.14), transparent 32%),
    linear-gradient(180deg, #1d3b63, #263f68);
}

body[data-team-mode="gate"] .team-portal-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background:
    linear-gradient(32deg, transparent 0 47%, rgba(255, 255, 255, 0.18) 47.2% 47.6%, transparent 47.8%),
    linear-gradient(32deg, transparent 0 52%, rgba(255, 140, 66, 0.28) 52.2% 52.5%, transparent 52.7%);
  pointer-events: none;
}

body[data-team-mode="gate"] .team-portal-copy > * {
  position: relative;
  z-index: 1;
}

body[data-team-mode="gate"] .team-portal-mark {
  position: absolute;
  top: clamp(38px, 5vw, 64px);
  left: clamp(40px, 5vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.team-portal-mark img {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  box-shadow: 0 18px 38px rgba(3, 15, 28, 0.18);
}

.team-portal-mark strong,
.team-portal-mark span {
  display: block;
}

.team-portal-mark strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.05;
}

.team-portal-mark span {
  margin-top: 3px;
  color: rgba(255, 218, 188, 0.9);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-team-mode="gate"] .team-portal-copy h1 {
  max-width: 680px;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
}

body[data-team-mode="gate"] .team-portal-copy h1 span {
  display: block;
  color: #f0ad73;
}

body[data-team-mode="gate"] .team-portal-copy .lede {
  max-width: 560px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.48;
}

body[data-team-mode="gate"] .team-trust-list {
  max-width: 600px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.76);
  list-style: none;
}

body[data-team-mode="gate"] .team-trust-list li {
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  color: inherit;
  background: transparent;
}

body[data-team-mode="gate"] .team-trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border: 0;
  border-radius: 50%;
  background: #f0ad73;
}

body[data-team-mode="gate"] .team-secure-gate {
  width: min(100%, 700px);
  margin: auto;
  padding: clamp(34px, 5vw, 56px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.team-login-heading {
  margin-bottom: 24px;
}

.team-login-heading h2 {
  margin: 0 0 6px;
  color: #0f2031;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.05;
}

.team-login-heading p {
  margin: 0;
  color: #6a7682;
  font-size: 20px;
}

.team-login-card {
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid rgba(20, 34, 48, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(20, 34, 48, 0.16);
}

body[data-team-mode="gate"] .team-gate-header {
  padding-bottom: 6px;
  border-bottom: 0;
}

body[data-team-mode="gate"] .team-auth-controls {
  margin-top: 8px;
}

body[data-team-mode="gate"] .team-clerk-signin-mount {
  min-height: 360px;
}

.team-auth-controls {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.team-clerk-signin-shell {
  min-width: 0;
  margin-top: 0;
  display: grid;
}

.team-clerk-signin-mount {
  min-width: 0;
  min-height: 350px;
}

.team-auth-controls .team-clerk-root,
.team-auth-controls .team-clerk-card,
.team-auth-controls .cl-rootBox,
.team-auth-controls .cl-cardBox,
.team-auth-controls .cl-card,
.team-auth-controls .cl-footer,
.team-auth-controls .cl-footerItem {
  width: 100%;
  max-width: 100% !important;
  min-width: 0 !important;
}

.team-auth-controls .team-clerk-card {
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

.team-auth-controls .cl-card,
.team-auth-controls .cl-cardBox {
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

.team-auth-controls .cl-footer {
  background: transparent !important;
  background-image: none !important;
  border-top-color: rgba(216, 225, 232, 0.82) !important;
}

.team-auth-controls .cl-main {
  padding-inline: 0 !important;
}

.team-auth-controls .cl-header {
  padding-inline: 0 !important;
}

.team-auth-controls .cl-footerAction {
  padding-inline: 0 !important;
}

.team-auth-controls .team-clerk-title {
  color: var(--brand) !important;
}

.team-auth-controls .team-clerk-subtitle {
  color: var(--muted) !important;
}

.team-access-note {
  margin: 0;
  padding-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.team-access-note a {
  color: var(--brand);
  font-weight: 760;
}

.team-session-controls {
  display: grid;
  gap: 12px;
}

.team-manager-shortcuts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px;
}

.team-manager-shortcuts .button {
  width: 100%;
  text-align: center;
}

.team-clerk-mounts {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.team-clerk-mounts > div {
  min-height: 36px;
}

.team-button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.team-button:disabled {
  opacity: 0.55;
  transform: none;
}

.team-filters {
  margin: -4px 0 14px;
  display: grid;
  grid-template-columns:
    minmax(220px, 1.16fr)
    minmax(170px, 0.82fr)
    minmax(170px, 0.82fr)
    minmax(170px, 0.82fr)
    minmax(170px, 0.82fr);
  gap: 10px;
}

.team-filters label {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.team-filters span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-filters select,
.team-filters input {
  min-width: 0;
  min-height: 42px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.team-filters input:disabled {
  color: #94a2ad;
  background: #f4f7f9;
}

.team-date-picker {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
}

.team-date-picker input[type="text"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.team-date-button {
  min-height: 42px;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 7px 7px 0;
  color: var(--brand);
  background: white;
  cursor: pointer;
}

.team-date-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-date-button:hover,
.team-date-button:focus-visible {
  background: #f6fafb;
}

.team-date-button:focus-visible {
  outline: 2px solid rgba(255, 140, 66, 0.72);
  outline-offset: 2px;
}

.team-date-button:disabled {
  color: #94a2ad;
  background: #f4f7f9;
  cursor: not-allowed;
}

.team-date-native {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.team-bulk-toolbar {
  margin: 0 0 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.team-select-all {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-weight: 820;
}

.team-select-all input,
.team-row-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.team-bulk-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.team-bulk-toolbar p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.team-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-table-row {
  min-width: 1120px;
  display: grid;
  grid-template-columns:
    56px
    minmax(160px, 0.78fr)
    minmax(190px, 0.95fr)
    minmax(260px, 1.25fr)
    minmax(150px, 0.72fr)
    minmax(118px, 0.48fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.team-table-data {
  width: 100%;
  border: 0;
  color: inherit;
  background: white;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.team-table-data:hover,
.team-table-data:focus-visible {
  background: #f6fafb;
}

.team-table-data:focus-visible {
  outline: 2px solid rgba(255, 140, 66, 0.72);
  outline-offset: -2px;
}

.team-select-cell {
  display: flex;
  align-items: center;
}

.team-table-row + .team-table-row {
  border-top: 1px solid var(--line);
}

#team-evidence-rows .team-table-row {
  border-top: 1px solid var(--line);
}

.team-table-head {
  color: var(--muted);
  background: #fbfcfd;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-table-row.is-empty {
  color: var(--muted);
}

.team-table em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 820;
  color: var(--brand);
  background: #eaf0f4;
}

.team-table em.is-good {
  color: #126149;
  background: #e0f1ea;
}

.team-table em.is-info {
  color: var(--brand);
  background: #e5edf3;
}

.team-table em.is-warning {
  color: #91511d;
  background: #ffe8d7;
}

.team-table em.is-neutral {
  color: var(--muted);
  background: #eef3f6;
}

.team-table strong,
.team-table small {
  display: block;
  min-width: 0;
}

.team-table small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.team-table-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.team-load-more {
  margin-top: 12px;
  width: 100%;
}

.team-evidence-dialog {
  width: min(940px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.team-evidence-dialog::backdrop {
  background: rgba(5, 18, 28, 0.58);
}

.team-evidence-detail {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 72px rgba(26, 58, 92, 0.28);
}

.team-evidence-detail-header {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.team-evidence-detail-header h2 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.04;
}

.team-evidence-detail-header p {
  margin: 7px 0 0;
  color: var(--muted);
}

.team-evidence-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(250px, 0.95fr);
  gap: 18px;
}

.team-evidence-preview {
  min-height: 420px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101820;
}

.team-evidence-preview img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
}

.team-evidence-preview-state {
  padding: 22px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-weight: 720;
}

.team-evidence-meta {
  margin: 0;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.team-evidence-meta div {
  padding: 13px 14px;
  display: grid;
  gap: 5px;
}

.team-evidence-meta div + div {
  border-top: 1px solid var(--line);
}

.team-evidence-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-evidence-meta dd {
  margin: 0;
  color: var(--brand);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.team-evidence-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.team-member-dialog {
  width: min(560px, calc(100vw - 32px));
}

.team-member-detail .team-evidence-detail-header h2 {
  font-size: clamp(24px, 4vw, 34px);
}

.team-member-form {
  display: grid;
  gap: 14px;
}

.team-member-form label {
  display: grid;
  gap: 7px;
}

.team-member-form label > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-member-form input,
.team-member-form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

.team-member-form input:focus,
.team-member-form select:focus {
  outline: 3px solid rgba(255, 140, 66, 0.18);
  border-color: rgba(255, 140, 66, 0.72);
}

#team-member-form-status,
#team-invite-form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.team-member-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.team-work-sites-panel {
  grid-column: 1 / -1;
}

.team-work-sites-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.team-boundary-source-grid {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(460px, 1.45fr) minmax(260px, 0.85fr);
  gap: 14px;
}

.team-boundary-source-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.team-boundary-source-card > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-boundary-source-card h3 {
  margin: 5px 0 6px;
  color: var(--brand);
  font-size: 18px;
}

.team-boundary-source-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.team-boundary-source-card-wide {
  min-height: 280px;
}

.team-boundary-library-controls {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(120px, 0.65fr) minmax(120px, 0.65fr) minmax(180px, 1fr);
  gap: 10px;
}

.team-boundary-library-controls label {
  display: grid;
  gap: 5px;
}

.team-boundary-library-controls label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-boundary-library-controls select,
.team-boundary-library-controls input {
  min-width: 0;
  min-height: 40px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.team-boundary-library-actionbar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-boundary-library-actionbar strong {
  color: var(--brand);
  font-size: 14px;
}

.team-boundary-catalog-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  max-height: 460px;
  overflow: auto;
  padding-right: 2px;
}

.team-boundary-catalog-list[data-status]::before {
  content: attr(data-status);
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--brand);
  background: #eef4f7;
  font-size: 12px;
  font-weight: 760;
}

.team-boundary-library-city,
.team-boundary-library-resort,
.team-boundary-catalog-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.team-boundary-library-city {
  overflow: hidden;
}

.team-boundary-library-heading {
  padding: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.team-boundary-library-heading span,
.team-boundary-library-heading small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.team-boundary-library-heading strong {
  color: var(--brand);
  font-size: 15px;
}

.team-boundary-library-resort {
  margin: 10px;
  overflow: hidden;
}

.team-boundary-resort-select,
.team-boundary-property-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.team-boundary-resort-select {
  padding: 11px 12px;
  background: #fbfcfd;
}

.team-boundary-resort-select input,
.team-boundary-property-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.team-boundary-resort-select span,
.team-boundary-property-row span {
  min-width: 0;
}

.team-boundary-resort-select strong,
.team-boundary-property-row strong {
  display: block;
  min-width: 0;
  color: var(--brand);
  overflow-wrap: anywhere;
}

.team-boundary-resort-select small,
.team-boundary-property-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.team-boundary-property-list {
  display: grid;
}

.team-boundary-property-row {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.team-boundary-property-row em {
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.team-boundary-property-row em.is-ready {
  color: #0b6f4a;
  background: #e0f2ea;
}

.team-boundary-property-row em.is-warning {
  color: #9b5c00;
  background: #fff3d6;
}

.team-boundary-property-row em.is-installed {
  color: var(--muted);
  background: #eef2f5;
}

.team-boundary-catalog-card {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.team-boundary-catalog-card strong,
.team-boundary-catalog-card span,
.team-boundary-catalog-card small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-boundary-catalog-card strong {
  color: var(--brand);
  font-size: 14px;
}

.team-boundary-catalog-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.team-boundary-catalog-card small {
  margin-top: 6px;
  color: #3f8b6a;
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-boundary-import-drop {
  margin-top: 14px;
  display: grid;
}

.team-boundary-import-drop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.team-boundary-import-drop span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(26, 58, 92, 0.34);
  border-radius: 8px;
  color: var(--brand);
  background: white;
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
}

.team-boundary-import-drop:focus-within span,
.team-boundary-import-drop:hover span {
  border-color: rgba(255, 140, 66, 0.72);
  background: #fff8f3;
}

.team-work-site-form,
.team-work-site-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.team-work-site-form {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.team-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-form-title h3 {
  margin: 0;
  color: var(--brand);
  font-size: 17px;
}

.team-form-title span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand);
  background: #eaf0f4;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.team-boundary-steps {
  margin: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  list-style: none;
}

.team-boundary-steps li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.team-boundary-steps strong {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-size: 12px;
}

.team-boundary-steps span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-work-site-form label {
  display: grid;
  gap: 5px;
}

.team-work-site-form label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-boundary-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.team-boundary-search .button {
  min-height: 42px;
  padding-inline: 18px;
}

.team-work-site-form input,
.team-work-site-form select {
  min-width: 0;
  min-height: 42px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.team-work-site-form input:disabled,
.team-work-site-form select:disabled {
  color: #94a2ad;
  background: #f4f7f9;
}

.team-address-results {
  display: grid;
  gap: 8px;
}

.team-address-result {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.team-address-result:hover,
.team-address-result:focus-visible {
  border-color: rgba(255, 140, 66, 0.58);
  outline: none;
}

.team-address-result strong,
.team-address-result span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-address-result strong {
  font-size: 14px;
}

.team-address-result span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.team-boundary-editor {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.team-boundary-editor-head {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.team-boundary-editor-head span,
.team-boundary-editor-head strong {
  display: block;
  min-width: 0;
}

.team-boundary-editor-head span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
}

.team-boundary-editor-head strong {
  margin-top: 3px;
  color: var(--brand);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.team-boundary-tools {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.team-map-tool {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand);
  background: white;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}

.team-map-tool:hover,
.team-map-tool:focus-visible {
  border-color: rgba(255, 140, 66, 0.58);
  background: #fff8f3;
  outline: none;
}

.team-map-tool:disabled {
  color: #94a2ad;
  background: #f4f7f9;
  cursor: not-allowed;
}

.team-boundary-map {
  min-height: 420px;
  height: min(56vh, 560px);
  background:
    linear-gradient(135deg, rgba(26, 58, 92, 0.08), rgba(255, 140, 66, 0.08)),
    #eef4f7;
}

.team-boundary-map .leaflet-control-attribution {
  font-size: 10px;
}

.team-boundary-corner {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid white;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  box-shadow: 0 5px 16px rgba(26, 58, 92, 0.32);
  font-size: 13px;
  font-weight: 860;
}

.team-boundary-map-note {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.team-boundary-map-note strong {
  color: var(--ink);
  font-size: 13px;
}

.team-site-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-site-address-field {
  grid-column: 1 / -1;
}

.team-boundary-advanced {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.team-boundary-advanced summary {
  padding: 10px 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
}

.team-boundary-advanced > label,
.team-boundary-advanced > .team-work-site-coordinates,
.team-boundary-advanced > .team-boundary-points {
  margin: 0 12px 12px;
}

.team-work-site-coordinates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.team-boundary-points {
  display: grid;
  gap: 8px;
}

.team-boundary-heading {
  display: grid;
  gap: 3px;
}

.team-boundary-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-boundary-heading small {
  color: var(--muted);
  font-size: 12px;
}

.team-boundary-point {
  display: grid;
  grid-template-columns: 32px repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.team-boundary-point strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--brand);
  background: #eaf0f4;
  font-size: 13px;
}

.team-work-site-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.team-work-site-actions .button {
  flex: 1 1 150px;
}

#team-work-site-form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .team-boundary-source-grid,
  .team-work-sites-layout {
    grid-template-columns: 1fr;
  }

  .team-boundary-library-controls {
    grid-template-columns: 1fr;
  }

  .team-boundary-map {
    min-height: 360px;
    height: min(52vh, 520px);
  }
}

.team-work-sites-list {
  display: grid;
  gap: 10px;
}

.team-work-sites-list > p {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfd;
}

.team-work-site-card {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.66fr) auto;
  gap: 12px;
  align-items: center;
}

.team-work-site-card[data-work-site-state="archived"] {
  opacity: 0.68;
}

.team-work-site-main,
.team-work-site-meta {
  min-width: 0;
}

.team-work-site-main span,
.team-work-site-main small,
.team-work-site-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.team-work-site-main span,
.team-work-site-meta span:last-child {
  color: var(--accent);
  font-weight: 820;
  text-transform: uppercase;
}

.team-work-site-main strong {
  display: block;
  margin: 3px 0;
  color: var(--brand);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.team-work-site-meta {
  display: grid;
  gap: 4px;
}

.team-work-site-card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.team-admin-panel {
  grid-column: 1 / -1;
}

.team-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-admin-section {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.team-admin-section-wide {
  grid-column: 1 / -1;
}

.team-admin-section-heading {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-admin-section-heading h3 {
  margin: 0;
  color: var(--brand);
  font-size: 16px;
}

.team-admin-section-heading span {
  min-width: 32px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--brand);
  background: #eaf0f4;
  text-align: center;
  font-size: 12px;
  font-weight: 820;
}

.team-admin-list {
  display: grid;
  gap: 9px;
}

.team-activity-filter {
  margin: -2px 0 12px;
  display: grid;
  max-width: 320px;
  gap: 5px;
}

.team-activity-filter span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.team-activity-filter select {
  min-height: 42px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.team-admin-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.team-admin-card {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.team-admin-card strong,
.team-admin-card small {
  display: block;
  min-width: 0;
}

.team-admin-card strong {
  color: var(--brand);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-admin-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.team-admin-card > span {
  justify-self: end;
  color: var(--brand);
  font-size: 13px;
  font-weight: 820;
}

.team-member-edit {
  grid-column: 2;
  min-height: 34px;
  padding: 7px 10px;
}

.team-device-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.team-device-card .team-device-revoke {
  grid-column: 2;
  min-height: 34px;
  padding: 7px 10px;
}

.team-device-card[data-device-state="revoked"] > span,
.team-device-card[data-device-state="expired"] > span {
  color: var(--muted);
}

.team-activity-card {
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
}

.team-status-chip[data-state="signed-in"] {
  color: #126149;
  background: #e0f1ea;
}

.team-status-chip[data-state="signed-out"] {
  color: var(--brand);
  background: #eaf0f4;
}

.team-checklist {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.team-checklist li {
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
  font-weight: 700;
}

.team-checklist span {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: #b7c2ca;
}

.team-checklist li[data-ready="true"] span {
  background: var(--green);
}

.team-checklist li[data-ready="false"] span {
  background: var(--accent);
}

.team-flow {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.team-flow li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.team-flow strong,
.team-flow span {
  display: block;
}

.team-flow span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-auth-shell {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7fafc 0%, #edf4f7 100%);
}

.mobile-auth-card {
  width: min(100%, 420px);
  padding: 28px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 50px rgba(26, 58, 92, 0.12);
}

.mobile-auth-card img {
  border-radius: 12px;
}

.mobile-auth-card h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.02;
}

.mobile-auth-card p {
  margin: 0;
  color: var(--muted);
}

.mobile-auth-actions {
  display: grid;
  gap: 10px;
}

.mobile-auth-clerk-mount {
  min-height: 44px;
}

.site-footer {
  min-height: 78px;
  padding: 22px max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero,
  .proof-band,
  .features,
  .privacy-summary,
  .privacy-hero,
  .privacy-content,
  .verify-hero,
  .verify-outcomes,
  .verify-workflow,
  .evidence-pack-guide,
  .verify-notes,
  .team-portal-hero,
  .team-dashboard-header,
  .team-dashboard-grid,
  .team-workspace-panel,
  .team-evidence-detail-grid {
    grid-template-columns: 1fr;
  }

  .team-workspace-actions {
    justify-content: flex-start;
    justify-self: stretch;
  }

  .team-trust-list {
    display: none;
  }

  .team-workspace-panel {
    grid-template-areas:
      "identity"
      "nav"
      "metrics"
      "actions";
  }

  .team-workspace-nav {
    justify-self: stretch;
    justify-content: space-between;
  }

  .team-manager-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-section.wide {
    grid-column: auto;
  }

  .phone-strip {
    min-height: 0;
  }

  .verify-hero-copy {
    max-width: 760px;
  }

  .verifier-panel {
    box-shadow: none;
  }

  .verify-dropzone {
    min-height: 220px;
  }

  .evidence-pack-grid {
    grid-template-columns: 1fr;
  }

  .evidence-pack-grid article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 46px;
  }

  .phone-strip {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .phone-strip img {
    min-width: 128px;
    border-width: 5px;
    border-radius: 20px;
  }

  .phone-strip img:nth-child(2) {
    transform: translateY(20px);
  }

  .privacy-page {
    padding-top: 46px;
  }

  .verify-page {
    gap: 18px;
    padding-top: 38px;
  }

  .verify-hero {
    gap: 22px;
  }

  .verify-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.02;
  }

  .verify-hero .lede {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .verify-page .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .verify-page .button {
    width: 100%;
  }

  .verifier-panel {
    padding: 16px;
  }

  .verifier-panel-header,
  .verifier-facts {
    grid-template-columns: 1fr;
  }

  .verifier-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .verify-dropzone {
    min-height: 190px;
    padding: 20px 16px;
  }

  .dropzone-title {
    margin-top: 12px;
    font-size: 24px;
  }

  .dropzone-copy,
  .original-file-guide p,
  .verifier-facts dd,
  .verify-outcomes p,
  .verify-workflow p,
  .verify-steps span {
    font-size: 15px;
  }

  .verify-result dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .verify-media-frame {
    min-height: 150px;
    max-height: 260px;
  }

  .verify-media-frame img {
    max-height: 260px;
  }

  .verify-media-preview figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .verify-media-preview figcaption strong {
    max-width: 100%;
    text-align: left;
  }

  .evidence-pack-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-pack-results li {
    grid-template-columns: 1fr;
  }

  .evidence-pack-results em {
    justify-self: start;
  }

  .file-mark {
    width: 44px;
    height: 54px;
  }

  .file-mark::before {
    width: 16px;
    height: 16px;
  }

  .file-mark::after {
    width: 20px;
    left: 11px;
    bottom: 17px;
  }

  .verifier-facts div,
  .verify-outcomes article,
  .verify-workflow,
  .evidence-pack-guide,
  .verify-notes > div {
    padding: 18px;
  }

  .verify-outcomes h2 {
    font-size: 22px;
  }

  .verify-workflow h2,
  .evidence-pack-copy h2,
  .verify-notes h2 {
    font-size: 26px;
  }

  .evidence-pack-note {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .team-dashboard-header h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .team-portal-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .team-health-panel,
  .team-panel {
    padding: 18px;
  }

  .team-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-metrics,
  .team-filters,
  .team-bulk-toolbar {
    grid-template-columns: 1fr;
  }

  .team-workspace-title-row {
    flex-direction: column;
  }

  .team-manager-shortcuts {
    grid-template-columns: 1fr;
  }

  .team-bulk-actions .button {
    width: 100%;
  }

  .team-activity-filter {
    max-width: none;
  }

  .team-evidence-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
  }

  .team-evidence-detail {
    padding: 16px;
  }

  .team-evidence-detail-header {
    flex-direction: column;
  }

  .team-evidence-preview {
    min-height: 260px;
  }

  .team-evidence-actions,
  .team-evidence-actions .button,
  .team-member-actions .button {
    width: 100%;
  }

  .team-admin-grid,
  .team-admin-card,
  .team-device-card,
  .team-activity-card,
  .team-work-sites-layout,
  .team-work-site-card {
    grid-template-columns: 1fr;
  }

  .team-admin-card > span,
  .team-device-card .team-device-revoke,
  .team-member-edit,
  .team-work-site-card-actions {
    justify-self: stretch;
    grid-column: auto;
  }

  .team-work-site-coordinates {
    grid-template-columns: 1fr;
  }

  .team-boundary-search {
    grid-template-columns: 1fr;
  }

  .team-boundary-editor-head,
  .team-site-details-grid {
    grid-template-columns: 1fr;
  }

  .team-boundary-tools {
    justify-content: flex-start;
  }

  .team-boundary-map {
    min-height: 280px;
    height: 340px;
  }

  .team-boundary-point {
    grid-template-columns: 30px 1fr;
  }

  .team-boundary-point input:last-child {
    grid-column: 2;
  }

  .team-work-site-card-actions .button {
    flex: 1 1 120px;
  }

  .verify-steps li {
    min-height: 0;
    padding: 68px 16px 16px;
  }

  .verify-steps li::before {
    top: 16px;
    left: 16px;
  }

  .privacy-summary article {
    min-height: 0;
    grid-template-rows: auto;
    gap: 10px;
  }

  .policy-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 980px) {
  body[data-team-mode="gate"] .team-portal-hero {
    grid-template-columns: 1fr;
  }

  body[data-team-mode="gate"] .team-portal-copy {
    min-height: 46vh;
    padding: 110px 32px 40px;
  }

  body[data-team-mode="gate"] .team-secure-gate {
    width: min(100%, 680px);
    margin: 0 auto;
    padding: 34px 24px 44px;
  }

}

@media (max-width: 640px) {
  body[data-team-mode="gate"] .team-portal-copy {
    min-height: 42vh;
    padding: 96px 24px 34px;
  }

  body[data-team-mode="gate"] .team-portal-mark {
    top: 28px;
    left: 24px;
  }

  body[data-team-mode="gate"] .team-portal-mark img {
    width: 48px;
    height: 48px;
  }

  body[data-team-mode="gate"] .team-portal-mark strong {
    font-size: 20px;
  }

  body[data-team-mode="gate"] .team-portal-copy h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  body[data-team-mode="gate"] .team-portal-copy .lede {
    margin-bottom: 0;
    font-size: 17px;
  }

  body[data-team-mode="gate"] .team-trust-list {
    display: none;
  }

  .team-login-heading h2 {
    font-size: 32px;
  }

  .team-login-heading p {
    font-size: 17px;
  }

  .team-login-card {
    padding: 30px 22px;
  }
}
