@font-face {
    font-family: "Fraunces";
    src: url("/fonts/fraunces-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("/fonts/fraunces-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/fonts/manrope-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --paper: #f3eee7;
    --paper-strong: #fcfaf6;
    --ink-strong: #24312a;
    --muted-ink: #6d766d;
    --accent-strong: #2f6a41;
    --accent-soft: #8fb39a;
    --support-clay: #b1846c;
    --focus-ring: 0 0 0 0.2rem rgba(47, 106, 65, 0.16);
    --control-border: rgba(61, 67, 58, 0.14);
    --control-bg: rgba(255, 255, 255, 0.94);
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: #f3eee7;
    color: var(--ink-strong);
    line-height: 1.5;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html {
    scrollbar-gutter: stable;
}

body {
    min-width: 320px;
    overflow-x: clip;
}

img,
picture,
svg,
canvas {
    display: block;
    max-width: 100%;
}

table {
    border-collapse: collapse;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button,
select,
summary {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

input,
select,
textarea {
    min-width: 0;
}

input[type="number"] {
    font-variant-numeric: tabular-nums;
    appearance: textfield;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    accent-color: var(--accent-strong);
}

textarea {
    resize: vertical;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid rgba(47, 106, 65, 0.72);
    outline-offset: 2px;
}

a, .btn-link {
    color: var(--accent-strong);
}

a:hover,
a:focus-visible {
    color: #214f31;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(96, 35, 35, 0.28);
    background: #fff1f1;
    color: #6e2020;
    box-shadow: 0 -8px 24px rgba(36, 39, 32, 0.08);
}

#blazor-error-ui .reload,
#blazor-error-ui .dismiss {
    color: #6e2020;
    font-weight: 700;
    text-decoration: none;
}

#blazor-error-ui .reload {
    margin-left: 1rem;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}

#components-reconnect-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(24, 42, 31, 0.42);
    backdrop-filter: blur(4px);
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: flex;
}

.reconnect-card {
    width: min(100%, 30rem);
    border: 1px solid rgba(61, 67, 58, 0.12);
    border-radius: 1.35rem;
    padding: 1.35rem;
    background: rgba(255, 252, 247, 0.96);
    box-shadow: 0 24px 70px rgba(24, 42, 31, 0.24);
    color: var(--ink);
}

.reconnect-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: #6a7668;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reconnect-card h2 {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.05;
}

.reconnect-copy {
    margin: 0 0 1rem;
    color: #526052;
}

.reconnect-copy-failed,
.reconnect-copy-rejected {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-copy-show,
#components-reconnect-modal.components-reconnect-rejected .reconnect-copy-show {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-copy-failed,
#components-reconnect-modal.components-reconnect-rejected .reconnect-copy-rejected {
    display: block;
}

.reconnect-action {
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    background: linear-gradient(135deg, #315d3a, #4f8558);
    color: #fffaf2 !important;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(40, 98, 58, 0.22);
}

.reconnect-action:hover,
.reconnect-action:focus-visible {
    color: #fffaf2 !important;
}

.auth-shell {
    min-height: calc(100vh - 6.4rem);
    padding: 2rem 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(102, 159, 114, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(245, 240, 231, 0.94), rgba(243, 238, 231, 0.98));
}

.auth-card {
    width: min(100%, 36rem);
    margin: 0 auto;
    border: 1px solid rgba(61, 67, 58, 0.08);
    border-radius: 1.6rem;
    background: rgba(255, 252, 247, 0.84);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(36, 39, 32, 0.07);
}

.auth-card:has(.inner-page-notification-tray),
.entry-shell:has(.inner-page-notification-tray) {
    background: rgba(255, 252, 247, 0.96);
    backdrop-filter: none;
}

.auth-card-single {
    max-width: 40rem;
}

.auth-panel {
    padding: 1.5rem;
}

.auth-panel-single {
    max-width: 40rem;
}

.auth-kicker {
    margin: 0 0 0.55rem;
    color: #6a7668;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-title,
.auth-form-header h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    color: var(--ink-strong);
}

.auth-title {
    font-size: clamp(1.8rem, 0.9vw + 1.4rem, 2.4rem);
}

.auth-copy {
    margin: 0.85rem 0 0;
    max-width: 38rem;
    color: #5f665a;
    line-height: 1.7;
}

.auth-note-block {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(61, 67, 58, 0.08);
    border-radius: 1.1rem;
    background: rgba(60, 66, 58, 0.04);
    color: var(--muted-ink);
    line-height: 1.65;
}

.auth-note-block p {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.auth-note-block p:last-child {
    margin-bottom: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
}

.auth-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-label {
    color: var(--muted-ink);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(61, 67, 58, 0.12);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink-strong);
    padding: 0.9rem 0.95rem;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.auth-input::placeholder {
    color: #8d948b;
}

.auth-input:focus {
    outline: none;
    border-color: rgba(47, 106, 65, 0.4);
    background: #fffdfa;
    box-shadow: 0 0 0 0.22rem rgba(47, 106, 65, 0.12);
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: -0.1rem;
    color: var(--ink-strong);
    font-weight: 600;
}

.auth-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--accent-strong);
}

.auth-primary-button,
.auth-inline-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #295e38, #4e8a5c);
    color: #f8f5ef;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(41, 94, 56, 0.16);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        filter 160ms ease;
}

.auth-primary-button {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-top: 0.35rem;
}

.auth-inline-action {
    padding: 0.78rem 1.05rem;
}

.auth-primary-button:hover,
.auth-primary-button:focus-visible,
.auth-inline-action:hover,
.auth-inline-action:focus-visible {
    transform: translateY(-1px);
    color: #f8f5ef;
    text-decoration: none;
    filter: brightness(1.03);
}

.auth-link-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.1rem;
    color: var(--muted-ink);
    font-size: 0.96rem;
}

.auth-link {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover,
.auth-link:focus-visible {
    color: #214f31;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.auth-validation-summary,
.auth-validation-message {
    color: #9a2d2d;
}

.auth-validation-summary {
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(154, 45, 45, 0.18);
    border-radius: 1rem;
    background: rgba(154, 45, 45, 0.06);
    font-weight: 600;
}

.auth-validation-summary ul {
    margin: 0;
    padding-left: 1.1rem;
}

.auth-validation-message {
    font-size: 0.86rem;
    font-weight: 600;
}

.entry-page {
    min-height: calc(100vh - 6.4rem);
    padding: 2rem 1.5rem;
}

.entry-shell {
    width: min(100%, 42rem);
    margin: 0 auto;
    padding: 1.55rem;
    border: 1px solid rgba(61, 67, 58, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 252, 247, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(36, 39, 32, 0.06);
}

.entry-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(61, 67, 58, 0.08);
}

.entry-header-copy {
    min-width: 0;
}

.entry-kicker {
    margin: 0 0 0.45rem;
    color: #5f665a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.entry-header h1 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 2rem;
    color: var(--ink-strong);
}

.entry-copy {
    margin: 0.5rem 0 0;
    color: #5f665a;
    line-height: 1.55;
}

.entry-top-link,
.entry-link {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.entry-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 2.85rem;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(61, 67, 58, 0.08);
    border-radius: 999px;
    background: rgba(60, 66, 58, 0.04);
}

.entry-top-link:hover,
.entry-top-link:focus-visible,
.entry-link:hover,
.entry-link:focus-visible {
    color: #214f31;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.entry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.entry-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.entry-label {
    color: #5f665a;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.entry-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(61, 67, 58, 0.12);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-strong);
    padding: 0.82rem 0.88rem;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.entry-input::placeholder {
    color: #8d948b;
}

.entry-input:focus {
    outline: none;
    border-color: rgba(47, 106, 65, 0.38);
    background: #fffdfa;
    box-shadow: 0 0 0 0.18rem rgba(47, 106, 65, 0.1);
}

.password-peek-field {
    position: relative;
    width: 100%;
}

.password-peek-input {
    padding-right: 3.25rem !important;
}

.password-peek-toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    display: inline-grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #4f6259;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-peek-toggle:hover,
.password-peek-toggle:focus-visible {
    background: rgba(47, 106, 65, 0.1);
    color: #245f34;
    outline: none;
}

.password-peek-toggle[aria-pressed="true"] {
    color: #245f34;
}

.password-peek-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.password-peek-icon-hide,
.password-peek-toggle[aria-pressed="true"] .password-peek-icon-show {
    display: none;
}

.password-peek-toggle[aria-pressed="true"] .password-peek-icon-hide {
    display: block;
}

.entry-summary {
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(154, 45, 45, 0.18);
    border-radius: 1rem;
    background: rgba(154, 45, 45, 0.06);
    color: #9a2d2d;
    font-weight: 600;
}

.entry-summary ul {
    margin: 0;
    padding-left: 1.1rem;
}

.entry-message {
    color: #9a2d2d;
    font-size: 0.85rem;
    font-weight: 600;
}

.entry-check-row {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(61, 67, 58, 0.08);
    border-radius: 1rem;
    background: rgba(60, 66, 58, 0.04);
    color: var(--ink-strong);
    font-weight: 600;
}

.entry-check {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--accent-strong);
}

.entry-captcha-card {
    padding: 0.25rem 0 0;
}

.entry-captcha-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.7rem;
}

.entry-captcha-label {
    flex: 0 0 5.7rem;
    margin: 0;
}

.entry-captcha-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.entry-captcha-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12.5rem;
    min-width: 12.5rem;
    min-height: 4rem;
    padding: 0.3rem;
    border: 1px solid rgba(61, 67, 58, 0.1);
    border-radius: 0.8rem;
    background: rgba(60, 66, 58, 0.04);
}

.entry-captcha-art-loading {
    color: var(--muted-ink);
    font-size: 0.9rem;
}

.entry-captcha-image {
    width: min(100%, 12rem);
    height: auto;
}

.entry-captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.82rem;
    border: 1px solid rgba(61, 67, 58, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent-strong);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.entry-captcha-refresh:hover,
.entry-captcha-refresh:focus-visible {
    border-color: rgba(47, 106, 65, 0.22);
    color: var(--accent-strong);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(36, 39, 32, 0.08);
}

.entry-captcha-input {
    flex: 0 0 9.5rem;
    width: 9.5rem;
    text-transform: uppercase;
}

.entry-captcha-help {
    margin: 0.45rem 0 0;
    padding-left: 6.4rem;
    color: #5f665a;
    font-size: 0.88rem;
    line-height: 1.45;
}

.entry-captcha-message {
    display: block;
    margin-top: 0.35rem;
    padding-left: 6.4rem;
}

.entry-actions {
    display: flex;
    padding-top: 0.1rem;
}

.entry-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 0.82rem 1rem;
    background: var(--accent-strong);
    color: #f8f5ef;
    font-weight: 700;
    transition:
        transform 160ms ease,
        filter 160ms ease;
}

.entry-submit:hover,
.entry-submit:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.entry-link-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    color: #5f665a;
    font-size: 0.96rem;
}

.entry-inline-link-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.45rem;
}

.policy-shell {
    width: min(100% - 2rem, 72rem);
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.policy-hero,
.policy-card,
.policy-alert {
    border: 1px solid rgba(61, 67, 58, 0.08);
    border-radius: 1.35rem;
    background: rgba(255, 252, 247, 0.84);
    box-shadow: 0 18px 50px rgba(36, 39, 32, 0.06);
}

.policy-hero {
    padding: clamp(1.4rem, 3vw, 2.4rem);
}

.policy-kicker {
    margin: 0 0 0.45rem;
    color: #5f665a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.policy-hero h1 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    color: var(--ink-strong);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.98;
}

.policy-hero p,
.policy-card p,
.policy-alert {
    color: #4f6259;
    line-height: 1.65;
}

.policy-hero p {
    max-width: 52rem;
    margin: 1rem 0 0;
    font-size: 1.05rem;
}

.policy-effective {
    font-weight: 800;
}

.policy-card,
.policy-alert {
    margin-top: 1rem;
    padding: clamp(1.2rem, 2.5vw, 2rem);
}

.policy-card h2 {
    margin: 0 0 0.6rem;
    font-family: "Fraunces", Georgia, serif;
    color: var(--ink-strong);
}

.policy-card a {
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.policy-card a:hover,
.policy-card a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.policy-alert {
    background: rgba(217, 164, 65, 0.14);
    border-color: rgba(217, 164, 65, 0.28);
    color: var(--ink-strong);
}

@media (max-width: 767px) {
    .entry-page {
        padding: 1rem;
    }

    .entry-shell {
        width: 100%;
        padding: 1.2rem 1rem;
    }

    .entry-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-captcha-row {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .entry-captcha-label,
    .entry-captcha-input {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
    }

    .entry-captcha-block {
        align-items: stretch;
        flex-direction: column;
    }

    .entry-captcha-art {
        width: 12.5rem;
        min-width: 12.5rem;
    }

    .entry-captcha-help,
    .entry-captcha-message {
        padding-left: 0;
    }

    .entry-captcha-refresh {
        width: 100%;
    }

    .auth-shell {
        padding: 1rem;
    }

    .auth-card {
        background: rgba(255, 252, 247, 0.96);
        backdrop-filter: none;
    }

    .entry-shell {
        background: rgba(255, 252, 247, 0.96);
        backdrop-filter: none;
    }

    .auth-panel {
        padding: 1.25rem 1.1rem;
    }
}
