* { padding: 0; margin: 0; border: none; outline: 0; box-sizing: border-box; }

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --text: #040f43;
  --muted: #8187a1;
  --blue: #3464ff;
  --blue-dark: #003bfc;
  --border: #e1e6f0;
  --white: #ffffff;
  --ok: #0d7a3e;
  --ok-bg: #e8f5ee;
  --warn-bg: #fff8e8;
  --warn-text: #8a6a00;
}

html {
  min-height: 100%;
  background: linear-gradient(160deg, #ebf0fb 0%, #e0f1fb 100%);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(70px + env(safe-area-inset-top, 0));
  font: 15px/1.55 var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background-image: url("/assets/portal-bg.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue); }

.header_nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  background: linear-gradient(
    289deg,
    rgba(20, 37, 141, 1) 0%,
    rgba(5, 16, 68, 1) 85%,
    rgba(4, 15, 65, 1) 100%
  );
  box-shadow: 0 2px 12px rgba(4, 15, 67, 0.18);
  z-index: 2020;
}

.header_inner {
  max-width: 1200px;
  height: 70px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_links {
  display: flex;
  align-items: center;
  gap: 42px;
}

.goindex {
  font-size: 14px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.goindex:hover {
  opacity: 0.88;
}

.reg_btn {
  display: inline-block;
  width: 68px;
  height: 38px;
  background: linear-gradient(180deg, #3d7fff 0%, #0053fc 64%, #003bfc 100%);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  line-height: 38px;
  text-align: center;
  text-decoration: none;
}

.reg_btn:hover {
  opacity: 0.88;
}

.logo {
  height: 38px;
  width: auto;
  display: block;
}

.apple-btn {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font: 500 17px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.apple-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.apple-btn:active {
  opacity: 0.88;
}

.apple-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.ref-tag {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f3fa;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 16px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 22px 24px;
  box-shadow: 0 10px 36px rgba(5, 17, 71, 0.08);
  border: 1px solid rgba(225, 230, 240, 0.9);
}

h1 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.lede {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.lede + .lede { margin-top: 10px; }

.info-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.info-card {
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #f8faff 0%, #f3f6fd 100%);
}

.info-card-muted {
  background: #fafbfe;
}

.info-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.info-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.action-link-primary {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.box {
  margin-top: 18px;
  padding: 16px 18px;
  background: #f7f9ff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.box p + p { margin-top: 10px; }

.box h2 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

label.field-label {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: 15px var(--font);
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(52, 100, 255, 0.12);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.check-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.option-list {
  margin-top: 16px;
}

.option-item {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafbfe;
}

.option-item + .option-item { margin-top: 10px; }

.option-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.option-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.btn {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 20px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 6px;
  font: 600 15px var(--font);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn:hover { opacity: 0.92; }

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  margin-top: 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.feedback-error {
  background: #fff0f0;
  border: 1px solid #f0caca;
  color: #9b2c2c;
}

.feedback-ok {
  background: var(--ok-bg);
  border: 1px solid #b8dfc8;
  color: var(--ok);
}

.spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px 0 4px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e1e6f0;
  border-top-color: var(--blue-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ok-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 26px;
  line-height: 52px;
  text-align: center;
  font-weight: 700;
}

.hidden { display: none !important; }

.gc-shell {
  width: 100%;
  flex: 1;
}

.gc-panel { display: none; }
html:not([data-screen]) #panel-home { display: block; }
html[data-screen="declaration"] #panel-declaration { display: block; }
html[data-screen="declaration"] main {
  max-width: 820px;
}
html[data-screen="declaration"] .declaration-page {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
html[data-screen="declaration"] .declaration-page.card {
  padding: 22px 20px 20px;
}
html[data-screen="declaration"] .declaration-page h1 {
  font-size: 20px;
}

.login-sub {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.oauth-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.oauth-btn {
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  font: 500 15px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.oauth-btn:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #fafafa;
  border-color: #c8c8c8;
}

.oauth-btn:active:not(:disabled):not([aria-disabled="true"]) {
  background: #f2f2f2;
}

.oauth-btn:disabled,
.oauth-btn[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
}

.oauth-btn-apple {
  color: #111;
}

.oauth-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  grid-column: 1;
}

.oauth-label {
  grid-column: 2;
  text-align: center;
}

html[data-screen="done"] #panel-done { display: block; }
html[data-screen="done"] .success-page {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.verify-next {
  margin-top: 14px;
}

.domain-single {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  word-break: break-word;
}

.secure-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #c8d8f6;
  background: linear-gradient(180deg, #f5f8ff 0%, #eef3fd 100%);
  color: #2a4a8a;
  font-size: 13px;
  line-height: 1.45;
}

.secure-strip-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--blue-dark);
}

.id-upload-form {
  margin-top: 18px;
}

.id-upload-zone {
  position: relative;
  padding: 18px;
  border: 2px dashed #b8c6e8;
  border-radius: 12px;
  background: #fafcff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.id-upload-zone:hover,
.id-upload-zone:focus {
  outline: none;
  border-color: var(--blue);
  background: #f3f7ff;
  box-shadow: 0 0 0 3px rgba(52, 100, 255, 0.12);
}

.id-upload-zone.is-dragover {
  border-color: var(--blue-dark);
  background: #edf2ff;
  box-shadow: 0 0 0 3px rgba(0, 59, 252, 0.16);
}

.id-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.passport-frame {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.passport-frame-inner {
  text-align: center;
  max-width: 280px;
}

.frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid var(--blue);
}

.frame-corner-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.frame-corner-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.frame-corner-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.frame-corner-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.passport-icon {
  display: block;
  margin: 0 auto 14px;
}

.upload-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.upload-sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.id-preview {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.id-preview-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #dce3f2;
  background: #f4f6fb;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.id-preview-img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #eef1f8;
}

.id-preview-pdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  word-break: break-word;
}

.id-preview-meta {
  margin-top: 12px;
}

.id-preview-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.id-change-file {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.btn-submit-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #3d7fff 0%, #0053fc 64%, #003bfc 100%);
  color: #fff;
  font: 600 16px/1.2 var(--font);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-submit-secure:hover:not(:disabled) {
  opacity: 0.92;
}

.btn-submit-secure:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-submit-icon {
  display: flex;
}

.id-upload-note {
  text-align: center;
}

.id-upload-done {
  margin-top: 8px;
  text-align: center;
}

.id-done-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.success-page .lede strong {
  font-weight: 600;
  color: var(--text);
}

.verify-page .lede strong {
  font-weight: 600;
  color: var(--text);
}

.verify-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.verify-top h1 {
  flex: 1 1 auto;
  min-width: 0;
}

.verify-lede {
  margin-top: 10px;
}

.domain-box {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7f9ff;
}

.domain-box-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.verify-callout-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.domain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.domain-list li {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
}

.verify-callout {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafbfe;
}

.verify-callout p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.verify-actions {
  margin-top: 18px;
}

.verify-footnote {
  margin-top: 12px;
  text-align: center;
}

.success-page .ref-tag {
  margin-top: 10px;
}

.text-center { text-align: center; }

.hint {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.footer-links a {
  min-height: 40px;
  line-height: 40px;
  padding: 0 2px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a.is-active {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 641px) {
  main { padding: 32px 20px 24px; }
  .card { padding: 32px 28px 28px; }
  h1 { font-size: 24px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header_nav { height: 60px; }
  .header_inner { height: 60px; padding: 0 14px; }
  body { padding-top: calc(60px + env(safe-area-inset-top, 0)); }
  .logo { height: 30px; }
  .header_links { gap: 16px; }
  .goindex { font-size: 13px; }
  .reg_btn {
    width: 62px;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
  }
  main { padding: 16px 12px 12px; }
  .card { padding: 22px 18px 20px; }
  h1 { font-size: 20px; }
  .verify-top { flex-direction: column; align-items: flex-start; }
  .passport-frame { min-height: 200px; padding: 18px 12px; }
  .upload-title { font-size: 15px; }
  .upload-sub { font-size: 13px; }
  .apple-btn { min-height: 50px; font-size: 16px; }
}

@media (max-width: 380px) {
  .footer-links { flex-direction: column; gap: 0; }
}

/* Home portal copy */
.gc-home-head {
  margin-bottom: 4px;
}

.gc-home-grid {
  display: grid;
  gap: 12px;
  margin: 22px 0 24px;
}

.gc-home-tile {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafbfd;
}

.gc-home-tile-muted {
  background: #f4f6fa;
}

.gc-home-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.gc-home-tile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.gc-home-notes {
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border-radius: 10px;
  background: var(--warn-bg);
  border: 1px solid #f0e4b8;
}

.gc-home-sub {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--warn-text);
}

.gc-home-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.gc-home-list li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.gc-home-list li:last-child {
  margin-bottom: 0;
}

.gc-home-foot {
  margin-top: 4px;
}

@media (min-width: 640px) {
  .gc-home-grid { grid-template-columns: 1fr 1fr; }
}

/* Declaration page (.net) */
.decl-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.decl-meta-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.decl-meta-value {
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.decl-block {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.decl-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f8f9fb;
  border-bottom: 1px solid var(--border);
}

.decl-block-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.decl-select-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-dark);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.decl-select-all input {
  width: 14px;
  height: 14px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.declaration-to {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
}

.declaration-intro {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.5;
}

.declaration-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.declaration-item {
  margin: 0;
  border-bottom: 1px solid #eef1f6;
}

.declaration-item:last-child {
  border-bottom: 0;
}

.declaration-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.declaration-check:hover {
  background: #fafbfc;
}

.declaration-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.declaration-check-box {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid #c5cdd8;
  border-radius: 3px;
  background: #fff;
  position: relative;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.declaration-check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.1s ease;
}

.declaration-check input:checked + .declaration-check-box {
  background: var(--blue);
  border-color: var(--blue);
}

.declaration-check input:checked + .declaration-check-box::after {
  transform: rotate(45deg) scale(1);
}

.declaration-check input:focus-visible + .declaration-check-box {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.declaration-check-body {
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
}

.declaration-check-body strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.declaration-check-body > span {
  display: block;
  color: #4a5170;
}

.declaration-sublist {
  margin: 6px 0 0;
  padding-left: 16px;
  color: #4a5170;
}

.declaration-sublist li {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.45;
}

.declaration-sublist li:last-child {
  margin-bottom: 0;
}

.declaration-page .login-sub {
  font-size: 13px;
  margin-bottom: 10px;
}

.declaration-page .oauth-btn {
  min-height: 42px;
  font-size: 14px;
}

.declaration-page .verify-actions {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 480px) {
  .decl-block-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.btn-locked {
  pointer-events: none;
}

html[data-screen="done"] .success-page .ok-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e8f5ec;
  color: #1a7f37;
  font-size: 28px;
  line-height: 56px;
  font-weight: 700;
}
