:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: #3d241d;
  background: #fff9f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #fff9f4;
}

body {
  padding: 24px 17px max(32px, env(safe-area-inset-bottom));
}

a {
  color: #e83d25;
  overflow-wrap: anywhere;
}

.shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.page-header {
  margin-bottom: 18px;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.2;
}

.updated,
.intro,
.note,
td,
li,
p {
  color: #6f5e59;
}

.updated {
  margin: 6px 0 0;
  font-size: 13px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.language-switcher label {
  color: #6f5e59;
  font-size: 13px;
  font-weight: 700;
}

.language-switcher select {
  min-height: 38px;
  padding: 7px 34px 7px 12px;
  border: 1px solid #ff4a2e;
  border-radius: 12px;
  color: #3d241d;
  background: #fff;
  font: inherit;
}

.card {
  padding: 20px;
  border: 1px solid #f1ded5;
  border-radius: 21px;
  background: #fff;
}

.intro {
  margin: 0 0 18px;
  font-size: 15px;
}

section + section {
  padding-top: 18px;
  border-top: 1px solid #f1ded5;
  margin-top: 18px;
}

h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

h3 {
  margin: 14px 0 4px;
  font-size: 15px;
}

p,
ul,
ol {
  margin: 7px 0;
  font-size: 14px;
}

ul,
ol {
  padding-left: 22px;
}

li + li {
  margin-top: 5px;
}

.table-wrap {
  margin-top: 10px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 10px;
  border: 1px solid #f1ded5;
  text-align: left;
  vertical-align: top;
}

th {
  color: #3d241d;
  background: #fff7f2;
}

.callout {
  padding: 13px 14px;
  border-radius: 14px;
  margin: 12px 0;
  color: #6f5e59;
  background: #fff5db;
}

.action {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 12px;
  margin-top: 10px;
  color: #fff;
  background: #ff4a2e;
  font-weight: 700;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.deletion-layout {
  display: grid;
  gap: 14px;
}

.warning-card,
.account-card,
.consequence-card,
.state-card {
  padding: 18px;
  border: 1px solid #f1ded5;
  border-radius: 18px;
  background: #fff;
}

.warning-card {
  border-color: #ffd5c9;
  background: #fff2ec;
}

.warning-card h2,
.state-card h2 {
  margin-bottom: 5px;
}

.google-button-wrap {
  min-height: 44px;
  margin-top: 16px;
}

.signed-in-account {
  color: #3d241d;
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.consequence-list li {
  padding: 11px 12px;
  border-radius: 12px;
  margin: 0;
  background: #fff7f2;
}

.confirmation-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  cursor: pointer;
}

.confirmation-row input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #ff4a2e;
}

.danger-action,
.secondary-action {
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 14px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.danger-action {
  border: 0;
  color: #fff;
  background: #c63d32;
}

.danger-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.secondary-action {
  border: 1px solid #f1ded5;
  color: #e83d25;
  background: #fff;
}

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

.loading-card {
  display: grid;
  min-height: 160px;
  place-items: center;
}

.loading-card .spinner {
  margin: 0;
}

.state-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  margin: 0 auto 14px;
  color: #fff;
  background: #ff4a2e;
  font-size: 26px;
  font-weight: 800;
}

.state-symbol.success {
  background: #2f8f62;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 4px solid #ffd5c9;
  border-top-color: #ff4a2e;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

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

.embed body {
  padding-top: 20px;
}

.embed .page-header {
  display: none;
}

@media (max-width: 480px) {
  body {
    padding-right: 14px;
    padding-left: 14px;
  }

  .card {
    padding: 18px;
  }
}
