@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #17221f;
    --muted: #62706b;
    --line: #dfe5df;
    --paper: #f7f7f2;
    --white: #ffffff;
    --green-950: #062b4a;
    --green-900: #0a4f78;
    --green-800: #14a6a3;
    --green-100: #d9f0ef;
    --green-50: #eaf7f7;
    --gold: #d9b76f;
    --gold-light: #f3dda7;
    --turquoise: #14a6a3;
    --rust: #a34e34;
    --blue: #41677b;
    --shadow: 0 20px 55px rgba(12, 47, 40, 0.09);
    --shadow-soft: 0 10px 30px rgba(12, 47, 40, 0.06);
    --radius: 18px;
    --radius-lg: 28px;
    --font: "Vazirmatn", "IRANSansX", "IRANSans", "Tahoma", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body,
input,
select,
textarea,
button {
    font-family: var(--font);
}

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

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

p,
h1,
h2,
h3,
dl,
dd,
ol {
    margin-top: 0;
}

button,
input,
select,
textarea {
    font-size: 1rem;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    right: 20px;
    z-index: 1000;
    padding: 10px 18px;
    color: var(--white);
    background: var(--green-900);
    border-radius: 0 0 10px 10px;
}

.skip-link:focus {
    top: 0;
}

.top-note {
    color: rgba(255, 255, 255, 0.8);
    background: var(--green-950);
    font-size: 0.79rem;
}

.top-note-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 35px;
}

.top-note a {
    color: var(--gold-light);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(13, 59, 52, 0.09);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 86px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}

.brand img {
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(13, 59, 52, 0.15);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.brand-copy strong {
    color: var(--green-900);
    font-size: 1.08rem;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.73rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.main-nav a {
    position: relative;
    padding: 30px 11px;
    color: #384742;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a::after {
    position: absolute;
    right: 10px;
    bottom: 19px;
    left: 10px;
    height: 2px;
    content: "";
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green-800);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    color: var(--green-900);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.58rem;
    font-weight: 800;
}

.header-search {
    display: flex;
    align-items: center;
    width: 145px;
    overflow: hidden;
    background: #f5f7f8;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.header-search label {
    flex: 1;
    min-width: 0;
}

.header-search input {
    min-height: 36px;
    padding: 6px 9px;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.72rem;
    box-shadow: none;
}

.header-search button {
    width: 34px;
    height: 36px;
    color: var(--green-800);
    background: transparent;
    border: 0;
    font-size: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 39px;
    padding: 7px 15px;
    font-size: 0.82rem;
}

.button-primary {
    color: var(--white);
    background: var(--green-900);
    box-shadow: 0 8px 20px rgba(13, 59, 52, 0.18);
}

.button-primary:hover {
    background: var(--green-800);
}

.button-secondary {
    color: var(--green-900);
    background: var(--green-100);
}

.button-secondary:hover {
    background: #cce1d9;
}

.button-ghost {
    color: var(--green-800);
    background: transparent;
    border-color: var(--line);
}

.button-ghost:hover {
    background: var(--green-50);
}

.button-gold {
    color: var(--green-950);
    background: var(--gold-light);
    box-shadow: 0 10px 25px rgba(196, 154, 74, 0.22);
}

.button-gold:hover {
    background: #f6df9e;
}

.button-outline-light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.32);
}

.button-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
}

.button-block {
    width: 100%;
}

.flash-wrap {
    padding-top: 18px;
}

.alert {
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.alert p {
    margin: 6px 0 0;
}

.alert ul {
    margin: 8px 0 0;
    padding-right: 20px;
}

.alert-success {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #17483c;
    background: #e6f3ec;
    border: 1px solid #bfddce;
}

.alert-error {
    margin-bottom: 22px;
    color: #782f31;
    background: #fff0ef;
    border: 1px solid #f1c8c5;
}

.tracking-code {
    display: inline-block;
    color: var(--green-800);
    font-family: Consolas, monospace;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(125deg, #062b4a, #0a4f78 65%, #08767a);
    background:
        radial-gradient(circle at 15% 22%, color-mix(in srgb, var(--turquoise), transparent 72%), transparent 34%),
        linear-gradient(125deg, var(--green-950), var(--green-900) 65%, color-mix(in srgb, var(--green-800), var(--green-950) 55%));
}

.mobile-app-nav {
    display: none;
}

.hero::after {
    position: absolute;
    bottom: -220px;
    left: -180px;
    width: 520px;
    height: 520px;
    content: "";
    border: 1px solid rgba(240, 213, 138, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(240, 213, 138, 0.03), 0 0 0 110px rgba(240, 213, 138, 0.025);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.11;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(255, 255, 255, 0.35) 50%, transparent 50.5%),
        linear-gradient(-30deg, transparent 49.5%, rgba(255, 255, 255, 0.25) 50%, transparent 50.5%);
    background-size: 64px 112px;
    -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000);
    mask-image: linear-gradient(90deg, transparent 45%, #000);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
    gap: 80px;
    align-items: center;
    min-height: 570px;
    padding-block: 76px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.eyebrow::before {
    width: 24px;
    height: 1px;
    content: "";
    background: currentColor;
}

.eyebrow-light {
    color: var(--gold-light);
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-lead {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.12rem;
    font-weight: 700;
}

.hero-description {
    max-width: 670px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 38px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.76rem;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.trust-dot {
    width: 7px;
    height: 7px;
    background: var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(240, 213, 138, 0.1);
}

.hero-profile {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
}

.profile-frame {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background:
        linear-gradient(180deg, transparent 35%, rgba(8, 43, 39, 0.9)),
        radial-gradient(circle at 50% 20%, #e8dcc1, #c6b38d 42%, #8b7551);
    border: 10px solid rgba(255, 255, 255, 0.07);
    border-radius: 170px 170px 22px 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.profile-frame.has-illustration {
    min-height: 430px;
    background: var(--green-950);
    border: 8px solid rgba(255, 255, 255, 0.09);
    border-radius: 30px;
}

.profile-frame.has-illustration::before,
.profile-frame.has-illustration::after {
    display: none;
}

.profile-frame.has-illustration::after {
    display: block;
    inset: 14px;
    width: auto;
    height: auto;
    border: 1px solid rgba(241, 217, 149, 0.28);
    border-radius: 20px;
}

.profile-frame.has-illustration > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-frame.portrait-photo > img {
    object-position: center 24%;
}

.profile-image-credit {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    padding: 4px 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(6, 43, 74, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    font-size: 0.57rem;
    backdrop-filter: blur(8px);
}

.profile-frame.has-illustration .profile-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 35px 24px 22px;
    background: linear-gradient(180deg, transparent, rgba(7, 31, 62, 0.96));
}

.profile-frame.has-illustration .profile-caption strong {
    color: var(--white);
    font-size: 1rem;
}

.profile-frame::before,
.profile-frame::after {
    position: absolute;
    z-index: 1;
    content: "";
    border: 1px solid rgba(240, 213, 138, 0.36);
    border-radius: 50%;
}

.profile-frame::before {
    top: 42px;
    right: 58px;
    width: 220px;
    height: 220px;
}

.profile-frame::after {
    top: 64px;
    right: 80px;
    width: 176px;
    height: 176px;
}

.profile-monogram {
    position: absolute;
    z-index: 2;
    top: 80px;
    right: 50%;
    display: flex;
    gap: 1px;
    color: rgba(8, 43, 39, 0.68);
    font-size: 6.4rem;
    font-weight: 900;
    line-height: 1;
    transform: translateX(50%);
}

.profile-caption {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 23px;
    left: 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.profile-caption span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
}

.profile-caption strong {
    color: var(--gold-light);
    font-size: 1.45rem;
}

.profile-meta-card {
    position: absolute;
    z-index: 5;
    bottom: -25px;
    left: -50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 310px;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border-radius: 13px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.profile-meta-card div {
    padding: 13px 18px;
}

.profile-meta-card div + div {
    border-right: 1px solid var(--line);
}

.profile-meta-card span,
.profile-meta-card strong {
    display: block;
}

.profile-meta-card span {
    color: var(--muted);
    font-size: 0.68rem;
}

.profile-meta-card strong {
    font-size: 0.83rem;
}

.quick-services {
    position: relative;
    z-index: 5;
    margin-top: -25px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.service-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
    min-height: 116px;
    padding: 22px 25px;
    transition: background 0.2s ease;
}

.service-card + .service-card {
    border-right: 1px solid var(--line);
}

.service-card:nth-child(3n + 1) {
    border-right: 0;
}

.service-card:nth-child(n + 4) {
    border-top: 1px solid var(--line);
}

.service-card:hover {
    background: var(--green-50);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--green-900);
    background: #f3ead5;
    border-radius: 12px;
    font-size: 0.63rem;
    font-weight: 900;
}

.service-card h2 {
    margin-bottom: 3px;
    font-size: 1rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.service-arrow {
    color: var(--green-800);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(-5px);
}

.section {
    padding-block: 92px;
}

.section-tinted {
    background: var(--green-50);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.4;
}

.text-link {
    color: var(--green-800);
    font-size: 0.86rem;
    font-weight: 800;
}

.text-link span {
    display: inline-block;
    margin-right: 5px;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(-4px);
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
    gap: 38px;
}

.featured-story {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1fr;
    gap: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.featured-visual {
    position: relative;
    display: block;
    min-height: 295px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 30%, rgba(240, 213, 138, 0.26), transparent 30%),
        linear-gradient(145deg, var(--green-800), var(--green-950));
    background-position: center;
    background-size: cover;
}

.featured-visual:not(.has-image)::before {
    position: absolute;
    top: 50%;
    right: 50%;
    width: 132px;
    height: 132px;
    content: "خبر";
    color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 132px;
    text-align: center;
    transform: translate(50%, -50%);
}

.visual-lines {
    position: absolute;
    right: 17%;
    bottom: 15%;
    width: 120px;
    height: 1px;
    background: rgba(240, 213, 138, 0.4);
    box-shadow: 0 -18px 0 rgba(240, 213, 138, 0.2), 0 18px 0 rgba(240, 213, 138, 0.2);
}

.story-type {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    padding: 5px 10px;
    color: var(--green-950);
    background: var(--gold-light);
    border-radius: 6px;
    font-size: 0.67rem;
    font-weight: 800;
}

.featured-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 30px;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.69rem;
}

.story-meta span {
    color: var(--gold);
    font-weight: 800;
}

.story-meta time::before {
    margin-left: 7px;
    content: "•";
    color: #abb5b0;
}

.featured-copy h3 {
    margin-bottom: 10px;
    font-size: 1.38rem;
    line-height: 1.55;
}

.featured-copy h3 a:hover,
.story-row h3 a:hover,
.archive-card h2 a:hover {
    color: var(--green-800);
}

.featured-copy p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.85rem;
}

.story-list {
    margin-top: 26px;
}

.story-row {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 20px;
    padding-block: 20px;
    border-bottom: 1px solid var(--line);
}

.story-row:first-child {
    padding-top: 0;
}

.story-thumb {
    position: relative;
    min-height: 112px;
    overflow: hidden;
    background: linear-gradient(145deg, #d7e5df, #bfd1c9);
    background-position: center;
    background-size: cover;
    border-radius: 11px;
}

.story-thumb:not(.has-image)::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(13, 59, 52, 0.2);
    content: "خبر";
    font-size: 1.6rem;
    font-weight: 900;
}

.story-row h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.6;
}

.story-row p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.announcement-panel {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.panel-heading h2 {
    margin-bottom: 20px;
    font-size: 1.35rem;
}

.announcement-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding-block: 16px;
    border-top: 1px solid var(--line);
}

.announcement-item:hover .announcement-copy strong {
    color: var(--green-800);
}

.announcement-date {
    display: flex;
    flex-direction: column;
    color: var(--rust);
    text-align: center;
}

.announcement-date b {
    font-size: 1.35rem;
    line-height: 1.2;
}

.announcement-date small {
    color: var(--muted);
    font-size: 0.58rem;
}

.announcement-copy {
    display: flex;
    flex-direction: column;
}

.announcement-copy strong {
    font-size: 0.85rem;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.announcement-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.67rem;
}

.panel-link {
    display: block;
    padding-top: 16px;
    color: var(--green-800);
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 800;
}

.official-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    margin-top: 25px;
    padding: 17px;
    background: var(--green-50);
    border-radius: 12px;
}

.official-icon {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    color: var(--white);
    background: var(--green-800);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 900;
}

.official-card strong {
    display: block;
    font-size: 0.82rem;
}

.official-card p {
    margin: 3px 0 8px;
    color: var(--muted);
    font-size: 0.7rem;
}

.official-card a {
    color: var(--green-800);
    font-size: 0.7rem;
    font-weight: 800;
}

.trust-section {
    background: #ebece5;
}

.trust-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
    gap: 70px;
    align-items: center;
}

.trust-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.45;
}

.trust-copy p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 0.91rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    background: #cfd5ce;
    border: 1px solid #cfd5ce;
    border-radius: var(--radius);
}

.process-step {
    min-height: 220px;
    padding: 28px 22px;
    background: var(--paper);
}

.process-step > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 28px;
    color: var(--green-800);
    background: var(--gold-light);
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 900;
}

.process-step h3 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.process-step p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.77rem;
}

.contact-cta {
    color: var(--white);
    background:
        radial-gradient(circle at 8% 50%, rgba(196, 154, 74, 0.18), transparent 24%),
        var(--green-900);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 55px;
}

.contact-cta h2 {
    margin-bottom: 7px;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.contact-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.86rem;
}

.contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.66);
    background: var(--green-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 1fr;
    gap: 65px;
    padding-block: 55px;
}

.brand-footer .brand-copy strong {
    color: var(--white);
}

.brand-footer .brand-copy span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-text {
    max-width: 420px;
    margin: 18px 0 0;
    font-size: 0.79rem;
}

.footer-title {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 0.93rem;
}

.footer-links {
    display: grid;
    gap: 5px;
    font-size: 0.78rem;
}

.footer-links a:hover,
.footer-official:hover {
    color: var(--gold-light);
}

.footer-official {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold-light);
    font-size: 0.79rem;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-block: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.68rem;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(110deg, var(--green-950), var(--green-800)),
        var(--green-900);
}

.page-hero::after {
    position: absolute;
    top: -190px;
    left: 6%;
    width: 430px;
    height: 430px;
    content: "";
    border: 1px solid rgba(240, 213, 138, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(240, 213, 138, 0.035), 0 0 0 110px rgba(240, 213, 138, 0.025);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 265px;
    padding-block: 45px;
}

.page-hero h1 {
    max-width: 830px;
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.45;
}

.page-hero p {
    max-width: 730px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
}

.page-hero-mark {
    flex: 0 0 auto;
    color: rgba(240, 213, 138, 0.12);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
}

.page-hero-compact .page-hero-inner {
    min-height: 220px;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 35px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.filter-bar label,
.admin-filter label,
.portal-form label,
.admin-form-card label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.filter-bar label > span,
.admin-filter label > span,
.portal-form label > span,
.admin-form-card label > span {
    color: #3d4c47;
    font-size: 0.77rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #ccd5d0;
    border-radius: 9px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input,
select {
    min-height: 46px;
    padding: 8px 13px;
}

textarea {
    padding: 12px 13px;
    line-height: 1.9;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green-800);
    box-shadow: 0 0 0 3px rgba(20, 82, 71, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #9ba7a1;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.archive-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.archive-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.archive-visual {
    position: relative;
    display: block;
    min-height: 190px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 80%, rgba(240, 213, 138, 0.2), transparent 30%),
        linear-gradient(140deg, #c9dbd3, #8baaa0);
    background-position: center;
    background-size: cover;
}

.archive-symbol {
    position: absolute;
    top: 50%;
    right: 50%;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    color: rgba(13, 59, 52, 0.25);
    border: 1px solid rgba(13, 59, 52, 0.14);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 900;
    transform: translate(50%, -50%);
}

.archive-copy {
    padding: 22px;
}

.archive-card h2 {
    margin-bottom: 9px;
    font-size: 1.08rem;
    line-height: 1.65;
}

.archive-card p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 0.78rem;
}

.empty-state {
    padding: 33px 18px;
    color: var(--muted);
    text-align: center;
    font-size: 0.86rem;
}

.empty-state strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 1.1rem;
}

.empty-large {
    padding-block: 80px;
    background: var(--white);
    border: 1px dashed #c8d1cc;
    border-radius: var(--radius);
}

.pagination-wrap {
    margin-top: 35px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 22px;
}

.pagination a,
.pagination-disabled,
.pagination-current {
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 0.77rem;
}

.pagination a {
    color: var(--green-800);
    background: var(--white);
    border: 1px solid var(--line);
}

.pagination-disabled {
    color: #aab2ae;
}

.pagination-current {
    color: var(--muted);
}

.article-header {
    color: var(--white);
    background:
        radial-gradient(circle at 12% 25%, rgba(196, 154, 74, 0.16), transparent 24%),
        var(--green-950);
}

.article-header-inner {
    max-width: 940px;
    padding-block: 35px 55px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.7rem;
}

.breadcrumbs a:hover {
    color: var(--gold-light);
}

.article-header h1 {
    margin-bottom: 22px;
    font-size: clamp(1.85rem, 4vw, 3.1rem);
    line-height: 1.55;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.73rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
    align-items: start;
    padding-block: 45px 75px;
}

.article-main {
    min-width: 0;
}

.article-cover {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 30%, rgba(240, 213, 138, 0.18), transparent 24%),
        linear-gradient(145deg, var(--green-800), var(--green-950));
    background-position: center;
    background-size: cover;
    border-radius: var(--radius);
}

.article-cover::after {
    position: absolute;
    inset: 16px;
    content: "";
    border: 1px solid rgba(240, 213, 138, 0.13);
    border-radius: 15px;
    pointer-events: none;
}

.article-cover.has-image::after {
    border-color: rgba(255, 255, 255, 0.3);
}

.article-image-credit {
    position: absolute;
    z-index: 2;
    bottom: 15px;
    left: 15px;
    padding: 4px 8px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(6, 43, 74, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.6rem;
    backdrop-filter: blur(8px);
}

.article-cover-content {
    position: absolute;
    top: 50%;
    right: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.78rem;
    transform: translate(50%, -50%);
}

.article-excerpt {
    margin: 30px 0 0;
    padding: 22px 25px;
    color: #30443d;
    background: var(--green-50);
    border-right: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    font-size: 1rem;
    font-weight: 600;
}

.article-body {
    padding-top: 30px;
    color: #293630;
    font-size: 1rem;
    line-height: 2.15;
}

.article-body a {
    color: var(--green-800);
    text-decoration: underline;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 38px;
    padding-top: 22px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
}

.article-footer a {
    color: var(--green-800);
    font-weight: 700;
}

.article-footer small {
    color: var(--muted);
    font-size: 0.65rem;
}

.article-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.sidebar-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.sidebar-card h2 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.sidebar-card p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.77rem;
}

.sidebar-card .text-link {
    display: block;
    margin-top: 14px;
}

.sidebar-official {
    background: var(--green-900);
    border-color: var(--green-900);
}

.sidebar-official h2 {
    margin-top: 14px;
    color: var(--white);
}

.sidebar-official p {
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-official .eyebrow,
.sidebar-official .text-link {
    color: var(--gold-light);
}

.related-section {
    padding-top: 0;
}

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

.related-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.related-card > span,
.related-card small {
    color: var(--muted);
    font-size: 0.67rem;
}

.related-card h3 {
    margin: 8px 0 11px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 50px;
    align-items: center;
    min-height: 350px;
    padding-block: 50px;
}

.profile-page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 8% 25%, rgba(196, 154, 74, 0.18), transparent 24%),
        linear-gradient(115deg, var(--green-950), var(--green-800));
}

.profile-page-hero h1 {
    margin-bottom: 11px;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.profile-page-hero p {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.7);
}

.about-monogram {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 220px;
    padding: 30px;
    overflow: hidden;
    color: rgba(8, 43, 39, 0.64);
    background: linear-gradient(145deg, var(--gold-light), #b89655);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 120px 120px 18px 18px;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.about-monogram::before {
    position: absolute;
    top: 24px;
    right: 24px;
    left: 24px;
    height: 150px;
    content: "";
    border: 1px solid rgba(8, 43, 39, 0.2);
    border-radius: 100px 100px 0 0;
}

.about-monogram small {
    position: absolute;
    right: 22px;
    bottom: 16px;
    left: 22px;
    color: var(--green-950);
    font-size: 0.7rem;
    text-align: center;
}

.about-photo {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: var(--green-950);
    border: 8px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.about-photo > img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 24%;
}

.about-photo > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 45px 20px 17px;
    background: linear-gradient(180deg, transparent, rgba(6, 43, 74, 0.96));
}

.about-photo strong {
    color: white;
    font-size: 0.9rem;
}

.about-photo span,
.about-photo small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.65rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 70px;
    align-items: start;
}

.about-main h2 {
    margin-bottom: 16px;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.about-main > p {
    color: #4a5b55;
    font-size: 0.94rem;
}

.official-profile-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
    padding: 18px;
    background: var(--green-50);
    border: 1px solid #d1e4dc;
    border-radius: 13px;
}

.official-profile-box strong {
    display: block;
    font-size: 0.85rem;
}

.official-profile-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.fact-list {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.fact-list div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    padding: 17px 20px;
}

.fact-list div + div {
    border-top: 1px solid var(--line);
}

.fact-list dt {
    color: var(--muted);
    font-size: 0.75rem;
}

.fact-list dd {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mission-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid #d9e2dd;
    border-radius: var(--radius);
}

.mission-card > span {
    color: var(--gold);
    font-size: 0.73rem;
    font-weight: 800;
}

.mission-card h3 {
    margin: 20px 0 7px;
    font-size: 1.05rem;
}

.mission-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.6fr);
    gap: 30px;
    align-items: start;
}

.form-layout-wide {
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
}

.form-card {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.form-heading {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.form-heading h2 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.form-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

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

.form-span-2 {
    grid-column: span 2;
}

.portal-form label + label {
    margin-top: 17px;
}

.form-grid.portal-form label + label {
    margin-top: 0;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.form-footer p {
    max-width: 520px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.7rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.honeypot {
    position: absolute !important;
    right: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-aside {
    display: grid;
    gap: 18px;
}

.aside-card {
    padding: 25px;
    background: var(--green-900);
    border-radius: var(--radius);
    color: var(--white);
}

.aside-card h2 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 1.2rem;
}

.aside-card .eyebrow {
    color: var(--gold-light);
}

.contact-line {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-block: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-line span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.66rem;
}

.contact-line strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
}

.aside-note {
    margin: 16px 0 0;
    padding: 13px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9px;
    font-size: 0.72rem;
}

.aside-track {
    background: var(--white);
    border: 1px solid var(--line);
}

.aside-track h2 {
    color: var(--ink);
}

.aside-track p {
    color: var(--muted);
    font-size: 0.77rem;
}

.aside-track .eyebrow {
    color: var(--gold);
}

.guidance-list {
    margin: 0;
    padding-right: 20px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
}

.guidance-list li {
    margin-bottom: 11px;
}

.guidance-list li::marker {
    color: var(--gold-light);
    font-weight: 900;
}

.tracking-wrap {
    max-width: 820px;
}

.tracking-card {
    padding: 33px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tracking-card h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.tracking-card > p {
    color: var(--muted);
    font-size: 0.8rem;
}

.tracking-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 600px;
    margin: 25px auto 0;
}

.tracking-form input {
    text-align: left;
}

.tracking-result {
    margin-top: 24px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.tracking-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.tracking-result-head h2 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.tracking-details,
.detail-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 0;
}

.tracking-details div,
.detail-list div {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.tracking-details div:nth-child(odd),
.detail-list div:nth-child(odd) {
    padding-left: 20px;
}

.tracking-details div:nth-child(even),
.detail-list div:nth-child(even) {
    padding-right: 20px;
    border-right: 1px solid var(--line);
}

.tracking-details dt,
.detail-list dt {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 0.68rem;
}

.tracking-details dd,
.detail-list dd {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
}

.tracking-note {
    margin-top: 20px;
    padding: 13px;
    color: var(--muted);
    background: var(--green-50);
    border-radius: 8px;
    font-size: 0.7rem;
}

.tracking-not-found {
    text-align: center;
}

.tracking-not-found h2 {
    margin-bottom: 6px;
}

.tracking-not-found p {
    color: var(--muted);
    font-size: 0.82rem;
}

.result-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    color: var(--rust);
    background: #fbece6;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 900;
}

.field-error {
    color: var(--rust);
    font-size: 0.76rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 3px 9px;
    white-space: nowrap;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
}

.status-new,
.status-pending,
.status-draft {
    color: #8a5b12;
    background: #fff2cf;
}

.status-in_review {
    color: #275c77;
    background: #e5f2f9;
}

.status-answered,
.status-approved,
.status-published {
    color: #1e644c;
    background: #e1f2e9;
}

.status-rejected,
.status-cancelled {
    color: #8a3c35;
    background: #f9e8e6;
}

.status-closed,
.status-completed {
    color: #55625d;
    background: #edf0ee;
}

.auth-section {
    min-height: calc(100vh - 122px);
    padding-block: 70px;
    background:
        radial-gradient(circle at 80% 20%, rgba(196, 154, 74, 0.16), transparent 24%),
        var(--green-950);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 70px;
    align-items: center;
}

.auth-intro {
    color: var(--white);
}

.auth-intro h1 {
    max-width: 650px;
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.5;
}

.auth-intro p {
    max-width: 610px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.auth-card {
    padding: 35px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.auth-card h2 {
    margin-bottom: 23px;
    font-size: 1.4rem;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 9px !important;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.78rem;
}

.checkbox-label input {
    width: 17px;
    min-height: 17px;
    accent-color: var(--green-800);
}

/* Admin */
.admin-body {
    background: #f3f5f3;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex: 0 0 260px;
    flex-direction: column;
    height: 100vh;
    padding: 24px 18px;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 5%, rgba(196, 154, 74, 0.16), transparent 24%),
        var(--green-950);
}

.brand-admin {
    padding: 4px 7px 23px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand-admin .brand-copy strong {
    color: var(--white);
}

.brand-admin .brand-copy span {
    color: rgba(255, 255, 255, 0.48);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 19px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.admin-nav-label {
    margin: 15px 10px 5px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.61rem;
    font-weight: 700;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.68);
    border-radius: 9px;
    font-size: 0.78rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.admin-nav a.active {
    box-shadow: inset 3px 0 var(--gold);
}

.nav-symbol {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--gold-light);
    border: 1px solid rgba(240, 213, 138, 0.2);
    border-radius: 7px;
    font-size: 0.65rem;
    font-weight: 800;
}

.admin-sidebar-footer {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-sidebar-footer a,
.admin-sidebar-footer button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 5px 9px;
    color: rgba(255, 255, 255, 0.58);
    background: none;
    border: 0;
    font-size: 0.73rem;
}

.admin-sidebar-footer a:hover,
.admin-sidebar-footer button:hover {
    color: var(--gold-light);
}

.admin-main {
    min-width: 0;
    flex: 1;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.admin-topbar > div:first-child {
    display: flex;
    flex-direction: column;
}

.admin-kicker {
    color: var(--muted);
    font-size: 0.63rem;
}

.admin-topbar strong {
    font-size: 0.95rem;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.73rem;
}

.admin-user i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    background: var(--green-800);
    border-radius: 50%;
    font-style: normal;
    font-weight: 800;
}

.admin-content {
    width: min(1300px, calc(100% - 55px));
    margin-inline: auto;
    padding-block: 34px 60px;
}

.admin-flash {
    width: min(1300px, calc(100% - 55px));
    padding-top: 18px;
}

.admin-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.admin-page-head h1 {
    margin-bottom: 4px;
    font-size: 1.6rem;
}

.admin-page-head p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 150px;
    overflow: hidden;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--green-800);
    border-radius: 13px;
}

.stat-card::after {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 95px;
    height: 95px;
    content: "";
    background: currentColor;
    border-radius: 50%;
    opacity: 0.045;
}

.stat-card > span {
    color: var(--muted);
    font-size: 0.7rem;
}

.stat-card > strong {
    margin: 9px 0 auto;
    font-size: 2.2rem;
    line-height: 1.25;
}

.stat-card > a {
    color: var(--green-800);
    font-size: 0.69rem;
    font-weight: 700;
}

.stat-gold {
    color: var(--gold);
    border-top-color: var(--gold);
}

.stat-blue {
    color: var(--blue);
    border-top-color: var(--blue);
}

.stat-rust {
    color: var(--rust);
    border-top-color: var(--rust);
}

.stat-gold > a {
    color: #946c22;
}

.stat-blue > a {
    color: var(--blue);
}

.stat-rust > a {
    color: var(--rust);
}

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

.admin-panel,
.admin-side-card,
.admin-form-card,
.admin-table-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.admin-panel {
    padding: 22px;
}

.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}

.admin-panel-head h2 {
    margin-bottom: 0;
    font-size: 1.08rem;
}

.admin-list {
    display: grid;
}

.admin-list-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding-block: 12px;
    border-top: 1px solid var(--line);
}

.admin-list-row:hover .list-main strong {
    color: var(--green-800);
}

.list-avatar {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    color: var(--green-800);
    background: var(--green-100);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
}

.list-avatar-alt {
    color: #855a12;
    background: #f8edcf;
}

.list-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.list-main strong {
    overflow: hidden;
    font-size: 0.77rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.list-main small {
    color: var(--muted);
    font-size: 0.63rem;
}

.admin-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(150px, 0.55fr)) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 18px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.admin-filter:has(label:nth-child(2):last-of-type) {
    grid-template-columns: minmax(220px, 1.3fr) minmax(160px, 0.6fr) auto;
}

.admin-filter input,
.admin-filter select {
    min-height: 41px;
    font-size: 0.78rem;
}

.admin-filter .button {
    min-height: 41px;
}

.admin-table-card {
    overflow: hidden;
}

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

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.76rem;
    text-align: right;
}

.admin-table th {
    padding: 13px 15px;
    color: var(--muted);
    background: #f7f8f6;
    border-bottom: 1px solid var(--line);
    font-size: 0.67rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #edf0ed;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table td > small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.62rem;
}

.admin-table td > strong {
    font-weight: 700;
}

.row-unread {
    background: #fffcf3;
}

.row-unread td > strong::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    content: "";
    background: var(--gold);
    border-radius: 50%;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-actions a,
.table-actions button,
.table-action-link {
    color: var(--green-800);
    background: none;
    border: 0;
    font-size: 0.69rem;
    font-weight: 700;
    white-space: nowrap;
}

.table-actions .danger-link {
    color: var(--rust);
}

.admin-form-card {
    padding: 27px;
}

.admin-form-card textarea,
.admin-form-card input,
.admin-form-card select {
    font-size: 0.82rem;
}

.admin-form-card label small {
    color: var(--muted);
    font-size: 0.65rem;
}

.file-field input {
    padding: 8px;
}

.current-file {
    color: var(--green-800) !important;
}

.admin-feature-check {
    margin-top: 22px;
    padding: 14px;
    background: var(--green-50);
    border-radius: 9px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}

.message-body {
    margin: 5px 0 22px;
    padding: 20px;
    color: #37463f;
    background: #f8f9f7;
    border-right: 3px solid var(--gold);
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 2;
    white-space: pre-line;
}

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

.detail-list div:nth-child(odd),
.detail-list div:nth-child(even) {
    padding: 13px 0;
    border-right: 0;
}

.admin-side-card {
    padding: 23px;
}

.admin-side-card h2 {
    font-size: 1.08rem;
}

.admin-side-card .portal-form {
    margin-top: 20px;
}

.admin-side-card textarea,
.admin-side-card select {
    font-size: 0.78rem;
}

.danger-zone {
    margin-top: 24px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.danger-button {
    width: 100%;
    padding: 8px;
    color: var(--rust);
    background: #fff3f0;
    border: 1px solid #efd2ca;
    border-radius: 8px;
    font-size: 0.72rem;
}

.footer-bottom span:last-child {
    display: flex;
    gap: 14px;
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

.global-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 820px;
    margin-bottom: 26px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.search-summary {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.82rem;
}

.search-summary strong {
    margin-left: 5px;
    color: var(--green-800);
    font-size: 1.2rem;
}

.stat-navy {
    color: var(--green-800);
    border-top-color: var(--green-800);
}

.stat-navy > a {
    color: var(--green-800);
}

.stat-slate {
    color: #607b91;
    border-top-color: #607b91;
}

.stat-slate > a {
    color: #607b91;
}

.stat-card > small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.64rem;
}

.trend-up {
    color: #24765b !important;
}

.trend-down {
    color: var(--rust) !important;
}

.admin-user span {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.5;
}

.admin-user span small {
    color: #8c9792;
    font-size: 0.6rem;
}

.admin-quick-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.admin-quick-bar a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    color: var(--green-900);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 11px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.admin-quick-bar a:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.admin-quick-bar b {
    font-size: 0.78rem;
}

.admin-quick-bar span {
    color: var(--muted);
    font-size: 0.64rem;
}

.report-activity-panel {
    margin-top: 18px;
}

.report-filter {
    grid-template-columns: minmax(160px, 0.5fr) minmax(160px, 0.5fr) auto auto;
}

.report-period {
    color: var(--muted);
    font-size: 0.72rem;
}

.analytics-chart {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    min-height: 280px;
    overflow-x: auto;
    padding: 18px 4px 0;
    border-bottom: 1px solid var(--line);
}

.chart-column {
    display: flex;
    flex: 1 0 28px;
    min-width: 28px;
    max-width: 58px;
    height: 245px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.chart-track {
    display: flex;
    width: 100%;
    height: 200px;
    align-items: flex-end;
    overflow: hidden;
    background: #f1f4f3;
    border-radius: 5px 5px 2px 2px;
}

.chart-track i {
    display: block;
    width: 100%;
    min-height: 3px;
    background: linear-gradient(180deg, var(--gold), var(--green-800));
    border-radius: 5px 5px 2px 2px;
}

.chart-column small,
.chart-value {
    color: var(--muted);
    font-size: 0.58rem;
}

.chart-value {
    min-height: 15px;
    color: var(--green-800);
    font-weight: 700;
}

.compact-chart {
    min-height: 190px;
}

.compact-chart .chart-column {
    height: 160px;
}

.compact-chart .chart-track {
    height: 125px;
}

.analytics-secondary,
.report-chart-panel {
    margin-top: 18px;
}

.rank-list {
    display: grid;
}

.rank-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding-block: 12px;
    border-top: 1px solid var(--line);
}

.rank-row > span:first-child {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    color: var(--green-800);
    background: var(--green-50);
    border-radius: 8px;
    font-size: 0.64rem;
    font-weight: 800;
}

.rank-row > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.rank-row strong {
    overflow: hidden;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.59rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row > b {
    color: var(--green-800);
    font-size: 0.76rem;
}

.rank-compact .rank-row {
    padding-block: 15px;
}

.device-breakdown {
    display: grid;
    gap: 18px;
}

.device-row {
    display: grid;
    grid-template-columns: 70px 1fr 42px;
    gap: 10px;
    align-items: center;
    font-size: 0.72rem;
}

.device-row > div {
    height: 8px;
    overflow: hidden;
    background: #eef1ef;
    border-radius: 100px;
}

.device-row i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green-800), var(--gold));
    border-radius: 100px;
}

.device-row b {
    color: var(--green-800);
    text-align: left;
}

.report-status-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.report-status-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px;
    background: #f8f9f7;
    border-radius: 8px;
}

.report-status-list strong {
    color: var(--green-800);
    font-size: 1rem;
}

.export-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.export-grid a {
    display: flex;
    flex-direction: column;
    padding: 13px;
    color: var(--green-900);
    background: var(--green-50);
    border: 1px solid #d5e1e8;
    border-radius: 9px;
}

.export-grid a:hover {
    border-color: var(--gold);
}

.export-grid strong {
    font-size: 0.72rem;
}

.export-grid span {
    color: var(--muted);
    font-size: 0.62rem;
}

.seo-editor {
    margin-top: 25px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.seo-preview {
    margin-top: 18px;
    padding: 16px;
    background: #f8faf9;
    border: 1px solid #e2e8e5;
    border-radius: 10px;
}

.seo-preview span,
.seo-preview strong,
.seo-preview p {
    display: block;
}

.seo-preview span {
    color: #4b735b;
    font-size: 0.62rem;
    direction: ltr;
    text-align: left;
}

.seo-preview strong {
    margin: 3px 0;
    color: #244b91;
    font-size: 0.9rem;
}

.seo-preview p {
    margin: 0;
    color: #5e6965;
    font-size: 0.68rem;
}

.permission-editor {
    margin-top: 25px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.permission-editor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}

.permission-editor-head h2 {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.permission-group {
    margin: 0 0 13px;
    padding: 14px;
    background: #f8f9f7;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.permission-group legend {
    padding-inline: 7px;
    color: var(--green-900);
    font-size: 0.76rem;
    font-weight: 800;
}

.permission-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.permission-options label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 8px !important;
    padding: 10px;
    background: var(--white);
    border: 1px solid #e5e9e7;
    border-radius: 8px;
    cursor: pointer;
}

.permission-options input {
    width: 16px;
    min-height: 16px;
    margin-top: 3px;
    accent-color: var(--green-800);
}

.permission-options label > span {
    display: flex;
    flex-direction: column;
}

.permission-options strong {
    color: var(--ink);
    font-size: 0.7rem;
}

.permission-options small {
    color: var(--muted);
    font-size: 0.57rem;
}

.role-assignment {
    margin-top: 22px;
}

.role-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.role-chips span {
    padding: 2px 7px;
    color: var(--green-800);
    background: var(--green-50);
    border-radius: 100px;
    font-size: 0.6rem;
}

.settings-section + .settings-section {
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.seo-health {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 15px;
}

.seo-health span {
    padding: 7px 10px;
    color: #25614d;
    background: #e8f4ed;
    border-radius: 7px;
    font-size: 0.64rem;
}

.seo-health b {
    direction: ltr;
}

.user-active-check {
    align-self: end;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.print-report-body {
    background: #e8ecea;
}

.print-report {
    width: min(1000px, calc(100% - 30px));
    margin: 25px auto;
    padding: 35px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.print-report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--green-900);
}

.print-report-head > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.print-report-head > div:first-child > div {
    display: flex;
    flex-direction: column;
}

.print-report-head h1 {
    margin-bottom: 2px;
    font-size: 1.3rem;
}

.print-report-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.print-report-head button {
    padding: 7px 12px;
    color: var(--white);
    background: var(--green-900);
    border: 0;
    border-radius: 7px;
}

.print-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 24px 0;
}

.print-summary div {
    display: flex;
    flex-direction: column;
    padding: 13px;
    background: var(--green-50);
    border-radius: 8px;
}

.print-summary span {
    color: var(--muted);
    font-size: 0.67rem;
}

.print-summary strong {
    font-size: 1.35rem;
}

.print-table {
    width: 100%;
    margin-bottom: 22px;
    border-collapse: collapse;
    font-size: 0.72rem;
}

.print-table th,
.print-table td {
    padding: 9px;
    border: 1px solid var(--line);
    text-align: right;
}

.print-table th {
    background: var(--green-50);
}

.print-report footer {
    color: var(--muted);
    font-size: 0.65rem;
}

.instagram-section {
    overflow: hidden;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--green-50), var(--turquoise) 8%), var(--white));
}

.instagram-feed-grid {
    display: grid;
    grid-auto-columns: minmax(210px, 1fr);
    grid-auto-flow: column;
    gap: 15px;
    overflow-x: auto;
    padding: 4px 1px 17px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.instagram-feed-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-soft);
    scroll-snap-align: start;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.instagram-feed-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.instagram-feed-image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 65% 30%, color-mix(in srgb, var(--gold), transparent 55%), transparent 28%),
        linear-gradient(145deg, var(--green-900), var(--green-950));
    font-weight: 800;
}

.instagram-feed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.instagram-feed-card:hover img {
    transform: scale(1.04);
}

.instagram-feed-image i {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--green-950);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    font-style: normal;
}

.instagram-feed-card p {
    display: -webkit-box;
    min-height: 55px;
    margin: 13px 14px 5px;
    overflow: hidden;
    font-size: 0.73rem;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.instagram-feed-card small {
    display: block;
    margin: 0 14px 14px;
    color: var(--muted);
    font-size: 0.62rem;
}

.theme-color-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.theme-color-field {
    padding: 12px;
    background: #f8f9f7;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.theme-color-field > div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 8px;
}

.theme-color-field input[type="color"] {
    min-height: 42px;
    padding: 4px;
    cursor: pointer;
}

.theme-color-field small {
    color: var(--muted);
    font-size: 0.6rem;
}

.theme-live-preview {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 165px;
    margin-top: 18px;
    overflow: hidden;
    background: var(--preview-surface, #eaf7f7);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.theme-preview-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    color: white;
    background: linear-gradient(135deg, var(--preview-deep, #062b4a), var(--preview-primary, #0a4f78), var(--preview-turquoise, #14a6a3));
}

.theme-preview-hero span,
.theme-preview-hero small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.63rem;
}

.theme-preview-hero strong {
    margin-block: 7px;
    color: var(--preview-accent, #d9b76f);
    font-size: 1.1rem;
}

.theme-preview-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.theme-preview-content span {
    color: var(--preview-primary, #0a4f78);
    font-size: 0.65rem;
}

.theme-preview-content b {
    margin-block: 8px 16px;
    font-size: 0.86rem;
}

.theme-preview-content i {
    align-self: flex-start;
    padding: 7px 13px;
    color: white;
    background: var(--preview-primary, #0a4f78);
    border-radius: 7px;
    font-size: 0.66rem;
    font-style: normal;
}

.integration-note,
.integration-status {
    margin-bottom: 18px;
    padding: 14px 17px;
    color: #315b6b;
    background: color-mix(in srgb, var(--green-50), var(--turquoise) 9%);
    border: 1px solid color-mix(in srgb, var(--turquoise), white 67%);
    border-radius: 10px;
    font-size: 0.74rem;
    line-height: 1.9;
}

.integration-status strong,
.integration-status p {
    display: block;
}

.integration-status p {
    margin: 5px 0 0;
}

.integration-offline {
    color: #75561d;
    background: #fff8e8;
    border-color: #eed9a8;
}

.integration-error {
    color: #7c3734;
    background: #fff1ef;
    border-color: #efcbc6;
}

.instagram-account-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.instagram-account-card > img {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid color-mix(in srgb, var(--turquoise), white 50%);
}

.instagram-account-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.instagram-account-card span,
.instagram-account-card small {
    color: var(--muted);
    font-size: 0.66rem;
}

.instagram-account-card strong {
    color: var(--green-900);
    font-size: 1rem;
}

.instagram-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.instagram-admin-grid > a {
    padding-bottom: 10px;
    overflow: hidden;
    background: #f8f9f7;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.instagram-media-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    color: white;
    background: linear-gradient(145deg, var(--green-900), var(--green-950));
    font-size: 0.7rem;
}

.instagram-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-admin-grid p,
.instagram-admin-grid small {
    display: block;
    margin-inline: 9px;
}

.instagram-admin-grid p {
    margin-block: 8px 4px;
    font-size: 0.67rem;
    line-height: 1.7;
}

.instagram-admin-grid small {
    color: var(--muted);
    font-size: 0.57rem;
}

.instagram-admin-feed {
    margin-bottom: 18px;
}

.integration-guide p {
    color: var(--muted);
    font-size: 0.76rem;
}

.social-action {
    color: var(--green-800);
    background: none;
    border: 0;
    font-size: 0.65rem;
    font-weight: 700;
}

.community-section {
    background:
        radial-gradient(circle at 10% 25%, color-mix(in srgb, var(--turquoise), transparent 88%), transparent 24%),
        var(--white);
}

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

.community-card {
    position: relative;
    display: flex;
    min-height: 225px;
    overflow: hidden;
    flex-direction: column;
    padding: 27px;
    color: var(--white);
    background: linear-gradient(145deg, var(--green-900), var(--green-950));
    border-radius: 18px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.community-card::after {
    position: absolute;
    top: -55px;
    left: -45px;
    width: 150px;
    height: 150px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 27px rgba(255, 255, 255, 0.025), 0 0 0 54px rgba(255, 255, 255, 0.02);
}

.community-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.community-supporters {
    background: linear-gradient(145deg, var(--green-800), #087c82);
}

.community-forum {
    background: linear-gradient(145deg, #284d6b, var(--green-950));
}

.community-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 24px;
    color: var(--green-950);
    background: var(--gold-light);
    border-radius: 13px;
    font-size: 1.1rem;
    font-weight: 900;
}

.community-card strong {
    font-size: 1.05rem;
}

.community-card p {
    margin: 8px 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
}

.community-card small {
    margin-top: 18px;
    color: var(--gold-light);
    font-size: 0.68rem;
    font-weight: 700;
}

.article-reaction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 20px 23px;
    background: var(--green-50);
    border: 1px solid color-mix(in srgb, var(--turquoise), white 72%);
    border-radius: 12px;
}

.article-reaction > div {
    display: flex;
    flex-direction: column;
}

.article-reaction span {
    color: var(--muted);
    font-size: 0.73rem;
}

.article-reaction strong {
    color: var(--green-900);
    font-size: 1rem;
}

.poll-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.poll-card {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    padding: 23px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--turquoise);
    border-radius: 17px;
    box-shadow: var(--shadow-soft);
}

.poll-card-top,
.poll-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 0.64rem;
}

.poll-status {
    padding: 3px 9px;
    color: #15584d;
    background: #dff4ee;
    border-radius: 100px;
    font-weight: 800;
}

.poll-card h2 {
    margin: 23px 0 9px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.poll-card h2 a:hover {
    color: var(--green-800);
}

.poll-card > p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.76rem;
}

.poll-card-meta {
    justify-content: flex-start;
    margin-top: auto;
    padding-block: 15px;
    border-top: 1px solid var(--line);
}

.poll-card-meta span {
    padding-left: 9px;
    border-left: 1px solid var(--line);
}

.poll-detail-hero {
    padding-block: 32px 52px;
    color: var(--white);
    background:
        radial-gradient(circle at 10% 15%, color-mix(in srgb, var(--turquoise), transparent 65%), transparent 30%),
        linear-gradient(125deg, var(--green-950), var(--green-900));
}

.poll-detail-heading {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 40px;
    align-items: end;
}

.poll-detail-heading h1 {
    max-width: 850px;
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.5;
}

.poll-detail-heading p {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.poll-share-box {
    padding: 17px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    backdrop-filter: blur(10px);
}

.poll-share-box strong {
    display: block;
    margin-bottom: 7px;
    font-size: 0.7rem;
}

.poll-share-box input {
    min-height: 40px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(0, 0, 0, 0.13);
    border-color: rgba(255, 255, 255, 0.18);
    font-size: 0.65rem;
}

.poll-share-box > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.poll-share-box .button {
    min-height: 38px;
    padding: 6px 9px;
    font-size: 0.7rem;
}

.poll-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.poll-vote-card,
.poll-results,
.forum-original-post,
.forum-reply-form {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-soft);
}

.poll-question-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.poll-question-label span {
    font-weight: 800;
}

.poll-question-label small {
    color: var(--muted);
    font-size: 0.66rem;
}

.poll-options {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.poll-option {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 11px !important;
    padding: 14px;
    background: #f8faf9;
    border: 1px solid #e0e7e4;
    border-radius: 11px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.poll-option:has(input:checked) {
    background: color-mix(in srgb, var(--green-50), var(--turquoise) 7%);
    border-color: var(--turquoise);
}

.poll-option input {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 1px;
    min-height: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.poll-radio {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid #a8b7b2;
    border-radius: 50%;
}

.poll-option input:checked + .poll-radio {
    border-color: var(--turquoise);
}

.poll-option input:checked + .poll-radio::after {
    position: absolute;
    inset: 3px;
    content: "";
    background: var(--turquoise);
    border-radius: 50%;
}

.poll-option > span:last-child {
    display: flex;
    flex-direction: column;
}

.poll-option strong {
    font-size: 0.8rem;
}

.poll-option small {
    color: var(--muted);
    font-size: 0.65rem;
}

.poll-results {
    position: sticky;
    top: 105px;
}

.poll-results h2 {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.poll-result-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 19px;
    color: var(--muted);
    font-size: 0.67rem;
}

.poll-result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px;
    gap: 7px 10px;
    align-items: center;
    padding-block: 11px;
    border-top: 1px solid var(--line);
}

.poll-result-row > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.poll-result-row strong {
    font-size: 0.75rem;
}

.poll-result-row span {
    color: var(--muted);
    font-size: 0.63rem;
}

.poll-result-row > b {
    color: var(--green-800);
    font-size: 0.75rem;
    text-align: left;
}

.poll-result-track {
    height: 7px;
    overflow: hidden;
    background: #eef2f0;
    border-radius: 100px;
}

.poll-result-track i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green-900), var(--turquoise));
    border-radius: 100px;
}

.poll-already-voted,
.poll-closed-message {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: #eaf6f1;
    border-radius: 11px;
}

.poll-already-voted > span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    color: white;
    background: var(--green-800);
    border-radius: 50%;
}

.poll-already-voted p,
.poll-closed-message p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.poll-results-locked p {
    color: var(--muted);
    font-size: 0.75rem;
}

.community-links-wide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.community-links-wide a {
    display: flex;
    flex-direction: column;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.community-links-wide strong {
    color: var(--green-900);
    font-size: 0.85rem;
}

.community-links-wide span {
    color: var(--muted);
    font-size: 0.68rem;
}

.supporter-count {
    display: flex;
    min-width: 160px;
    flex-direction: column;
    align-items: center;
    padding: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50% 50% 18px 18px;
}

.supporter-count strong {
    color: var(--gold-light);
    font-size: 2.5rem;
    line-height: 1.2;
}

.supporter-count span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

.benefit-list {
    margin: 0;
    padding-right: 19px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
}

.benefit-list li {
    margin-bottom: 10px;
}

.benefit-list li::marker {
    color: var(--gold-light);
}

.forum-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.forum-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.forum-categories a {
    padding: 6px 12px;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.7rem;
}

.forum-categories a.active,
.forum-categories a:hover {
    color: var(--white);
    background: var(--green-900);
    border-color: var(--green-900);
}

.forum-topic-list {
    display: grid;
    gap: 11px;
}

.forum-topic {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.forum-topic:hover {
    border-color: color-mix(in srgb, var(--turquoise), white 40%);
    transform: translateY(-2px);
}

.forum-topic.pinned {
    border-right: 4px solid var(--gold);
}

.forum-topic-avatar,
.forum-author-avatar {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    color: white;
    background: linear-gradient(145deg, var(--green-800), var(--green-900));
    border-radius: 12px;
    font-weight: 800;
}

.forum-topic-meta,
.forum-topic-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 0.62rem;
}

.forum-pin {
    color: #946c22;
}

.forum-topic h2 {
    margin: 6px 0 4px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.forum-topic h2 a:hover {
    color: var(--green-800);
}

.forum-topic p {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.72rem;
}

.forum-topic-arrow {
    color: var(--green-800);
    font-size: 1.2rem;
}

.forum-topic-hero {
    padding-block: 30px 48px;
    color: white;
    background: linear-gradient(120deg, var(--green-950), var(--green-900));
}

.forum-topic-hero h1 {
    max-width: 900px;
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.55;
}

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

.forum-original-post {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 15px;
    margin-bottom: 35px;
}

.forum-original-post > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.forum-original-post > div:nth-child(2) span {
    color: var(--muted);
    font-size: 0.63rem;
}

.forum-post-body {
    grid-column: span 2;
    padding-top: 15px;
    color: #34463f;
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
    line-height: 2;
}

.forum-replies-heading {
    margin-bottom: 14px;
}

.forum-replies-heading h2 {
    font-size: 1.3rem;
}

.forum-replies {
    display: grid;
    gap: 9px;
    margin-bottom: 25px;
}

.forum-reply {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 13px;
    padding: 17px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.forum-reply .forum-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.forum-reply-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.forum-reply-head time {
    color: var(--muted);
    font-size: 0.62rem;
}

.forum-reply .forum-post-body {
    padding-top: 7px;
    border-top: 0;
    font-size: 0.78rem;
}

.forum-reply-form h2 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.forum-detail-aside {
    position: sticky;
    top: 105px;
}

.poll-form-flags {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    background: var(--green-50);
    border-radius: 9px;
}

.poll-options-editor {
    margin-top: 25px;
    padding-top: 23px;
    border-top: 1px solid var(--line);
}

.poll-option-editor {
    display: grid;
    grid-template-columns: 30px 1fr 1fr 30px;
    gap: 9px;
    align-items: end;
    margin-bottom: 10px;
    padding: 11px;
    background: #f8f9f7;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.poll-option-editor > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 38px;
    color: var(--green-800);
    font-size: 0.72rem;
    font-weight: 800;
}

.poll-option-editor > button {
    width: 29px;
    height: 38px;
    color: var(--rust);
    background: #fff1ee;
    border: 0;
    border-radius: 7px;
    font-size: 1rem;
}

.poll-admin-results {
    align-items: start;
}

.sms-share-form {
    margin-top: 19px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.support-stats {
    grid-template-columns: repeat(3, 1fr);
}

.admin-moderation-reply {
    margin-top: 10px;
    padding: 13px;
    background: #f8f9f7;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.admin-moderation-reply > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-moderation-reply small {
    color: var(--muted);
    font-size: 0.62rem;
}

.admin-moderation-reply p {
    margin: 7px 0;
    color: #44524c;
    font-size: 0.75rem;
}

.admin-moderation-reply select,
.admin-table .table-actions select {
    min-height: 31px;
    padding: 3px 7px;
    font-size: 0.65rem;
}

.sms-log-panel {
    margin-top: 18px;
}

.poll-intro-card {
    max-width: 760px;
    margin-inline: auto;
    padding: 35px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--turquoise);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.poll-intro-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 17px;
    color: var(--green-950);
    background: var(--gold-light);
    border-radius: 17px;
    font-size: 1.45rem;
    font-weight: 900;
}

.poll-intro-card h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.poll-intro-card > p {
    max-width: 600px;
    margin-inline: auto;
    color: var(--muted);
    font-size: 0.82rem;
}

.poll-intro-questions {
    display: grid;
    gap: 7px;
    margin-block: 24px;
    text-align: right;
}

.poll-intro-questions > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px 13px;
    background: #f8faf9;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.poll-intro-questions > div > span {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    color: var(--green-800);
    background: var(--green-50);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
}

.poll-intro-questions strong {
    font-size: 0.76rem;
}

.poll-intro-questions small {
    color: var(--muted);
    font-size: 0.61rem;
}

.completion-banner {
    max-width: 800px;
    margin: 0 auto 26px;
}

.poll-results-header {
    max-width: 830px;
    margin: 0 auto 22px;
    text-align: center;
}

.poll-results-header h2 {
    margin-bottom: 7px;
    font-size: 1.65rem;
}

.poll-results-header .poll-result-meta {
    justify-content: center;
}

.poll-question-results {
    display: grid;
    max-width: 900px;
    margin-inline: auto;
    gap: 14px;
}

.poll-question-result {
    padding: 23px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.poll-question-result-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.poll-question-result-head > span {
    padding: 3px 8px;
    color: var(--green-800);
    background: var(--green-50);
    border-radius: 6px;
    font-size: 0.61rem;
    white-space: nowrap;
}

.poll-question-result-head h3 {
    margin-bottom: 1px;
    font-size: 0.92rem;
}

.poll-question-result-head small {
    color: var(--muted);
    font-size: 0.62rem;
}

.poll-text-result {
    margin-top: 15px;
    padding: 14px;
    color: #35554b;
    background: var(--green-50);
    border-radius: 9px;
}

.poll-text-result strong {
    font-size: 0.78rem;
}

.poll-text-result p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.68rem;
}

.poll-flow-hero {
    padding-block: 30px 46px;
    color: white;
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--turquoise), transparent 65%), transparent 30%),
        linear-gradient(125deg, var(--green-950), var(--green-900));
}

.poll-flow-head {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 35px;
    align-items: end;
}

.poll-flow-head h1 {
    margin-bottom: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.poll-flow-head p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

.poll-back-link {
    display: block;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
}

.poll-progress {
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
}

.poll-progress > span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.66rem;
    text-align: left;
}

.poll-progress b {
    color: var(--gold-light);
}

.poll-progress > div {
    height: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 100px;
}

.poll-progress i {
    display: block;
    width: var(--progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--turquoise));
    border-radius: 100px;
}

.poll-question-section {
    background: linear-gradient(180deg, var(--green-50), var(--paper) 65%);
}

.poll-single-question-wrap {
    max-width: 850px;
}

.poll-single-question {
    padding: 35px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.poll-question-type {
    display: inline-flex;
    gap: 7px;
    margin-bottom: 15px;
    padding: 4px 9px;
    color: var(--green-800);
    background: var(--green-50);
    border-radius: 100px;
    font-size: 0.64rem;
    font-weight: 700;
}

.poll-question-type span {
    color: var(--muted);
}

.poll-single-question h2 {
    margin-bottom: 10px;
    font-size: 1.45rem;
    line-height: 1.7;
}

.poll-question-description {
    color: var(--muted);
    font-size: 0.79rem;
}

.poll-options-large {
    margin-top: 24px;
}

.poll-options-large .poll-option {
    padding: 17px;
}

.poll-choice-hint {
    color: var(--muted);
    font-size: 0.66rem;
}

.poll-text-answer {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 22px;
}

.poll-text-answer > span {
    font-size: 0.76rem;
    font-weight: 700;
}

.poll-text-answer small {
    color: var(--muted);
    font-size: 0.62rem;
}

.poll-step-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.poll-review-wrap {
    max-width: 900px;
}

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

.poll-review-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: start;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.poll-review-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: white;
    background: var(--green-800);
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 800;
}

.poll-review-item > div:nth-child(2) > span {
    color: var(--muted);
    font-size: 0.61rem;
}

.poll-review-item h2 {
    margin: 2px 0 7px;
    font-size: 0.88rem;
}

.poll-review-item p {
    margin-bottom: 0;
    color: #35544b;
    font-size: 0.76rem;
    white-space: pre-line;
}

.poll-review-item > a {
    color: var(--green-800);
    font-size: 0.68rem;
    font-weight: 700;
}

.poll-submit-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 13px;
}

.poll-submit-box p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.7rem;
}

.questions-editor {
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.question-editor,
.locked-question {
    margin-bottom: 15px;
    padding: 18px;
    background: #f8f9f7;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.question-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.question-editor-head strong {
    color: var(--green-900);
    font-size: 0.78rem;
}

.question-remove {
    width: 29px;
    height: 29px;
    color: var(--rust);
    background: #fff1ee;
    border: 0;
    border-radius: 7px;
}

.question-required {
    min-height: 45px;
    padding: 9px 11px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 9px;
}

.question-options {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.question-options[hidden],
.text-answer-preview[hidden] {
    display: none !important;
}

.question-options-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    font-size: 0.73rem;
}

.question-options-head button {
    border: 0;
    background: none;
}

.text-answer-preview {
    margin-top: 14px;
    padding: 13px;
    color: var(--muted);
    background: var(--white);
    border: 1px dashed #bdc9c4;
    border-radius: 8px;
    font-size: 0.68rem;
}

.locked-question > span {
    color: var(--gold);
    font-size: 0.64rem;
}

.locked-question h3 {
    margin: 5px 0;
    font-size: 0.85rem;
}

.locked-question p {
    color: var(--muted);
    font-size: 0.7rem;
}

.locked-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.locked-options span {
    padding: 3px 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.62rem;
}

.poll-admin-question-results {
    display: grid;
    gap: 14px;
}

.poll-admin-question {
    padding: 21px;
}

.admin-text-answers {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.admin-text-answers blockquote {
    margin: 0;
    padding: 12px 14px;
    background: #f8f9f7;
    border-right: 3px solid var(--turquoise);
    border-radius: 7px;
}

.admin-text-answers blockquote p {
    margin: 0;
    color: #384940;
    font-size: 0.74rem;
    line-height: 1.9;
}

.admin-text-answers blockquote small {
    color: var(--muted);
    font-size: 0.6rem;
}

@media (max-width: 1080px) {
    .main-nav {
        gap: 0;
    }

    .main-nav a {
        padding-inline: 7px;
        font-size: 0.81rem;
    }

    .header-actions .button-ghost {
        display: none;
    }

    .header-search {
        display: none;
    }

    .hero-grid {
        gap: 35px;
    }

    .profile-meta-card {
        left: -15px;
        min-width: 280px;
    }

    .news-layout {
        grid-template-columns: 1fr 310px;
        gap: 24px;
    }

    .featured-story {
        grid-template-columns: 1fr;
    }

    .featured-visual {
        min-height: 230px;
    }

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

    .article-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 28px;
    }

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

    .admin-sidebar {
        flex-basis: 225px;
    }
}

@media (max-width: 880px) {
    .container {
        width: min(100% - 28px, 760px);
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 0;
        padding-block: 12px;
    }

    .site-header {
        position: relative;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        border-top: 1px solid var(--line);
    }

    .main-nav a {
        padding: 11px 12px 9px;
        white-space: nowrap;
    }

    .main-nav a::after {
        right: 8px;
        bottom: 4px;
        left: 8px;
    }

    .header-actions {
        margin-right: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-block: 60px 80px;
    }

    .hero-profile {
        width: 100%;
        max-width: 320px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card + .service-card {
        border-top: 1px solid var(--line);
        border-right: 0;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .announcement-panel {
        margin-top: 10px;
    }

    .trust-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-grid > div:first-child {
        grid-column: span 2;
    }

    .page-hero-mark {
        display: none;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .filter-bar .search-field {
        grid-column: span 2;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .profile-hero-grid {
        grid-template-columns: 1fr;
    }

    .about-monogram {
        display: none;
    }

    .form-layout,
    .form-layout-wide {
        grid-template-columns: 1fr;
    }

    .form-layout-wide .contact-aside {
        order: 2;
    }

    .auth-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 16px;
    }

    .brand-admin {
        padding-bottom: 13px;
    }

    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 7px;
    }

    .admin-nav-label {
        display: none;
    }

    .admin-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-sidebar-footer {
        grid-template-columns: 1fr 1fr;
        margin-top: 14px;
    }

    .admin-topbar {
        position: static;
    }

    .admin-two-col,
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-quick-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .permission-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .poll-detail-heading,
    .poll-detail-layout,
    .forum-detail-layout {
        grid-template-columns: 1fr;
    }

    .poll-results,
    .forum-detail-aside {
        position: static;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 22px, 520px);
    }

    .top-note-inner {
        font-size: 0.68rem;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 0.96rem;
    }

    .brand-copy span {
        max-width: 180px;
        font-size: 0.65rem;
    }

    .header-actions .button {
        padding-inline: 11px;
    }

    .hero-grid {
        padding-block: 50px 70px;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero-trust {
        gap: 11px;
    }

    .profile-frame {
        min-height: 330px;
    }

    .profile-meta-card {
        left: 0;
        min-width: 260px;
    }

    .service-card {
        padding: 18px;
    }

    .section {
        padding-block: 65px;
    }

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

    .featured-copy {
        padding: 22px;
    }

    .story-row {
        grid-template-columns: 100px 1fr;
        gap: 14px;
    }

    .story-row p {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .global-search {
        grid-template-columns: 1fr;
    }

    .process-step {
        min-height: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }

    .page-hero-inner {
        min-height: 220px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .filter-bar .search-field {
        grid-column: auto;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }

    .article-header-inner {
        padding-bottom: 35px;
    }

    .article-meta {
        gap: 8px 15px;
    }

    .article-cover {
        min-height: 220px;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .official-profile-box {
        grid-template-columns: auto 1fr;
    }

    .official-profile-box .text-link {
        grid-column: span 2;
    }

    .form-card,
    .aside-card,
    .tracking-card,
    .tracking-result {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-span-2 {
        grid-column: auto;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tracking-form {
        grid-template-columns: 1fr;
    }

    .tracking-result-head {
        flex-direction: column;
    }

    .tracking-details {
        grid-template-columns: 1fr;
    }

    .tracking-details div:nth-child(odd),
    .tracking-details div:nth-child(even) {
        padding: 13px 0;
        border-right: 0;
    }

    .auth-section {
        padding-block: 40px;
    }

    .auth-card {
        padding: 24px;
    }

    .admin-content,
    .admin-flash {
        width: calc(100% - 24px);
    }

    .admin-topbar {
        padding-inline: 14px;
    }

    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        min-height: 130px;
        padding: 15px;
    }

    .stat-card > strong {
        font-size: 1.8rem;
    }

    .admin-filter {
        grid-template-columns: 1fr;
    }

    .admin-filter:has(label:nth-child(2):last-of-type) {
        grid-template-columns: 1fr;
    }

    .admin-form-card {
        padding: 18px;
    }

    .form-actions {
        width: 100%;
    }

    .form-actions .button {
        flex: 1;
    }

    .admin-quick-bar,
    .permission-options {
        grid-template-columns: 1fr;
    }

    .report-status-list,
    .export-grid,
    .print-summary {
        grid-template-columns: 1fr;
    }

    .print-report {
        padding: 16px;
    }

    .print-report-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    html {
        background: var(--green-950);
    }

    body:not(.admin-body) {
        min-height: 100dvh;
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
        overscroll-behavior-y: contain;
    }

    body:not(.admin-body) input,
    body:not(.admin-body) select,
    body:not(.admin-body) textarea {
        font-size: 16px;
    }

    .top-note {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        padding-top: env(safe-area-inset-top);
        background: rgba(255, 255, 255, 0.94);
        border-bottom: 1px solid rgba(10, 79, 120, 0.12);
        backdrop-filter: blur(20px) saturate(145%);
    }

    .header-inner {
        min-height: 64px;
        flex-wrap: nowrap;
        gap: 10px;
        padding-block: 8px;
    }

    .brand {
        min-width: 0;
        gap: 8px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand-copy {
        min-width: 0;
    }

    .brand-copy strong {
        overflow: hidden;
        font-size: 0.82rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-copy span {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        margin-inline-start: auto;
        margin-right: 0;
    }

    .header-actions .button-primary {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 0.7rem;
        border-radius: 12px;
    }

    .header-social {
        display: none;
    }

    .mobile-app-nav {
        position: fixed;
        z-index: 80;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        background: rgba(250, 252, 252, 0.94);
        border-top: 1px solid rgba(10, 79, 120, 0.13);
        box-shadow: 0 -8px 28px rgba(6, 43, 74, 0.08);
        backdrop-filter: blur(22px) saturate(150%);
    }

    .mobile-app-nav a {
        position: relative;
        display: flex;
        min-height: 50px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #6c7c83;
        border-radius: 12px;
    }

    .mobile-app-nav a.active {
        color: var(--green-900);
        background: color-mix(in srgb, var(--green-50), var(--turquoise) 7%);
    }

    .mobile-app-nav a.active::before {
        position: absolute;
        top: -7px;
        width: 24px;
        height: 3px;
        content: "";
        background: var(--turquoise);
        border-radius: 0 0 5px 5px;
    }

    .mobile-app-nav span {
        font-size: 1.15rem;
        line-height: 1;
    }

    .mobile-app-nav small {
        font-size: 0.58rem;
        font-weight: 700;
    }

    .container {
        width: calc(100% - 24px);
    }

    .hero {
        background:
            radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--turquoise), transparent 70%), transparent 34%),
            linear-gradient(145deg, var(--green-950), var(--green-900));
    }

    .hero-grid {
        gap: 30px;
        min-height: auto;
        padding-block: 38px 62px;
    }

    .hero-content {
        text-align: right;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 15px;
        font-size: clamp(1.85rem, 8.2vw, 2.35rem);
        line-height: 1.45;
    }

    .hero-lead {
        font-size: 0.93rem;
    }

    .hero-description {
        font-size: 0.86rem;
        line-height: 1.95;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions .button {
        min-height: 50px;
        padding-inline: 10px;
    }

    .hero-trust {
        gap: 8px 13px;
        margin-top: 24px;
        font-size: 0.67rem;
    }

    .hero-profile {
        max-width: 100%;
    }

    .profile-frame.has-illustration {
        min-height: 330px;
        border-radius: 24px;
    }

    .profile-meta-card {
        position: relative;
        bottom: auto;
        left: auto;
        width: calc(100% - 24px);
        min-width: 0;
        margin: -22px auto 0;
    }

    .quick-services {
        margin-top: -20px;
    }

    .service-grid {
        gap: 0;
        border-radius: 18px;
    }

    .service-card {
        min-height: 92px;
        grid-template-columns: auto 1fr auto;
        padding: 15px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-card h2 {
        font-size: 0.88rem;
    }

    .service-card p {
        font-size: 0.68rem;
    }

    .section {
        padding-block: 52px;
    }

    .section-heading {
        gap: 12px;
        margin-bottom: 23px;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }

    .featured-story,
    .archive-card,
    .announcement-panel,
    .sidebar-card,
    .form-card,
    .tracking-card,
    .tracking-result {
        border-radius: 17px;
    }

    .featured-visual,
    .archive-visual {
        min-height: 205px;
    }

    .story-row {
        align-items: center;
    }

    .story-thumb {
        min-height: 88px;
        border-radius: 14px;
    }

    .process-grid {
        border-radius: 17px;
    }

    .contact-cta-inner {
        padding-block: 38px;
    }

    .instagram-feed-grid {
        grid-auto-columns: 72%;
        gap: 11px;
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .instagram-feed-card {
        border-radius: 18px;
    }

    .filter-bar,
    .global-search,
    .tracking-form {
        grid-template-columns: 1fr;
    }

    .filter-bar .search-field {
        grid-column: auto;
    }

    .page-hero-inner {
        min-height: 190px;
        padding-block: 34px;
    }

    .page-hero h1 {
        font-size: 1.7rem;
    }

    .form-card,
    .aside-card,
    .tracking-card,
    .tracking-result {
        padding: 19px;
    }

    .footer-grid {
        gap: 27px;
        padding-block: 40px;
    }

    .site-footer {
        margin-bottom: 0;
    }

    .instagram-account-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .instagram-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-color-grid,
    .theme-live-preview {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        padding-top: calc(14px + env(safe-area-inset-top));
    }

    .community-grid,
    .poll-grid,
    .community-links-wide {
        grid-template-columns: 1fr;
    }

    .community-card {
        min-height: 195px;
    }

    .poll-detail-hero {
        padding-bottom: 34px;
    }

    .poll-detail-heading {
        gap: 22px;
    }

    .poll-detail-heading h1 {
        font-size: 1.7rem;
    }

    .poll-share-box {
        width: 100%;
    }

    .poll-vote-card,
    .poll-results,
    .forum-original-post,
    .forum-reply-form {
        padding: 19px;
    }

    .poll-question-label {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-reaction {
        align-items: stretch;
        flex-direction: column;
    }

    .forum-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .forum-topic {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        padding: 15px;
    }

    .forum-topic-avatar {
        width: 38px;
        height: 38px;
    }

    .forum-topic-arrow {
        display: none;
    }

    .forum-topic-footer {
        gap: 6px 11px;
    }

    .forum-original-post {
        grid-template-columns: 40px 1fr;
    }

    .supporter-count {
        min-width: 120px;
        border-radius: 18px;
    }

    .poll-option-editor {
        grid-template-columns: 25px 1fr 29px;
    }

    .poll-option-editor label:nth-of-type(2) {
        grid-column: 2 / 3;
    }

    .poll-flow-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .poll-progress {
        width: 100%;
    }

    .poll-intro-card,
    .poll-single-question {
        padding: 21px;
    }

    .poll-step-actions,
    .poll-submit-box {
        align-items: stretch;
        flex-direction: column;
    }

    .poll-step-actions .button,
    .poll-submit-box .button {
        width: 100%;
    }

    .poll-review-item {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .poll-review-item > a {
        grid-column: 2;
    }

    .poll-question-result-head {
        flex-direction: column;
    }

    .question-editor,
    .locked-question {
        padding: 14px;
    }
}

@media print {
    .admin-sidebar,
    .admin-topbar,
    .admin-page-head,
    .admin-filter,
    .print-report-head button,
    .admin-flash {
        display: none !important;
    }

    .admin-shell,
    .admin-main {
        display: block;
    }

    .admin-content {
        width: 100%;
        padding: 0;
    }

    .print-report-body {
        background: white;
    }

    .print-report {
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
