/* Westshore sign-up confirmation, visitor accounts and the admin page */
.b20-join, .b20-portal { --ink:#0f0e0c; --ivory:#f6f2ea; --gold:#c8982c; --gold-deep:#8a6412; --gold-bright:#ecb22f; --stone:#6f6a61; --line:#e4ddd0; }
.b20-join *, .b20-portal * { box-sizing: border-box; }

/* Shared form parts */
.b20-join .joined label, .b20-portal label { display: block; margin-top: 14px; font: 500 12px/26px "Jost","Futura","Helvetica Neue",Arial,sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.b20-join .joined label small, .b20-portal label small { margin-left: .35em; font: 300 .9em/1 "Jost","Futura","Helvetica Neue",Arial,sans-serif; letter-spacing: normal; text-transform: none; color: var(--ink); }
.b20-join .joined input, .b20-portal input[type=text], .b20-portal input[type=email], .b20-portal input[type=tel], .b20-portal input[type=password], .b20-portal input[type=search] { display: block; width: 100%; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; font: 300 16px/1.4 "Jost","Futura","Helvetica Neue",Arial,sans-serif; color: var(--ink); -webkit-appearance: none; appearance: none; }
.b20-join .joined input[readonly] { background: #f6f2ea; color: var(--stone); }
.b20-join .joined input:focus, .b20-portal input:focus { border-color: var(--gold); outline: none; }
.b20-join .joined button, .b20-portal button { cursor: pointer; font: 500 12px/1 "Jost","Futura","Helvetica Neue",Arial,sans-serif; letter-spacing: .2em; text-transform: uppercase; border-radius: 0; }
.b20-join .joined button[type=submit], .b20-portal button[type=submit], .b20-portal .sign-out:not(.link), .b20-portal .csv { min-height: 50px; padding: 0 32px; background: var(--gold-bright); border: 1px solid var(--gold-bright); color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.b20-join .joined button[type=submit]:hover, .b20-portal button[type=submit]:hover, .b20-portal .csv:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.b20-join button[disabled], .b20-portal button[disabled] { opacity: .6; cursor: default; }
.b20-join .link, .b20-portal .link { min-height: 0; padding: 4px 0; background: none; border: 0; border-bottom: 1px solid var(--gold); color: var(--gold-deep); }
.b20-join .link:hover, .b20-portal .link:hover { color: var(--ink); }
.b20-join .btn-google, .b20-portal .btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 20px; background: #fff; border: 1px solid var(--ink); color: var(--ink); }
.b20-join .btn-google::before, .b20-portal .btn-google::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.b20-join .btn-google:hover, .b20-portal .btn-google:hover { background: var(--ivory); }
.b20-join .or, .b20-portal .or { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; font: 500 11px/1 "Jost","Futura","Helvetica Neue",Arial,sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.b20-join .or::before, .b20-join .or::after, .b20-portal .or::before, .b20-portal .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.b20-join .optin-actions, .b20-portal .optin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.b20-join .form-status, .b20-portal .form-status { margin: 14px 0 0; max-width: 52ch; font-size: 15.5px; line-height: 1.6; color: #57524a; }
.b20-join .form-status:empty, .b20-portal .form-status:empty { display: none; }
.b20-join .form-status.is-ok, .b20-portal .form-status.is-ok { color: var(--ink); padding-left: 14px; border-left: 2px solid var(--gold); }
.b20-join .form-status.is-error, .b20-portal .form-status.is-error { color: #8a2c1c; }
.b20-join .confirm, .b20-portal .confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-left: 4px; font-size: 15px; color: var(--ink); }

/* After joining the Westshore list */
.b20-join .joined { padding-top: clamp(40px,5vw,64px); outline: none; }
.b20-join .joined p { margin: 0 0 10px; max-width: 52ch; color: #57524a; font-size: 17px; line-height: 1.7; }
.b20-join .joined a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.b20-join .joined-title { font: 500 24px/1.3 "Jost","Futura","Avenir Next","Helvetica Neue",Arial,sans-serif !important; color: var(--ink) !important; }
.b20-join .optin { margin-top: 28px; padding: 28px; background: #fff; border: 1px solid var(--line); }
.b20-join .optin-title { margin-bottom: 4px !important; font: 500 20px/1.3 "Jost","Futura","Avenir Next","Helvetica Neue",Arial,sans-serif !important; color: var(--ink) !important; }
.b20-join .optin-title span { font-size: 15px; font-weight: 300; color: var(--stone); }
.b20-join .optin-google { margin-top: 18px; }
.b20-join .joined .follow-note { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--gold); font-size: 15.5px; }

/* Account and admin pages */
.b20-portal { padding-bottom: clamp(64px, 8vw, 112px); font: 300 17px/1.7 "Jost","Futura","Avenir Next","Helvetica Neue",Arial,sans-serif; color: var(--ink); }
.b20-portal .wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.b20-portal h3 { margin: 0 0 8px; font: 500 clamp(24px,2.4vw,30px)/1.2 "Jost","Futura","Avenir Next","Helvetica Neue",Arial,sans-serif; }
.b20-portal p { margin: 0; }
.b20-portal .muted { color: var(--stone); }
.b20-portal .eyebrow { font: 500 12px/1 "Jost","Futura","Helvetica Neue",Arial,sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.b20-portal .auth-card { max-width: 480px; padding: clamp(24px,4vw,40px); background: #fff; border: 1px solid var(--line); }
.b20-portal .auth-card > p { color: #57524a; margin-bottom: 18px; }
.b20-portal .create { margin-top: 18px; color: #57524a; }
.b20-portal .acct-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); color: #57524a; }
.b20-portal .acct-head b { font-weight: 500; color: var(--ink); }
.b20-portal .acct-list { display: grid; gap: 24px; max-width: 640px; }
.b20-portal .acct-list a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.b20-portal .acct-card { padding: clamp(24px,4vw,36px); background: #fff; border: 1px solid var(--line); }
.b20-portal .acct-card .muted { margin-top: 8px; font-size: 15px; }
.b20-portal .row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.b20-portal .acct-danger { margin-top: 48px; }
@media (max-width: 520px) { .b20-portal .row { grid-template-columns: 1fr; gap: 0; } }

.b20-portal .admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 20px; }
.b20-portal .admin-bar .count { color: #57524a; }
.b20-portal .admin-bar .count b { font-weight: 500; color: var(--ink); }
.b20-portal .admin-bar .search { flex: 1 1 260px; max-width: 420px; }
.b20-portal .table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.b20-portal .admin-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.b20-portal .admin-table th { padding: 14px 16px; text-align: left; font: 500 11.5px/1.2 "Jost","Futura","Helvetica Neue",Arial,sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); background: #f6f2ea; border-bottom: 1px solid var(--line); white-space: nowrap; }
.b20-portal .admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); font-variant-numeric: tabular-nums; }
.b20-portal .admin-table tr:last-child td { border-bottom: 0; }
.b20-portal .admin-table a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.b20-portal .admin-table td:first-child { white-space: nowrap; color: var(--stone); }

.b20-portal .admin-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 36px; padding: clamp(20px,3vw,28px); background: var(--ink); color: var(--ivory); }
.b20-portal .admin-tools p { max-width: 60ch; color: #b9b2a5; font-size: 16px; }
.b20-portal .admin-tools .eyebrow { margin-bottom: 8px; color: var(--gold-bright); }
.b20-portal .tool-links { display: flex; flex-wrap: wrap; gap: 12px; }
.b20-portal .tool-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid rgba(246,242,234,.45); font: 500 12px/1 "Jost","Futura","Helvetica Neue",Arial,sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); text-decoration: none; }
.b20-portal .tool-btn.gold { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.b20-portal .tool-btn:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
