:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #232e28;
  background: #f5f2e9;
  font-synthesis: none;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: #254f3e; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.1rem;
  border: 1px solid #254f3e;
  border-radius: 8px;
  background: #254f3e;
  color: #fff;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: #173d2e; }
button:disabled { opacity: .5; cursor: not-allowed; }
.secondary { color: #254f3e; background: transparent; }
.secondary:hover { background: #e5ecdf; }
:focus-visible { outline: 3px solid #9c401c; outline-offset: 4px; }
.shell { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.masthead, footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.masthead { padding: 24px 0; border-bottom: 1px solid #c9cec1; font-size: .9rem; }
.masthead a { font-weight: 750; text-decoration: none; }
.masthead span, .small { color: #536055; }
main { padding-top: clamp(32px, 7vw, 70px); }
.eyebrow { color: #536055; font-size: .7rem; font-weight: 750; letter-spacing: .16em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.2; letter-spacing: -.045em; margin: 14px 0 20px; }
h2 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 12px; }
h3 { font-size: 1.02rem; margin: 0 0 10px; }
p { margin: 10px 0; }
.intro { font-size: 1.05rem; max-width: 680px; margin-bottom: 28px; }
.panel { padding: clamp(20px, 4vw, 32px); border: 1px solid #c9cec1; border-radius: 12px; background: #fffdf8; margin: 24px 0; }
.compact { background: transparent; }
.notice { padding: 16px 20px; border-left: 4px solid #74866a; background: #eaf0e1; border-radius: 4px; }
.notice:empty { display: none; }
.warning { background: #fff0d8; border-color: #9a621a; }
.error { background: #fce9df; border-color: #a63723; }
.success { margin-top: 24px; }
.notice h3 { margin-top: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.steps { padding-left: 1.4rem; }
.steps li { padding-left: .25rem; margin: 12px 0; }
.small { font-size: .85rem; }
.file-label { display: block; font-weight: 650; margin: 24px 0 10px; }
input[type="file"] { display: block; max-width: 100%; width: 100%; padding: 12px; border: 1px solid #879481; border-radius: 8px; background: #fff; }
input::file-selector-button { min-height: 40px; margin-right: 12px; border: 1px solid #879481; padding: 6px 12px; background: #edf1e6; border-radius: 4px; cursor: pointer; }
#preview { margin-top: 24px; padding-top: 24px; border-top: 1px solid #c9cec1; }
#conflict { margin: 20px 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 4px; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 5px; accent-color: #254f3e; }
.privacy { margin: 42px 0; padding-top: 28px; border-top: 1px solid #c9cec1; font-size: .85rem; color: #47554b; }
.privacy h2 { color: #232e28; font-size: 1rem; }
.privacy p { margin: 14px 0; }
footer { padding: 24px 0 40px; border-top: 1px solid #c9cec1; font-size: .8rem; }
.app-list { margin: 20px 0 0; padding: 0; list-style: none; }
.app-list li { padding: 16px 0; border-top: 1px solid #dde1d5; }
.app-list strong { display: block; }
.app-list a { display: inline-block; min-height: 44px; margin-right: 20px; padding: 8px 0; }
.app-list small { display: block; color: #536055; }
.skip-link { position: fixed; top: 10px; left: 16px; padding: 12px; background: #fff; z-index: 2; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 520px) {
  .shell { width: calc(100% - 28px); }
  .masthead { font-size: .8rem; }
  .actions { flex-direction: column; }
  .actions > *, #import-button, #backup-button, #continue-link, #open-app { width: 100%; }
  .notice { padding: 14px; }
  input[type="file"] { font-size: .85rem; }
}
@media (forced-colors: active) {
  button, .button, .notice, .panel { border: 1px solid CanvasText; }
  button:disabled { color: GrayText; opacity: 1; }
}
