/* True Life Sites: marketing site + app UI (dashboard, editor, admin). Sister brand of TrueLife Clips. */
:root {
  --ink: #0d1424; --ink-2: #1b2438; --muted: #586174; --cream: #fffaf2; --paper: #f7f5f0; --tint: #fff1e3; --line: #e9e2d6;
  --teal: #0f8f8a; --teal-2: #14b3ad; --teal-ink: #0a5f5c; --coral: #ff6a3d; --coral-2: #ff8f5e; --sun: #ffd54a; --plum: #8b5cf6;
  --gold: #ffd76a;
  --ok: #138a52; --warn: #b26a00; --bad: #c4321f; --radius: 18px; --shadow: 0 18px 50px rgba(13,20,36,.10), 0 2px 6px rgba(13,20,36,.05);
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 500; font-style: italic; letter-spacing: -.01em; color: var(--teal); }
.wrap { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .center { text-align: center; }
.hidden { display: none !important; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 .7rem; }

/* buttons + inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .78rem 1.3rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,20,36,.18); }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn--coral { background: var(--coral); border-color: var(--coral); }
.btn--teal { background: var(--teal); border-color: var(--teal); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--danger { background: #fff; color: var(--bad); border-color: #f1c2bb; }
.btn--sm { padding: .45rem .85rem; font-size: .85rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--teal-ink); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.field { display: grid; gap: .35rem; margin-bottom: .9rem; }
.field > label, .field > span { font-weight: 650; font-size: .88rem; }
.field small { color: var(--muted); font-size: .8rem; }
input, textarea, select { font: inherit; width: 100%; padding: .72rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--teal) 25%, transparent); border-color: var(--teal); }
input[type="checkbox"], input[type="radio"] { width: auto; }
input[type="color"] { padding: 2px; height: 42px; cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.check { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; cursor: pointer; }
.err { color: var(--bad); font-weight: 600; min-height: 1.2em; margin: .3rem 0; }
.ok { color: var(--ok); font-weight: 600; }
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--tint); color: #8a4a12; }
.badge--teal { background: #dff4f2; color: var(--teal-ink); } .badge--ok { background: #ddf3e6; color: var(--ok); } .badge--gray { background: #eceae4; color: #555; }
.badge--red { background: #fde4e0; color: var(--bad); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 12px;
  font-weight: 600; opacity: 0; transition: .3s var(--ease); z-index: 1000; pointer-events: none; max-width: 92vw; box-shadow: var(--shadow); }
.toast.on { opacity: 1; transform: translateX(-50%); } .toast.bad { background: var(--bad); }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: .42rem .9rem; border-radius: 999px; font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--ink); color: #fff; }
.modal { position: fixed; inset: 0; background: rgba(13,20,36,.55); display: grid; place-items: center; z-index: 500; padding: 1rem; }
.modal__box { background: #fff; border-radius: 20px; padding: 1.6rem; width: min(560px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--shadow); }
.modal__box h2 { font-size: 1.4rem; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo__mark { width: 36px; height: 36px; flex: none; display: block; }
.logo__word { font: 800 1.28rem/1 "Outfit", var(--sans); letter-spacing: -.035em; white-space: nowrap; }
.logo b { color: var(--teal); font-weight: 800; }
.logo__tag { display: block; font: 600 .8rem/1.2 var(--sans); letter-spacing: 0; color: var(--muted); margin-top: .3rem; }
.mfoot .logo, .auth__side .logo, .ed__top .logo { color: #fff; } .mfoot .logo b, .auth__side .logo b { color: var(--teal-2); }
.mfoot .logo__tag, .auth__side .logo__tag { color: #aab2c3; }

/* ===== marketing ===== */
.mnav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.mnav.scrolled { border-color: var(--line); }
.mnav__in { display: flex; align-items: center; gap: 1.6rem; padding: .9rem 0; }
.mnav nav { display: flex; gap: 1.3rem; margin-left: auto; align-items: center; font-weight: 600; font-size: .95rem; }
.mnav nav a { text-decoration: none; color: var(--muted); } .mnav nav a:hover { color: var(--ink); }
.mhero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; position: relative; overflow: hidden; }
.mhero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--teal) 18%, transparent), transparent 65%); z-index: -1; }
.mhero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mhero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; }
.mhero .lede { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #dff4f2; color: var(--teal-ink); display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 1px; }
.leadcard { background: #fff; border-radius: 26px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.leadcard::after { content: "Free · 60 seconds"; position: absolute; top: -14px; right: 22px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; padding: .35rem .8rem; border-radius: 999px; }
.leadcard h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.leadcard .hp { position: absolute; left: -9999px; }
.strip-logos { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; color: var(--muted); font-weight: 700; padding: 1.5rem 0 0; opacity: .8; }
.msec { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.msec--tint { background: #fff; border-block: 1px solid var(--line); }
.msec h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
.msec .lede { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step::before { counter-increment: s; content: counter(s); width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2rem; }
.feat > div { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.feat .ic { font-size: 1.6rem; display: block; margin-bottom: .6rem; }
.feat h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; align-items: stretch; }
.pcard { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem; position: relative; }
.pcard.pop { border-color: var(--teal); box-shadow: var(--shadow); }
.pcard.pop::before { content: "Most popular"; position: absolute; top: -12px; left: 1.4rem; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 800; padding: .3rem .7rem; border-radius: 999px; }
.pcard.current { border-color: var(--ink); }
.pcard h3 { font-size: 1.3rem; margin: 0; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.pcard ul { list-style: none; padding: 0; margin: .6rem 0 1.2rem; display: grid; gap: .45rem; flex: 1; }
.pcard li { display: flex; gap: .5rem; font-size: .94rem; } .pcard li::before { content: "✓"; color: var(--teal); font-weight: 900; }
.faq2 details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq2 summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.faq2 p { color: var(--muted); margin: .6rem 0 0; }
.mfoot { background: var(--ink); color: #c9cfdb; padding: 3rem 0 2rem; }
.mfoot a { color: #fff; }
.mfoot__in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ===== try / template gallery ===== */
.scan { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.scan__orb { width: 120px; height: 120px; margin: 0 auto 1.6rem; border-radius: 50%; position: relative;
  background: conic-gradient(from 0deg, var(--teal), var(--coral), var(--sun), var(--teal)); animation: spin 2.4s linear infinite; }
.scan__orb::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }
.scan__list { list-style: none; padding: 0; margin: 1.6rem auto 0; display: grid; gap: .5rem; max-width: 380px; text-align: left; }
.scan__list li { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-weight: 600; opacity: .35; transition: opacity .4s; }
.scan__list li.on { opacity: 1; color: var(--ink); }
.scan__list li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.scan__list li.on::before { background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 3px #fff; }
.gal-head { padding: 2.2rem 0 1rem; }
.gal-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
.pick { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; margin: 1rem 0 2rem; }
.pick__frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.pick__bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; background: #f1eee8; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.pick__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e0d9cc; display: inline-block; }
.pick__bar span { margin-left: .6rem; background: #fff; border-radius: 999px; padding: .15rem .7rem; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pick__info { position: sticky; top: 90px; }
.pick__info h2 { font-size: 1.9rem; margin-bottom: .2rem; }
.reasons { list-style: none; padding: 0; margin: 1rem 0 1.3rem; display: grid; gap: .5rem; }
.reasons li { display: flex; gap: .55rem; font-weight: 600; }
.reasons li::before { content: "★"; color: var(--coral); }
.found { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .9rem; margin-top: 1rem; font-size: .88rem; }
.found div { display: flex; gap: .4rem; align-items: baseline; min-width: 0; }
.found b { white-space: nowrap; } .found span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.found .y::before { content: "✓"; color: var(--ok); font-weight: 900; } .found .n::before { content: "–"; color: #bbb; font-weight: 900; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: .5rem 0 1.2rem; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .42rem .85rem; font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--muted); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.3rem; padding-bottom: 4rem; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; text-align: left; padding: 0; position: relative; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tcard__shot { aspect-ratio: 16/11; position: relative; overflow: hidden; background: var(--bg, #eee); }
.tcard__shot iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 880px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .22)); pointer-events: none; }
.tcard__b { padding: .85rem 1rem 1rem; display: flex; align-items: center; gap: .6rem; }
.tcard__b h3 { font-size: 1.02rem; margin: 0; letter-spacing: -.01em; }
.tcard__b p { margin: 0; font-size: .8rem; color: var(--muted); }
.tcard__sw { display: flex; margin-left: auto; } .tcard__sw i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; margin-left: -5px; }
.tcard__tag { position: absolute; top: .7rem; left: .7rem; z-index: 2; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; }
.tcard__tag--new { background: var(--teal); }
.viewer { position: fixed; inset: 0; z-index: 400; background: #1a1f2c; display: grid; grid-template-rows: auto auto 1fr auto; }
.viewer__bar { display: flex; align-items: center; gap: .7rem; padding: .6rem 1rem; background: #0d1424; color: #fff; flex-wrap: wrap; }
.viewer__bar h3 { margin: 0; font-size: 1rem; } .viewer__bar p { margin: 0; font-size: .8rem; color: #aab2c3; }
.viewer__bar select { width: auto; padding: .4rem .7rem; border-radius: 999px; background: #1b2438; color: #fff; border-color: #2c3650; }
.viewer__bar .seg { background: #1b2438; border-color: #2c3650; } .viewer__bar .seg button { color: #aab2c3; } .viewer__bar .seg button.on { background: #fff; color: var(--ink); }
.viewer__stage { display: grid; place-items: center; overflow: auto; padding: 1rem; }
.viewer__stage iframe { background: #fff; border: 0; width: 100%; height: 100%; border-radius: 10px; transition: width .35s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.viewer__stage.tablet iframe { width: 820px; } .viewer__stage.phone iframe { width: 390px; }
.iconbtn { background: #1b2438; color: #fff; border: 1px solid #2c3650; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; display: grid; place-items: center; }
.iconbtn:hover { background: #2c3650; }
.viewer__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .7rem 1rem; background: #0d1424; color: #fff; border-top: 1px solid #2c3650; }
.viewer__count { margin: 0; text-align: center; color: #aab2c3; font-size: .95rem; } .viewer__count b { color: #fff; }
.viewer__count span { display: block; font-size: .75rem; color: #6f7a90; margin-top: .1rem; }
.vnav { display: inline-flex; align-items: center; gap: .8rem; justify-self: start; background: #1b2438; color: #fff; border: 1px solid #2c3650; border-radius: 999px; padding: .45rem 1.3rem .45rem .45rem; cursor: pointer; font: inherit; text-align: left; max-width: 100%; transition: background .2s, transform .2s; }
.vnav:hover { background: #2c3650; transform: translateY(-1px); } .vnav:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.vnav--next { justify-self: end; padding: .45rem .45rem .45rem 1.3rem; text-align: right; }
.vnav__arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.vnav__txt { display: grid; min-width: 0; } .vnav__txt small { color: #aab2c3; font-size: .78rem; }
.vnav__txt b { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .viewer__foot { gap: .5rem; padding: .5rem; } .vnav__txt, .viewer__count span { display: none; } .vnav, .vnav--next { padding: .3rem; } .vnav__arrow { width: 46px; height: 46px; } }

/* "Make it yours" strip under the viewer bar: try color themes live + the sign-up promise */
.vyours { display: flex; align-items: center; gap: .6rem 1.4rem; padding: .55rem 1rem .6rem; color: #fff;
  background: linear-gradient(90deg, #0a5f5c, #0f8f8a 55%, #14b3ad); border-top: 1px solid rgba(255,255,255,.08); }
.vyours__colors { display: flex; align-items: center; gap: .3rem .7rem; flex-wrap: wrap; min-width: 0; }
.vyours__lbl { font-size: .82rem; color: #d9f3f1; white-space: nowrap; } .vyours__lbl b { color: #fff; }
.vyours__sw { display: flex; align-items: center; gap: .32rem; flex-wrap: wrap; }
.vsw { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55); background: transparent; cursor: pointer; overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; }
.vsw i { width: 50%; height: 100%; display: block; }
.vsw:hover { transform: translateY(-2px) scale(1.08); border-color: #fff; }
.vsw.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 6px 14px rgba(0,0,0,.25); transform: scale(1.1); }
.vsw:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }
.vsw--chip { width: auto; height: 30px; border-radius: 999px; padding: 0 .65rem 0 .3rem; gap: .35rem; background: rgba(0,0,0,.18); overflow: visible; }
.vsw--chip i { width: 11px; height: 20px; border-radius: 0; } .vsw--chip i:first-child { border-radius: 10px 0 0 10px; } .vsw--chip i:nth-child(2) { border-radius: 0 10px 10px 0; margin-left: -.35rem; }
.vsw--chip span { color: #fff; font: 700 .76rem/1 Inter, system-ui, sans-serif; white-space: nowrap; }
.vsw--chip.on { transform: none; background: rgba(0,0,0,.32); }
.vsw--any b { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(#ff5d5d, #ffb84d, #f7e15a, #5fd38d, #4fb6ff, #8e7bff, #ff6fd0, #ff5d5d); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.vsw--any input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.vyours__main { flex: 1; min-width: 0; display: grid; gap: .4rem; }
.vyours__msg { margin: 0; font-size: .95rem; line-height: 1.35; color: #e9fbfa; }
.vyours__msg b { color: #fff; font-weight: 800; } .vyours__msg em { font-style: normal; font-weight: 800; color: #fff; white-space: nowrap; }
.vyours__go { flex: none; background: #fff; color: var(--teal-ink); border-color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); font-weight: 800; padding: .7rem 1.2rem; }
.vyours__go:hover { background: #fffaf2; color: #0a5f5c; }
@media (max-width: 1180px) { .vyours__lbl { display: none; } .vsw:not(.vsw--chip) { width: 25px; height: 25px; } .vsw--chip { height: 27px; } .vyours__sw { gap: .25rem; } .vyours__msg { font-size: .85rem; } .vyours__go { padding: .55rem .9rem; } }
@media (max-width: 640px) { .vyours { padding: .45rem .6rem; } .vyours__lbl { display: none; } .vsw:not(.vsw--chip) { width: 26px; height: 26px; } .vyours__go { display: none; } }

/* ===== color themes (dashboard "Make it yours" + editor Design tab) ===== */
.palgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .45rem; }
.palgrid--ed { grid-template-columns: 1fr 1fr; gap: .35rem; margin-bottom: .8rem; }
.palbtn { display: flex; align-items: center; gap: .5rem; padding: .4rem .55rem .4rem .4rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; text-align: left; font: inherit; min-width: 0; transition: border-color .15s, transform .15s, box-shadow .15s; }
.palbtn:hover { border-color: var(--teal); transform: translateY(-1px); }
.palbtn.on { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.palbtn__sw { flex: none; display: flex; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.palbtn__sw i { flex: 1; }
.palbtn__n { font-size: .8rem; font-weight: 700; line-height: 1.2; color: var(--ink); min-width: 0; }
.palgrid--ed .palbtn__sw { width: 26px; height: 26px; } .palgrid--ed .palbtn__n { font-size: .72rem; }
.yours-panel { background: linear-gradient(180deg, #f2fbfa, #fff 140px); border-color: color-mix(in srgb, var(--teal) 30%, var(--line)); }
.ycard { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.05rem; background: #fff; }
.ycard h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.ycard--colors { margin-top: .9rem; }
.ycard__h { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.ycolors { display: flex; align-items: center; gap: .6rem 1.4rem; flex-wrap: wrap; margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.ycolor { display: flex; align-items: center; gap: .55rem; cursor: pointer; }
.ycolor input { width: 44px; height: 36px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.ycolor span { display: grid; line-height: 1.2; } .ycolor b { font-size: .88rem; } .ycolor small { color: var(--muted); font-size: .74rem; }
.ygrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: .9rem; }
.ydesign { display: flex; align-items: center; gap: .7rem; margin: .3rem 0 .5rem; }
.ydesign__sw { flex: none; width: 60px; height: 42px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: flex-end; gap: 3px; padding: 5px; }
.ydesign__sw i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); }
.ydesign b { display: block; } .ydesign small { color: var(--muted); font-size: .78rem; }
.ylist { margin: .2rem 0 0; padding-left: 1.1rem; font-size: .88rem; line-height: 1.55; color: var(--ink); }
@media (max-width: 700px) { .ygrid { grid-template-columns: 1fr; } }

/* ===== auth ===== */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth__side { background: var(--ink); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth__side .logo { color: #fff; }
.auth__side h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.auth__prev { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.4); background: #222; }
.auth__prev iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }
.auth__main { display: grid; place-items: center; padding: 2rem; }
.auth__box { width: min(440px, 100%); }
.auth__box h1 { font-size: 2rem; }

/* ===== app shell (dashboard / admin) ===== */
.app { min-height: 100vh; background: var(--paper); }
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar__in { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.topbar nav { display: flex; gap: .3rem; margin-left: 1.5rem; flex-wrap: wrap; }
.topbar nav a { text-decoration: none; font-weight: 650; font-size: .92rem; padding: .45rem .8rem; border-radius: 999px; color: var(--muted); }
.topbar nav a.on, .topbar nav a:hover { background: var(--paper); color: var(--ink); }
.topbar__r { margin-left: auto; display: flex; gap: .6rem; align-items: center; }
.dash { padding: 1.8rem 0 4rem; display: grid; gap: 1.2rem; }
.dash h1 { font-size: 1.9rem; margin: 0; }
.dgrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; align-items: start; }
.dcol { display: grid; gap: 1.2rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.panel h2 { font-size: 1.15rem; margin: 0 0 .2rem; display: flex; align-items: center; gap: .5rem; }
.panel > p.muted:first-of-type { margin-top: 0; }
.panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.sitecard { display: grid; grid-template-columns: 300px 1fr; gap: 1.3rem; align-items: center; }
.thumb { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--line); background: #eee; }
.thumb iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c9c3b6; }
.status.live::before { background: #1bb36b; box-shadow: 0 0 0 4px #d6f4e4; }
.checklist { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.checklist li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line); flex: none; margin-top: 1px; }
.checklist li.done::before { background: var(--ok); border-color: var(--ok); }
.checklist li.fix::before { border-color: var(--coral); }
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: .6rem .9rem; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; font-size: .9rem; }
.tabs button.on { color: var(--ink); border-color: var(--teal); }
.steps-list { counter-reset: st; list-style: none; padding: 0; margin: .4rem 0 1rem; display: grid; gap: .7rem; }
.steps-list li { counter-increment: st; display: grid; grid-template-columns: 30px 1fr; gap: .6rem; font-size: .93rem; }
.steps-list li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .15rem .45rem; font-size: .85em; }
.inbox { display: grid; gap: .6rem; max-height: 460px; overflow: auto; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; display: grid; gap: .25rem; }
.msg.unread { border-color: var(--teal); background: #f4fbfa; }
.msg__top { display: flex; gap: .5rem; align-items: center; font-size: .85rem; }
.msg p { margin: 0; white-space: pre-wrap; }
.toggle { position: relative; width: 50px; height: 28px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #d9d4c9; cursor: pointer; transition: .25s; }
.toggle span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .25s var(--spring); box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.toggle input:checked + span { background: #d92d20; } .toggle input:checked + span::before { transform: translateX(22px); }
.toggle--teal input:checked + span { background: var(--teal); }
.liverow { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; background: var(--paper); margin-top: .6rem; }
.upsell { background: linear-gradient(135deg, #0d1424, #24304a); color: #fff; border: 0; }
.upsell .muted { color: #b9c1d2; }
/* dashboard: Online giving (True Life Giving first, any other link second) */
.give-pick { display: flex; gap: .55rem; align-items: flex-start; padding: .35rem 0; cursor: pointer; font-size: .95rem; }
.give-pick input { margin-top: .25rem; flex: none; width: auto; }
.give-ok { color: var(--ok); font-weight: 700; } .give-bad { color: var(--bad); }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th, table.t td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stats4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; }
.stat b { display: block; font-size: 1.9rem; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; }

@media (max-width: 980px) {
  .mhero__grid, .pick, .dgrid, .auth { grid-template-columns: 1fr; }
  .steps, .feat, .plans { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .auth__side { display: none; }
  .sitecard { grid-template-columns: 1fr; }
  .mnav nav a:not(.btn) { display: none; }
  .pick__info { position: static; }
}
@media (max-width: 600px) { .row2, .found { grid-template-columns: 1fr; } }

/* Statement of Faith */
.faithbox { border: 2px solid var(--teal); background: #eef9f8; border-radius: 14px; padding: 1rem 1.1rem; margin: 1.2rem 0 .4rem; }
.faithbox__title { margin: 0; font-weight: 800; color: var(--teal-ink); }
.faithbox__read summary { cursor: pointer; font-weight: 700; color: var(--teal-ink); margin-bottom: .4rem; }
.faithbox__read[open] summary { margin-bottom: .6rem; }
.faithbox__agree { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; margin-top: .7rem; font-size: 1rem; }
.faithbox__agree input { width: 22px; height: 22px; flex: none; accent-color: var(--coral); }
.sof { display: grid; gap: 1.1rem; }
.sof__item h3 { margin: 0 0 .3rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; color: var(--teal-ink); }
.sof__item p { margin: 0; line-height: 1.6; }
.sof__refs { color: var(--muted); font-size: .85rem; margin-top: .35rem !important; font-style: italic; }
.sof--small { max-height: 320px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; gap: .8rem; }
.sof--small .sof__item h3 { font-size: .85rem; } .sof--small .sof__item p { font-size: .88rem; }
.auth__faith { display: grid; gap: .3rem; border-left: 3px solid var(--coral); padding: .2rem 0 .2rem .9rem; margin: 1.4rem 0; color: #fff; }
.auth__faith span { color: #b9c1d2; font-size: .92rem; }
.faithband { background: var(--ink, #0d1424); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.faithband .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.faithband h2 { color: #fff; margin: 0 0 .8rem; } .faithband .big { font-size: 1.35rem; font-weight: 700; color: #ffd9cc; margin: 0 0 1rem; }
.faithband p { color: #c8cfdd; } .faithband ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.faithband li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .8rem 1rem; }
.faithband li b { color: #fff; display: block; }
@media (max-width: 820px) { .faithband .wrap { grid-template-columns: 1fr; } }
.faithnote { background: #fff7e6; border: 2px solid #f0c36d; border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.faithnote--hold { background: #fdecec; border-color: #e7a1a1; }
.flagpill { display: inline-block; background: #fff1d6; color: #8a5a00; border: 1px solid #f0c36d; border-radius: 999px; padding: .1rem .55rem; font-size: .78rem; font-weight: 700; }
.flagpill--no { background: #fdecec; color: #9b1c1c; border-color: #e7a1a1; } .flagpill--ok { background: #e6f6ee; color: #146c43; border-color: #9fd8bb; }

/* results page: the live preview of our pick comes first */
.gal-head { padding-top: 1.4rem; }
.gal-title { margin: 2.2rem 0 .4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pick { grid-template-columns: 1.75fr 1fr; margin-top: .4rem; }
.pick__shot { aspect-ratio: 16 / 10.5; }
.pick .pick__shot iframe { height: 840px !important; pointer-events: auto !important; }
.pick__live { margin-left: auto; font-style: normal; font-weight: 700; color: var(--teal-ink); white-space: nowrap; font-size: .76rem; }
.pick__live::first-letter { color: #e5484d; }
.pick__frame { box-shadow: 0 30px 70px -28px rgba(13,20,36,.45), 0 0 0 1px var(--line); }
@media (max-width: 700px) { .pick__live { display: none; } }
.tcard__tag--vid { background: #0d1424; }

/* design viewer: each device at its real width, scaled to fit; full screen */
.viewer__stage { overflow: hidden; padding: 1.2rem 1.5rem; }
.viewer__screen { position: relative; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.45); margin: 0 auto; transition: width .35s var(--ease); }
.viewer__screen iframe, .viewer__stage.tablet .viewer__screen iframe, .viewer__stage.phone .viewer__screen iframe { position: absolute; left: 0; top: 0; border: 0; border-radius: 0; box-shadow: none; transform-origin: 0 0; transition: none; }
.viewer:fullscreen { width: 100vw; height: 100vh; }
.viewer:fullscreen .viewer__stage { padding: .8rem 1rem; }
.vfs { display: inline-flex; align-items: center; gap: .4rem; background: #1b2438; color: #fff; border: 1px solid #2c3650; border-radius: 999px; padding: .45rem .95rem; font: inherit; font-size: .88rem; cursor: pointer; }
.vfs:hover { background: #2c3650; } .vfs span { font-size: 1rem; }
.tcard__fs { position: absolute; top: .7rem; right: .7rem; z-index: 3; background: rgba(13,20,36,.82); color: #fff; font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; opacity: 0; transition: opacity .2s; }
.tcard:hover .tcard__fs, .tcard:focus-visible .tcard__fs { opacity: 1; }
.tcard__fs:hover { background: var(--coral); }
@media (hover: none) { .tcard__fs { opacity: 1; } }
@media (max-width: 700px) { .vfs b { display: none; } .viewer__stage { padding: .6rem; } }
/* on dark backgrounds the midnight mark gets a thin gold ring so it doesn't disappear */
.mfoot .logo__mark, .auth__side .logo__mark, .ed__top .logo__mark { border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.35); }

/* dashboard: Sunday Prep */
.prep-prev { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #05080f; box-shadow: 0 20px 40px -20px rgba(13,20,36,.5); }
.prep-prev iframe { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; border: 0; transform-origin: 0 0; pointer-events: none; }
.prep-form textarea { resize: vertical; }
.prep-how { margin-top: 1rem; } .prep-how summary { cursor: pointer; font-weight: 700; }

/* Connect your domain (dashboard) and the "keep your address" checker (home page) */
.dom { margin-top: .9rem; }
.dom__who { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .85rem; font-size: .93rem; margin: 0 0 .9rem; }
.dom__who > span { flex: 1 1 12rem; min-width: 0; }
.dom__rec { display: grid; grid-template-columns: auto 1fr auto; gap: .4rem .7rem; align-items: center; margin: .5rem 0 .35rem; padding: .65rem .75rem; border: 1px dashed var(--line); border-radius: 10px; background: #fff; font-size: .88rem; }
.dom__rec .k { color: var(--muted); font-weight: 700; }
.dom__rec .code { overflow-wrap: anywhere; justify-self: start; }
.dom__copy { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; font: inherit; font-size: .75rem; font-weight: 700; padding: .2rem .65rem; cursor: pointer; white-space: nowrap; }
.dom__copy:hover { border-color: var(--ink); }
.dom__status { display: block; margin-top: .55rem; font-size: .9rem; }
.dom__status--connected, .dom__status--waiting, .dom__status--partial { padding: .55rem .75rem; border-radius: 10px; }
.dom__status--connected { background: #ddf3e6; color: var(--ok); font-weight: 700; }
.dom__status--waiting, .dom__status--partial { background: var(--tint); color: #8a4a12; }

/* template gallery: second filter row (page layout styles) */
.filters--sub { margin-top: -.6rem; align-items: center; }
.filters__label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .2rem; }
.chip--sm { padding: .3rem .7rem; font-size: .78rem; }
/* phones: each filter row is one line you swipe sideways (14 page layouts would otherwise fill the first screen) */
@media (max-width: 640px) {
  #filters, #styles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); }
  #filters::-webkit-scrollbar, #styles::-webkit-scrollbar { display: none; }
  #filters .chip, #styles .chip, #styles .filters__label { flex: none; }
  .filters--sub { margin-top: -.4rem; }
}

/* ===== dashboard: "The gospel on your website" panel + "Trusted Jesus" messages (2026-12-02, app/gospel.py) ===== */
.gospel-panel { background: linear-gradient(180deg, #fff8ee, #fff 150px); border-color: color-mix(in srgb, var(--coral) 28%, var(--line)); }
.gospel-panel .panel__head { align-items: flex-start; }
.gospel-panel h3 { font-size: 1rem; margin: 1.1rem 0 .55rem; }
.gstatus { margin: .7rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: #f1eee8; font-size: .92rem; }
.gstatus.on { background: #dff4f2; color: var(--teal-ink); }
.gbody.is-off { opacity: .6; }
.gways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.gway { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto 1fr; column-gap: .7rem; align-items: start; text-align: left; padding: .7rem .8rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.gway:hover { border-color: var(--teal); transform: translateY(-1px); }
.gway.on { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent); background: #f4fbfa; }
.gway svg { grid-row: 1 / span 2; width: 48px; height: 40px; }
.gway svg rect, .gway svg circle { fill: color-mix(in srgb, var(--teal) 30%, #fff); }
.gway svg .o { fill: #e7e2d8; } .gway svg .l { fill: none; stroke: var(--teal-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gway.on svg rect:not(.o), .gway.on svg circle:not(.o) { fill: var(--teal); }
.gway b { font-size: .95rem; } .gway b em { display: inline-block; margin-left: .25rem; font-style: normal; font-size: .7rem; font-weight: 800; color: var(--teal-ink); background: #dff4f2; padding: .1rem .45rem; border-radius: 999px; vertical-align: 1px; }
.gway span { font-size: .82rem; color: var(--muted); line-height: 1.35; margin-top: .15rem; }
.glooks { display: flex; flex-wrap: wrap; gap: .45rem; }
.glook { padding: .45rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 .85rem var(--sans); color: var(--ink); cursor: pointer; }
.glook:hover:not(:disabled) { border-color: var(--teal); }
.glook.on { border-color: var(--teal); background: var(--teal); color: #fff; }
.glook em { font-style: normal; font-size: .72rem; font-weight: 800; opacity: .85; margin-left: .2rem; }
.glook small { font-size: .7rem; color: var(--muted); margin-left: .2rem; }
.glook:disabled { cursor: default; color: #8a8f99; background: #f6f4ef; border-style: dashed; }
.gprev { position: relative; margin-top: 1rem; aspect-ratio: 1280 / 860; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px -24px rgba(13,20,36,.45); }
.gprev iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 860px; border: 0; transform-origin: 0 0; }
.tj-alert { display: grid; gap: .2rem; margin: .2rem 0 .9rem; padding: .8rem 1rem; border-radius: 12px; background: #fff3d6; border: 1.5px solid #f2c75c; color: #5b4100; }
.tj-alert em { font-style: normal; font-weight: 800; }
.badge--tj { background: #fff0c9; color: #6a4b00; } .badge--new { background: var(--coral); color: #fff; }
.msg--trusted.unread { border-left: 4px solid #e7a92b; }
@media (max-width: 700px) { .gways { grid-template-columns: 1fr; } }

/* Get found on Google (dashboard #found, web/js/dashboard.js renderFound) */
.found__auto { margin: .7rem 0 .6rem; padding: .7rem .85rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); line-height: 1.45; }
.found__note { margin: 0 0 .7rem; padding: .55rem .8rem; border-radius: 10px; background: #fff7e6; color: #5b4100; }
.found__score { display: flex; align-items: center; gap: .8rem; margin: .4rem 0 .5rem; }
.found__bar { flex: 1; height: 8px; border-radius: 999px; background: #ece7dc; overflow: hidden; }
.found__bar i { display: block; height: 100%; background: var(--ok); border-radius: inherit; }
.found__list li { align-items: center; }
.found__list li > .btn { margin-left: auto; flex: none; }
.found__item { display: grid; gap: .1rem; min-width: 0; flex: 1; }
.found__addr { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin-top: .2rem; }
.found__addr em { font-style: normal; font-weight: 700; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
.found__sec { border-top: 1px solid var(--line); padding: .65rem 0 .1rem; margin-top: .7rem; }
.found__sec summary { cursor: pointer; font-weight: 700; padding: .15rem 0; }
.found__body { padding: .5rem 0 .4rem; }
.found__body h4 { margin: 1rem 0 .4rem; font-size: .92rem; }
.found__set { display: grid; gap: .3rem; margin: .2rem 0 .4rem; }
.found__set label { font-weight: 700; font-size: .88rem; }
.found__row, .found__add { display: flex; gap: .5rem; align-items: center; }
.found__row input { flex: 1; min-width: 0; }
.found__facts { margin-top: .5rem; }
.found__msg { padding: .7rem .85rem; border-radius: 10px; background: #fff; border: 1px dashed var(--line); font-size: .9rem; margin-bottom: .4rem; overflow-wrap: anywhere; }
.found__pg { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.found__pg:last-child { border-bottom: 0; }
.found__pgbar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .35rem; }
.found__meta { margin-top: .6rem; padding: .75rem .85rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.gserp { display: grid; gap: .15rem; padding: .7rem .85rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-family: Arial, Helvetica, sans-serif; }
.gserp__url { color: #1e6b34; font-size: .8rem; overflow-wrap: anywhere; }
.gserp__t { color: #1a0dab; font-size: 1.08rem; line-height: 1.3; overflow-wrap: anywhere; }
.gserp__d { color: #4d5156; font-size: .85rem; line-height: 1.45; overflow-wrap: anywhere; }
.found__reds { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .4rem; }
.found__reds li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: .5rem; align-items: center; font-size: .9rem; }
.found__reds .code { overflow-wrap: anywhere; justify-self: start; }
.found__add { margin: .6rem 0 .2rem; }
.found__add input { flex: 1.3; min-width: 0; } .found__add select { flex: 1; min-width: 0; width: auto; }
@media (max-width: 560px) {
  .found__list li { flex-wrap: wrap; }
  .found__item { flex: 1 1 calc(100% - 2rem); }
  .found__list li > .btn { margin-left: 1.6rem; }
  .found__add, .found__row { flex-wrap: wrap; }
  .found__add input, .found__add select { flex: 1 1 100%; }
  .found__add > span { display: none; }
  .found__reds li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .found__reds li > span[aria-hidden] { display: none; }
}
.found__more summary { cursor: pointer; font-weight: 700; color: var(--teal-ink); margin: .2rem 0 .4rem; }
