/* WeldCheck: web-based pre-welding checklist + weld appearance checking (final year project).
   Visual system ported from the Movescrow member surface: Plus Jakarta Sans, cream page,
   navy feature cards, orange accent, roomy spacing, big rounded cards, mobile-first.
   All colour comes from --sp-* tokens; components keep the .sel-* names from the source kit. */

.sel-body {
  --sp-page: #FBF7F0;
  --sp-header: rgba(251,247,240,.82);
  --sp-link: #16233A;
  --sp-surface: #FFFFFF;
  --sp-surface-2: #F6F0E5;
  --sp-ink: #1B1B2B;
  --sp-ink-2: #6A6A7A;
  --sp-ink-3: #9A96A2;
  --sp-line: #ECE3D4;
  --sp-feature: #16233A;
  --sp-accent: #EA580C;
  --sp-accent-hover: #C2410C;
  --sp-accent-soft: #FCEADB;
  --sp-accent-ink: #B5430A;
  --sp-success: #1B7A4B;
  --sp-success-soft: #E7F4EC;
  --sp-warn: #B5650A;
  --sp-warn-soft: #FBEFD9;
  --sp-danger: #C0392B;
  --sp-danger-soft: #FBE7E4;
  --sp-info: #2563A8;
  --sp-info-soft: #E8F0FA;
  --sp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sp-r: 18px; --sp-r-sm: 12px; --sp-pill: 999px;
  --sp-sh-1: 0 1px 2px rgba(22,24,40,.04), 0 6px 18px rgba(22,24,40,.05);
  --sp-sh-2: 0 10px 30px rgba(22,24,40,.10);
  --sp-toast-bg: #1B1B2B;
}

/* Dark theme follows the OS. Every colour is a token, so dark is one re-definition block. */
:root { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  .sel-body {
    --sp-page: #14110C; --sp-header: rgba(20,17,12,.82); --sp-link: #AEC0E6; --sp-surface: #1F1B14; --sp-surface-2: #2A241A;
    --sp-ink: #F4EEE2; --sp-ink-2: #B4AC9C; --sp-ink-3: #847C6C; --sp-line: #342C1F;
    --sp-feature: #1B2B45; --sp-accent: #F2691C; --sp-accent-hover: #FB7E33;
    --sp-accent-soft: #38230F; --sp-accent-ink: #F4A36A;
    --sp-success: #43C98A; --sp-success-soft: #16291F; --sp-warn: #E0A23E; --sp-warn-soft: #2C2310;
    --sp-danger: #F0685A; --sp-danger-soft: #3A1C17; --sp-info: #5BA0E6; --sp-info-soft: #14233A;
    --sp-sh-1: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.35); --sp-sh-2: 0 10px 30px rgba(0,0,0,.5); --sp-toast-bg: #322A1E;
  }
}

*, *::before, *::after { box-sizing: border-box; }
.sel-body * { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body.sel-body {
  margin: 0; font-family: var(--sp-font); color: var(--sp-ink);
  background: var(--sp-page); line-height: 1.55; font-weight: 500; font-size: 16px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.sel-body h1, .sel-body h2, .sel-body h3 { margin: 0 0 .4em; color: var(--sp-ink); line-height: 1.15; letter-spacing: -0.02em; }
.sel-body h1 { font-size: clamp(30px, 7vw, 42px); font-weight: 800; }
.sel-body h2 { font-size: clamp(22px, 4.2vw, 30px); font-weight: 800; }
.sel-body h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.sel-body p { margin: 0 0 1.1em; color: var(--sp-ink-2); }
.sel-body a { color: var(--sp-link); }
.ic { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }
[hidden] { display: none !important; }

/* Layout */
.sel-wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.sel-narrow { max-width: 560px; margin: 0 auto; padding: 0 24px; }
.sel-section { padding: clamp(36px, 7vw, 72px) 0; }
.sel-main { min-height: 60vh; }
@media (max-width: 560px) { .sel-wrap, .sel-narrow { padding: 0 20px; } }

/* Header: glass bar with brand lockup + inline nav (no auth, so no drawer) */
.sel-header { position: sticky; top: 0; z-index: 30; background: var(--sp-header); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--sp-line); }
.sel-header__bar { display: flex; align-items: center; gap: 12px; height: 68px; }
.sel-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--sp-ink); }
.sel-logo__mark { width: 36px; height: 36px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; flex: none; box-shadow: var(--sp-sh-1); }
.sel-logo__mark img { width: 36px; height: 36px; display: block; }
.sel-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.sel-logo__brand { font-weight: 800; font-size: 16.5px; letter-spacing: -0.02em; }
.sel-logo__sub { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sp-accent-ink); }
.wc-topnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.wc-topnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--sp-ink-2); transition: background .14s ease, color .14s ease; }
.wc-topnav a .ic { width: 17px; height: 17px; }
.wc-topnav a:hover { background: var(--sp-surface-2); color: var(--sp-ink); }
.wc-topnav a.is-active { background: var(--sp-accent-soft); color: var(--sp-accent-ink); }
@media (max-width: 620px) {
  .sel-logo__text { display: none; }
  .wc-topnav a span.wc-navlabel { display: none; }
  .wc-topnav a { padding: 10px 12px; border: 1px solid var(--sp-line); background: var(--sp-surface); }
  .wc-topnav a.is-active { border-color: transparent; background: var(--sp-accent-soft); }
}

/* Buttons */
.sel-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 22px; border-radius: 14px; font-family: var(--sp-font); font-weight: 700; font-size: 15px; cursor: pointer; border: 1.5px solid transparent; text-decoration: none; transition: transform .08s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.sel-btn:active { transform: translateY(1px); }
.sel-btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.sel-btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: sel-btn-spin .6s linear infinite; }
.sel-btn--ghost.is-loading::after { border-color: rgba(27,27,43,.22); border-top-color: var(--sp-ink); }
@keyframes sel-btn-spin { to { transform: rotate(360deg); } }
.sel-btn--primary { background: var(--sp-accent); color: #fff; box-shadow: 0 6px 16px rgba(234,88,12,.22); }
.sel-btn--primary:hover { background: var(--sp-accent-hover); }
.sel-btn--dark { background: var(--sp-feature); color: #fff; }
.sel-btn--ghost { background: var(--sp-surface); color: var(--sp-ink); border-color: var(--sp-line); }
.sel-btn--ghost:hover { background: var(--sp-surface-2); }
.sel-btn--block { width: 100%; }
.sel-btn--lg { min-height: 56px; font-size: 16.5px; padding: 16px 26px; border-radius: 16px; }
.sel-btn--sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.sel-btn[disabled], .sel-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.sel-body a.sel-btn--primary, .sel-body a.sel-btn--dark, .sel-body a.sel-btn--primary:hover, .sel-body a.sel-btn--dark:hover { color: #fff; }
.sel-body a.sel-btn--ghost { color: var(--sp-ink); }

/* Cards */
.sel-card { background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r); padding: 26px; box-shadow: var(--sp-sh-1); }
.sel-card--feature { background: var(--sp-feature); color: #fff; border-color: transparent; box-shadow: var(--sp-sh-2); }
.sel-card--feature p, .sel-card--feature h2, .sel-card--feature h3 { color: #fff; }
.sel-card--feature p { color: rgba(255,255,255,.82); }
.sel-card--feature, .sel-wallet { transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease; }
@media (hover: hover) { .sel-card--feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22,24,40,.18); } }
.sel-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .sel-grid--3 { grid-template-columns: repeat(3, 1fr); } .sel-grid--2 { grid-template-columns: repeat(2, 1fr); } }

/* Hero */
.sel-hero { padding: clamp(44px, 9vw, 92px) 0 clamp(30px, 6vw, 52px); }
.sel-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sp-accent-ink); background: var(--sp-accent-soft); padding: 7px 14px; border-radius: var(--sp-pill); margin-bottom: 20px; }
.sel-hero__eyebrow .ic { width: 15px; height: 15px; }
.sel-hero h1 { max-width: 17ch; }
.sel-hero p.lead { font-size: 19px; line-height: 1.55; max-width: 52ch; color: var(--sp-ink-2); }
.sel-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Stat tiles */
.sel-stat { background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-sm); padding: 20px; box-shadow: var(--sp-sh-1); }
.sel-stat__value { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--sp-ink); letter-spacing: -0.02em; }
.sel-stat__label { font-size: 13px; color: var(--sp-ink-2); font-weight: 600; margin-top: 2px; }
.sel-stat__hint { font-size: 12px; color: var(--sp-ink-3); }

/* Progress */
.sel-progress { height: 12px; background: var(--sp-surface-2); border-radius: var(--sp-pill); overflow: hidden; }
.sel-progress__fill { height: 100%; background: var(--sp-accent); border-radius: var(--sp-pill); transition: width .4s ease; }
.sel-progress__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--sp-ink-2); margin-top: 10px; }

/* Forms */
.sel-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.sel-field label { font-size: 14.5px; font-weight: 700; color: var(--sp-ink); }
.sel-field .wc-optional { font-weight: 600; color: var(--sp-ink-3); font-size: 12.5px; }
.sel-input, .sel-select, .sel-textarea { min-height: 52px; padding: 14px 16px; border: 1.5px solid var(--sp-line); border-radius: 14px; font-family: var(--sp-font); font-size: 16px; background: var(--sp-surface); color: var(--sp-ink); width: 100%; }
.sel-textarea { resize: vertical; min-height: 96px; }
.sel-input:focus, .sel-select:focus, .sel-textarea:focus { outline: 2px solid var(--sp-accent); outline-offset: 1px; border-color: var(--sp-accent); }
.sel-err { color: var(--sp-danger); font-size: 12.5px; font-weight: 600; }
.sel-steps { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--sp-accent-ink); background: var(--sp-accent-soft); padding: 6px 12px; border-radius: var(--sp-pill); margin-bottom: 14px; }

/* Rows */
.sel-rows { display: flex; flex-direction: column; }
.sel-row { display: flex; align-items: center; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--sp-line); }
.sel-row:last-child { border-bottom: 0; }
.sel-row__icon { width: 38px; height: 38px; border-radius: 11px; background: var(--sp-accent-soft); display: grid; place-items: center; color: var(--sp-accent-ink); flex: none; font-weight: 800; }
.sel-row__icon .ic { width: 19px; height: 19px; }
.sel-row__body { flex: 1; min-width: 0; }
.sel-row__title { font-size: 14.5px; font-weight: 600; color: var(--sp-ink); }
.sel-row__sub { font-size: 12.5px; color: var(--sp-ink-2); }
a.sel-row { text-decoration: none; transition: background .14s ease; border-radius: 12px; padding-left: 10px; padding-right: 10px; margin: 0 -10px; }
a.sel-row:hover { background: var(--sp-surface-2); }
.sel-row__chev { color: var(--sp-ink-3); flex: none; }
/* Narrow screens: the status pill drops to its own line under the text so the title never crushes. */
@media (max-width: 560px) {
  .sel-row { flex-wrap: wrap; }
  .sel-row__body { flex: 1 1 calc(100% - 100px); }
  .sel-row .sel-state-pill { order: 4; margin-left: 52px; }
}

/* Badges + state pills */
.sel-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--sp-pill); font-size: 12.5px; font-weight: 700; background: var(--sp-surface-2); color: var(--sp-ink-2); }
.sel-badge .ic { width: 15px; height: 15px; }
.sel-state-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--sp-pill); font-size: 13px; font-weight: 700; }
.sel-state-pill .ic { width: 15px; height: 15px; }
.sel-state-pill--good { background: var(--sp-success-soft); color: var(--sp-success); }
.sel-state-pill--holes { background: var(--sp-danger-soft); color: var(--sp-danger); }
.sel-state-pill--spatter { background: var(--sp-warn-soft); color: var(--sp-warn); }
.sel-state-pill--unclear { background: var(--sp-surface-2); color: var(--sp-ink-2); }
.sel-state-pill--open { background: var(--sp-success-soft); color: var(--sp-success); }
.sel-state-pill--soon { background: var(--sp-warn-soft); color: var(--sp-warn); }

/* Notes / states */
.sel-note { display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; }
.sel-note .ic { width: 18px; height: 18px; margin-top: 1px; }
.sel-note--info { background: var(--sp-info-soft); color: var(--sp-info); }
.sel-note--warn { background: var(--sp-warn-soft); color: var(--sp-warn); }
.sel-note--success { background: var(--sp-success-soft); color: var(--sp-success); }
.sel-empty { text-align: center; color: var(--sp-ink-2); padding: 48px 16px; }
.sel-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 14px); background: var(--sp-toast-bg); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.22); z-index: 1200; opacity: 0; transition: opacity .24s ease, transform .24s ease; max-width: min(92vw, 420px); text-align: center; }
.sel-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.sel-search { display: flex; align-items: center; gap: 8px; background: var(--sp-surface-2); border: 1px solid var(--sp-line); border-radius: 12px; padding: 8px 12px; }
.sel-search .ic { width: 16px; height: 16px; color: var(--sp-ink-3); flex: none; }
.sel-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--sp-ink); outline: none; }

/* FAQ */
.sel-faq details { border: 1px solid var(--sp-line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; background: var(--sp-surface); }
.sel-faq summary { font-weight: 700; cursor: pointer; list-style: none; font-size: 16px; }
.sel-faq summary::-webkit-details-marker { display: none; }
.sel-faq p { margin: 12px 0 0; }

/* Footer */
.sel-footer { border-top: 1px solid var(--sp-line); padding: 34px 0; color: var(--sp-ink-3); font-size: 13.5px; }
.sel-footer a { color: var(--sp-ink-2); margin-right: 18px; }

/* ── WeldCheck-specific components ─────────────────────────────────────────── */

/* Checklist items: tappable row that flips Pending -> Done */
.wc-check { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 12px; border: 1.5px solid var(--sp-line); border-radius: 14px; background: var(--sp-surface); color: var(--sp-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.wc-check + .wc-check { margin-top: 10px; }
.wc-check:hover { border-color: var(--sp-accent); }
.wc-check__box { width: 26px; height: 26px; border-radius: 9px; border: 2px solid var(--sp-line); display: grid; place-items: center; color: #fff; flex: none; transition: background .15s ease, border-color .15s ease; }
.wc-check__box .ic { width: 15px; height: 15px; opacity: 0; }
.wc-check__txt { flex: 1; min-width: 0; }
.wc-check__state { flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--sp-ink-3); }
.wc-check.is-done { border-color: var(--sp-success); background: var(--sp-success-soft); }
.wc-check.is-done .wc-check__box { background: var(--sp-success); border-color: var(--sp-success); }
.wc-check.is-done .wc-check__box .ic { opacity: 1; }
.wc-check.is-done .wc-check__state { color: var(--sp-success); }
.wc-check[disabled] { cursor: default; opacity: .75; }
.wc-check[disabled]:hover { border-color: var(--sp-line); }
.wc-check.is-done[disabled]:hover { border-color: var(--sp-success); }

/* Photo dropzone + preview */
.wc-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 210px; padding: 26px; border: 2px dashed var(--sp-line); border-radius: var(--sp-r); background: var(--sp-surface-2); color: var(--sp-ink-2); font: inherit; font-weight: 600; cursor: pointer; text-align: center; transition: border-color .15s ease, background .15s ease; }
.wc-drop:hover, .wc-drop.is-over { border-color: var(--sp-accent); background: var(--sp-accent-soft); color: var(--sp-accent-ink); }
.wc-drop__ic { width: 52px; height: 52px; border-radius: 15px; background: var(--sp-surface); display: grid; place-items: center; color: var(--sp-accent); box-shadow: var(--sp-sh-1); }
.wc-drop__ic .ic { width: 26px; height: 26px; }
.wc-drop__hint { font-size: 12.5px; color: var(--sp-ink-3); font-weight: 600; }
.wc-preview { position: relative; border-radius: var(--sp-r); overflow: hidden; border: 1px solid var(--sp-line); background: var(--sp-surface-2); }
.wc-preview img { display: block; width: 100%; max-height: 420px; object-fit: contain; background: var(--sp-feature); }
.wc-preview__x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(20,22,34,.6); color: #fff; cursor: pointer; display: grid; place-items: center; }
.wc-preview__x .ic { width: 16px; height: 16px; }

/* Result page */
.wc-result-hero { text-align: center; }
.wc-result-hero__ic { width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; }
.wc-result-hero__ic .ic { width: 32px; height: 32px; }
.wc-result-hero__ic--good { background: var(--sp-success-soft); color: var(--sp-success); }
.wc-result-hero__ic--holes { background: var(--sp-danger-soft); color: var(--sp-danger); }
.wc-result-hero__ic--spatter { background: var(--sp-warn-soft); color: var(--sp-warn); }
.wc-result-hero__ic--unclear { background: var(--sp-surface-2); color: var(--sp-ink-2); }
.wc-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .wc-metrics { grid-template-columns: repeat(3, 1fr); } }
.wc-metric { background: var(--sp-surface-2); border-radius: 12px; padding: 11px 13px; }
.wc-metric__k { font-size: 11px; font-weight: 800; color: var(--sp-ink-2); text-transform: uppercase; letter-spacing: .04em; }
.wc-metric__v { font-size: 20px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; color: var(--sp-ink); }
.wc-metric__s { font-size: 11.5px; color: var(--sp-ink-3); font-weight: 600; }

/* Job summary strip (checklist / upload / result pages) */
.wc-jobstrip { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-surface); margin-bottom: 18px; }
.wc-jobstrip__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--sp-feature); color: var(--sp-accent); display: grid; place-items: center; flex: none; }
.wc-jobstrip__t { flex: 1; min-width: 0; }
.wc-jobstrip__name { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-jobstrip__meta { font-size: 12.5px; color: var(--sp-ink-3); }

/* Category legend rows on the feature card */
.wc-cat { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.09); }
.wc-cat:first-of-type { border-top: 0; }
.wc-cat__dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex: none; }
.wc-cat__name { font-weight: 800; font-size: 14.5px; }
.wc-cat__sub { font-size: 13px; color: rgba(255,255,255,.65); }

/* Modal (welcome / about-this-project) */
.sel-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,22,34,.5); opacity: 0; transition: opacity .22s ease; }
.sel-modal.is-in { opacity: 1; }
.sel-modal__card { position: relative; background: var(--sp-surface); border-radius: var(--sp-r); box-shadow: var(--sp-sh-2); max-width: 460px; width: 100%; padding: 28px 26px; transform: translateY(12px) scale(.98); transition: transform .22s ease; max-height: calc(100dvh - 40px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sel-modal.is-in .sel-modal__card { transform: none; }
.sel-modal__ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--sp-feature); color: var(--sp-accent); margin-bottom: 14px; }
.sel-modal__ic .ic { width: 26px; height: 26px; }
.sel-modal__card h2 { font-size: 23px; }
.sel-modal__card p { font-size: 14.5px; }
.sel-modal__foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.sel-modal__card--celebrate { text-align: center; }
.sel-modal__card--celebrate .sel-modal__foot { justify-content: center; }
.wc-pin { text-align: center; font-size: 24px; font-weight: 800; letter-spacing: .5em; text-indent: .5em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.wc-cred { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 14px 16px; background: var(--sp-surface-2); border-radius: 14px; text-align: left; }
.wc-cred b { font-size: 14.5px; }
.wc-cred span { font-size: 13px; color: var(--sp-ink-2); }

/* Sample photo gallery (upload page): visual guide + tap-to-load test photos */
.wc-tpls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .wc-tpls { grid-template-columns: repeat(4, 1fr); } }
.wc-tpl { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1.5px solid var(--sp-line); border-radius: 14px; background: var(--sp-surface); font: inherit; font-size: 12.5px; font-weight: 700; color: var(--sp-ink-2); cursor: pointer; text-align: center; transition: border-color .15s ease, transform .12s ease; }
.wc-tpl:hover { border-color: var(--sp-accent); transform: translateY(-2px); }
.wc-tpl canvas { display: block; width: 100%; border-radius: 9px; background: var(--sp-surface-2); }

/* FX layer (entrance motion, ported) */
@keyframes sel-fx-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sel-fx-rise { animation: sel-fx-rise .30s cubic-bezier(.22,.61,.36,1) both; }
@keyframes sel-fx-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.sel-fx-pop { animation: sel-fx-pop .42s cubic-bezier(.34,1.56,.64,1) both; }

/* Focus + motion */
.sel-body :focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .sel-body *, .sel-body *::before, .sel-body *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
