    *, *::before, *::after { box-sizing: border-box; }
    body {
      margin: 0;
      min-height: 100dvh;
      background: #fdf9f0;
      color: #1c1c16;
      font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      font-size: 14px;
      line-height: 1.5;
    }
    .settings-main {
      max-width: 640px;
      margin: 0 auto;
      padding: 18px 16px 40px;
    }
    .settings-card {
      background: #ffffff;
      border: 1px solid #d8d0c0;
      border-radius: 14px;
      padding: 18px;
      margin-bottom: 16px;
    }
    .settings-card h2 {
      font-family: 'Oswald', system-ui, sans-serif;
      font-size: 1.15rem;
      margin: 0 0 4px;
      letter-spacing: 0.01em;
    }
    .settings-desc {
      margin: 0 0 14px;
      color: #59413a;
      font-size: 0.88rem;
    }
    .radio-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .radio-option {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      min-height: 48px;
      padding: 12px 14px;
      border: 1px solid #d8d0c0;
      border-radius: 10px;
      background: #fdf9f0;
      cursor: pointer;
    }
    .radio-option:has(input:checked) {
      border-color: #f36a36;
      background: #fff7f2;
    }
    .radio-option input {
      margin-top: 2px;
      width: 20px;
      height: 20px;
      accent-color: #aa3600;
      flex-shrink: 0;
    }
    .radio-option strong {
      display: block;
      font-size: 0.94rem;
    }
    .radio-option span {
      display: block;
      font-size: 0.82rem;
      color: #59413a;
    }
    .sub-panel {
      margin-top: 12px;
      padding: 12px;
      border-radius: 10px;
      background: #f7f3ea;
      border: 1px solid #e6e2d9;
    }
    .sub-panel.hidden { display: none; }
    .field-label {
      display: block;
      font-weight: 600;
      font-size: 0.86rem;
      margin-bottom: 6px;
    }
    .text-input, .select-input {
      width: 100%;
      min-height: 48px;
      padding: 10px 12px;
      border: 1px solid #d8d0c0;
      border-radius: 10px;
      background: #ffffff;
      font-family: inherit;
      font-size: 0.94rem;
      color: #1c1c16;
    }
    .radius-row {
      margin-top: 14px;
    }
    .radius-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
    }
    .radius-range {
      width: 100%;
      min-height: 36px;
      accent-color: #aa3600;
    }
    .toggle-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 48px;
    }
    .toggle-row input[type="checkbox"] {
      width: 22px;
      height: 22px;
      accent-color: #aa3600;
      flex-shrink: 0;
    }
    .toggle-caption {
      font-size: 0.82rem;
      color: #59413a;
    }
    .status-banner {
      padding: 12px 14px;
      border-radius: 10px;
      margin-bottom: 14px;
      font-size: 0.88rem;
      border: 1px solid #d8d0c0;
      background: #f7f3ea;
    }
    .status-banner.hidden { display: none; }
    .status-banner.is-success {
      background: #ecfdf5;
      border-color: #6ee7b7;
      color: #065f46;
    }
    .status-banner.is-error {
      background: #ffdad6;
      border-color: #ba1a1a;
      color: #93000a;
    }
    .note-pill {
      display: inline-block;
      margin-top: 8px;
      font-size: 0.78rem;
      color: #59413a;
      background: #f1ede5;
      padding: 4px 10px;
      border-radius: 9999px;
    }
    .btn-loc {
      min-height: 48px;
      padding: 0 16px;
      border-radius: 10px;
      border: 1px solid #aa3600;
      background: #ffffff;
      color: #aa3600;
      font-family: inherit;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
    }
    .btn-loc:hover { background: #ffdbcf; }
    .geo-status {
      margin-top: 8px;
      font-size: 0.82rem;
      color: #59413a;
    }
    .settings-save-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px 14px;
    }
    .settings-save-feedback {
      font-size: 0.88rem;
      font-weight: 600;
      color: #59413a;
    }
    .settings-save-feedback:empty { display: none; }
    .settings-save-feedback.is-success { color: #1b5e3a; }
    .settings-save-feedback.is-error { color: #93000a; }
    .hidden { display: none !important; }

.settings-analytics-action.inoff-action-group {
  justify-content: flex-start;
  margin-bottom: 1rem;
}
.settings-analytics-action button[hidden] {
  display: none;
}
