:root {
  --bg: #f7f6fb;
  --surface: #ffffff;
  --surface-2: #f9f8fd;
  --ink: #1c1a22;
  --ink-2: #55505f;
  --ink-3: #85808f;
  --line: #e5e2ee;
  --brand: #5b2196;
  --brand-ink: #ffffff;
  --brand-soft: #efe7f9;
  --sage: #4d7c5b;
  --sage-soft: #e3efe6;
  --gold: #a16207;
  --gold-soft: #fbf0d4;
  --red: #b42318;
  --red-soft: #fde7e5;
  --blue: #2f5f8f;
  --blue-soft: #e3edf7;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(28, 26, 34, .05), 0 4px 16px rgba(28, 26, 34, .05);
  --display: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131a; --surface: #1e1b25; --surface-2: #25212d; --ink: #f2eff7; --ink-2: #c6c0d2; --ink-3: #958fa3;
    --line: #36313f; --brand: #b48cf0; --brand-ink: #15131a; --brand-soft: #2d2140; --sage: #86c29a; --sage-soft: #1f3326;
    --gold: #e0b14a; --gold-soft: #3a2f16; --red: #f2766b; --red-soft: #3d1d1a; --blue: #8db8e3; --blue-soft: #1c2b3a;
    --shadow: 0 1px 2px rgba(0,0,0,.3);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
small, .muted { color: var(--ink-3); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 24px 16px 48px; }
.wrap.wide { max-width: 1180px; }

/* top bar */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.logo { display: flex; align-items: center; color: var(--ink); }
.logo img { height: 34px; width: auto; display: block; }
.logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .logo-light { display: none; } .logo .logo-dark { display: block; } }
.logo:hover { text-decoration: none; }
.mainnav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; position: relative; }
.nav-link:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.nav-link.active { color: var(--brand); background: var(--brand-soft); }
.nav-ic { display: flex; }
.badge { background: var(--brand); color: var(--brand-ink); font-size: .7rem; font-weight: 700; border-radius: 99px; padding: 1px 6px; min-width: 18px; text-align: center; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar-sm { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); font-weight: 700; font-size: .85rem; }
.menu { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 210px; padding: 6px; display: flex; flex-direction: column; }
.menu a, .menu .linkbtn { padding: 9px 12px; border-radius: 9px; color: var(--ink); text-align: left; font: inherit; }
.menu a:hover, .menu .linkbtn:hover { background: var(--surface-2); text-decoration: none; }
.menu-head { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; }
.menu-head span { color: var(--ink-3); font-size: .85rem; }
@media (max-width: 760px) {
  .mainnav:not(.guest) { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--line); justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); margin: 0; z-index: 30; }
  .mainnav:not(.guest) .nav-link { flex-direction: column; gap: 2px; font-size: .7rem; padding: 6px 8px; }
  .mainnav:not(.guest) .badge { position: absolute; top: 0; right: 4px; }
  .usermenu { margin-left: auto; }
  body:not(.bare) { padding-bottom: 70px; }
  .mainnav.guest .nav-link:not(:last-of-type) { display: none; }
  .mainnav.guest { margin-left: auto; }
}

/* footer */
.foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px; padding: 20px 16px; }
.foot a { color: var(--ink-3); }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 11px; padding: 10px 18px; font: 600 .95rem var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); text-decoration: none; }
.btn-sm { padding: 7px 13px; font-size: .88rem; border-radius: 9px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-danger { background: var(--red); color: #fff; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--brand); cursor: pointer; padding: 0; font: inherit; }
.linkbtn.danger { color: var(--red); }
form.inline { display: inline; }
label.field, .field { display: block; margin-bottom: 14px; }
.field > span, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.field small { display: block; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=datetime-local], input[type=number], input[type=tel], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
input[type=file] { font: inherit; max-width: 100%; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; padding: 0; }

.radios { display: grid; gap: 8px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-card input { margin-top: 4px; accent-color: var(--brand); }
.radio-card small, .toggle small { display: block; color: var(--ink-3); font-size: .85rem; }
.toggle { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; border-bottom: 1px solid var(--line); }
.toggle:last-child { border-bottom: 0; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle .sw { flex: 0 0 40px; height: 24px; border-radius: 99px; background: var(--line); position: relative; transition: .15s; margin-top: 1px; }
.toggle .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle input:checked + .sw { background: var(--sage); }
.toggle input:checked + .sw::after { left: 19px; }
.toggle input:focus-visible + .sw { outline: 3px solid var(--brand-soft); }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 12px; }

.flash { background: var(--sage-soft); color: var(--sage); padding: 11px 15px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.flash-err { background: var(--red-soft); color: var(--red); }
.note { background: var(--surface-2); border: 1px dashed var(--line); padding: 12px 14px; border-radius: 12px; color: var(--ink-2); font-size: .92rem; }
.note-warn { background: var(--gold-soft); border-color: transparent; color: var(--gold); }
.note-alert { background: var(--red-soft); border-color: transparent; color: var(--red); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.pill-green { background: var(--sage-soft); color: var(--sage); border-color: transparent; }
.pill-gold { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.pill-red { background: var(--red-soft); color: var(--red); border-color: transparent; }
.pill-blue { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.pill-brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

/* avatars */
.pet-av { border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--brand-soft); display: inline-grid; place-items: center; }
.pet-av-sm { width: 40px; height: 40px; font-size: 1.2rem; }
.pet-av-md { width: 64px; height: 64px; font-size: 2rem; }
.pet-av-lg { width: 132px; height: 132px; font-size: 4rem; border: 4px solid var(--surface); box-shadow: var(--shadow); }
.user-av { border-radius: 50%; display: inline-grid; place-items: center; background: var(--sage-soft); color: var(--sage); font-weight: 700; flex-shrink: 0; object-fit: cover; }
.user-av-sm { width: 32px; height: 32px; font-size: .75rem; }
.user-av-md { width: 56px; height: 56px; font-size: 1.1rem; }

/* tables / lists */
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.list { list-style: none; padding: 0; margin: 0; }
.list > li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.grow { flex: 1; min-width: 0; }
.right { margin-left: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.more summary { cursor: pointer; color: var(--brand); font-weight: 600; margin: 6px 0; }

/* pet management */
.pet-hero { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.pet-hero h1 { margin: 0; }
.pet-hero .meta { color: var(--ink-2); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; scrollbar-width: none; }
.tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; font-size: .94rem; }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.stat { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 1.4rem; font-family: var(--display); }
.stat span { font-size: .85rem; color: var(--ink-3); }
.petcard { display: flex; gap: 14px; align-items: center; color: inherit; }
.petcard:hover { text-decoration: none; }
.petcard:hover h3 { color: var(--brand); }

/* wall */
.wall-head { background: linear-gradient(135deg, var(--brand-soft), var(--blue-soft)); border-radius: 22px; padding: 28px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.wall-head h1 { margin: 0 0 4px; }
.wall-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-2); font-size: .95rem; margin: 6px 0 12px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; box-shadow: var(--shadow); }
.post-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; }
.post-head a { color: var(--ink); font-weight: 600; }
.post-photos { display: grid; gap: 2px; background: var(--line); }
.post-photos.n2 { grid-template-columns: 1fr 1fr; }
.post-photos.n3, .post-photos.n4 { grid-template-columns: 1fr 1fr; }
.post-photos img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; display: block; background: var(--surface-2); }
.post-photos.n2 img, .post-photos.n3 img, .post-photos.n4 img { aspect-ratio: 1; }
.post-body { padding: 12px 14px; }
.post-actions { display: flex; gap: 14px; align-items: center; padding: 0 14px 10px; font-size: .92rem; color: var(--ink-2); }
.post-actions button { background: none; border: 0; cursor: pointer; color: inherit; font: inherit; display: inline-flex; gap: 5px; align-items: center; padding: 4px 0; }
.post-actions .liked { color: var(--brand); }
.comments { border-top: 1px solid var(--line); padding: 10px 14px; background: var(--surface-2); }
.comment { display: flex; gap: 9px; padding: 6px 0; font-size: .93rem; }
.comment b a { color: var(--ink); }
.comment-form { display: flex; gap: 8px; margin-top: 8px; }
.comment-form input { flex: 1; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.photo-grid a { aspect-ratio: 1; display: block; overflow: hidden; border-radius: 8px; background: var(--surface-2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.03); }
.photo-full { background: #111; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.photo-full img { max-height: 80vh; width: auto; }

/* lost / finder */
.lost-banner { background: var(--red); color: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; }
.lost-banner h2 { margin: 0 0 4px; color: #fff; }
.finder-hero { text-align: center; padding: 10px 0 6px; }
.finder-hero .pet-av-lg { margin: 0 auto 12px; }
.qr { background: #fff; padding: 12px; border-radius: 14px; display: inline-block; }
.qr svg { display: block; width: 180px; height: 180px; }
.tag-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tag-card { border: 2px dashed var(--line); border-radius: 18px; padding: 16px; text-align: center; background: #fff; color: #111; }
.tag-card .pid { font: 700 1.1rem/1.2 ui-monospace, Menlo, monospace; letter-spacing: .06em; margin-top: 8px; }

/* messages */
.thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.bubble.mine { align-self: flex-end; background: var(--brand-soft); border-color: transparent; }
.bubble small { display: block; font-size: .75rem; margin-top: 3px; }

/* care log */
.care-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 14px; }
.care-kind { position: relative; }
.care-kind input { position: absolute; opacity: 0; }
.care-kind span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .85rem; font-weight: 600; background: var(--surface); }
.care-kind span i { font-style: normal; font-size: 1.4rem; }
.care-kind input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.care-kind input:focus-visible + span { outline: 3px solid var(--brand-soft); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { display: flex; gap: 12px; padding: 10px 0; }
.tl-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.media-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.media-row img, .media-row video { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; background: #000; }
.care-section { border-left: 4px solid var(--brand-soft); padding: 4px 0 4px 14px; margin-bottom: 18px; white-space: pre-wrap; }
.care-section h3 { white-space: normal; }

/* landing */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: 30px 0 20px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero-art { background: linear-gradient(160deg, var(--brand-soft), var(--blue-soft)); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; font-size: 8rem; position: relative; overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 28px 0; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .fi { font-size: 1.6rem; margin-bottom: 6px; }
.feature h3 { margin-bottom: 4px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .hero-art { display: none; } }

.auth-box { max-width: 420px; margin: 20px auto; }
.empty { text-align: center; padding: 36px 16px; color: var(--ink-2); }
.empty-ic { font-size: 2.6rem; }
.empty h3 { margin: 8px 0 4px; }
.searchbar { display: flex; gap: 8px; margin-bottom: 18px; }
.searchbar input { flex: 1; }
.split { display: grid; grid-template-columns: 230px 1fr; gap: 24px; }
.sidenav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 80px; align-self: start; }
.sidenav a { padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.sidenav a.on { background: var(--brand-soft); color: var(--brand); }
.sidenav a:hover { text-decoration: none; background: var(--surface-2); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .sidenav { position: static; flex-direction: row; overflow-x: auto; } .sidenav a { white-space: nowrap; } }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 8px; display: none; }
.progress > div { height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.preview-strip { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.preview-strip img, .preview-strip video { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: .95rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }

/* print (claim packets, share pages, tag sheets) */
@media print {
  .topbar, .foot, .noprint, .tabs, .flash { display: none !important; }
  body { background: #fff; color: #000; padding: 0 !important; }
  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .wrap { max-width: none; padding: 0; }
  a { color: #000; }
}

.hero-art img { width: 62%; height: auto; filter: drop-shadow(0 12px 30px rgba(91,33,150,.25)); }
@media (max-width: 760px) { .logo img { height: 28px; } }
.foot a.foot-admin { color: var(--brand); font-weight: 600; }
.split > * { min-width: 0; }
.nowrap { white-space: nowrap; }
.disposition { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (max-width: 600px) { .grid:has(> .stat) { grid-template-columns: 1fr 1fr; } }
.sort-link { color: inherit; text-decoration: none; white-space: nowrap; }
.sort-link.on { color: var(--brand); }
.doc-table td { vertical-align: top; }
.vid-thumb { position: relative; display: block; width: 100%; height: 100%; }
.vid-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.vid-thumb i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 1.6rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); pointer-events: none; }
.post-video { position: relative; background: #111; }
.post-video video { width: 100%; max-height: 640px; display: block; }
.post-video .vid-link { position: absolute; top: 8px; right: 8px; font-size: .8rem; background: rgba(0,0,0,.55); color: #fff; padding: 3px 8px; border-radius: 999px; text-decoration: none; }
.photo-full video { width: 100%; max-height: 80vh; display: block; }
.perm-rows{display:grid;gap:6px}
.perm-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid var(--line,#e7e3ef);border-radius:10px;background:var(--surface-2,transparent)}
.perm-row>span{display:flex;flex-direction:column;min-width:0}
.perm-row small{color:var(--muted,#777);font-size:.8rem}
.perm-row select{max-width:52%;flex:0 0 auto}
@media (max-width:520px){.perm-row{flex-direction:column;align-items:stretch}.perm-row select{max-width:none}}
.policy-docs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}.policy-docs .pill{text-decoration:none}
.check-line{display:flex;gap:8px;align-items:center;font-weight:500;padding:10px 0}.check-line input{width:auto;margin:0}
.prem-up{color:var(--red)}.prem-down{color:var(--green,#2e7d4f)}
.shop-bar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.shop-bar .grow{flex:1 1 220px}
.grid.stats4{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
@media (max-width:520px){.grid.stats4{grid-template-columns:1fr 1fr}}
.party-new[hidden] { display: none; }
.party-new { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px 0; margin-bottom: 12px; }
