:root {
    --brand-blue: #0b63e5;
    --brand-blue-dark: #05244f;
    --brand-cyan: #0aa6b7;
    --brand-green: #0f9f6e;
    --brand-purple: #7b4bd8;
    --brand-amber: #f6a609;
    --brand-ink: #0d1b3d;
    --brand-muted: #667085;
    --brand-line: #e6edf6;
    --brand-surface: #f7fbff;
    --shadow-soft: 0 18px 48px rgba(15, 37, 76, .09);
}

* {
    letter-spacing: 0;
}

body {
    color: var(--brand-ink);
    background: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.btn {
    border-radius: 7px;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: #0756c9;
    --bs-btn-hover-border-color: #0756c9;
    box-shadow: 0 8px 18px rgba(11, 99, 229, .2);
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-blue);
    --bs-btn-border-color: #a8d0f7;
    --bs-btn-hover-bg: #eef7ff;
    --bs-btn-hover-color: var(--brand-blue);
    --bs-btn-hover-border-color: var(--brand-blue);
}

.portal-nav {
    border-bottom: 1px solid var(--brand-line);
    box-shadow: 0 8px 28px rgba(15, 37, 76, .04);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-ink);
    min-width: 0;
}

.brand-lockup:hover {
    color: var(--brand-ink);
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
    line-height: 1.15;
}

.brand-lockup strong {
    font-size: 1rem;
}

.brand-lockup small {
    width: max-content;
    max-width: 190px;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #1d5fae;
    background: #edf6ff;
    font-size: .72rem;
    font-weight: 700;
}

.brand-mark {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), #1cb5d9);
    font-weight: 900;
}

.brand-logo-image {
    display: block;
    width: auto;
    height: 42px;
    max-width: 180px;
    object-fit: contain;
}

.portal-nav .nav-link {
    color: #31405f;
    font-size: .94rem;
    font-weight: 700;
}

.portal-nav .nav-link.active {
    color: var(--brand-blue);
    border-bottom: 2px solid var(--brand-blue);
}

.nav-cta {
    padding-inline: 18px;
}

.hero-band {
    overflow: hidden;
    padding: 62px 0 44px;
    background:
        radial-gradient(circle at 75% 20%, rgba(19, 145, 245, .12), transparent 28%),
        linear-gradient(180deg, #f8fcff 0%, #fff 100%);
    border-bottom: 1px solid var(--brand-line);
}

.hero-band h1 {
    max-width: 620px;
    margin-bottom: 20px;
    color: #071b46;
    font-size: clamp(2.3rem, 4.2vw, 4.15rem);
    line-height: 1.05;
    font-weight: 900;
}

.hero-copy {
    max-width: 560px;
    color: #52637f;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 30px;
}

.hero-actions .btn {
    min-width: 178px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 650px;
}

.trust-row div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 2px 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
}

.trust-row strong,
.trust-row small {
    display: block;
}

.trust-row strong {
    font-size: .84rem;
}

.trust-row small {
    color: var(--brand-muted);
    font-size: .72rem;
}

.mini-icon {
    grid-row: span 2;
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    color: var(--brand-blue);
    background: #eef6ff;
    font-weight: 900;
}

.device-stage {
    position: relative;
    min-height: 420px;
}

.laptop-mock {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    width: min(520px, 100%);
    margin-left: auto;
    border: 9px solid #121b2d;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.mock-sidebar {
    min-height: 270px;
    padding: 16px 12px;
    color: #dceaff;
    background: #084b9c;
}

.mock-sidebar strong {
    display: block;
    margin-bottom: 18px;
    color: #fff;
    font-size: .86rem;
}

.mock-sidebar span {
    display: block;
    margin: 10px 0;
    font-size: .76rem;
}

.mock-screen {
    padding: 18px;
    background: #f7fbff;
}

.mock-topline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.mock-topline span {
    width: 72px;
    height: 8px;
    border-radius: 99px;
    background: #d7e6f8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.stats-grid div,
.line-chart,
.donut-chart {
    border: 1px solid #e1e9f5;
    border-radius: 8px;
    background: #fff;
}

.stats-grid div {
    padding: 11px;
}

.stats-grid small {
    display: block;
    color: var(--brand-muted);
    font-size: .66rem;
}

.stats-grid strong {
    color: #102452;
    font-size: 1.05rem;
}

.chart-row {
    display: grid;
    grid-template-columns: 1.45fr .8fr;
    gap: 12px;
}

.line-chart {
    position: relative;
    height: 130px;
    padding: 16px;
}

.line-chart::before,
.line-chart::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #d9e8f9;
}

.line-chart::before {
    top: 42px;
}

.line-chart::after {
    bottom: 38px;
}

.line-chart i {
    position: absolute;
    width: 48px;
    height: 3px;
    border-radius: 99px;
    background: var(--brand-blue);
    transform: rotate(-18deg);
}

.line-chart i:nth-child(1) { left: 26px; bottom: 38px; }
.line-chart i:nth-child(2) { left: 72px; bottom: 54px; }
.line-chart i:nth-child(3) { left: 118px; bottom: 45px; }
.line-chart i:nth-child(4) { left: 164px; bottom: 70px; }

.donut-chart {
    height: 130px;
    background:
        radial-gradient(circle, #fff 0 36%, transparent 37%),
        conic-gradient(var(--brand-purple) 0 38%, var(--brand-cyan) 38% 70%, var(--brand-green) 70% 100%);
}

.floating-badge {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-soft);
}

.floating-badge strong {
    color: var(--brand-ink);
}

.floating-badge span {
    color: var(--brand-muted);
    font-size: .72rem;
}

.badge-compliance {
    left: 10px;
    top: 165px;
}

.badge-cloud {
    left: 52px;
    bottom: 24px;
}

.phone-mock {
    position: absolute;
    right: -8px;
    top: 18px;
    width: 184px;
    min-height: 350px;
    padding: 34px 16px 18px;
    border: 8px solid #141414;
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 37, 76, .18);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 56px;
    height: 15px;
    border-radius: 99px;
    background: #111;
    transform: translateX(-50%);
}

.phone-brand {
    color: var(--brand-blue);
    font-size: .62rem;
    font-weight: 900;
}

.phone-mock h2 {
    margin: 34px 0 16px;
    font-size: 1rem;
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
}

.phone-mock a {
    display: block;
    padding: 9px;
    border-radius: 6px;
    color: #fff;
    background: var(--brand-blue);
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
}

.phone-card {
    height: 95px;
    margin-top: 18px;
    border: 1px solid #d7e4f6;
    border-radius: 8px;
    background:
        radial-gradient(circle at 82% 70%, var(--brand-cyan) 0 12px, transparent 13px),
        linear-gradient(90deg, #064f9e 0 28%, #f7fbff 28%);
}

.section-space {
    padding-top: 62px;
    padding-bottom: 28px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading h2,
.content-title {
    color: #071b46;
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
    font-weight: 900;
}

.section-heading p,
.content-lead {
    color: var(--brand-muted);
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 244px;
    padding: 22px 12px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 37, 76, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #b8d7fb;
    box-shadow: var(--shadow-soft);
}

.product-card h3 {
    margin: 14px 0 8px;
    color: #071b46;
    font-size: 1.08rem;
    font-weight: 900;
}

.product-card p {
    flex: 1;
    color: #68768e;
    font-size: .78rem;
    line-height: 1.55;
}

.product-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--brand-blue);
}

.product-icon::before {
    font-weight: 900;
}

.product-icon.image-icon {
    padding: 9px;
}

.product-icon.image-icon::before {
    content: none;
}

.product-icon.image-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-icon.doc::before { content: "≡"; }
.product-icon.arc { background: #06969c; }
.product-icon.arc::before { content: "▤"; }
.product-icon.book { background: var(--brand-purple); }
.product-icon.book::before { content: "▥"; }
.product-icon.truck { background: #079a85; }
.product-icon.truck::before { content: "▰"; }
.product-icon.hand { background: var(--brand-amber); }
.product-icon.hand::before { content: "↔"; }
.product-icon.user { background: #e8a114; }
.product-icon.user::before { content: "●"; }

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

.partners-frame {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 37, 76, .04);
}

.partners-frame::before,
.partners-frame::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 90px;
    pointer-events: none;
}

.partners-frame::before {
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.partners-frame::after {
    right: 0;
    background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
}

.is-static .partners-track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.is-moving .partners-track {
    animation-duration: var(--partner-speed);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.is-moving.move-left .partners-track {
    animation-name: partners-left;
}

.is-moving.move-right .partners-track {
    animation-name: partners-right;
}

.partners-frame:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    display: inline-grid;
    min-width: 154px;
    height: 74px;
    place-items: center;
    padding: 14px 22px;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    background: #fbfdff;
    color: #102452;
    font-weight: 900;
    white-space: nowrap;
}

.partner-logo img {
    max-width: 128px;
    max-height: 42px;
    object-fit: contain;
}

@keyframes partners-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes partners-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.info-card,
.management-card,
.form-shell,
.thanks-card {
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 37, 76, .04);
}

.info-card {
    min-height: 260px;
    padding: 24px;
}

.info-card h3,
.management-card h3,
.form-shell h2 {
    margin-bottom: 16px;
    color: #102452;
    font-size: 1.08rem;
    font-weight: 900;
}

.info-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-card li {
    position: relative;
    padding-left: 18px;
    color: #43516a;
    font-size: .86rem;
}

.info-card li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand-green);
}

.info-icon {
    display: inline-grid;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 10px;
    font-weight: 900;
}

.info-icon.green { color: var(--brand-green); background: #eafaf4; }
.info-icon.blue { color: var(--brand-blue); background: #eef6ff; }
.info-icon.purple { color: var(--brand-purple); background: #f4efff; }

.management-card {
    padding: 24px;
}

.management-card div {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--brand-line);
}

.management-card strong,
.management-card small {
    display: block;
}

.management-card strong {
    color: #102452;
    font-size: 1.16rem;
}

.management-card small {
    color: var(--brand-muted);
    font-size: .76rem;
}

.panel-dot {
    grid-row: span 2;
    display: inline-grid;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.panel-dot.blue { background: #eaf3ff; }
.panel-dot.amber { background: #fff4db; }
.panel-dot.purple { background: #f3edff; }
.panel-dot.green { background: #e8f8f1; }

.form-shell {
    padding: 26px;
}

.form-label {
    color: #23314f;
    font-size: .82rem;
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 44px;
    border-color: #dfe8f3;
    border-radius: 7px;
    color: #1c2b4a;
    font-size: .9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #9ec8f7;
    box-shadow: 0 0 0 .2rem rgba(11, 99, 229, .1);
}

.form-check-label {
    color: #52637f;
    font-size: .78rem;
}

.thanks-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
    text-align: center;
}

.check-ring {
    display: inline-grid;
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    place-items: center;
    border: 4px solid #bde8d7;
    border-radius: 999px;
    color: var(--brand-green);
    font-size: 2.5rem;
    font-weight: 900;
}

.thanks-card h2 {
    color: var(--brand-green);
    font-weight: 900;
}

.thanks-card strong {
    color: #1b7b5a;
    font-size: 1.1rem;
}

.thanks-card p {
    max-width: 300px;
    color: var(--brand-muted);
    font-size: .88rem;
}

.thanks-card dl {
    width: 100%;
    margin: 18px 0 24px;
    text-align: left;
}

.thanks-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid var(--brand-line);
}

.thanks-card dt {
    color: #5a6a84;
    font-size: .82rem;
}

.thanks-card dd {
    margin: 0;
    color: #17284d;
    font-size: .82rem;
    font-weight: 800;
}

.thanks-card dd span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #147450;
    background: #e7f8f0;
}

.faq-list {
    display: grid;
    gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
}

.faq-list details {
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 22px;
    color: #15274e;
    font-weight: 800;
}

.faq-list p {
    margin: 0;
    padding: 0 22px 18px;
    color: var(--brand-muted);
}

.site-footer {
    background: #fbfdff;
    border-top: 1px solid var(--brand-line);
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #102452;
    font-size: .95rem;
    font-weight: 900;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: #56657f;
    font-size: .88rem;
}

.footer-contact {
    color: #56657f;
    line-height: 1.8;
}

.social-row {
    display: flex;
    gap: 9px;
}

.social-row span,
.social-row a {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: #0b63e5;
    font-size: .72rem;
    font-weight: 900;
}

.footer-bottom a {
    color: #d9e5f6;
}

.newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.footer-bottom {
    padding: 16px 0;
    color: #d9e5f6;
    background: #071b35;
    font-size: .82rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copyright {
    min-width: 0;
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.footer-legal-links a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: #d9e5f6;
    line-height: 1.2;
}

.footer-legal-links a:not(:last-child)::after {
    content: "·";
    margin-left: 12px;
    color: rgba(217, 229, 246, .7);
}

.content-page-hero {
    padding: 64px 0 36px;
    background:
        radial-gradient(circle at 75% 20%, rgba(19, 145, 245, .12), transparent 28%),
        linear-gradient(180deg, #f8fcff 0%, #fff 100%);
    border-bottom: 1px solid var(--brand-line);
}

.content-page-hero h1 {
    max-width: 860px;
    margin: 8px 0 0;
    color: #071b46;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
}

.content-page-body {
    padding: 44px 0 24px;
}

.content-page-card {
    max-width: 920px;
    color: #334155;
    line-height: 1.8;
}

.content-page-card h2,
.content-page-card h3 {
    margin: 30px 0 12px;
    color: #102452;
    font-weight: 900;
}

.content-page-card h2 {
    font-size: 1.35rem;
}

.content-page-card h3 {
    font-size: 1.08rem;
}

.content-page-card p,
.content-page-card ul {
    margin-bottom: 16px;
}

.contact-hero p,
.blog-detail-hero p {
    max-width: 760px;
    margin: 14px 0 0;
    color: #56657f;
    font-size: 1.08rem;
}

.contact-info-panel,
.contact-map,
.blog-card {
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 37, 76, .05);
}

.contact-info-panel {
    padding: 26px;
    margin-bottom: 20px;
}

.contact-info-panel h2,
.blog-card h2 {
    color: #102452;
    font-weight: 900;
}

.contact-info-panel dl {
    display: grid;
    gap: 16px;
    margin: 0;
}

.contact-info-panel dt {
    color: #60708c;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-info-panel dd {
    margin: 0;
    color: #102452;
    font-weight: 800;
}

.contact-map {
    overflow: hidden;
    min-height: 300px;
}

.contact-map iframe,
.contact-map div {
    width: 100%;
    min-height: 300px;
    border: 0;
}

.contact-map div {
    display: grid;
    place-items: center;
    padding: 24px;
    color: #60708c;
    background: #f7fbff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.blog-card {
    padding: 22px;
}

.blog-card img,
.blog-cover {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.blog-card img {
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
}

.blog-card small {
    color: #60708c;
    font-weight: 800;
}

.blog-card h2 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.blog-card p {
    color: #56657f;
}

.blog-cover {
    max-height: 420px;
    margin-bottom: 30px;
}

.contact-message-body {
    white-space: pre-wrap;
    color: #334155;
    line-height: 1.8;
}

.admin-shell {
    max-width: 1180px;
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--brand-line);
}

.admin-header h1 {
    margin: 0 0 8px;
    color: #071b46;
    font-weight: 900;
}

.admin-header p {
    max-width: 720px;
    margin: 0;
    color: var(--brand-muted);
}

.admin-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--brand-blue);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-card,
.admin-table {
    padding: 22px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 37, 76, .04);
}

.admin-table {
    padding: 0;
    overflow: hidden;
}

.admin-table thead {
    background: #f5f9ff;
}

.admin-table th {
    color: #2b3d61;
    font-size: .82rem;
    text-transform: uppercase;
}

.code-area {
    font-family: Consolas, "Courier New", monospace;
    font-size: .86rem;
    line-height: 1.55;
}

.seo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--brand-line);
}

.seo-row:last-child {
    border-bottom: 0;
}

.file-directory-list {
    display: grid;
    gap: 10px;
}

.file-directory-list code {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #f7fbff;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.media-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 37, 76, .04);
}

.media-preview {
    display: grid;
    height: 130px;
    place-items: center;
    border-radius: 8px;
    background: #f5f9ff;
    overflow: hidden;
}

.media-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.timeline-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--brand-line);
}

.timeline-item:last-child {
    border-bottom: 0;
}

.timeline-item p {
    margin: 6px 0;
    color: #34415f;
    white-space: pre-line;
}

.timeline-item small {
    color: var(--brand-muted);
}

.media-card h2 {
    margin: 0;
    color: #102452;
    font-size: .95rem;
    font-weight: 900;
    word-break: break-word;
}

.media-card code {
    white-space: normal;
    word-break: break-word;
}

.detail-list {
    display: grid;
    gap: 0;
}

.detail-list div {
    display: grid;
    grid-template-columns: minmax(160px, .42fr) 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--brand-line);
}

.detail-list div:last-child {
    border-bottom: 0;
}

.detail-list dt {
    color: #60708c;
    font-weight: 900;
}

.detail-list dd {
    margin: 0;
    color: #102452;
    word-break: break-word;
}

.rich-editor-wrap {
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    border-bottom: 1px solid #dfe8f3;
    background: #f7fbff;
}

.rich-editor-toolbar button {
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #d7e3f1;
    border-radius: 7px;
    color: #102452;
    background: #fff;
    font-weight: 900;
}

.rich-editor-surface {
    min-height: 260px;
    padding: 16px;
    outline: 0;
    line-height: 1.75;
}

.rich-editor-surface h2,
.content-body h2 {
    margin-top: 1.2rem;
    color: #071b46;
    font-weight: 900;
}

.rich-editor-surface ul,
.rich-editor-surface ol,
.content-body ul,
.content-body ol {
    padding-left: 1.25rem;
}

.admin-body {
    background: #f5f8fc;
}

.admin-app {
    display: grid;
    grid-template-columns: 282px 1fr;
    min-height: 100vh;
}

.admin-sidebar-collapsed .admin-app {
    grid-template-columns: 0 1fr;
}

.admin-sidebar-collapsed .admin-sidebar {
    transform: translateX(-100%);
    padding-inline: 0;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 24px 18px;
    color: #d7e6ff;
    background: linear-gradient(180deg, #071a37 0%, #082846 100%);
    transition: transform .2s ease, padding .2s ease;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin-bottom: 28px;
}

.admin-logo:hover {
    color: #fff;
}

.admin-logo-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #1269ff;
    transform: rotate(45deg);
}

.admin-logo-image {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
}

.admin-logo-mark::first-letter {
    transform: rotate(-45deg);
}

.admin-logo strong,
.admin-logo small {
    display: block;
    line-height: 1.2;
}

.admin-logo strong {
    font-size: 1.2rem;
}

.admin-logo small {
    color: #afc5e6;
}

.admin-nav {
    display: grid;
    gap: 7px;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-nav small,
.admin-nav-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 8px 6px;
    padding: 0;
    border: 0;
    color: #7890b7;
    background: transparent;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    text-align: left;
}

.admin-nav small::after,
.admin-nav-section::after {
    content: "▾";
    font-size: .76rem;
    transition: transform .18s ease;
}

.admin-nav small.is-closed::after,
.admin-nav-section.is-closed::after {
    transform: rotate(-90deg);
}

.admin-nav-group[hidden] {
    display: none;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #edf5ff;
    font-weight: 800;
}

.admin-nav a span {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: #fff;
    background: linear-gradient(135deg, #0b63e5, #1977ff);
}

.admin-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.avatar,
.top-avatar {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background: #d7e6ff;
    color: #0c2a52;
    font-weight: 900;
}

.admin-user-card strong,
.admin-user-card small,
.admin-top-actions strong,
.admin-top-actions small {
    display: block;
    line-height: 1.2;
}

.admin-user-card small,
.admin-top-actions small {
    color: #9eb4d5;
    font-size: .78rem;
}

.admin-user-card b {
    margin-left: auto;
}

.admin-main {
    min-width: 0;
    overflow-x: hidden;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    padding: 0 34px;
    border-bottom: 1px solid #e4ebf5;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
}

.admin-menu-button {
    border: 0;
    background: transparent;
    color: #0d1b3d;
    font-size: 1.55rem;
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #14284b;
}

.admin-account-link {
    color: #14284b;
}

.notification-dot {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: #ef4444;
    font-size: .7rem;
    font-weight: 900;
}

.admin-content {
    padding: 34px;
}

.dashboard-welcome {
    margin-bottom: 28px;
}

.dashboard-welcome h1 {
    margin-bottom: 6px;
    color: #071b46;
    font-size: 1.75rem;
    font-weight: 900;
}

.dashboard-welcome p {
    margin: 0;
    color: #60708c;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
    min-width: 0;
}

.dashboard-stat,
.dashboard-panel {
    border: 1px solid #e2eaf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 37, 76, .05);
    min-width: 0;
}

.dashboard-stat {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 128px;
    padding: 24px;
}

.stat-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    font-size: 1.35rem;
    font-weight: 900;
}

.stat-icon.blue { color: #0b63e5; background: #eaf3ff; }
.stat-icon.green { color: #18a058; background: #e8f8ef; }
.stat-icon.amber { color: #f28a14; background: #fff3e3; }
.stat-icon.purple { color: #7b4bd8; background: #f1eafd; }
.stat-icon.pink { color: #db3f96; background: #ffe8f4; }

.dashboard-stat p {
    margin: 0 0 8px;
    color: #425274;
    font-weight: 800;
}

.dashboard-stat strong {
    display: block;
    color: #071b46;
    font-size: 1.8rem;
    line-height: 1;
}

.dashboard-stat small {
    display: block;
    margin-top: 12px;
    color: #16a34a;
    font-weight: 800;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 22px;
    margin-bottom: 22px;
    min-width: 0;
}

.dashboard-panel {
    padding: 24px;
    overflow: hidden;
}

.dashboard-panel h2 {
    margin: 0 0 18px;
    color: #102452;
    font-size: 1.08rem;
    font-weight: 900;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-heading h2 {
    margin: 0;
}

.line-analytics {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 13px;
    height: 250px;
    padding: 18px 0 8px;
    border-bottom: 1px solid #dfe7f2;
    background:
        linear-gradient(#edf2f8 1px, transparent 1px) 0 20% / 100% 25%,
        linear-gradient(#edf2f8 1px, transparent 1px) 0 45% / 100% 25%,
        linear-gradient(#edf2f8 1px, transparent 1px) 0 70% / 100% 25%;
    overflow: hidden;
}

.line-analytics span {
    flex: 1;
    min-width: 3px;
    height: var(--h);
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #0b63e5, #8bbcff);
}

.status-chart-wrap {
    display: grid;
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    min-height: 250px;
    min-width: 0;
}

.admin-donut {
    width: min(160px, 100%);
    aspect-ratio: 1;
    height: auto;
    border-radius: 999px;
    background:
        radial-gradient(circle, #fff 0 38%, transparent 39%),
        conic-gradient(#0b63e5 0 20%, #ff8a1f 20% 73%, #22b55b 73% 96%, #ef4444 96% 100%);
}

.status-legend {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.status-legend div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #425274;
    font-weight: 800;
    min-width: 0;
    overflow-wrap: anywhere;
}

.status-legend span,
.activity-list span {
    display: inline-grid;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.status-legend strong {
    margin-left: auto;
    color: #102452;
}

.blue { background: #0b63e5; }
.amber { background: #ff8a1f; }
.green { background: #22b55b; }
.purple { background: #7b4bd8; }
.red { background: #ef4444; }

.dashboard-side {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    min-width: 0;
}

@media (min-width: 1600px) {
    .dashboard-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(260px, 340px);
    }

    .dashboard-side {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

.period-tabs {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    background: #fff;
}

.period-tabs a {
    padding: 8px 14px;
    border-radius: 7px;
    color: #425274;
    font-weight: 900;
}

.period-tabs a.active {
    color: #fff;
    background: var(--brand-blue);
}

.dashboard-period-label {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid #dfe8f3;
    border-radius: 7px;
    color: #425274;
    background: #fff;
    font-size: .82rem;
    font-weight: 900;
}

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

.activity-list div {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    gap: 10px;
    align-items: start;
}

.activity-list p {
    margin: 0;
    color: #60708c;
    font-size: .88rem;
}

.activity-list p strong {
    display: block;
    color: #102452;
}

.activity-list small {
    color: #60708c;
    white-space: nowrap;
    font-size: .76rem;
}

.quick-panel > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-panel a {
    display: grid;
    min-height: 88px;
    place-items: center;
    padding: 16px;
    border-radius: 8px;
    background: #f3f7fc;
    color: #0b63e5;
    font-weight: 900;
    text-align: center;
}

.quick-panel a:nth-child(2) { color: #18a058; background: #edf9f1; }
.quick-panel a:nth-child(3) { color: #7b4bd8; background: #f4efff; }
.quick-panel a:nth-child(4) { color: #ff8a1f; background: #fff4e8; }

.quick-panel span {
    display: block;
    font-size: .86rem;
}

.system-panel dl {
    margin: 0;
}

.system-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f8;
}

.system-panel dt,
.system-panel dd {
    margin: 0;
    color: #425274;
    font-size: .9rem;
}

.system-panel dd {
    color: #102452;
    font-weight: 800;
}

.system-panel dd span {
    color: #22b55b;
}

.recent-table-panel {
    overflow: hidden;
}

.recent-table-panel table {
    margin: 0;
}

.recent-table-panel thead {
    background: #f7faff;
}

.recent-table-panel th {
    color: #344563;
    font-size: .78rem;
    text-transform: uppercase;
}

.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
}

.status-pill.new { color: #0b63e5; background: #eaf3ff; }
.status-pill.in_progress { color: #b45f00; background: #fff1dd; }
.status-pill.completed { color: #128449; background: #e8f8ef; }
.status-pill.cancelled { color: #b42318; background: #feecec; }

@media (max-width: 1199.98px) {
    .phone-mock {
        right: 0;
        transform: scale(.9);
        transform-origin: top right;
    }

    .admin-app {
        grid-template-columns: 240px 1fr;
    }

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

    .dashboard-side {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .hero-band {
        padding-top: 38px;
    }

    .device-stage {
        min-height: 360px;
    }

    .laptop-mock {
        margin-inline: auto;
        transform: scale(.92);
        transform-origin: top center;
    }

    .phone-mock {
        display: none;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

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

    .admin-app {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        z-index: 30;
        width: 282px;
        transform: translateX(-100%);
    }

    body:not(.admin-sidebar-collapsed) .admin-sidebar {
        transform: translateX(0);
    }

    .admin-content {
        padding: 20px;
    }

    .admin-topbar {
        padding-inline: 18px;
    }

    .admin-top-actions small,
    .admin-top-actions .btn {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .brand-lockup strong {
        font-size: .88rem;
    }

    .brand-lockup small {
        max-width: 160px;
        font-size: .65rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .laptop-mock {
        grid-template-columns: 82px 1fr;
        width: 100%;
        transform: none;
    }

    .mock-sidebar {
        min-height: 225px;
    }

    .stats-grid,
    .chart-row {
        grid-template-columns: 1fr;
    }

    .donut-chart {
        display: none;
    }

    .floating-badge {
        display: none;
    }

    .form-shell {
        padding: 20px;
    }

    .dashboard-panel {
        padding: 18px;
    }

    .status-chart-wrap {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .status-legend {
        width: 100%;
    }

    .line-analytics {
        gap: 5px;
        height: 190px;
    }

    .period-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .period-tabs a {
        text-align: center;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-legal-links {
        justify-content: flex-start;
    }

    .footer-newsletter-full {
        grid-template-columns: 1fr;
    }
}

.admin-icon-button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    color: #dbeafe;
    background: rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-icon-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.admin-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 15%, rgba(37, 99, 235, .14), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 55%, #ffffff 100%);
}

.admin-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-login-panel {
    width: min(100%, 460px);
    padding: 34px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 80px rgba(15, 23, 42, .12);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f2748;
    margin-bottom: 26px;
}

.admin-login-brand .admin-logo-mark {
    background: linear-gradient(135deg, #0d6efd, #18a0fb);
    color: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-login-brand strong,
.admin-login-brand small {
    display: block;
}

.admin-login-brand small,
.admin-login-panel p {
    color: #64748b;
}

.admin-login-panel h1 {
    color: #0f2748;
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.admin-login-form {
    margin-top: 24px;
}

.footer-contact-list {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-modern .footer-desc {
    margin: 18px 0;
    color: #56657f;
    line-height: 1.7;
}

.footer-contact-grid {
    display: grid;
    gap: 10px;
}

.footer-contact-item {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 54px;
    margin: 0 !important;
    padding: 9px 10px;
    border: 1px solid #e3ebf6;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
}

.footer-contact-list a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: #4b6382;
    text-decoration: none;
    padding: 8px 0;
    margin: 0;
}

.footer-contact-copy small {
    display: block;
    color: #7b8da8;
    font-size: .76rem;
    line-height: 1.1;
    margin-bottom: 3px;
}

.footer-contact-copy strong {
    display: block;
    color: #17345f;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.footer-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0b63e5;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .02em;
}

.footer-newsletter-full {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #dbe7f5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 24px;
    align-items: end;
}

@media (max-width: 767.98px) {
    .footer-newsletter-full {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 14px;
    }

    .footer-newsletter-full .newsletter {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .footer-newsletter-full .newsletter .form-control,
    .footer-newsletter-full .newsletter .btn {
        width: 100%;
        min-width: 0;
    }
}

.district-picker {
    display: grid;
    gap: 14px;
    max-height: 440px;
    overflow: auto;
    padding: 14px;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    background: #f8fbff;
}

.district-picker-empty {
    color: #60708c;
    font-weight: 800;
}

.district-province {
    padding: 14px;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    background: #fff;
}

.district-province-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: #102452;
}

.district-province-head label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #425274;
    font-size: .86rem;
    font-weight: 800;
}

.district-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px 14px;
}

.district-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #34415f;
    font-size: .9rem;
}

.bulk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f8;
}

.bulk-action-select {
    width: min(240px, 100%);
}

.local-article-table .check-col {
    width: 42px;
}

.quality-score.good {
    color: #128449;
}

.quality-score.mid {
    color: #b45f00;
}

.quality-score.low {
    color: #b42318;
}

.admin-table-title-link {
    color: #102452;
    text-decoration: none;
}

.admin-table-title-link:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

.admin-pagination {
    margin-top: 16px;
}

.admin-pagination nav > div:first-child {
    display: none;
}

.admin-pagination .pagination {
    gap: 4px;
    margin: 0;
    flex-wrap: wrap;
}

.admin-pagination .page-link {
    min-width: 34px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: .86rem;
    line-height: 1.1;
}

.admin-pagination svg {
    width: 14px !important;
    height: 14px !important;
}

@media (max-width: 767.98px) {
    .bulk-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #0d6efd;
    box-shadow: 0 18px 40px rgba(13, 110, 253, .32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.notification-link {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef6ff;
    text-decoration: none;
}

.notification-link::before {
    content: "!";
    color: #0d6efd;
    font-weight: 900;
}

.notification-link .notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-nav-section {
    cursor: pointer;
    user-select: none;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.admin-nav-section::after {
    content: "⌄";
    font-size: .8rem;
}

.admin-nav-section.is-closed::after {
    content: "›";
}

.admin-nav-group {
    display: grid;
    gap: 4px;
}

.local-article-card,
.related-local-card,
.related-article-link {
    display: block;
    height: 100%;
    padding: 18px;
    border: 1px solid #dce8f7;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(15, 39, 72, .06);
}

.local-article-card span,
.related-local-card span,
.article-kicker {
    color: #0d6efd;
    font-size: .82rem;
    font-weight: 700;
}

.local-article-card h2 {
    font-size: 1.08rem;
    margin: 10px 0;
}

.local-article-card h2 a,
.related-local-card strong,
.related-article-link strong {
    color: #082652;
    text-decoration: none;
}

.local-article-card p,
.related-local-card small,
.related-article-link span {
    display: block;
    color: #64748b;
}

.related-local-card {
    transition: transform .18s ease, border-color .18s ease;
}

.related-local-card:hover {
    transform: translateY(-2px);
    border-color: #0d6efd;
}

.local-article-body h2 {
    margin-top: 2rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #082652;
}

.related-article-link {
    height: auto;
    margin-top: 10px;
}

.local-district-admin-grid {
    max-height: 360px;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.local-district-admin-grid fieldset {
    border: 1px solid #dbe7f5;
    border-radius: 8px;
    padding: 10px;
}

.local-district-admin-grid legend {
    float: none;
    width: auto;
    padding: 0 4px;
    font-size: .86rem;
    font-weight: 800;
}

.local-district-admin-grid label {
    display: block;
    font-size: .82rem;
    margin: 4px 0;
}
