/* anything the club scripts hide stays hidden, whatever display a component rule sets */
[class^="tco-"][hidden], [class*=" tco-"][hidden] { display: none !important; }
/* Trails Club blocks: calendar, events, payments, member area. Uses the theme's color presets. */
.tco-pay *, .tco-pay *::before, .tco-pay *::after, .tco-gate *, .tco-cal * { box-sizing: border-box; }
.tco-muted { color: var(--wp--preset--color--stone, #5f6b63); }
.tco-lead { font-size: 1.2rem; }

/* ---------- calendar ---------- */
.tco-cal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 1.5rem; }
.tco-seg { display: inline-flex; border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; overflow: hidden; background: var(--wp--preset--color--paper); }
.tco-seg button { font: 600 .92rem var(--wp--preset--font-family--body); border: 0; background: transparent; color: var(--wp--preset--color--ink); padding: 8px 16px; cursor: pointer; }
.tco-seg button[aria-pressed="true"] { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
.tco-mnav { display: inline-flex; align-items: center; gap: 10px; }
.tco-mnav[hidden] { display: none; }
.tco-mnav b { font: 600 1.25rem var(--wp--preset--font-family--display); min-width: 9.5em; text-align: center; }
.tco-mnav button { font-size: 1.2rem; width: 38px; height: 38px; border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); cursor: pointer; }
.tco-mnav button:disabled { opacity: .35; cursor: default; }
.tco-add-trip { margin-left: auto; font-weight: 600; }
.tco-filters, .tco-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0 .4rem; align-items: center; }
.tco-chip { font: 600 .9rem var(--wp--preset--font-family--body); border: 1px solid var(--wp--preset--color--rule); background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.tco-chip[aria-pressed="true"] { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--fir); }
.tco-count { color: var(--wp--preset--color--stone); margin: .2rem 0 0; }
.tco-month { margin-top: 2rem; }
.tco-month h2 { font-size: 1.5rem; border-bottom: 2px solid var(--wp--preset--color--fir); padding-bottom: 6px; margin: 0 0 4px; }
.tco-ev { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--wp--preset--color--rule); text-decoration: none; color: var(--wp--preset--color--ink); }
.tco-ev:hover h3 { text-decoration: underline; }
.tco-ev > div { min-width: 0; }
.tco-ev h3 { font-size: 1.2rem; margin: 0 0 2px; }
.tco-date { text-align: center; border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; background: var(--wp--preset--color--paper); padding: 6px 0; }
.tco-date b { display: block; font: 600 1.6rem/1 var(--wp--preset--font-family--display); font-variant-numeric: tabular-nums; }
.tco-date span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.tco-meta, .tco-led, .tco-go { color: var(--wp--preset--color--stone); font-size: .92rem; }
.tco-led { font-size: .88rem; }
.tco-tag { display: inline-block; font: 600 .74rem var(--wp--preset--font-family--body); padding: 2px 9px; border-radius: 999px; background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); margin: 0 4px 4px 0; white-space: nowrap; vertical-align: middle; }
.tco-tag.is-lodge { background: var(--wp--preset--color--cedar); color: var(--wp--preset--color--sign-text); }
.tco-tag.is-cancel { background: #b3261e; color: #fff; }
@media (max-width: 560px) { .tco-ev { grid-template-columns: 60px 1fr; } .tco-go { display: none; } }
.tco-mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--wp--preset--color--rule); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; overflow: hidden; margin-top: 1rem; }
.tco-mhead { background: var(--wp--preset--color--paper); font: 600 .74rem var(--wp--preset--font-family--body); letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--stone); padding: 8px; }
.tco-mcell { background: var(--wp--preset--color--paper); min-height: 104px; padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tco-mcell.is-out { background: var(--wp--preset--color--snow); }
.tco-mcell.is-out .tco-mday { opacity: .5; }
.tco-mcell.is-today .tco-mday { background: var(--wp--preset--color--amber); color: #2a1c03; border-radius: 999px; padding: 0 7px; }
.tco-mday { font-weight: 600; font-size: .9rem; align-self: flex-start; font-variant-numeric: tabular-nums; }
.tco-mev { display: block; font-size: .78rem; line-height: 1.25; padding: 3px 6px; border-radius: 4px; background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tco-mev.is-lodge { background: var(--wp--preset--color--cedar); color: var(--wp--preset--color--sign-text); }
.tco-mev.is-cancel { text-decoration: line-through; opacity: .7; }
.tco-upcoming { padding-left: 1.1em; }

/* ---------- event page ---------- */
.tco-back { margin: 0 0 1rem; }
.tco-event-head h1 { margin: .3em 0 .3em; }
.tco-event-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 1rem; }
@media (max-width: 860px) { .tco-event-grid { grid-template-columns: 1fr; } }
.tco-event-body { font-size: 1.05rem; max-width: 66ch; }
.tco-howto { border: 2px solid var(--wp--preset--color--fir); border-radius: 10px; padding: 1.3rem 1.5rem; margin-top: 1.8rem; background: var(--wp--preset--color--paper); }
.tco-howto h3 { margin: 0; }
.tco-howto ol { margin: .6rem 0 0; padding-left: 1.3em; display: grid; gap: .5rem; }
.tco-facts { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 1.2rem 1.4rem; position: sticky; top: 90px; }
.tco-facts dl { margin: 0; display: grid; gap: .9rem; }
.tco-facts dt, .tco-secrets dt, .tco-card dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.tco-facts dd, .tco-secrets dd, .tco-card dd { margin: 2px 0 0; font-weight: 600; }
.tco-btn-fir { background: var(--wp--preset--color--fir) !important; color: var(--wp--preset--color--paper) !important; }

/* ---------- payments ---------- */
.tco-demo-note { background: var(--wp--preset--color--fir-soft); border-left: 4px solid var(--wp--preset--color--amber); padding: .7rem 1rem; border-radius: 0 8px 8px 0; font-size: .95rem; }
.tco-pay-title { margin-top: 0; }
.tco-pay-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 4vw, 44px); align-items: start; margin-top: 1.5rem; }
@media (max-width: 900px) { .tco-pay-layout { grid-template-columns: 1fr; } }
.tco-pcard { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 1.2rem 1.4rem; margin-bottom: 1.1rem; }
.tco-pcard h3 { margin: 0 0 .3rem; }
.tco-pcard > p { margin: 0 0 .7rem; }
.tco-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .tco-grid2 { grid-template-columns: 1fr; } }
.tco-f { display: block; margin: .6rem 0; font-weight: 600; font-size: .95rem; border: 0; padding: 0; min-width: 0; }
.tco-f small { display: block; font-weight: 400; }
.tco-f legend { padding: 0; margin-bottom: 6px; }
.tco-f input:not([type=radio]):not([type=checkbox]), .tco-f select, .tco-f textarea { display: block; width: 100%; margin-top: 5px; font: 400 1rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); background: var(--wp--preset--color--snow); border: 1px solid var(--wp--preset--color--rule); border-radius: 6px; padding: 10px 12px; }
.tco-f.tco-check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.tco-opts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 400; margin: 6px 0; }
.tco-opts.tco-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr)); gap: 8px 14px; }
.tco-opts.tco-cols-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.tco-opts label { font-size: 1rem; font-weight: 400; line-height: 1.3; }
.tco-help-sub { margin: 1rem 0 2px; font-weight: 600; font-size: .95rem; }
.tco-opts.tco-stack { flex-direction: column; }
.tco-opts label { display: flex; gap: 8px; align-items: center; }
.tco-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0 14px; align-items: end; border-bottom: 1px dashed var(--wp--preset--color--rule); padding-bottom: 6px; margin-bottom: 6px; }
@media (max-width: 560px) { .tco-row { grid-template-columns: 1fr; } }
.tco-linkish { background: none; border: 0; color: var(--wp--preset--color--stone); text-decoration: underline; cursor: pointer; font: inherit; padding: 10px 0; }
.tco-btn-ghost { font: 600 .9rem var(--wp--preset--font-family--body); border: 2px solid var(--wp--preset--color--fir); color: var(--wp--preset--color--fir); background: transparent; border-radius: 6px; padding: 7px 14px; margin-top: 8px; cursor: pointer; }
.tco-money { display: flex; align-items: center; gap: 6px; max-width: 14rem; }
.tco-money input { margin-top: 0 !important; }
.tco-other-amt { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.tco-other-amt input { width: 7rem; font: inherit; padding: 6px 10px; border: 1px solid var(--wp--preset--color--rule); border-radius: 999px; background: var(--wp--preset--color--paper); }
.tco-note { font-size: .9rem; margin-top: .6rem; }
.tco-summary { position: sticky; top: 90px; background: var(--wp--preset--color--paper); border: 2px solid var(--wp--preset--color--fir); border-radius: 10px; padding: 1.2rem 1.4rem; }
.tco-summary h3 { margin: 0; }
.tco-sum { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: .5rem; font-size: .95rem; }
.tco-sum li { display: flex; justify-content: space-between; gap: 12px; }
.tco-sum li.is-don span { color: var(--wp--preset--color--fir); }
.tco-total { display: flex; justify-content: space-between; font: 600 1.4rem var(--wp--preset--font-family--display); border-top: 1px solid var(--wp--preset--color--rule); padding-top: .8rem; margin: 0 0 .9rem; }
.tco-summary .wp-block-button__link { width: 100%; text-align: center; border: 0; cursor: pointer; }
/* Pay and donate buttons in the club green (the site-wide amber read as brown here). */
.tco-pay-wrap .tco-pay-btn, .tco-pay-wrap .tco-pay-now { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
.tco-pay-wrap .tco-pay-btn:hover:not(:disabled), .tco-pay-wrap .tco-pay-now:hover, .tco-pay-wrap .tco-pay-btn:focus-visible, .tco-pay-wrap .tco-pay-now:focus-visible { background: #18382a; color: var(--wp--preset--color--paper); }
.tco-summary .wp-block-button__link:disabled { opacity: .5; cursor: not-allowed; }
.tco-secure { font-size: .82rem; color: var(--wp--preset--color--stone); margin: .6rem 0 0; text-align: center; }
.tco-error { color: #b3261e; font-weight: 600; margin: .6rem 0 0; }
.tco-auto { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 .9rem; padding: 12px; border-radius: 8px; background: var(--wp--preset--color--fir-soft); cursor: pointer; }
.tco-auto input { margin-top: 4px; }
.tco-auto b { display: block; }
.tco-auto small { display: block; color: var(--wp--preset--color--stone); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.tco-mail-addr { font-weight: 600; background: var(--wp--preset--color--snow); border-radius: 8px; padding: 10px 14px; display: inline-block; }
.tco-pay-step { max-width: 560px; }
.tco-pay-step .wp-block-button__link { border: 0; cursor: pointer; }
.tco-stripe-mock { border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; padding: 14px; background: var(--wp--preset--color--snow); display: grid; gap: 10px; margin: 12px 0; }
.tco-stripe-mock > div { border: 1px solid var(--wp--preset--color--rule); border-radius: 6px; padding: 10px 12px; color: var(--wp--preset--color--stone); background: var(--wp--preset--color--paper); }
.tco-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0 !important; padding: 0 !important; background: transparent !important; }
.tco-wallets span { text-align: center; padding: 10px; border-radius: 6px; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--snow); font-weight: 600; }
.tco-receipt { max-width: 640px; }
.tco-effect { background: var(--wp--preset--color--fir-soft); border-radius: 8px; padding: .8rem 1rem; font-weight: 600; }
.tco-taxbox { border-left: 4px solid var(--wp--preset--color--fir); background: var(--wp--preset--color--fir-soft); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 14px 0; font-size: .95rem; }

/* ---------- member area ---------- */
.tco-gate { max-width: 520px; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 1.6rem 1.8rem; margin: 1rem 0 2rem; }
.tco-gate h2 { margin-top: 0; font-size: 1.6rem; }
.tco-gate form p { margin: .6rem 0; }
.tco-gate label { display: block; font-weight: 600; font-size: .95rem; }
.tco-gate input[type=text], .tco-gate input[type=password] { width: 100%; min-height: 46px; margin-top: 5px; font: 400 1rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); padding: 10px 12px; border: 1px solid var(--wp--preset--color--rule); border-radius: 6px; background: var(--wp--preset--color--snow); }
.tco-gate .login-remember label { font-weight: 400; }
.tco-gate input[type=submit] { width: 100%; min-height: 48px; background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); border: 0; border-radius: 6px; padding: .7rem 1.4rem; font: 600 1rem var(--wp--preset--font-family--body); cursor: pointer; }
.tco-status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--wp--preset--color--fir-soft); border-radius: 10px; padding: 14px 18px; margin: 1.2rem 0 1.6rem; }
.tco-status.is-due, .tco-status.is-lapsed { background: #fbf0dc; }
.tco-status-actions { display: flex; gap: 14px; align-items: center; }
.tco-pill { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: 2px 10px; border-radius: 999px; background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
.tco-status.is-due .tco-pill, .tco-status.is-lapsed .tco-pill { background: var(--wp--preset--color--amber); color: #2a1c03; }
.tco-secrets { border: 2px dashed var(--wp--preset--color--fir); border-radius: 10px; padding: 1.2rem 1.4rem; margin-top: 1.4rem; background: var(--wp--preset--color--paper); }
.tco-secrets h3 { margin: 0 0 .6rem; }
.tco-secrets dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 0; }
.tco-code { font-family: ui-monospace, Menlo, monospace; font-size: 1.2rem; letter-spacing: .08em; }
/* member directory */
.tco-dir-bar { position: sticky; top: 74px; z-index: 5; background: var(--wp--preset--color--snow); padding: 10px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.admin-bar .tco-dir-bar { top: calc(74px + var(--wp-admin--admin-bar--height, 32px)); }
.tco-dir-field { flex: 1 1 320px; max-width: 560px; position: relative; display: flex; align-items: center; }
.tco-dir-field svg { position: absolute; left: 14px; color: var(--wp--preset--color--stone); pointer-events: none; }
.tco-dir-field input { width: 100%; min-height: 50px; padding: 10px 14px 10px 44px; font: 400 1.1rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; }
.tco-dir-field input:focus { outline: 0; border-color: var(--wp--preset--color--fir); box-shadow: 0 0 0 3px var(--wp--preset--color--fir-soft); }
.tco-dir-count { margin: 0; color: var(--wp--preset--color--stone); font-variant-numeric: tabular-nums; }
.tco-dir-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; margin-top: 6px; }
.tco-dir-card { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.tco-dir-card[hidden] { display: none; }
.tco-dir-who h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.tco-dir-who p { margin: 2px 0 0; color: var(--wp--preset--color--stone); font-size: .95rem; }
.tco-dir-contact { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .95rem; }
.tco-dir-contact a { color: var(--wp--preset--color--fir); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.tco-dir-contact a:hover { text-decoration: underline; }
.tco-dir-phone { font-variant-numeric: tabular-nums; }
.tco-dir-text { padding: 2px 10px; border-radius: 999px; background: var(--wp--preset--color--fir-soft); font-size: .85rem; }
.tco-dir-email { flex-basis: 100%; font-weight: 400 !important; }
.tco-dir-none { padding: 1rem 0; color: var(--wp--preset--color--stone); }
.tco-dir-note { margin-top: 1.4rem; font-size: .9rem; }
.tco-table-wrap { overflow-x: auto; border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; background: var(--wp--preset--color--paper); }
.tco-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tco-table th { text-align: left; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--stone); background: var(--wp--preset--color--fir-soft); padding: 10px 12px; }
.tco-table td { padding: 10px 12px; border-top: 1px solid var(--wp--preset--color--rule); }
.tco-card { max-width: 420px; border-radius: 16px; padding: 1.4rem 1.6rem; background: linear-gradient(135deg, #234a35, #2f5f45); color: #f5ead2; box-shadow: 0 10px 30px rgba(20, 30, 25, .25); margin: 1rem 0; }
.tco-card-top { display: flex; gap: 12px; align-items: center; }
.tco-card-top b { display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; }
.tco-card-top span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.tco-card-name { font: 600 1.8rem var(--wp--preset--font-family--display); margin: 1.2rem 0 .8rem; }
.tco-card dl { display: grid; grid-template-columns: repeat(3, auto); gap: 10px; margin: 0; }
.tco-card dt { color: rgba(245, 234, 210, .75); font-size: .66rem; }
.tco-card dd { color: #fff; font-size: .95rem; }
@media print { .tco-card { box-shadow: none; } }

/* member area width + signed-in header */
.tco-status, .tco-secrets { max-width: var(--wp--style--global--wide-size) !important; margin-left: auto !important; margin-right: auto !important; }
.logged-in .tco-join-btn { display: none; }
.tco-submit-trip { max-width: 820px; }

/* ---------- news ---------- */
.tco-news { display: grid; }
.tco-news-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--wp--preset--color--rule); align-items: start; }
.tco-news-row:first-child { padding-top: 0; }
.tco-news-row.has-thumb { grid-template-columns: 64px minmax(0, 1fr) 160px; }
.tco-news-row .tco-date { padding: 6px 0 7px; }
.tco-news-row .tco-date span { display: block; font-size: .68rem; }
.tco-news-body h3 { margin: .2rem 0 .3rem; font-size: 1.3rem; line-height: 1.2; }
.tco-news-body h3 a { color: var(--wp--preset--color--ink); text-decoration: none; }
.tco-news-body h3 a:hover { text-decoration: underline; }
.tco-news-body p { margin: 0; color: var(--wp--preset--color--stone); font-size: 1rem; line-height: 1.5; }
.tco-news-body .tco-tag { text-decoration: none; }
.tco-news-thumb img { width: 160px; height: 110px; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 640px) { .tco-news-row.has-thumb { grid-template-columns: 56px minmax(0, 1fr); } .tco-news-thumb { display: none; } }
.tco-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; font-weight: 600; }
.tco-blazer { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 1.3rem 1.4rem; position: sticky; top: 90px; }
.tco-blazer h2 { margin: 0 0 .2rem; font-size: 1.6rem; }
.tco-blazer ul { list-style: none; padding: 0; margin: .8rem 0; display: grid; }
.tco-blazer li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--wp--preset--color--rule); text-decoration: none; color: var(--wp--preset--color--ink); font-weight: 600; }
.tco-blazer li a:hover { color: var(--wp--preset--color--fir); }
.tco-gate input[type=text]:focus, .tco-gate input[type=password]:focus { outline: 0; border-color: var(--wp--preset--color--fir); box-shadow: 0 0 0 3px var(--wp--preset--color--fir-soft); background: var(--wp--preset--color--paper); }
.tco-gate .login-remember label { display: inline-flex; align-items: center; gap: 8px; }
.tco-gate input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--wp--preset--color--fir); }
.tco-gate input[type=submit]:hover { background: #1b3a29; }
.tco-gate { margin: var(--wp--preset--spacing--60, 3rem) auto; }
.tco-gate form p { margin: 0 0 1rem; }
.tco-gate label { margin-bottom: 0; }
.tco-gate label + br { display: none; }
.entry-content > .tco-gate, .wp-block-post-content > .tco-gate { margin-top: 3rem !important; margin-bottom: 4rem !important; }
.tco-date.is-page { background: var(--wp--preset--color--fir-soft); border-color: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); padding: 14px 0; }
/* ---------- header search ---------- */
.tco-ss-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 8px; background: transparent; color: var(--wp--preset--color--ink); cursor: pointer; }
.tco-ss-toggle:hover, .tco-ss-toggle[aria-expanded=true] { background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); }
.tco-ss-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--wp--preset--color--paper); border-bottom: 1px solid var(--wp--preset--color--rule); box-shadow: 0 12px 24px rgba(27, 36, 31, .08); padding: 18px 16px 14px; }
.tco-ss-inner { max-width: 760px; margin: 0 auto; }
.tco-ss-form { display: flex; gap: 10px; align-items: center; }
.tco-ss-field { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.tco-ss-field svg { position: absolute; left: 14px; color: var(--wp--preset--color--stone); pointer-events: none; }
.tco-ss-field input { width: 100%; min-height: 50px; padding: 10px 14px 10px 46px; font: 400 1.1rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); background: var(--wp--preset--color--snow); border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; -webkit-appearance: none; appearance: none; }
.tco-ss-field input:focus { outline: 0; border-color: var(--wp--preset--color--fir); box-shadow: 0 0 0 3px var(--wp--preset--color--fir-soft); background: var(--wp--preset--color--paper); }
.tco-ss-field input::-webkit-search-cancel-button { display: none; }
.tco-ss-go { min-height: 50px; padding: 0 1.3rem; border: 0; border-radius: 8px; background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); font: 600 1rem var(--wp--preset--font-family--body); cursor: pointer; }
.tco-ss-go:hover { background: #1b3a29; }
.tco-ss-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--wp--preset--color--stone); cursor: pointer; }
.tco-ss-close:hover { background: var(--wp--preset--color--snow); color: var(--wp--preset--color--ink); }
.tco-ss-quick { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 12px 0 0; font-size: .9rem; }
.tco-ss-quick span { color: var(--wp--preset--color--stone); margin-right: 2px; }
.tco-ss-quick a { padding: 3px 11px; border-radius: 999px; background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); font-weight: 600; text-decoration: none; }
.tco-ss-quick a:hover { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
@media (max-width: 560px) { .tco-ss-go { display: none; } .tco-ss-panel { padding: 12px 16px; } }
/* live suggestions */
.tco-ss-results { margin-top: 10px; border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; overflow: hidden; max-height: min(60vh, 460px); overflow-y: auto; }
.tco-ss-hit { display: block; padding: 10px 14px; border-bottom: 1px solid var(--wp--preset--color--rule); text-decoration: none; color: var(--wp--preset--color--ink); }
.tco-ss-hit:hover, .tco-ss-hit:focus { background: var(--wp--preset--color--fir-soft); outline: 0; }
.tco-ss-hit strong { display: block; font: 600 1.05rem/1.25 var(--wp--preset--font-family--display); }
.tco-ss-where, .tco-best-where { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--amber-ink, #6b4708); margin-bottom: 2px; }
.tco-ss-snip, .tco-best-snip { display: block; color: var(--wp--preset--color--stone); font-size: .92rem; line-height: 1.45; margin-top: 2px; }
.tco-ss-snip mark, .tco-best-snip mark { background: #f6e7c4; color: inherit; border-radius: 2px; padding: 0 1px; }
.tco-ss-all { display: block; padding: 10px 14px; font-weight: 600; color: var(--wp--preset--color--fir); text-decoration: none; background: var(--wp--preset--color--snow); }
.tco-ss-all:hover, .tco-ss-all:focus { text-decoration: underline; outline: 0; }
.tco-ss-none { margin: 0; padding: 12px 14px; color: var(--wp--preset--color--stone); }
/* results page */
.tco-best { margin: 0 0 2.4rem; }
.tco-best h2, .tco-best-more { font-size: 1.35rem; margin: 0 0 .8rem; }
.tco-best-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.tco-best-item { display: block; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--wp--preset--color--ink); }
.tco-best-item:hover { border-color: var(--wp--preset--color--fir); box-shadow: 0 0 0 3px var(--wp--preset--color--fir-soft); }
.tco-best-item strong { display: block; font: 600 1.15rem/1.25 var(--wp--preset--font-family--display); }
/* landing on a section from search: a brief highlight */
h2:target, h3:target, details:target { animation: tco-target 2.4s ease-out; border-radius: 6px; }
@keyframes tco-target { 0%, 30% { background: #f6e7c4; box-shadow: 0 0 0 8px #f6e7c4; } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
/* add to the calendar */
.tco-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.tco-kind { position: relative; cursor: pointer; }
.tco-kind input { position: absolute; opacity: 0; inset: 0; }
.tco-kind span { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; background: var(--wp--preset--color--snow); }
.tco-kind b { display: block; font: 600 1.05rem/1.25 var(--wp--preset--font-family--display); }
.tco-kind small { display: block; margin-top: 3px; color: var(--wp--preset--color--stone); font-size: .88rem; line-height: 1.35; }
.tco-kind:hover span { border-color: var(--wp--preset--color--fir); }
.tco-kind input:checked + span { border-color: var(--wp--preset--color--fir); background: var(--wp--preset--color--fir-soft); box-shadow: inset 0 0 0 1px var(--wp--preset--color--fir); }
.tco-kind input:focus-visible + span { outline: 3px solid var(--wp--preset--color--fir-soft); outline-offset: 2px; }
.tco-trip-form[data-kind=""] .tco-after-kind { display: none; }
.tco-check { display: flex; gap: 8px; align-items: center; margin: .6rem 0; font-weight: 400; }
.tco-check input { width: 18px; height: 18px; accent-color: var(--wp--preset--color--fir); }
.tco-k[hidden] { display: none; }
.tco-directions { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--wp--preset--color--fir); }
.tco-date.is-multi { background: var(--wp--preset--color--fir-soft); border-color: #c9d9cd; }
/* every date box in the list is the same size; a span just fits its text inside */
.tco-ev .tco-date { min-height: 72px; display: flex; flex-direction: column; justify-content: center; }
.tco-date.is-multi b { font-size: 1.4rem; letter-spacing: -.02em; margin: 3px 0 2px; }
.tco-date.is-multi span { display: block; font-size: .66rem; letter-spacing: .06em; }
.tco-date.is-multi b, .tco-date.is-multi span { white-space: nowrap; }
@media (max-width: 560px) { .tco-date.is-multi b { font-size: 1.2rem; } .tco-date.is-multi span { font-size: .6rem; letter-spacing: .03em; } }
/* ---------- announcements ---------- */
.tco-notices { display: grid; }
.tco-notice { border-bottom: 1px solid var(--wp--preset--color--rule); }
.tco-notice[hidden] { display: none; }
.tco-notice-in { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; gap: 12px; align-items: flex-start; }
.tco-notice-in > svg { flex: none; margin-top: 2px; }
.tco-notice p { margin: 0; flex: 1; min-width: 0; font-size: 1rem; line-height: 1.45; }
.tco-notice p span { opacity: .9; }
.tco-notice p a { font-weight: 700; color: inherit; white-space: nowrap; }
.tco-notice em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; border: 1px solid currentColor; margin-left: 4px; vertical-align: 1px; opacity: .8; }
.tco-notice-x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -5px -6px 0 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; opacity: .7; }
.tco-notice-x:hover { opacity: 1; background: rgba(0, 0, 0, .06); }
.tco-notice.is-notice { background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); }
.tco-notice.is-important { background: #fbefd5; color: #5a3b06; border-bottom-color: #ecd49c; }
.tco-notice.is-important > .tco-notice-in > svg { color: var(--wp--preset--color--amber); }
.tco-notice.is-urgent { background: #a3221b; color: #fff; border-bottom-color: #861a14; }
.tco-notice.is-urgent .tco-notice-x:hover { background: rgba(255, 255, 255, .12); }
.wp-site-blocks > .tco-notices { margin-block-start: 0 !important; }
/* meeting place type-ahead + event map */
.tco-place { position: relative; }
.tco-place-list { position: absolute; z-index: 20; left: 0; right: 0; margin: -4px 0 0; padding: 0; list-style: none; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; box-shadow: 0 10px 24px rgba(27, 36, 31, .1); overflow: hidden; }
.tco-place-list li { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid var(--wp--preset--color--rule); }
.tco-place-list li b { display: block; font-weight: 600; }
.tco-place-list li span { display: block; font-size: .88rem; color: var(--wp--preset--color--stone); }
.tco-place-list li.is-active, .tco-place-list li[data-i]:hover { background: var(--wp--preset--color--fir-soft); }
.tco-place-list .tco-place-credit { cursor: default; font-size: .72rem; color: var(--wp--preset--color--stone); text-align: right; border-bottom: 0; padding: 5px 12px; background: var(--wp--preset--color--snow); }
.tco-place-picks { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: -2px 0 .6rem; font-size: .88rem; }
.tco-place-picks span { color: var(--wp--preset--color--stone); }
.tco-place-pick { padding: 3px 11px; border-radius: 999px; border: 1px solid var(--wp--preset--color--rule); background: var(--wp--preset--color--paper); color: var(--wp--preset--color--fir); font: 600 .85rem var(--wp--preset--font-family--body); cursor: pointer; }
.tco-place-pick:hover { background: var(--wp--preset--color--fir-soft); border-color: var(--wp--preset--color--fir); }
.tco-map { margin: 4px 0 14px; border-radius: 8px; overflow: hidden; border: 1px solid var(--wp--preset--color--rule); aspect-ratio: 4 / 3; max-width: 100%; }
.tco-map iframe { width: 100%; height: 100%; border: 0; display: block; }
/* members-only gate: email sign-in first */
.tco-gate-magic label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 5px; }
.tco-gate-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tco-gate-row input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 10px 12px; font: 400 1rem var(--wp--preset--font-family--body); border: 1px solid var(--wp--preset--color--rule); border-radius: 6px; background: var(--wp--preset--color--snow); }
.tco-gate-row input[type=email]:focus { outline: 0; border-color: var(--wp--preset--color--fir); box-shadow: 0 0 0 3px var(--wp--preset--color--fir-soft); background: var(--wp--preset--color--paper); }
.tco-gate-row input[type=submit] { min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: 6px; background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); font: 600 1rem var(--wp--preset--font-family--body); cursor: pointer; }
.tco-gate-magic .tco-muted { font-size: .9rem; margin: .5rem 0 0; }
.tco-gate-pw { margin-top: 1.2rem; border-top: 1px solid var(--wp--preset--color--rule); padding-top: .9rem; }
.tco-gate-pw summary { cursor: pointer; font-weight: 600; color: var(--wp--preset--color--fir); }
/* payment forms: signed-in note and today-vs-yearly summary */
.tco-signed-in { background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); border-radius: 8px; padding: 10px 14px; margin: 0 0 1rem; }
.tco-once { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--wp--preset--color--stone); border: 1px solid var(--wp--preset--color--rule); border-radius: 999px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.tco-next { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; margin: 6px 0 12px; padding: 8px 10px; border-radius: 8px; background: var(--wp--preset--color--snow); font-size: .95rem; }
.tco-next[hidden] { display: none; }
.tco-next b { font-variant-numeric: tabular-nums; }
.tco-next small { grid-column: 1 / -1; color: var(--wp--preset--color--stone); font-size: .82rem; }
.tco-auto b { font-size: 1rem !important; line-height: 1.3; font-family: var(--wp--preset--font-family--body); }

/* ---------- receipts (after paying, printable link, and the email's look) ---------- */
.tco-receipt { max-width: 680px; margin-inline: auto; }
.tco-rcpt-main { padding: 2.5rem var(--wp--style--root--padding-right, 20px) 4rem; }
.tco-rcpt-wrap { max-width: 680px; margin: 0 auto; }
.tco-rcpt-flag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--amber-ink); margin: 0 0 .6rem; }
.tco-rcpt-notice { background: #fbf3df; border: 1px solid #e6c98a; border-left: 4px solid var(--wp--preset--color--amber); border-radius: 0 10px 10px 0; padding: .9rem 1.1rem; margin: 0 0 1.2rem; }
.tco-rcpt-notice p { margin: 0; line-height: 1.5; }
.tco-rcpt { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(27, 36, 31, .07); }
.tco-rcpt-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--wp--preset--color--fir); color: var(--wp--preset--color--snow); padding: 1rem 1.3rem; }
.tco-rcpt-brand { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.tco-rcpt-brand img { width: 40px; height: 40px; border-radius: 8px; background: #fff; padding: 2px; flex: none; }
.tco-rcpt-brand b { display: block; font: 600 1.1rem var(--wp--preset--font-family--display); }
.tco-rcpt-brand span { display: block; font-size: .85rem; opacity: .85; }
.tco-rcpt-stamp { flex: none; border: 2px solid currentColor; border-radius: 6px; padding: .2rem .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; transform: rotate(-4deg); }
.tco-rcpt-stamp.is-paid { color: #cfe8d6; }
.tco-rcpt-stamp.is-clearing, .tco-rcpt-stamp.is-demo { color: #f3d28a; }
.tco-rcpt-stamp.is-refunded { color: #f2b8a8; }
.tco-rcpt-conf { margin: 1.2rem 1.3rem 0; background: var(--wp--preset--color--fir-soft); border-radius: 10px; padding: .8rem; text-align: center; }
.tco-rcpt-conf span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.tco-rcpt-conf b { display: block; font-size: 1.6rem; letter-spacing: .05em; color: var(--wp--preset--color--fir); font-variant-numeric: tabular-nums; }
.tco-rcpt-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .5rem 1.4rem; margin: 1.1rem 1.3rem 0; }
.tco-rcpt-meta dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.tco-rcpt-meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tco-rcpt-lines { list-style: none; margin: 1.2rem 1.3rem 0; padding: 0; }
.tco-rcpt-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--wp--preset--color--rule); }
.tco-rcpt-lines b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tco-rcpt-total { display: flex; justify-content: space-between; margin: .9rem 1.3rem 0; padding-top: .7rem; border-top: 2px solid var(--wp--preset--color--fir); font: 600 1.35rem var(--wp--preset--font-family--display); }
.tco-rcpt-gift { margin: 1.2rem 1.3rem 0; background: #fbf3df; border: 1px solid #e6c98a; border-radius: 12px; padding: 1rem 1.1rem; }
.tco-rcpt-gift-k { margin: 0 0 .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--amber-ink); }
.tco-rcpt-gift-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.tco-rcpt-gift-row span { display: block; font-size: .8rem; color: #5a4205; }
.tco-rcpt-gift-row b { font: 600 1.15rem var(--wp--preset--font-family--display); }
.tco-rcpt-gift-amt { font-size: 1.6rem !important; color: var(--wp--preset--color--fir); white-space: nowrap; }
.tco-rcpt-honor, .tco-rcpt-purpose { margin: .7rem 0 0; line-height: 1.5; }
.tco-rcpt-legal { margin: .8rem 0 0; font-size: .84rem; line-height: 1.5; color: #5a4205; }
.tco-rcpt-effect { margin: 1.1rem 1.3rem 0; background: var(--wp--preset--color--fir-soft); border-radius: 8px; padding: .7rem .9rem; line-height: 1.5; }
.tco-rcpt-foot { margin: 1.3rem 0 0; padding: .9rem 1.3rem; background: var(--wp--preset--color--snow); border-top: 1px solid var(--wp--preset--color--rule); font-size: .85rem; color: var(--wp--preset--color--stone); }
.tco-rcpt-foot span { overflow-wrap: anywhere; }
.tco-rcpt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.3rem 0 0; }
.tco-rcpt-actions .wp-block-button__link { border: 0; cursor: pointer; background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
@media (max-width: 560px) { .tco-rcpt-head { padding: .9rem 1rem; } .tco-rcpt-conf b { font-size: 1.3rem; } .tco-rcpt-gift-row { flex-direction: column; align-items: flex-start; } }
@media print {
  header.wp-block-template-part, footer.wp-block-template-part, .tco-header, .tco-notices, .tco-rcpt-actions, .tco-back, #wpadminbar, .tco-pay-title, .tco-signed-in, .tco-demo-note { display: none !important; }
  .tco-rcpt { box-shadow: none; }
  .tco-rcpt-head, .tco-rcpt-conf, .tco-rcpt-gift, .tco-rcpt-effect { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Automatic renewal page (/pay/auto-renew/) */
.tco-ar { max-width: 640px; }
.tco-ar h1 { margin: .2rem 0 1rem; }
.tco-eyebrow { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.tco-ar-flash { margin: 0 0 1rem; padding: 12px 14px; border-radius: 8px; background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); font-weight: 600; }
.tco-ar-status { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 1rem; font-size: 1.05rem; }
.tco-ar-facts { display: grid; gap: 10px; margin: 0 0 1rem; }
.tco-ar-facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; }
.tco-ar-facts dt { color: var(--wp--preset--color--stone); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.tco-ar-facts dd { margin: 0; min-width: 0; }
@media (max-width: 520px) { .tco-ar-facts div { grid-template-columns: 1fr; gap: 0; } }
.tco-ar-alert { margin: 0 0 1rem; padding: 12px 14px; border-radius: 8px; background: #fbf3df; border: 1px solid #e6c98a; color: #5a4205; }
.tco-ar-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 1.2rem; }
.tco-ar-actions form { margin: 0; }
.tco-ar-foot { margin-top: 1rem; }
.tco-ar .tco-ar-actions .wp-element-button { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
.tco-ar .tco-ar-actions .wp-element-button:hover { background: #18382a; }

/* Application: Recognition of Risks, read in place */
.tco-risks { max-height: 260px; overflow-y: auto; padding: 4px 14px; margin: 0 0 12px; border: 1px solid var(--wp--preset--color--rule); border-radius: 8px; background: var(--wp--preset--color--snow); font-size: .92rem; line-height: 1.5; }
.tco-risks h4 { margin: 1rem 0 .3rem; font-size: .95rem; }
.tco-guardian[hidden] { display: none; }
.tco-dob[hidden] { display: none; }

/* Payment popup: Stripe's form over the page, a sheet from the bottom on phones */
.tco-pay-modal { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 14px; background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); box-shadow: 0 20px 60px rgba(20, 35, 28, .35); overflow: auto; }
.tco-pay-modal::backdrop { background: rgba(20, 30, 25, .55); }
.tco-pay-modal .tco-pay-step { padding: 20px 22px 18px; }
.tco-pay-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.tco-pay-modal-head h3 { margin: 0; font-size: 1.35rem; }
.tco-pay-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--wp--preset--color--stone); cursor: pointer; }
.tco-pay-close:hover { background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); }
.tco-modal-sum { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: var(--wp--preset--color--snow); font-size: .92rem; }
.tco-modal-sum li { padding: 3px 0; }
.tco-modal-note { font-size: .88rem; margin: 0 0 6px; }
.tco-modal-note:empty { display: none; }
.tco-pay-modal .tco-stripe-box { margin: 10px 0 14px; min-height: 120px; }
.tco-pay-modal .tco-pay-now { width: 100%; }
@media (max-width: 560px) {
  .tco-pay-modal { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .tco-pay-modal[open] { animation: tco-sheet .22s ease-out; }
  .tco-pay-modal .tco-pay-step { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes tco-sheet { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }

/* Optional password, under the member status */
.tco-status .tco-pw { margin: .5rem 0 0; padding: 0; border: 0; background: none; font-size: .95rem; }
.tco-status .tco-pw[open] { padding-top: .2rem; }
.tco-status > div:first-child { min-width: 0; flex: 1; }
.tco-pw summary { cursor: pointer; color: var(--wp--preset--color--fir); font-weight: 600; }
.tco-pw-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0 12px; align-items: end; max-width: 640px; }
@media (max-width: 560px) { .tco-pw-form { grid-template-columns: 1fr; gap: 6px; } }
.tco-pw-flash { margin: .5rem 0; padding: 8px 12px; border-radius: 8px; background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); font-weight: 600; }

/* Welcome page for new members (/members/welcome/) */
.tco-welcome { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.tco-welcome h1 { margin: .2rem 0 0; }
.tco-welcome .tco-lead { margin: 0 0 .4rem; }
.tco-w-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.tco-w-step h2, .tco-w-tour h2 { margin: 2px 0 .6rem; font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.tco-w-step h3 { margin: 1.2rem 0 .3rem; font-size: 1.05rem; }
.tco-w-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); font-weight: 700; font-family: var(--wp--preset--font-family--body); font-size: 1rem; flex: none; }
.tco-w-form { display: grid; gap: 6px; justify-items: start; }
.tco-w-form .tco-check { align-items: flex-start; margin: 0; }
.tco-w-form .tco-check input { margin-top: 3px; flex: none; }
.tco-w-flash { margin: 0 0 .6rem; padding: 8px 12px; border-radius: 8px; background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); font-weight: 600; }
.tco-pw.is-inline { margin: 0; }
.tco-w-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tco-w-tile { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; background: var(--wp--preset--color--paper); color: inherit; text-decoration: none; }
.tco-w-tile:hover { border-color: var(--wp--preset--color--fir); box-shadow: 0 2px 10px rgba(35, 74, 53, .1); }
.tco-w-tile b { color: var(--wp--preset--color--fir); }
.tco-w-tile span { color: var(--wp--preset--color--stone); font-size: .92rem; line-height: 1.45; }
.tco-w-go { margin: .4rem 0 0; }
.tco-w-go .wp-element-button { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
.tco-w-again { margin: .4rem 0 0; font-size: .92rem; }
@media (max-width: 560px) { .tco-w-step { grid-template-columns: 1fr; } .tco-w-step > .tco-w-num { display: none; } }

/* Account settings, folded under the member status */
.tco-status .tco-account { margin: .5rem 0 0; }
.tco-account summary { cursor: pointer; color: var(--wp--preset--color--fir); font-weight: 600; font-size: .95rem; }
.tco-account-body { display: grid; gap: 4px; margin-top: .6rem; padding: 14px 16px; border-radius: 10px; background: var(--wp--preset--color--paper); max-width: 680px; }
.tco-account-body h3 { margin: .8rem 0 .3rem; font-size: 1rem; }
.tco-account-body section:first-of-type h3 { margin-top: 0; }
.tco-account-body .tco-pw-form { grid-template-columns: 1fr 1fr auto; }
.tco-account-body { font-size: .92rem; line-height: 1.45; }
.tco-account-body .tco-check { font-size: .92rem; }
.tco-account-body .tco-ar-facts dd { font-size: .95rem; }
.tco-account-body .tco-muted { font-size: .88rem; }
.tco-status:has(.tco-account[open]) { align-items: flex-start; }

/* Not renewing */
.tco-leave-form { display: grid; gap: 14px; }
.tco-leave-form fieldset { border: 0; padding: 0; margin: 0; }
.tco-leave-form legend { font-weight: 600; margin-bottom: 6px; }
.tco-leave-form .tco-check { align-items: flex-start; margin: 4px 0; }
.tco-leave-form .tco-check input { margin-top: 3px; flex: none; }
.tco-leave-form textarea { width: 100%; }
.tco-leave .tco-ar-actions .wp-element-button { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
.tco-leave-form > .tco-check { font-size: 1rem; }
