/* /start: the site editor before sign-up (start.php, js/start.js with js/site-editor.js in try mode; css/site-editor.css lays it out).
   The claim step after sign-up is the small card at the end. */
.st-body { margin: 0; background: var(--bg); color: var(--text); }
.st-building { background: var(--bg-alt); }

/* top bar */
.st-se .se-top { gap: 12px; }
.st-logo { flex: none; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.st-trying { padding-left: 12px; border-left: 1px solid var(--border); font-weight: 400; color: var(--text-muted); }
.st-trying b { color: var(--text); font-weight: 600; }

/* the panel sits on the left, the page on the right */
.st-se .st-panel { width: 360px; border-left: 0; border-right: 1px solid var(--border); }
.st-se .se-tabs button { padding: 14px 0; }
.st-details { padding: 18px 18px 28px; }
.st-details[hidden], .st-se .se-body[hidden] { display: none; }
.st-details .form-group { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.st-details .form-group[hidden] { display: none; }
.st-details .form-label { font-size: .8125rem; font-weight: 600; }
.st-details .form-control { width: 100%; box-sizing: border-box; min-width: 0; padding: 9px 11px; font-size: .9rem; border-radius: 8px; }
.st-details select.form-control { appearance: auto; }
.st-row { display: flex; align-items: center; gap: 8px; }
.st-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.st-amp { color: var(--text-faint); font-size: 1.125rem; flex: none; }
.st-opt { color: var(--text-faint); font-weight: 400; }
.st-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.st-swatch { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); cursor: pointer; }
.st-swatch.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.st-swatch:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.st-more { margin: 6px 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg-alt); font-size: .8125rem; line-height: 1.5; color: var(--text-muted); }
.st-link { display: block; margin: 12px auto 0; padding: 4px; border: 0; background: none; color: var(--text-faint); font: inherit; font-size: .8125rem; text-decoration: underline; cursor: pointer; }
.st-link:hover { color: var(--text); }
.st-link.st-inline { display: inline; margin: 0; padding: 0; color: var(--text); font-weight: 600; }
.st-note { margin: 0; font-size: .8125rem; color: var(--text-muted); line-height: 1.5; text-align: center; }
.st-err { margin: 0 0 10px; color: #dc2626; font-size: .875rem; font-weight: 500; }
.st-err[hidden] { display: none; }
[data-theme="dark"] .st-err { color: #f87171; }
.st-save:disabled { opacity: .6; cursor: progress; }
.st-noscript { padding: 24px; text-align: center; }

/* phones and small tablets: the page on top, the panel under it */
@media (max-width: 900px) {
  .st-se .se-stage { order: -1; flex: 1 1 46%; }
  .st-se .st-panel { width: auto; flex: 1 1 54%; border-right: 0; border-top: 1px solid var(--border); }
  .st-trying, .st-change { display: none; }
}
@media (max-width: 560px) {
  .st-logo-word { display: none; }
  .st-details { padding: 14px 14px 24px; }
}

/* designs: the strip in the form, the picker behind Change design */
.st-design-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.st-all { display: inline; margin: 0; padding: 0; color: var(--text); font-weight: 500; }
.st-strip { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 5px 18px 8px; scroll-padding-inline: 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.st-mini, .st-card { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; }
.st-mini { width: 92px; }
.st-thumb { display: block; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); }
.st-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.st-mini:hover img, .st-card:hover img { transform: scale(1.04); }
.st-name { font-size: .75rem; line-height: 1.25; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-mini.on .st-thumb, .st-card.on .st-thumb { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.st-mini.on .st-name, .st-card.on .st-name { color: var(--text); font-weight: 600; }
.st-mini:focus-visible, .st-card:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
.st-pick { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 15, 20, .55); }
.st-pick[hidden] { display: none; }
.st-pick-box { display: flex; flex-direction: column; width: min(1080px, 100%); max-height: 100%; border-radius: var(--radius-lg, 16px); background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); overflow: hidden; }
.st-pick-top, .st-pick-lead, .st-chips { flex: none; }
.st-pick-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.st-pick-top h2 { margin: 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.st-pick-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.st-pick-lead { margin: 4px 24px 14px; color: var(--text-muted); font-size: .875rem; }
.st-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 24px 14px; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.st-chips button { flex: none; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: none; color: var(--text-muted); font: inherit; font-size: .8125rem; cursor: pointer; white-space: nowrap; }
.st-chips button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.st-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-content: start; gap: 20px 16px; padding: 20px 24px 28px; overflow-y: auto; }
.st-card .st-name { font-size: .8125rem; }
body.st-picking { overflow: hidden; }
@media (max-width: 899px) {
  .st-pick { padding: 0; align-items: stretch; }
  .st-pick-box { border-radius: 0; }
  .st-pick-top { padding: 16px 16px 0; }
  .st-pick-lead { margin: 4px 16px 12px; }
  .st-chips { padding: 2px 16px 12px; }
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .st-thumb img { transition: none; } }

/* the claim step */
.st-claim { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 24px 16px; box-sizing: border-box; text-align: center; }
.st-claim-card { max-width: 420px; width: 100%; padding: 36px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.st-claim-card h1 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin: 16px 0 8px; }
.st-claim-card p { margin: 0; color: var(--text-muted); line-height: 1.55; }
.st-claim-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.st-claim-actions[hidden] { display: none; }
.st-spin { width: 34px; height: 34px; margin: 0 auto; border: 3px solid var(--border); border-top-color: var(--text); border-radius: 50%; animation: stSpin .8s linear infinite; }
.st-spin[hidden] { display: none; }
@keyframes stSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .st-spin, .st-status.busy::before { animation: none; } }
