/* Member account, sign in, signing link and pay page. Builds on base.css, brand.css and site.css. */
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.btn.wide { width: 100%; }
.form-ok { color: var(--ok); font-size: 14px; font-weight: 600; margin-top: 10px; }
.check.slim { border: 0; padding: 4px 0; background: none; font-size: 14px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.notice { display: block; }
.chip-s { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); padding: 2px 8px; border-radius: 99px; vertical-align: middle; }

/* auth pages */
.auth-wrap { min-height: calc(100svh - 160px); display: grid; place-items: start center; padding: 48px 16px 90px; }
.auth-card { width: min(460px, 100%); background: var(--white); border: 1px solid var(--line-2); border-radius: 24px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(34, 48, 43, .35); }
.auth-card.wide { width: min(620px, 100%); }
.auth-card h1 { font-size: 42px; margin: 18px 0 8px; }
.auth-card .seg { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.auth-card .seg button[aria-selected="true"] { background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.auth-card form .field { margin-bottom: 12px; }
body.auth { margin: 0; min-height: 100svh; display: grid; place-items: center; background: var(--paper); padding: 16px; }
body.auth .auth-card .wm { font-family: var(--serif); font-size: 22px; text-decoration: none; color: var(--ink); }
body.auth .tag { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
body.auth .err { color: var(--danger); }
.sg-title { font-family: var(--serif); font-weight: 450; font-size: 24px; margin-bottom: 12px; }
.sg-title small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.inv-t { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.inv-t td { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.inv-t .num { text-align: right; font-variant-numeric: tabular-nums; }
.inv-t .tot td { font-weight: 800; }

/* checkout */
.co { display: grid; gap: 10px; margin-top: 8px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-el { min-height: 120px; }
.co-test { background: var(--warn-soft); color: #6b4a0b; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin: 0; }
.co-lock { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.co .field label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }

/* portal shell */
body.portal { background: var(--paper); }
.p-top { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; padding: 12px max(16px, env(safe-area-inset-left)); padding-top: max(12px, env(safe-area-inset-top)); background: rgba(247, 242, 234, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.p-top .sp { flex: 1; }
.p-toplink { background: none; border: 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 8px 10px; border-radius: 99px; cursor: pointer; }
.p-toplink:hover { background: var(--stone); }
.p-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 110px; }
.p-nav { position: sticky; top: 90px; align-self: start; display: grid; gap: 4px; }
.p-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 650; font-size: 15px; }
.p-nav a svg { width: 19px; height: 19px; }
.p-nav a:hover { background: var(--stone); }
.p-nav a.on { background: var(--ink); color: #fff; }
.p-main { min-width: 0; }
.p-main.in { animation: fadein .4s var(--ease); }
.p-tabs { display: none; }
@media (max-width: 900px) {
  .p-shell { grid-template-columns: 1fr; padding-top: 18px; }
  .p-nav { display: none; }
  .p-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255, 253, 249, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .p-tabs a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700; padding: 4px 0; }
  .p-tabs a svg { width: 22px; height: 22px; }
  .p-tabs a.on { color: var(--accent); }
  .p-top .p-toplink:first-of-type { display: none; }
}
.p-head { margin-bottom: 20px; }
.p-head h1 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 6px; }
.p-sub { font-family: var(--serif); font-weight: 450; font-size: 22px; margin: 28px 0 10px; }
.p-banner { background: var(--sage-soft); color: var(--sage-deep); border-radius: 16px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.p-banner.warn { background: var(--accent-soft); color: #6d3a22; }
.p-banner b { color: var(--ink); }
.p-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.p-grid .hero { grid-column: span 3; }
.p-grid .span2 { grid-column: span 3; }
@media (max-width: 1100px) { .p-grid { grid-template-columns: 1fr 1fr; } .p-grid .hero, .p-grid .span2 { grid-column: span 2; } }
@media (max-width: 600px) { .p-grid { grid-template-columns: 1fr; } .p-grid .hero, .p-grid .span2 { grid-column: span 1; } }
.p-card { background: var(--white); border: 1px solid var(--line-2); border-radius: 20px; padding: 20px 22px; margin-bottom: 14px; }
.p-grid .p-card { margin: 0; }
.p-card small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.p-card h3 { font-size: 19px; margin: 6px 0; }
.p-card h3.ok { color: var(--ok); } .p-card h3.warn { color: var(--accent); }
.p-card.hero { background: var(--sage-deep); color: #fff; border: 0; }
.p-card.hero small { color: rgba(255, 255, 255, .75); }
.p-card.hero h2 { font-family: var(--serif); font-weight: 420; font-size: 30px; margin: 6px 0; }
.p-card.hero p { color: #e2e9df; }
.p-card.hero .row { display: flex; gap: 8px; flex-wrap: wrap; }
.p-card.sk { background: linear-gradient(90deg, var(--stone), #f4ede2, var(--stone)); background-size: 200% 100%; animation: sk 1.2s linear infinite; border: 0; }
@keyframes sk { to { background-position: -200% 0; } }
.ann { border-top: 1px solid var(--line-2); padding: 12px 0; }
.ann:first-of-type { border-top: 0; }
.ann h3 { font-size: 16px; }
.ann p { margin: 4px 0; color: var(--ink-2); }
.p-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; }
.p-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.p-list li:first-child { border-top: 0; }
.p-list small { display: block; color: var(--muted); font-size: 13px; }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--stone); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill::before { display: none; }
.p-ev { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
.p-ev.mem { border-color: var(--blush); }
.p-ev .dt { text-align: center; line-height: 1; border-right: 1px solid var(--line-2); padding-right: 12px; }
.p-ev .dt small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.p-ev .dt b { font-family: var(--serif); font-weight: 380; font-size: 32px; display: block; margin: 2px 0; }
.p-ev .dt span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.p-ev .type { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--sage-deep); }
.p-ev h3 { font-size: 17px; margin: 2px 0; }
.p-ev .m { margin: 0; color: var(--muted); font-size: 13.5px; }
.p-ev .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.linkbtn.sm { font-size: 13px; }
@media (max-width: 700px) { .p-ev { grid-template-columns: 58px minmax(0, 1fr); } .p-ev .acts { grid-column: 1 / -1; justify-content: flex-start; } }
.lead-s { font-size: 16px; line-height: 1.55; }
.price-line { background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.dlg .field label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.dlg .field { margin-bottom: 12px; }
.p-walk { display: inline-grid; gap: 2px; text-align: left; border: 1.5px solid var(--line); background: var(--white); border-radius: 14px; padding: 10px 14px; margin: 0 8px 8px 0; cursor: pointer; font: inherit; }
.p-walk span { font-size: 12.5px; color: var(--muted); }
.p-walk.on { border-color: var(--ink); background: var(--ink); color: #fff; } .p-walk.on span { color: #cfd6cc; }
.p-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.p-gal button { all: unset; cursor: pointer; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--stone); }
.p-gal button:focus-visible { outline: 3px solid var(--accent); }
.p-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-gal button:hover img { transform: scale(1.04); }
.p-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.p-plan { background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 6px; }
.p-plan .price b { font-family: var(--serif); font-size: 38px; font-weight: 400; }
.p-perks { margin: 18px 0 0; padding-left: 20px; color: var(--ink-2); line-height: 1.9; }
.p-posts { display: grid; gap: 12px; margin-top: 14px; }
.p-post { display: grid; grid-template-columns: auto 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px; cursor: pointer; }
.p-post.pin { border-color: var(--blush); }
.p-post img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.p-post:not(:has(img)) { grid-template-columns: 1fr; }
.p-post h3 { font-size: 18px; margin: 4px 0; }
.p-post p { color: var(--ink-2); margin: 0 0 6px; }
.p-post small { color: var(--muted); font-size: 12.5px; }
.post-body { line-height: 1.7; margin-bottom: 10px; }
.cm { border-top: 1px solid var(--line-2); padding: 10px 0; }
.cm small { color: var(--muted); }
.cm p { margin: 4px 0; }
.kid-row input { font: inherit; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); }
