html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #fbf7ec;
    color: #0e1117;
}

a, .btn-link {
    color: #8b5a1f;
}

.btn-primary {
    color: #ecc077;
    background-color: #0e1117;
    border-color: #c68b2e;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #f4d08a;
    background-color: #2a3142;
    border-color: #e0a653;
}

.btn-primary:active,
.btn-primary:active:focus {
    color: #d4a560;
    background-color: #050709;
    border-color: #b57729;
    transform: scale(0.96);
}

.btn-primary:disabled,
.btn-primary.disabled {
    color: #a89e8c;
    background-color: #e8dfd0;
    border-color: rgba(139, 90, 31, 0.18);
}

.btn-outline-primary,
.btn-outline-secondary {
    color: #0e1117;
    background-color: transparent;
    border-color: rgba(139, 90, 31, 0.45);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: #0e1117;
    background-color: rgba(198, 139, 46, 0.08);
    border-color: rgba(139, 90, 31, 0.55);
}

.btn-outline-primary:active,
.btn-outline-secondary:active {
    color: #0e1117;
    background-color: rgba(198, 139, 46, 0.14);
    border-color: rgba(139, 90, 31, 0.65);
}

.btn-outline-primary:disabled,
.btn-outline-secondary:disabled {
    color: #a89e8c;
    background-color: #e8dfd0;
    border-color: rgba(139, 90, 31, 0.18);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(198, 139, 46, 0.18);
}

.btn {
    border-radius: 8px;
    font-weight: 500;
}

.processing-button,
.processing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.processing-spinner {
    flex: 0 0 auto;
}

.form-control {
    color: #2f3034;
    background-color: #fff;
    border-color: #d8b98e;
    border-radius: 8px;
}

.form-control::placeholder {
    color: #a89e8c;
    opacity: 1;
}

.form-control:focus {
    color: #2f3034;
    background-color: #fff;
    border-color: #d08a27;
}

.form-control:read-only {
    background-color: #fff;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-text-fill-color: #2f3034;
    caret-color: #2f3034;
    box-shadow: 0 0 0 1000px #fff inset, 0 0 0 0.2rem rgba(198, 139, 46, 0.18);
    border-color: #d08a27;
    transition: background-color 9999s ease-out;
}

.form-text {
    color: #716553;
}

.form-check-input {
    background-color: #fff;
    border-color: rgba(139, 90, 31, 0.45);
}

.form-check-input:checked {
    background-color: #0e1117;
    border-color: #c68b2e;
}

.form-check-input:focus {
    border-color: #d08a27;
}

.content {
    background: #fbf7ec;
}

.content {
    padding-top: 1.1rem;
}

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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOT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4=) 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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.site-hero {
    position: relative;
    background-image: url("/images/herobackground.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 180;
    max-height: 180;
}

.site-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* tweak */
}

.site-hero > * {
    position: relative;
}

.doc {
    max-width: 72rem;
}

.doc h1,
.doc h2,
.doc h3 {
    margin-top: 1.5rem;
}

.content-doc,
.declaration-doc {
    max-width: 70rem;
    color: #020817;
}

.content-doc > h1:first-child,
.content-doc > h2:first-child,
.declaration-doc > h2:first-child {
    margin: 0 0 0.55rem;
    color: #020817;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 2.55rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
}

.content-doc > h1:first-child + p,
.content-doc > h2:first-child + p,
.declaration-doc > h2:first-child + p {
    margin: 0 0 2rem;
    color: #6b5d4a;
    font-size: 1.08rem;
    line-height: 1.45;
}

.content-doc > h2:not(:first-child),
.content-doc > hr + h3,
.privacy-doc > h3,
.declaration-doc > h2:not(:first-child) {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 2.35rem 0 0.9rem;
    color: #8b5a1f;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.content-doc > h2:not(:first-child)::after,
.content-doc > hr + h3::after,
.privacy-doc > h3::after,
.declaration-doc > h2:not(:first-child)::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: rgba(139, 90, 31, 0.22);
}

.content-doc > hr {
    display: none;
}

.content-doc > h1:first-child ~ h2,
.content-doc > h2:first-child ~ h3,
.declaration-doc h3 {
    margin: 1.75rem 0 0.7rem;
    color: #020817;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.content-doc > hr + h3 {
    margin: 2.35rem 0 0.9rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    line-height: 1;
}

.privacy-doc > h3 {
    margin: 2.35rem 0 0.9rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    line-height: 1;
}

.content-doc h4 {
    margin: 1.45rem 0 0.55rem;
    color: #020817;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.content-doc p,
.content-doc li,
.declaration-doc p,
.declaration-doc li {
    color: #6b5d4a;
    font-size: 1.05rem;
    line-height: 1.6;
}

.content-doc p,
.declaration-doc p {
    margin-bottom: 1rem;
}

.content-doc strong,
.declaration-doc strong {
    color: #020817;
    font-weight: 700;
}

.content-doc ul,
.content-doc ol,
.declaration-doc ul,
.declaration-doc ol {
    margin: 0 0 1.2rem;
    padding-left: 1.45rem;
}

.content-doc li + li,
.declaration-doc li + li {
    margin-top: 0.45rem;
}

.content-doc ol > li::marker,
.declaration-doc ol > li::marker {
    color: #8b5a1f;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.content-doc ul > li::marker {
    color: #8b5a1f;
}

.content-doc blockquote,
.declaration-doc blockquote {
    position: relative;
    margin: 1.5rem 0 2rem;
    padding: 1.45rem 1.75rem 1.45rem 3.15rem;
    border-left: 3px solid #d69b3a;
    border-radius: 0 8px 8px 0;
    background: #f4ead7;
}

.content-doc blockquote::before,
.declaration-doc blockquote::before {
    content: "\"";
    position: absolute;
    top: -0.35rem;
    left: 1.25rem;
    color: rgba(139, 90, 31, 0.2);
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 4rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
}

.content-doc blockquote p,
.declaration-doc blockquote p {
    margin: 0;
    color: #020817;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.55;
}

@media (max-width: 640.98px) {
    .content-doc > h1:first-child,
    .content-doc > h2:first-child,
    .declaration-doc > h2:first-child {
        font-size: 2rem;
    }

    .content-doc > h1:first-child ~ h2,
    .content-doc > h2:first-child ~ h3,
    .declaration-doc h3 {
        font-size: 1.25rem;
    }
}

.registry-shell {
    max-width: 62rem;
}

.registry-title {
    margin: 0 0 1.25rem;
    color: #020817;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 2.55rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
}

.registry-card {
    border: 1px solid #e3d3bb;
    border-left: 3px solid #d69b3a;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: none;
    padding: 1rem 1.45rem;
}

.registry-total-line {
    color: #020817;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.registry-total-line strong,
.registry-total-line .registry-count {
    color: #8b5a1f;
}

.registry-card-copy {
    color: #6b5d4a;
    line-height: 1.45;
}

.explained-shell {
    max-width: 70rem;
}

.explained-shell h1 {
    margin: 0 0 1.25rem;
    color: #020817;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 2.55rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
}

.explained-deck {
    margin: 0 0 1.8rem;
    color: #6b5d4a;
    font-size: 1.08rem;
    line-height: 1.45;
}

.explained-quote {
    position: relative;
    margin: 0 0 2.4rem;
    padding: 1.45rem 1.75rem 1.45rem 3.15rem;
    border-left: 3px solid #d69b3a;
    border-radius: 0 8px 8px 0;
    background: #f4ead7;
    color: #020817;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.55;
}

.explained-quote::before {
    content: "\"";
    position: absolute;
    top: -0.35rem;
    left: 1.25rem;
    color: rgba(139, 90, 31, 0.2);
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 4rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
}

.section-eyebrow-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.75rem;
}

.section-eyebrow-line span {
    flex: 0 0 auto;
    color: #8b5a1f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.section-eyebrow-line::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: rgba(139, 90, 31, 0.22);
}

.explained-lede {
    max-width: none;
    margin: 0 0 1.2rem;
    color: #6b5d4a;
    font-size: 1.05rem;
    line-height: 1.5;
}

.explained-lede strong {
    color: #020817;
}

.explained-video-card {
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 2.1rem;
}

.explained-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #0e1117;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(139, 90, 31, 0.08);
}

.explained-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.explained-note {
    color: #6b5d4a;
}

.explained-takeaways {
    margin-bottom: 2.4rem;
}

.explained-takeaway {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(139, 90, 31, 0.16);
}

.explained-takeaway-index {
    color: #8b5a1f;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.15;
}

.explained-takeaway h2 {
    margin: 0 0 0.15rem;
    color: #020817;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.explained-takeaway p {
    margin: 0;
    color: #6b5d4a;
    font-size: 1rem;
    line-height: 1.45;
}

.explained-cta {
    border-top: 1px solid rgba(139, 90, 31, 0.16);
    padding-top: 1.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.explained-cta p {
    margin: 0 0 1.15rem;
    color: #6b5d4a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 640.98px) {
    .explained-shell h1 {
        font-size: 1.85rem;
    }

    .explained-quote {
        padding: 1.35rem 1.2rem 1.35rem 2rem;
        font-size: 1.15rem;
    }

    .explained-quote::before {
        left: 0.65rem;
        font-size: 3.1rem;
    }

    .explained-takeaway {
        grid-template-columns: 2rem minmax(0, 1fr);
    }
}

.registry-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.registry-entry-card {
    position: relative;
    border: 1px solid #e3d3bb;
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: none;
    padding: 1.35rem 1.45rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.registry-entry-card:hover {
    border-color: #d7bd94;
    box-shadow: 0 1px 3px rgba(139, 90, 31, 0.08);
}

.registry-entry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.registry-entry-head h2 {
    margin: 0 0 0.35rem;
    color: #020817;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

.registry-glyph-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    border: 1px solid #d8c5a8;
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.registry-glyph-organization {
    color: #8b5a1f;
    background: rgba(198, 139, 46, 0.08);
    border-color: rgba(139, 90, 31, 0.28);
}

.registry-glyph-academic {
    color: #020817;
    background: rgba(14, 17, 23, 0.05);
    border-color: rgba(14, 17, 23, 0.18);
}

.registry-glyph-individual {
    color: #7a4315;
    background: rgba(198, 139, 46, 0.14);
    border-color: rgba(139, 90, 31, 0.34);
}

.registry-glyph-symbol {
    font-size: 0.72rem;
    line-height: 1;
}

.registry-entry-meta,
.registry-entry-version,
.registry-entry-note-muted {
    color: #6b5d4a;
}

.registry-entry-note {
    margin: 0;
    line-height: 1.6;
}

.registry-search {
    margin-bottom: 1rem;
    margin-top: 1.75rem;
}

    .registry-search .form-label {
        margin-left: 0.15rem;
        font-weight: 700;
        color: #020817;
    }

.registry-entry-org {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.registry-entry-org summary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    color: #8b5a1f;
    font-size: 0.95rem;
    font-weight: 600;
    list-style: none;
}

.registry-entry-org summary::-webkit-details-marker {
    display: none;
}

.registry-entry-org summary::before {
    content: "›";
    display: inline-block;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 150ms ease;
}

.registry-entry-org[open] summary::before {
    transform: rotate(90deg);
}

.registry-entry-org summary + * {
    margin-top: 1.1rem;
}

.registry-detail-body {
    border-left: 2px solid #d69b3a;
    border-radius: 0 6px 6px 0;
    background: rgba(198, 139, 46, 0.08);
    padding: 0.9rem 1.05rem;
}

.registry-detail-body p {
    display: flex;
    gap: 1.4rem;
    margin: 0;
    color: #020817;
}

.registry-detail-body p + p {
    margin-top: 0.55rem;
}

.registry-detail-body strong {
    min-width: 90px;
    color: #020817;
    font-weight: 700;
}

.registry-pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.65rem;
    flex-wrap: wrap;
}

.registry-pagination .btn {
    min-width: 7rem;
}

.registry-pagination .btn:disabled {
    color: #d8cdbb;
    background: rgba(255, 253, 248, 0.45);
    border-color: rgba(139, 90, 31, 0.12);
    cursor: not-allowed;
    opacity: 1;
}

.registry-page-indicator {
    color: #6b5d4a;
}

.registry-page-indicator strong {
    color: #020817;
}

@media (max-width: 640.98px) {
    .registry-title {
        font-size: 2rem;
    }

    .registry-entry-head {
        flex-direction: column-reverse;
    }

    .registry-detail-body p {
        display: block;
    }

    .registry-detail-body strong {
        display: block;
        min-width: 0;
        margin-bottom: 0.15rem;
    }
}
