/* Tidings signup forms and subscriber pages. */
.tidings-form { --t-accent: #1e9bd7; font-family: inherit; max-width: 560px; margin: 1.5em 0; color: inherit; box-sizing: border-box; }
.tidings-form *, .t-page * { box-sizing: border-box; }
.tidings-form.t-layout-card { background: #ffffff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 26px; box-shadow: 0 8px 30px rgba(0,0,0,.05); color: #0a0c0f; }
.tidings-form.t-layout-minimal { max-width: 460px; }
.tidings-form .t-title { margin: 0 0 6px; font-size: 1.35em; line-height: 1.2; font-weight: 700; }
.tidings-form .t-desc { margin: 0 0 16px; opacity: .75; font-size: .95em; line-height: 1.5; }
.tidings-form form { display: grid; gap: 10px; margin: 0; position: relative; }
.tidings-form .t-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tidings-form .t-row > * { flex: 1 1 160px; }
.tidings-form .t-email-row .t-btn { flex: 0 0 auto; }
.tidings-form .t-input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid rgba(0,0,0,.18); border-radius: 10px; background: #fff; color: #0a0c0f; font: inherit; font-size: 15px; margin: 0; }
.tidings-form .t-input:focus { outline: none; border-color: var(--t-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-accent) 20%, transparent); }
.tidings-form .t-btn, .t-page .t-btn { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--t-accent); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.tidings-form .t-btn:hover, .t-page .t-btn:hover { filter: brightness(.92); }
.tidings-form .t-btn[disabled] { opacity: .6; cursor: wait; }
.tidings-form.t-layout-inline form { grid-template-columns: 1fr; }
.tidings-form.t-layout-inline .t-title { font-size: 1.1em; }
.tidings-form .t-check, .t-page .t-check { display: flex; gap: 8px; align-items: flex-start; font-size: .9em; cursor: pointer; line-height: 1.4; }
.tidings-form .t-check input { margin-top: 3px; }
.tidings-form .t-msg { padding: 10px 12px; border-radius: 10px; font-size: .92em; background: #eaf3f9; }
.tidings-form .t-msg[hidden] { display: none; }
.tidings-form .t-ok { background: #dcefe3; color: #154f33; }
.tidings-form .t-err { background: #f7dddb; color: #7b1d1d; }
.tidings-form.t-done form > :not(.t-msg) { display: none; }
.tidings-archive { list-style: none; padding: 0; }
.tidings-archive li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }

.tidings-popup { position: fixed; inset: 0; background: rgba(20,18,16,.5); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; animation: t-fade .25s both; }
.tidings-popup[hidden] { display: none; }
.tidings-popup-box { position: relative; width: 100%; max-width: 480px; }
.tidings-popup .tidings-form { margin: 0; max-width: none; background: #ffffff; border-radius: 18px; padding: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.3); color: #0a0c0f; }
.tidings-popup-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); font-size: 20px; line-height: 1; cursor: pointer; color: #333; }
@keyframes t-fade { from { opacity: 0; } to { opacity: 1; } }

/* standalone subscriber pages */
.t-page { margin: 0; min-height: 100vh; background: #f2f8fc; color: #0a0c0f; font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --t-accent: #1e9bd7; }
.t-wrap { max-width: 560px; margin: 0 auto; padding: 48px 20px; }
.t-brand { font: 700 20px Georgia, serif; margin-bottom: 18px; text-align: center; }
.t-card { background: #ffffff; border: 1px solid #d6e4ee; border-radius: 18px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,.05); }
.t-card h1 { font: 600 26px/1.2 Georgia, serif; margin: 0 0 14px; }
.t-card form { display: grid; gap: 12px; margin: 16px 0 0; }
.t-card-inner { background: #f2f8fc; padding: 16px; border-radius: 12px; }
.t-page .t-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #bfd2e0; border-radius: 10px; font: inherit; }
.t-page .t-row { display: flex; gap: 8px; } .t-page .t-row > * { flex: 1; }
.t-page .t-radio { display: block; margin: 4px 0; }
.t-page .t-link { background: none; border: 0; color: #66727f; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 0; justify-self: start; }
.t-page .t-muted { color: #66727f; font-size: 14px; }
.t-page .t-notice { background: #dcefe3; color: #154f33; padding: 10px 14px; border-radius: 10px; margin-bottom: 10px; }
.t-page .t-btn { justify-self: start; }
.t-page .t-arch { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #d6e4ee; color: inherit; text-decoration: none; }
.t-page .t-arch:hover span { color: var(--t-accent); }
.t-page .t-arch small { color: #66727f; white-space: nowrap; }
.t-page .tidings-form { margin: 0 auto; }
