:root {
    --blue: #062037;
    --red: #db262b;
    --yellow: #fbbf41;
    --green: #077540;
    --public-primary: #077540;
    --public-accent: #fbbf41;
    --public-dark: #062037;
    --public-action: #077540;
    --ink: #101827;
    --muted: #5b6673;
    --line: #d9dee5;
    --paper: #ffffff;
    --soft: #f8f5ef;
    --shadow: 0 18px 40px rgba(6, 32, 55, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    max-width: 640px;
}

.topbar {
    background:
        linear-gradient(90deg, var(--public-dark) 0%, var(--public-primary) 58%, #0a8a50 100%);
    border-bottom: 2px solid var(--public-accent);
    color: #fff;
    font-size: 12px;
}

.topbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 36px;
    overflow: hidden;
}

.topbar nav,
.main-nav,
.site-footer a,
.admin-sidebar nav {
    display: flex;
    gap: 22px;
}

.topbar nav {
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.topbar nav::-webkit-scrollbar {
    display: none;
}

.topbar nav a {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    line-height: 1;
    padding: 7px 10px;
    white-space: nowrap;
}

.topbar nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.topbar__tagline {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
    line-height: 1;
    padding-left: 18px;
    white-space: nowrap;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 96px;
}

.brand img {
    width: 220px;
}

.main-nav {
    flex: 1;
    justify-content: center;
    font-size: 15px;
}

.main-nav a {
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a.is-active,
.main-nav a:hover {
    color: var(--public-primary);
    border-color: var(--public-accent);
}

.site-header .icon-button {
    white-space: nowrap;
}

.icon-button,
.button,
button {
    border: 0;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 11px 18px;
}

.button--ghost {
    color: var(--blue);
    background: #fff;
    border: 1px solid var(--line);
}

.button--blue {
    background: var(--blue);
}

.button--danger {
    background: #b42318;
}

.public-page .icon-button,
.public-page main .button,
.public-page main button {
    background: var(--public-action);
}

.public-page .button--ghost {
    background: #fff;
    color: var(--public-primary);
}

.hero,
.section,
.page-heading {
    padding: 42px 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 8px;
    height: 430px;
    overflow: hidden;
}

.feature-stack {
    display: grid;
    gap: 8px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-height: 0;
}

.feature-card {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 28px;
    color: #fff;
    background:
        linear-gradient(0deg, rgba(6, 32, 55, 0.84), rgba(7, 117, 64, 0.5)),
        linear-gradient(135deg, var(--public-dark), var(--public-primary));
    display: flex;
    align-items: end;
    background-position: center;
    background-size: cover;
    position: relative;
}

.feature-card--large {
    min-height: 0;
}

.feature-card h1,
.feature-card h2 {
    max-width: 680px;
    margin: 8px 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.06;
}

.feature-card h1 {
    font-size: clamp(34px, 5vw, 54px);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.feature-card h2 {
    font-size: 26px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.feature-card p {
    display: -webkit-box;
    font-size: 16px;
    line-height: 1.45;
    margin: 8px 0 14px;
    max-width: 720px;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(6, 32, 55, 0.55);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feature-stack .feature-card {
    padding: 28px;
}

.feature-stack .feature-card p {
    font-size: 14px;
    -webkit-line-clamp: 2;
}

.eyebrow {
    color: var(--public-primary);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.feature-card .eyebrow {
    color: var(--public-accent);
    text-shadow: 0 1px 8px rgba(6, 32, 55, 0.55);
}

.eyebrow--yellow {
    color: var(--yellow);
}

.eyebrow--green {
    color: var(--green);
}

.meta {
    color: inherit;
    font-size: 13px;
    opacity: 0.82;
}

.author-link {
    border-bottom: 1px solid currentColor;
    color: inherit;
    font-weight: 800;
}

.author-link:hover {
    color: var(--public-primary);
}

.meta--dark {
    color: var(--muted);
}

.section-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}

.section-title h2,
.page-heading h1,
.admin-heading h1 {
    color: var(--blue);
    font-family: Georgia, "Times New Roman", serif;
}

.public-page .section-title h2,
.public-page .page-heading h1 {
    color: var(--public-dark);
}

.column-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.column-card,
.panel,
.metric-card,
.admin-panel,
.auth-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.column-card {
    padding: 20px;
}

.column-card h3,
.list-card h2 {
    color: var(--blue);
    margin: 8px 0;
}

.column-card h3 a,
.list-card h2 a {
    color: inherit;
}

.column-card h3 a:hover,
.list-card h2 a:hover {
    color: var(--public-primary);
}

.newsletter {
    padding: 22px 0 48px;
}

.newsletter__inner {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, var(--public-primary), var(--public-dark));
    color: #fff;
    border-radius: 8px;
    padding: 26px 32px;
}

.newsletter h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.newsletter form,
.search-form {
    display: flex;
}

input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
    padding: 12px 14px;
}

.newsletter input,
.search-form input {
    border-radius: 6px 0 0 6px;
}

.newsletter button,
.search-form button {
    border-radius: 0 6px 6px 0;
}

.search-hero {
    background:
        linear-gradient(135deg, rgba(6, 32, 55, 0.96), rgba(7, 117, 64, 0.88)),
        linear-gradient(135deg, var(--public-dark), var(--public-primary));
    color: #fff;
    padding: 44px 0;
}

.search-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    align-items: center;
    gap: 34px;
}

.search-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.72);
}

.search-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    margin: 10px 0 14px;
}

.search-hero p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    max-width: 680px;
}

.search-hero__form {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(6, 32, 55, 0.26);
    color: var(--blue);
    display: grid;
    gap: 12px;
    padding: 20px;
}

.search-hero__form label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.search-hero__form span {
    color: var(--muted);
    font-size: 13px;
}

.search-hero__control {
    display: flex;
}

.search-hero__control input {
    border-radius: 6px 0 0 6px;
    min-height: 50px;
}

.search-hero__control button {
    background: var(--public-action);
    border-radius: 0 6px 6px 0;
    min-height: 50px;
}

.search-section {
    padding-top: 34px;
}

.search-results__heading {
    align-items: end;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding-bottom: 16px;
}

.search-results__heading h2 {
    color: var(--public-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.1;
    margin: 6px 0 0;
}

.search-results__heading a {
    color: var(--public-primary);
    font-weight: 800;
    white-space: nowrap;
}

.search-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.search-card .list-card__thumb {
    border-radius: 6px;
}

.empty-public--search {
    background:
        linear-gradient(135deg, rgba(251, 191, 65, 0.12), rgba(7, 117, 64, 0.08)),
        #fff;
    padding: 30px;
}

.panel--search h2 {
    color: var(--public-dark);
    margin-top: 0;
}

.category-links {
    display: grid;
    gap: 10px;
}

.category-links a {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue);
    display: flex;
    font-weight: 800;
    gap: 10px;
    padding: 10px 12px;
}

.category-links a:hover {
    border-color: var(--category-color);
    color: var(--public-primary);
}

.category-links span {
    background: var(--category-color);
    border-radius: 999px;
    display: block;
    height: 10px;
    width: 10px;
}

.site-footer {
    background:
        linear-gradient(135deg, rgba(6, 32, 55, 0.98), rgba(6, 32, 55, 0.92)),
        radial-gradient(circle at top right, rgba(7, 117, 64, 0.32), transparent 26rem);
    color: #fff;
    padding: 54px 0 42px;
}

.site-footer__grid {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(150px, 1fr));
    gap: 34px;
}

.site-footer__brand {
    display: grid;
    gap: 18px;
    max-width: 380px;
}

.site-footer h2 {
    color: var(--public-accent);
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.84);
    display: inline-flex;
    line-height: 1.35;
    margin: 8px 0;
}

.site-footer a:hover {
    color: var(--public-accent);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.site-footer__links,
.site-footer__contact {
    display: grid;
    align-content: start;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-socials a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    width: 38px;
}

.footer-socials a:hover {
    background: rgba(251, 191, 65, 0.12);
    border-color: var(--public-accent);
    color: var(--public-accent);
    transform: translateY(-1px);
}

.footer-logo {
    width: min(210px, 100%);
}

.breadcrumb,
.page-heading p,
.column-card p,
.list-card p,
.admin-heading p,
.admin-heading span,
.admin-topbar span,
.auth-card p {
    color: var(--muted);
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
}

.article-list {
    display: grid;
    gap: 18px;
}

.list-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.list-card__thumb {
    min-height: 150px;
    background: linear-gradient(135deg, #c9d4dc, #6f879b);
    background-position: center;
    background-size: cover;
}

.sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.panel {
    padding: 20px;
}

.panel--dark {
    color: #fff;
    background: var(--public-dark);
}

.stacked-form,
.public-form {
    display: grid;
    gap: 12px;
}

.stacked-form {
    margin-top: 16px;
}

.stacked-form input,
.stacked-form button {
    border-radius: 6px;
}

.public-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 24px;
}

.public-form label {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--soft);
}

.auth-card {
    width: min(420px, calc(100% - 32px));
    padding: 34px;
    box-shadow: var(--shadow);
}

.auth-card img {
    width: 210px;
    margin-bottom: 28px;
}

.auth-card label {
    display: grid;
    gap: 8px;
    color: var(--blue);
    font-weight: 700;
    margin-top: 16px;
}

.auth-card .button {
    width: 100%;
    margin-top: 22px;
}

.alert {
    border-left: 4px solid var(--red);
    background: #fff4f4;
    padding: 10px 14px;
}

.admin-page {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(219, 38, 43, 0.08), transparent 28rem),
        linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
}

.admin-sidebar {
    background: linear-gradient(180deg, #071e34 0%, #0a2a47 54%, #061727 100%);
    color: #fff;
    padding: 24px;
    box-shadow: 18px 0 50px rgba(6, 32, 55, 0.18);
}

.admin-brand img {
    width: 190px;
    margin-bottom: 32px;
}

.admin-sidebar nav {
    flex-direction: column;
    gap: 8px;
}

.admin-sidebar a {
    border-radius: 6px;
    padding: 11px 12px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.admin-sidebar a.is-active,
.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(2px);
}

.admin-shell {
    min-width: 0;
}

.admin-topbar {
    min-height: 74px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(16px);
}

.admin-topbar div,
.admin-topbar form {
    display: grid;
    gap: 2px;
}

.admin-content {
    padding: 30px;
}

.admin-heading {
    margin-bottom: 24px;
}

.admin-heading--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-heading h1 {
    margin: 0;
    font-size: 38px;
}

.metric-card,
.admin-panel {
    padding: 22px;
    box-shadow: 0 18px 50px rgba(11, 42, 70, 0.07);
}

.metric-card span {
    color: var(--muted);
}

.metric-card strong {
    color: var(--blue);
    display: block;
    font-size: 42px;
    line-height: 1;
    margin-top: 12px;
}

.metric-card--published {
    background:
        linear-gradient(135deg, rgba(7, 117, 64, 0.1), rgba(251, 191, 65, 0.14)),
        #fff;
    border-color: rgba(7, 117, 64, 0.22);
}

.metric-card--published strong {
    color: var(--green);
}

.admin-panel {
    margin-top: 24px;
}

.admin-heading--app {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9)),
        radial-gradient(circle at top right, rgba(7, 117, 64, 0.12), transparent 24rem);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.admin-kpi-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.admin-kpi-strip--compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-kpi-strip article {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)),
        radial-gradient(circle at top right, rgba(251, 191, 65, 0.16), transparent 12rem);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 6px;
    padding: 16px;
}

.admin-kpi-strip span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-kpi-strip strong {
    color: var(--blue);
    font-size: 28px;
    line-height: 1;
}

.admin-panel--flush {
    border: 0;
    background: transparent;
}

.category-metric-list {
    display: grid;
    gap: 12px;
}

.category-metric {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(160px, 0.8fr) minmax(180px, 1fr) 54px;
    padding: 14px;
}

.category-metric div:first-child {
    align-items: center;
    display: flex;
    gap: 10px;
}

.category-metric div:first-child span {
    background: var(--category-color);
    border-radius: 999px;
    height: 12px;
    width: 12px;
}

.category-metric strong {
    color: var(--blue);
}

.category-metric__bar {
    background: #eef2f6;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.category-metric__bar span {
    background: var(--category-color);
    border-radius: inherit;
    display: block;
    height: 100%;
    width: var(--category-width);
}

.category-metric b {
    color: var(--blue);
    font-size: 18px;
    text-align: right;
}

.report-filter {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
    margin-bottom: 18px;
}

.report-filter label {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.report-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.report-panel {
    display: grid;
    gap: 16px;
}

.report-panel__head {
    align-items: end;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.report-panel__head p {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.report-panel__head h2 {
    color: var(--blue);
    font-size: 20px;
    margin: 0;
}

.report-panel__head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.report-table-wrap {
    overflow-x: auto;
}

.report-table {
    border-collapse: collapse;
    min-width: 520px;
    width: 100%;
}

.report-table th {
    background: #f6f8fb;
    color: var(--muted);
    font-size: 12px;
    padding: 11px 12px;
    text-align: left;
    text-transform: uppercase;
}

.report-table td {
    border-top: 1px solid var(--line);
    color: var(--blue);
    font-size: 14px;
    padding: 12px;
    vertical-align: top;
}

.report-path {
    overflow-wrap: anywhere;
}

.contact-inbox-note {
    margin-bottom: 18px;
}

.contact-inbox-note strong {
    color: var(--blue);
    display: block;
    margin-bottom: 6px;
}

.contact-inbox-note p {
    color: var(--muted);
    margin: 0;
}

.contact-mailbox {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
        #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
    display: grid;
    grid-template-columns: minmax(280px, 36%) minmax(0, 1fr);
    min-height: 620px;
    overflow: hidden;
}

.contact-mailbox__list {
    background: rgba(248, 250, 252, 0.88);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 8px;
    max-height: 720px;
    overflow: auto;
    padding: 14px;
}

.contact-mailbox__item {
    appearance: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    color: var(--blue);
    cursor: pointer;
    display: grid;
    gap: 7px;
    padding: 14px;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.contact-mailbox__item:hover,
.contact-mailbox__item.is-active {
    border-color: rgba(7, 117, 64, 0.42);
    box-shadow: 0 16px 34px rgba(7, 117, 64, 0.12);
    transform: translateY(-1px);
}

.contact-mailbox__item.is-active {
    background:
        linear-gradient(135deg, rgba(7, 117, 64, 0.08), rgba(251, 191, 65, 0.08)),
        #fff;
}

.contact-mailbox__meta {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.contact-mailbox__meta strong {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-mailbox__meta time {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.contact-mailbox__subject {
    display: -webkit-box;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.contact-mailbox__sender {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-mailbox__excerpt {
    color: var(--muted);
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.contact-mailbox__reader {
    background: #fff;
    min-width: 0;
    padding: 24px;
}

.contact-mailbox__detail {
    display: none;
}

.contact-mailbox__detail.is-active {
    display: grid;
    gap: 18px;
}

.contact-mailbox__detail header {
    align-items: start;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding-bottom: 18px;
}

.contact-mailbox__detail header span {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-mailbox__detail h2 {
    color: var(--blue);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    margin: 6px 0 0;
}

.contact-mailbox__detail time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.contact-mailbox__person {
    align-items: center;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 12px 14px;
}

.contact-mailbox__person strong {
    color: var(--blue);
}

.contact-mailbox__person a {
    color: var(--green);
    font-weight: 900;
}

.contact-mailbox__actions,
.form-inbox__actions {
    display: flex;
    justify-content: flex-end;
}

.contact-mailbox__actions form,
.form-inbox__actions form {
    margin: 0;
}

.contact-mailbox__message {
    color: #1f2a3a;
    font-size: 15px;
    line-height: 1.7;
    max-height: 470px;
    overflow: auto;
    padding-right: 8px;
    white-space: normal;
}

.admin-kpi-strip__date {
    font-size: 21px !important;
}

.form-inbox {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
    display: grid;
    grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
    min-height: 620px;
    overflow: hidden;
}

.form-inbox__list {
    background:
        linear-gradient(180deg, rgba(7, 117, 64, 0.06), rgba(248, 250, 252, 0.96)),
        #f8fafc;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 10px;
    max-height: 730px;
    overflow: auto;
    padding: 14px;
}

.form-inbox__item {
    appearance: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    color: var(--blue);
    cursor: pointer;
    display: grid;
    gap: 8px;
    padding: 15px;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.form-inbox__item:hover,
.form-inbox__item.is-active {
    border-color: rgba(251, 191, 65, 0.82);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.form-inbox__item.is-active {
    background:
        linear-gradient(135deg, rgba(251, 191, 65, 0.16), rgba(7, 117, 64, 0.08)),
        #fff;
}

.form-inbox__status {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.form-inbox__subject {
    display: -webkit-box;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.22;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.form-inbox__person {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-inbox__preview {
    color: var(--muted);
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.form-inbox__item time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.form-inbox__reader {
    min-width: 0;
    padding: 24px;
}

.form-inbox__detail {
    display: none;
}

.form-inbox__detail.is-active {
    display: grid;
    gap: 18px;
}

.form-inbox__detail header {
    align-items: start;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding-bottom: 18px;
}

.form-inbox__detail header span {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.form-inbox__detail h2 {
    color: var(--blue);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    margin: 6px 0 0;
}

.form-inbox__detail time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.form-inbox__contact {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(6, 32, 55, 0.03), rgba(7, 117, 64, 0.06)),
        #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    padding: 14px;
}

.form-inbox__contact div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.form-inbox__contact span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.form-inbox__contact strong,
.form-inbox__contact a:not(.button) {
    color: var(--blue);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.form-inbox__message {
    color: #1f2a3a;
    font-size: 15px;
    line-height: 1.75;
    max-height: 450px;
    overflow: auto;
    padding: 2px 8px 2px 0;
}

.contact-request-list {
    display: grid;
    gap: 14px;
}

.contact-request-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 14px;
    padding: 18px;
}

.contact-request-card header {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.contact-request-card span {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-request-card h2 {
    color: var(--blue);
    font-size: 20px;
    margin: 4px 0 0;
}

.contact-request-card time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.contact-request-card__person {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.contact-request-card__person strong {
    color: var(--blue);
}

.contact-request-card__person a {
    color: var(--green);
    font-weight: 800;
}

.contact-request-card p {
    color: #28364a;
    margin: 0;
}

.notice {
    border-left: 4px solid var(--green);
    background: #edf8f2;
    color: var(--blue);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.notice--error {
    background: #fff1f1;
    border-left-color: #b42318;
}

.notice__detail {
    display: block;
    color: #7f1d1d;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 6px;
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 18px 0;
}

.empty-public {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    padding: 24px;
}

.empty-public h2,
.empty-public h3 {
    color: var(--blue);
    margin-top: 0;
}

.empty-state h2 {
    color: var(--blue);
    margin: 0;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--blue);
    font-size: 13px;
    text-transform: uppercase;
}

.admin-table td strong,
.admin-table td span {
    display: block;
}

.admin-table td span {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.status-pill {
    display: inline-block;
    border: 1px solid rgba(219, 38, 43, 0.28);
    border-radius: 999px;
    background: #fff6f6;
    color: var(--red) !important;
    font-size: 12px !important;
    font-weight: 800;
    margin: 0 !important;
    padding: 4px 9px;
    text-transform: uppercase;
}

.table-action {
    color: var(--blue);
    font-weight: 800;
}

.table-action--primary {
    align-items: center;
    background: var(--blue);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    min-height: 34px;
    padding: 8px 13px;
}

.table-actions {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.table-actions form {
    margin: 0;
}

.table-action--button {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    color: var(--blue);
    font: inherit;
    font-weight: 800;
    min-height: 34px;
    padding: 7px 12px;
}

.table-action--danger {
    color: #b42318;
}

.table-action--muted {
    align-items: center;
    background: #f3f6f8;
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    min-height: 34px;
    padding: 8px 13px;
}

.admin-record-list {
    display: grid;
    gap: 14px;
}

.admin-record-card {
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px;
}

.admin-record-card:hover,
.review-card--app:hover,
.user-card:hover {
    border-color: rgba(7, 117, 64, 0.22);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.admin-record-card__main {
    display: grid;
    gap: 8px;
}

.admin-record-card__topline {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 900;
    gap: 8px;
    text-transform: uppercase;
}

.admin-record-card h2,
.review-card--app h2,
.user-card h2 {
    color: var(--blue);
    font-size: 20px;
    line-height: 1.18;
    margin: 0;
}

.admin-record-card p,
.review-card--app p,
.user-card p {
    color: var(--muted);
    margin: 0;
}

.admin-record-meta,
.user-card__meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 8px 14px;
}

.admin-record-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-record-actions form {
    margin: 0;
}

.editor-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.editor-form label {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 18px;
}

textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
    padding: 12px 14px;
}

textarea {
    resize: vertical;
}

.check-row {
    align-items: center;
    display: flex !important;
    flex-direction: row;
    gap: 10px !important;
}

.check-row input {
    width: auto;
}

.role-list {
    color: var(--blue);
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.settings-form {
    display: grid;
    gap: 18px;
}

.settings-section {
    margin-top: 0;
}

.settings-section h2 {
    color: var(--blue);
    margin-top: 0;
}

.settings-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-grid label {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.settings-grid__wide {
    grid-column: 1 / -1;
}

.settings-actions {
    background: rgba(244, 246, 248, 0.92);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    padding: 16px 0;
    position: sticky;
    z-index: 5;
}

.config-hero {
    border: 1px solid rgba(6, 32, 55, 0.08);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 252, 0.86)),
        radial-gradient(circle at top right, rgba(219, 38, 43, 0.14), transparent 20rem);
    box-shadow: 0 22px 70px rgba(6, 32, 55, 0.08);
    padding: 24px;
}

.settings-accordion {
    border: 1px solid rgba(6, 32, 55, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 50px rgba(11, 42, 70, 0.07);
    overflow: hidden;
}

.settings-accordion summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 22px 24px;
}

.settings-accordion summary::-webkit-details-marker {
    display: none;
}

.settings-accordion summary::after {
    border: solid var(--blue);
    border-width: 0 2px 2px 0;
    content: "";
    height: 9px;
    margin-left: 18px;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    width: 9px;
}

.settings-accordion[open] summary::after {
    transform: rotate(-135deg);
}

.settings-accordion summary strong {
    color: var(--blue);
    display: block;
    font-size: 19px;
}

.settings-accordion summary small {
    color: var(--muted);
}

.settings-accordion__body {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 22px;
    padding: 24px;
}

.settings-single {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.logo-upload-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logo-upload-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: grid;
    gap: 14px;
    padding: 18px;
}

.logo-upload-card label {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.logo-preview {
    align-items: center;
    border-radius: 10px;
    display: flex;
    min-height: 118px;
    padding: 18px;
}

.logo-preview--light {
    background: #fff;
    border: 1px dashed var(--line);
}

.logo-preview--dark {
    background: var(--blue);
}

.logo-preview img {
    max-height: 72px;
    object-fit: contain;
}

.color-setting-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.color-setting-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: grid;
    gap: 16px;
    padding: 16px;
}

.color-setting-card span {
    display: grid;
    gap: 4px;
}

.color-setting-card strong {
    color: var(--blue);
}

.color-setting-card small {
    color: var(--muted);
    font-weight: 500;
}

.color-setting-card input[type="color"] {
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    height: 54px;
    padding: 0;
}

.about-config-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-config-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: grid;
    gap: 14px;
    padding: 18px;
}

.about-config-card h3 {
    color: var(--blue);
    margin: 0 0 4px;
}

.about-config-card label:not(.check-row) {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.about-config-card--team {
    background:
        linear-gradient(135deg, rgba(7, 117, 64, 0.08), rgba(251, 191, 65, 0.12)),
        #fff;
}

.about-team-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-team-preview a,
.about-team-preview p {
    border: 1px solid rgba(7, 117, 64, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    padding: 8px 11px;
}

.about-team-preview span {
    color: var(--muted);
    font-weight: 700;
    margin-left: 6px;
}

.about-team-selector {
    display: grid;
    gap: 12px;
}

.about-team-option {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1.2fr) minmax(280px, 1fr);
    padding: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-team-option.is-selected {
    border-color: #00a7a0;
    box-shadow: inset 3px 0 0 #00a7a0;
}

.about-team-option__identity {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-row: span 2;
    grid-template-columns: 58px minmax(0, 1fr);
    min-width: 0;
}

.about-team-option__identity > div:last-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.about-team-option__identity strong {
    color: #003b73;
    overflow-wrap: anywhere;
}

.about-team-option__identity span {
    color: #5c6b7e;
    font-size: 12px;
}

.about-team-option__identity a {
    color: #007f7a;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
}

.about-team-option__photo {
    align-items: center;
    aspect-ratio: 1;
    background: #003b73;
    border-radius: 8px;
    color: #00e0ff;
    display: flex;
    font-size: 22px;
    font-weight: 800;
    justify-content: center;
    overflow: hidden;
}

.about-team-option__photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.about-team-option__toggle {
    align-self: end;
}

.about-team-option__fields {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 90px;
}

.about-team-option__fields label {
    font-size: 12px;
}

.about-team-selector__empty {
    background: #fff;
    border: 1px dashed #aabecb;
    border-radius: 8px;
    color: #5c6b7e;
    padding: 20px;
}

.about-team-selector__empty strong {
    color: #003b73;
}

.about-team-selector__empty p {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .about-team-option {
        grid-template-columns: 1fr;
    }

    .about-team-option__identity {
        grid-row: auto;
    }
}

@media (max-width: 560px) {
    .about-team-option__fields {
        grid-template-columns: 1fr;
    }
}

.link-builder {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.link-builder__head {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
}

.link-builder__head h3 {
    color: var(--blue);
    margin: 0;
}

.link-builder__rows {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.link-builder__row {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(140px, 0.8fr) minmax(180px, 1.2fr) auto;
}

.link-builder__row label {
    color: var(--blue);
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
}

.footer-social-settings {
    padding: 16px;
}

.category-builder {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.category-builder__rows {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.category-builder__row {
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    gap: 14px;
    grid-template-columns: 18px minmax(0, 1fr) 150px;
    padding: 14px;
}

.category-builder__swatch {
    background: var(--category-color);
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(6, 32, 55, 0.06);
    height: 18px;
    margin-top: 34px;
    width: 18px;
}

.category-builder__fields {
    display: grid;
    gap: 14px;
}

.category-builder__fields label,
.category-builder__actions {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.category-builder__actions {
    align-content: start;
}

.category-builder__actions .button {
    width: 100%;
}

.editor-form__side {
    position: sticky;
    top: 20px;
}

.editor-form__side .button {
    width: 100%;
}

.form-help {
    color: var(--muted);
    font-size: 13px;
}

.form-divider {
    border-top: 1px solid var(--line);
    margin: 18px 0;
}

.editor-block {
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
}

.editor-block h2 {
    color: var(--blue);
    font-size: 18px;
    margin: 0;
}

.editor-block-builder {
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    gap: 16px;
    padding: 18px;
}

.block-builder-toolbar {
    display: grid;
    gap: 12px;
}

.block-builder-toolbar h2 {
    color: var(--blue);
    font-size: 20px;
    margin: 0;
}

.block-builder-toolbar div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.column-blocks {
    display: grid;
    gap: 14px;
}

.column-block {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.column-block header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.column-block header strong {
    color: var(--blue);
}

.column-block header div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.text-format-controls {
    align-items: end;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(140px, 1fr) repeat(3, auto);
    padding: 12px;
}

.text-format-controls label {
    margin-bottom: 0;
}

.editor-cover-preview,
.review-cover {
    border-radius: 10px;
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

.media-chip-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-chip {
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--blue);
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px;
}

.media-chip input,
.attachment-list input {
    width: auto;
}

.media-chip img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.attachment-list {
    display: grid;
    gap: 8px;
}

.attachment-list label {
    align-items: center;
    display: flex !important;
    flex-direction: row;
    gap: 8px !important;
    margin: 0;
}

.review-list {
    display: grid;
    gap: 16px;
}

.review-list--app {
    gap: 14px;
}

.review-card {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px;
}

.review-card--app {
    border-color: rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    padding: 20px;
}

.review-card--decision {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
        radial-gradient(circle at top right, rgba(7, 117, 64, 0.1), transparent 18rem);
}

.review-card h2 {
    color: var(--blue);
    margin: 10px 0 6px;
}

.review-card p {
    color: var(--muted);
    margin: 0 0 8px;
}

.user-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.user-card {
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 14px;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    padding: 16px;
}

.user-card__avatar {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(7, 117, 64, 0.14), rgba(251, 191, 65, 0.22)),
        #fff;
    border: 1px solid rgba(7, 117, 64, 0.16);
    border-radius: 14px;
    color: var(--blue);
    display: grid;
    font-weight: 900;
    height: 52px;
    justify-items: center;
    width: 52px;
}

.user-card__body {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.user-card__head {
    align-items: start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.user-card__head p {
    overflow-wrap: anywhere;
}

.user-card__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.user-card__actions form {
    margin: 0;
}

.profile-form .editor-form__main {
    display: grid;
    gap: 18px;
}

.profile-photo-field {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    gap: 18px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
}

.profile-avatar {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(7, 117, 64, 0.12), rgba(251, 191, 65, 0.18)),
        #fff;
    border: 1px solid rgba(6, 32, 55, 0.08);
    border-radius: 18px;
    color: var(--blue);
    display: grid;
    font-size: 30px;
    font-weight: 900;
    height: 92px;
    justify-items: center;
    overflow: hidden;
    width: 92px;
}

.profile-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.profile-avatar--large {
    border-radius: 24px;
    height: 132px;
    margin-bottom: 18px;
    width: 132px;
}

.profile-preview-card {
    align-content: start;
    justify-items: start;
}

.profile-preview-card h2 {
    color: var(--blue);
    margin: 0 0 6px;
}

.profile-preview-card p {
    color: var(--muted);
    margin: 0 0 16px;
}

.profile-social-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-social-grid label {
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    gap: 8px;
    padding: 14px;
}

.profile-social-grid span {
    color: var(--blue);
    font-weight: 900;
}

.profile-public-check {
    border: 1px solid rgba(7, 117, 64, 0.22);
    border-radius: 10px;
    background: rgba(7, 117, 64, 0.06);
    color: var(--blue);
    margin-bottom: 18px;
    padding: 12px 14px;
}

.profile-social-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.profile-social-preview a {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
}

.review-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.review-article h2 {
    color: var(--blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    margin: 8px 0 10px;
}

.lead {
    color: var(--muted);
    font-size: 20px;
}

.article-body {
    border-top: 1px solid var(--line);
    color: #202936;
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.68;
    margin-top: 24px;
    padding-top: 24px;
}

.review-sidebar {
    display: grid;
    gap: 18px;
}

.review-sidebar h2 {
    color: var(--blue);
    font-size: 18px;
    margin-top: 0;
}

.review-action-form {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
}

.review-action-form label {
    color: var(--blue);
    display: grid;
    font-weight: 800;
    gap: 8px;
}

.comment-item,
.event-item {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 4px;
    padding: 12px 0;
}

.comment-item:first-of-type,
.event-item:first-of-type {
    border-top: 0;
}

.comment-item p {
    margin: 0;
}

.comment-item span,
.event-item span,
.event-item small {
    color: var(--muted);
    font-size: 13px;
}

.public-article {
    padding: 46px 0 20px;
}

.author-hero {
    padding: 48px 0 28px;
}

.author-hero__grid {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: 190px minmax(0, 1fr);
}

.author-hero__photo {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(7, 117, 64, 0.12), rgba(251, 191, 65, 0.2)),
        #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: var(--public-dark);
    display: grid;
    font-size: 58px;
    font-weight: 900;
    height: 190px;
    justify-items: center;
    overflow: hidden;
    width: 190px;
}

.author-hero__photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.author-hero h1 {
    color: var(--public-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 6vw, 66px);
    line-height: 1.02;
    margin: 10px 0;
}

.author-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.author-social-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--public-primary);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
}

.author-social-links a:hover {
    border-color: var(--public-accent);
    color: var(--public-dark);
}

.about-hero {
    background:
        linear-gradient(135deg, rgba(6, 32, 55, 0.94), rgba(7, 117, 64, 0.82)),
        linear-gradient(135deg, var(--public-dark), var(--public-primary));
    color: #fff;
    padding: 54px 0 48px;
}

.about-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.72);
}

.about-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    margin: 10px 0 14px;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    max-width: 680px;
}

.about-section-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-info-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    display: grid;
    gap: 10px;
    padding: 24px;
}

.about-info-card h2 {
    color: var(--public-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.1;
    margin: 0;
}

.about-info-card p {
    color: #202936;
    font-size: 17px;
    line-height: 1.68;
    margin: 0;
}

.about-team {
    margin-top: 42px;
}

.about-team-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    display: grid;
    gap: 14px;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 14px;
}

.team-card:hover {
    border-color: var(--public-accent);
    box-shadow: 0 16px 34px rgba(6, 32, 55, 0.08);
}

.team-card__photo {
    align-items: center;
    aspect-ratio: 1;
    background:
        linear-gradient(135deg, rgba(7, 117, 64, 0.14), rgba(251, 191, 65, 0.2)),
        #f7faf8;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    display: grid;
    justify-items: center;
    overflow: hidden;
}

.team-card__photo::after {
    color: var(--public-primary);
    content: "DB";
    font-weight: 900;
}

.team-card__photo[style]::after {
    content: "";
}

.team-card span {
    color: var(--public-primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.team-card h3 {
    color: var(--public-dark);
    font-size: 18px;
    line-height: 1.15;
    margin: 4px 0 0;
}

.author-bio {
    color: #202936;
    font-size: 18px;
    line-height: 1.72;
}

.author-bio h2 {
    color: var(--public-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    margin: 0 0 10px;
}

.author-bio h2 + p {
    margin-top: 0;
}

.public-article__header {
    max-width: 980px;
}

.public-article__header h1 {
    color: var(--blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.02;
    margin: 12px 0;
}

.article-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
}

.share-bar {
    display: inline-flex;
    margin-top: 16px;
    position: relative;
}

.share-bar__trigger::before {
    content: "";
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    height: 6px;
    transform: rotate(-45deg);
    width: 6px;
}

.share-bar.is-open .share-bar__trigger::before {
    transform: rotate(45deg);
}

.share-bar__menu {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(6, 32, 55, 0.14);
    display: none;
    gap: 4px;
    left: 0;
    min-width: 160px;
    padding: 6px;
    position: absolute;
    top: calc(100% + 8px);
    z-index: 20;
}

.share-bar.is-open .share-bar__menu {
    display: grid;
}

.share-bar a,
.share-bar button {
    border: 0;
    border-radius: 8px;
    background: #fff !important;
    color: var(--public-primary) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 10px 11px;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease;
    width: 100%;
}

.share-bar a:hover,
.share-bar button:hover {
    background: rgba(251, 191, 65, 0.18) !important;
    color: var(--public-dark) !important;
}

.share-bar__trigger {
    border: 1px solid var(--line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--public-primary) !important;
    justify-content: center;
    padding: 8px 12px !important;
    width: auto !important;
}

.share-bar__trigger:hover,
.share-bar.is-open .share-bar__trigger {
    background: var(--public-primary) !important;
    border-color: var(--public-primary) !important;
    color: #fff !important;
}

.share-bar--article {
    margin-top: 24px;
}

.share-bar--article .share-bar__trigger {
    padding: 10px 14px;
}

.share-bar--compact {
    margin-top: 14px;
}

.share-bar--compact a,
.share-bar--compact button {
    font-size: 11px;
    padding: 9px 10px;
}

.share-bar--compact .share-bar__trigger {
    padding: 7px 10px !important;
}

.share-bar--compact .share-bar__menu {
    min-width: 148px;
}

.public-article__body {
    border-top: 1px solid var(--line);
    color: #202936;
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.72;
    margin-top: 34px;
    max-width: 760px;
    padding-top: 30px;
}

.article-text-block {
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-weight: 400;
}

.article-text--small {
    font-size: 0.9em;
}

.article-text--normal {
    font-size: 1em;
}

.article-text--large {
    font-size: 1.18em;
}

.article-text--xlarge {
    font-size: 1.38em;
}

.article-text--bold {
    font-weight: 800;
}

.article-text--italic {
    font-style: italic;
}

.article-text--highlight {
    background: linear-gradient(transparent 58%, rgba(251, 191, 65, 0.45) 58%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.article-quote {
    border-left: 4px solid var(--public-accent);
    color: var(--public-dark);
    font-style: italic;
    margin: 30px 0;
    padding: 8px 0 8px 22px;
}

.article-cover {
    margin: 28px 0 0;
}

.article-cover img {
    border-radius: 10px;
    max-height: 620px;
    object-fit: cover;
    width: 100%;
}

.article-cover figcaption,
.article-support-gallery figcaption {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

.article-html-block {
    margin: 28px 0;
}

.article-html-block iframe,
.article-html-block img,
.article-embed iframe {
    max-width: 100%;
}

.article-embed {
    margin: 30px 0;
}

.article-embed iframe {
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px;
    width: 100%;
}

.article-inline-image {
    margin: 32px 0;
}

.article-inline-image img {
    border-radius: 10px;
    width: 100%;
}

.article-link-card {
    border: 1px solid var(--line);
    border-left: 4px solid var(--public-accent);
    border-radius: 8px;
    color: var(--public-primary);
    display: block;
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 16px;
}

.article-separator {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 34px 0;
}

.article-support-gallery {
    display: grid;
    gap: 18px;
    margin: 32px 0;
}

.article-support-gallery figure {
    margin: 0;
}

.article-support-gallery img {
    border-radius: 10px;
    width: 100%;
}

.article-attachments {
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    gap: 10px;
    margin-top: 32px;
    padding: 18px;
}

.article-attachments h2 {
    color: var(--blue);
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-size: 18px;
    margin: 0;
}

.article-attachments a {
    color: var(--public-primary);
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.contact-grid {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: grid;
    gap: 14px;
    padding: 24px;
}

.contact-card--email {
    background:
        linear-gradient(135deg, rgba(6, 32, 55, 0.96), rgba(7, 117, 64, 0.9)),
        var(--public-dark);
    border-color: transparent;
    color: #fff;
}

.contact-card--email h2,
.contact-card--email p {
    color: #fff;
}

.contact-card--email .button {
    background: var(--public-accent);
    color: var(--public-dark);
    justify-self: start;
}

.contact-form {
    gap: 14px;
}

.preview-banner {
    background: #062037;
    border-bottom: 3px solid var(--public-accent);
    color: #fff;
    font-family: Inter, "Source Sans 3", Lato, Arial, sans-serif;
}

.preview-banner__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    min-height: 48px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
}

.preview-banner strong {
    color: var(--public-accent);
    font-weight: 900;
}

.preview-banner span {
    color: rgba(255, 255, 255, 0.82);
}

.preview-banner a {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    padding: 7px 12px;
}

.preview-banner a:hover {
    border-color: var(--public-accent);
    color: var(--public-accent);
}

@media (max-width: 900px) {
    .topbar__inner {
        gap: 10px;
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        padding: 7px 0;
    }

    .topbar nav {
        margin: 0 -16px;
        padding: 0 16px;
        width: calc(100% + 32px);
    }

    .topbar__tagline {
        border-left: 0;
        color: rgba(255, 255, 255, 0.78);
        font-size: 11px;
        overflow: hidden;
        padding-left: 0;
        text-overflow: ellipsis;
        width: 100%;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: center;
        justify-items: center;
        gap: 13px;
        min-height: auto;
        padding: 18px 0 12px;
    }

    .brand {
        justify-self: center;
    }

    .brand img {
        width: min(250px, 70vw);
    }

    .main-nav {
        align-items: center;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        grid-column: 1 / -1;
        justify-self: stretch;
        margin: 0;
        overflow: visible;
        padding: 8px 0 2px;
        width: 100%;
    }

    .main-nav a {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--blue);
        flex: 0 0 auto;
        font-size: 13px;
        font-weight: 800;
        justify-content: center;
        line-height: 1;
        padding: 9px 12px;
        text-align: center;
        white-space: nowrap;
    }

    .main-nav a.is-active,
    .main-nav a:hover {
        background: rgba(7, 117, 64, 0.08);
        border-color: var(--public-accent);
        color: var(--public-primary);
    }

    .site-header .icon-button {
        border-radius: 999px;
        display: flex;
        grid-column: 1 / -1;
        justify-content: center;
        justify-self: stretch;
        padding: 10px 13px;
    }

    .site-footer {
        padding: 42px 0 34px;
    }

    .hero__grid,
    .newsletter__inner,
    .author-hero__grid,
    .search-hero__inner,
    .content-layout,
    .contact-grid,
    .report-filter,
    .report-grid,
    .site-footer__grid,
    .admin-page,
    .editor-form,
    .review-layout,
    .settings-grid,
    .logo-upload-grid,
    .color-setting-grid,
    .about-config-grid,
    .media-chip-grid,
    .text-format-controls,
    .link-builder__row,
    .category-builder__row,
    .about-section-grid,
    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .site-footer__grid {
        gap: 26px;
    }

    .site-footer__brand {
        max-width: none;
    }

    .feature-stack {
        grid-template-rows: none;
    }

    .feature-card,
    .feature-card--large {
        min-height: 300px;
    }

    .admin-kpi-strip,
    .admin-kpi-strip--compact,
    .contact-mailbox,
    .form-inbox,
    .user-card-grid,
    .admin-record-card,
    .review-card--app,
    .user-card {
        grid-template-columns: 1fr;
    }

    .contact-mailbox {
        min-height: auto;
    }

    .contact-mailbox__list {
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        border-right: 0;
        grid-auto-flow: column;
        grid-auto-columns: minmax(250px, 82vw);
        grid-template-columns: none;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 12px;
    }

    .contact-mailbox__item {
        min-height: 142px;
    }

    .contact-mailbox__reader {
        padding: 18px;
    }

    .contact-mailbox__detail header {
        flex-direction: column;
    }

    .contact-mailbox__detail time {
        white-space: normal;
    }

    .contact-mailbox__message {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .form-inbox {
        min-height: auto;
    }

    .form-inbox__list {
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        border-right: 0;
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 84vw);
        grid-template-columns: none;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 12px;
    }

    .form-inbox__item {
        min-height: 164px;
    }

    .form-inbox__reader {
        padding: 18px;
    }

    .form-inbox__detail header,
    .form-inbox__contact {
        grid-template-columns: 1fr;
    }

    .form-inbox__detail header {
        flex-direction: column;
    }

    .form-inbox__detail time {
        white-space: normal;
    }

    .form-inbox__message {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .admin-heading--app {
        padding: 18px;
    }

    .admin-record-actions {
        justify-content: flex-start;
    }

    .user-card__actions {
        justify-content: flex-start;
    }

    .user-card__head {
        flex-direction: column;
    }

    .category-builder__swatch {
        height: 10px;
        margin-top: 0;
        width: 100%;
    }

    .admin-heading--split {
        align-items: flex-start;
        flex-direction: column;
    }

    .column-grid,
    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .list-card {
        grid-template-columns: 1fr;
    }

    .search-hero {
        padding: 30px 0;
    }

    .about-hero {
        padding: 34px 0 30px;
    }

    .about-hero h1 {
        font-size: 44px;
    }

    .search-hero h1 {
        font-size: 42px;
    }

    .search-hero p {
        font-size: 16px;
    }

    .search-results__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-metric {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .category-metric__bar {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .profile-photo-field,
    .profile-social-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }
}

@media (max-width: 560px) {
    .topbar {
        font-size: 11px;
    }

    .topbar__inner {
        padding: 6px 0;
    }

    .topbar nav a {
        background: rgba(255, 255, 255, 0.1);
        padding: 7px 9px;
    }

    .topbar__tagline {
        display: none;
    }

    .site-header__inner {
        gap: 10px;
        padding: 16px 0 10px;
    }

    .brand img {
        width: min(255px, 76vw);
    }

    .site-header .icon-button {
        font-size: 13px;
        padding: 9px 11px;
    }

    .main-nav {
        padding-top: 7px;
    }

    .main-nav a {
        font-size: 12px;
        padding: 8px 10px;
    }

    .site-footer {
        padding: 34px 0;
    }

    .site-footer__grid {
        gap: 22px;
    }

    .site-footer__links,
    .site-footer__contact {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 18px;
    }

    .footer-logo {
        width: min(180px, 100%);
    }

    .hero,
    .section,
    .page-heading {
        padding: 28px 0;
    }

    .feature-card,
    .feature-card--large {
        min-height: 260px;
        padding: 22px;
    }

    .feature-card h1 {
        font-size: 36px;
    }

    .feature-card h2 {
        font-size: 24px;
    }

    .team-card {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .column-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .newsletter form,
    .search-form,
    .search-hero__control {
        display: grid;
        gap: 10px;
    }

    .newsletter input,
    .newsletter button,
    .search-form input,
    .search-form button,
    .search-hero__control input,
    .search-hero__control button {
        border-radius: 6px;
    }

    .search-hero__form {
        padding: 16px;
    }

    .search-results__heading h2 {
        font-size: 25px;
    }
}
