:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #26232d;
  background: #f7f5fa;
  font-size: 16px;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, textarea { font: inherit; }
button, textarea, a { outline-offset: 4px; }
:focus-visible { outline: 3px solid #5f4394; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; background: white; padding: .75rem; }
.skip-link:focus { top: 1rem; }
.page { width: min(100% - 2rem, 760px); margin: 0 auto; padding: 1.25rem 0 3rem; }
.brand { display: flex; gap: .65rem; align-items: center; font-weight: 750; margin-bottom: 1rem; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: white; background: #5f4394; }
.panel, .summary-section { background: white; border: 1px solid #e5e0eb; border-radius: 18px; box-shadow: 0 5px 20px rgba(45, 34, 65, .06); }
.panel { padding: clamp(1.1rem, 4vw, 2rem); }
h1 { margin: 0; font-size: clamp(1.65rem, 6vw, 2.3rem); line-height: 1.15; }
.subtitle { color: #625d69; margin: .7rem 0 1.5rem; }
.version { display: inline-block; margin: 0 0 1.25rem; padding: .25rem .65rem; border-radius: 999px; color: #543884; background: #eee8f8; font-weight: 700; }
.sections { display: grid; gap: 1rem; }
.summary-section { padding: 1rem; box-shadow: none; }
.summary-section h2 { margin: 0 0 .75rem; font-size: 1.12rem; }
.summary-list { margin: 0; display: grid; gap: .65rem; }
.summary-row { display: grid; gap: .1rem; }
.summary-row dt { color: #625d69; font-size: .92rem; }
.summary-row dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
.button { min-height: 48px; border: 2px solid #5f4394; border-radius: 12px; padding: .7rem 1rem; cursor: pointer; font-weight: 750; }
.button-primary { color: white; background: #5f4394; }
.button-secondary { color: #543884; background: white; }
.button:disabled { cursor: wait; opacity: .58; }
.confirmation, .change-form, .notice { margin-top: 1.25rem; padding: 1rem; border-radius: 14px; background: #f5f1fa; }
.confirmation p, .notice p { margin-top: 0; }
label { display: block; font-weight: 700; }
textarea { width: 100%; min-height: 9rem; resize: vertical; margin-top: .5rem; padding: .8rem; border: 1px solid #8b8492; border-radius: 10px; }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; color: #625d69; font-size: .9rem; }
.field-error, .error { color: #a52632; font-weight: 650; }
.loading { min-height: 12rem; display: grid; place-items: center; align-content: center; }
.spinner { width: 2rem; height: 2rem; border: 3px solid #ddd3ec; border-top-color: #5f4394; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 620px) { .actions { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
