:root {
    --color-blue: #0b2e5e;
    --color-blue-2: #003b73;
    --color-blue-dark: #061d3a;
    --color-red: #d71920;
    --color-white: #ffffff;
    --color-soft: #f5f7fa;
    --color-soft-2: #eef3f8;
    --color-text: #1f2933;
    --color-muted: #4b5563;
    --color-border: #d8e1ec;
    --shadow-soft: 0 16px 40px rgba(8, 31, 63, 0.1);
    --shadow-card: 0 10px 30px rgba(8, 31, 63, 0.08);
    --radius: 8px;
    --container: 1180px;
    --font-main: "Inter", "Roboto", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

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

p {
    margin: 0;
    color: var(--color-muted);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--color-blue-dark);
    font-weight: 800;
    line-height: 1.14;
}

.container {
    width: min(100% - 40px, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(11, 46, 94, 0.1);
    box-shadow: 0 10px 28px rgba(10, 35, 68, 0.06);
    backdrop-filter: blur(12px);
}

.yaco-navbar {
    width: min(100% - 40px, 1280px);
    height: 82px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

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

.brand-mark {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 38px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before {
    content: "";
    position: absolute;
    display: block;
    border-radius: 3px;
    transform-origin: center;
}

.brand-mark::before {
    width: 14px;
    height: 26px;
    left: 9px;
    top: 1px;
    background: linear-gradient(180deg, #1d5dff, var(--color-blue));
    transform: rotate(-34deg);
}

.brand-mark::after {
    width: 14px;
    height: 26px;
    right: 9px;
    top: 1px;
    background: linear-gradient(180deg, var(--color-red), #a91017);
    transform: rotate(34deg);
}

.brand-mark span::before {
    width: 14px;
    height: 24px;
    left: 15px;
    top: 15px;
    background: linear-gradient(180deg, #1d5dff, var(--color-blue));
    transform: skewX(-18deg);
}

.brand-mark-light span::before {
    background: linear-gradient(180deg, #ffffff, #c9d7e7);
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    color: var(--color-blue);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-copy small {
    margin-top: 4px;
    color: #697586;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex: 1;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #071a33;
    font-size: 0.95rem;
    font-weight: 700;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-access {
    color: var(--color-blue);
    font-size: 0.88rem;
    font-weight: 700;
}

.btn-yaco {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-yaco .yaco-icon {
    width: 18px;
    height: 18px;
}

.btn-yaco:hover {
    transform: translateY(-1px);
}

.btn-yaco-red {
    color: var(--color-white);
    background: var(--color-red);
    box-shadow: 0 12px 26px rgba(215, 25, 32, 0.22);
}

.btn-yaco-red:hover {
    color: var(--color-white);
    background: #bb1219;
    box-shadow: 0 16px 32px rgba(215, 25, 32, 0.3);
}

.btn-yaco-outline {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-yaco-outline:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
}

.btn-small {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.84rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: #ffffff;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-blue);
}

.yaco-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(4, 21, 45, 0.98) 0%, rgba(7, 38, 76, 0.92) 42%, rgba(7, 49, 95, 0.62) 100%),
        radial-gradient(circle at 75% 28%, rgba(96, 166, 255, 0.35), transparent 30%),
        #071f40;
}

.hero-bg-network {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image:
        linear-gradient(115deg, transparent 0 18%, rgba(107, 169, 255, 0.24) 18.2%, transparent 18.5% 46%, rgba(107, 169, 255, 0.2) 46.2%, transparent 46.5%),
        linear-gradient(28deg, transparent 0 28%, rgba(255, 255, 255, 0.14) 28.2%, transparent 28.5% 78%, rgba(107, 169, 255, 0.18) 78.2%, transparent 78.5%);
}

.hero-section::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -12%;
    width: 50%;
    height: 72%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 72px);
    clip-path: polygon(20% 8%, 100% 0, 100% 100%, 0 100%);
    opacity: 0.6;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 54px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 620px;
    color: #ffffff;
    font-size: 3.15rem;
    line-height: 1.15;
}

.accent-line {
    display: block;
    width: 72px;
    height: 4px;
    margin: 28px 0 24px;
    background: var(--color-red);
}

.hero-copy p {
    max-width: 575px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.03rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.hero-visual {
    position: relative;
    min-height: 380px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 44px 18px 28px 80px;
    border: 1px solid rgba(134, 188, 255, 0.28);
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.72) 0 3px, transparent 4px),
        radial-gradient(circle at 55% 12%, rgba(255, 255, 255, 0.72) 0 3px, transparent 4px),
        radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.72) 0 3px, transparent 4px),
        radial-gradient(circle at 36% 72%, rgba(255, 255, 255, 0.72) 0 3px, transparent 4px),
        linear-gradient(120deg, transparent 18%, rgba(90, 157, 241, 0.5) 18.2%, transparent 18.7% 48%, rgba(90, 157, 241, 0.4) 48.2%, transparent 48.7%);
    border-radius: 8px;
    box-shadow: inset 0 0 80px rgba(48, 125, 232, 0.18);
}

.camera-module {
    position: absolute;
    right: 16px;
    top: 70px;
    width: 260px;
    height: 190px;
    display: grid;
    place-items: center;
    color: #0b2e5e;
    background: linear-gradient(150deg, #f7fbff, #b8c9dc);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
}

.camera-module::before {
    content: "";
    position: absolute;
    top: -35px;
    right: 20px;
    width: 160px;
    height: 42px;
    background: linear-gradient(90deg, #e7eef5, #aabbd0);
    border-radius: 4px;
    transform: skewX(-18deg);
}

.camera-module .yaco-icon {
    width: 112px;
    height: 112px;
    stroke-width: 1.45;
}

.camera-module span {
    position: absolute;
    bottom: 28px;
    width: 72px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9, 22, 42, 0.9), rgba(6, 18, 36, 0.35) 62%, transparent 64%);
}

.signal {
    position: absolute;
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(13, 54, 104, 0.6);
    box-shadow: 0 0 28px rgba(110, 175, 255, 0.34);
}

.signal .yaco-icon {
    width: 34px;
    height: 34px;
}

.signal-one {
    left: 48px;
    top: 62px;
}

.signal-two {
    right: 12px;
    bottom: 48px;
}

.signal-three {
    left: 170px;
    bottom: 26px;
}

.section {
    padding: 70px 0;
}

.section-white {
    background: #ffffff;
}

.section-soft {
    background: linear-gradient(180deg, #f7faff, #eef3f8);
}

.section-heading {
    margin-bottom: 32px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2rem;
}

.red-divider,
.card-line {
    display: block;
    width: 36px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--color-red);
}

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

.service-grid-home {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 25, 32, 0.34);
    box-shadow: 0 18px 44px rgba(8, 31, 63, 0.13);
}

.service-icon {
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--color-blue);
}

.service-icon .yaco-icon {
    width: 54px;
    height: 54px;
    stroke-width: 1.55;
}

.service-card h3 {
    color: #071f40;
    font-size: 1rem;
}

.service-card p {
    margin-top: 12px;
    font-size: 0.92rem;
}

.service-grid-home .service-card p {
    display: none;
}

.service-card-large {
    align-items: flex-start;
    min-height: 270px;
    text-align: left;
}

.service-card-large .service-icon,
.service-card-large .card-line {
    margin-inline: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--color-red);
    font-size: 0.88rem;
    font-weight: 800;
}

.read-more .yaco-icon {
    width: 16px;
    height: 16px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.why-item {
    min-height: 188px;
    padding: 8px 26px;
    text-align: center;
    border-left: 1px solid rgba(11, 46, 94, 0.2);
}

.why-item:first-child {
    border-left: 0;
}

.why-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    color: var(--color-blue);
}

.why-icon .yaco-icon {
    width: 58px;
    height: 58px;
}

.why-item h3 {
    font-size: 1rem;
}

.why-item p {
    margin-top: 10px;
    font-size: 0.88rem;
}

.sector-pills {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
}

.sector-pill {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--color-blue);
    border: 1px solid rgba(11, 46, 94, 0.42);
    border-radius: 7px;
    background: #ffffff;
    font-weight: 800;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sector-pill:hover {
    color: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-2px);
}

.method-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
    padding-top: 30px;
}

.method-timeline::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 9%;
    right: 9%;
    border-top: 1px dashed rgba(11, 46, 94, 0.45);
}

.method-step {
    position: relative;
    text-align: center;
}

.method-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 18px;
    color: #ffffff;
    background: var(--color-blue);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
}

.method-icon {
    display: grid;
    place-items: center;
    height: 54px;
    color: var(--color-blue);
}

.method-icon .yaco-icon {
    width: 48px;
    height: 48px;
}

.method-step h3 {
    margin-top: 10px;
    font-size: 0.98rem;
}

.method-step p {
    margin-top: 8px;
    font-size: 0.82rem;
}

.final-cta {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(90deg, var(--color-blue) 0%, var(--color-blue-2) 100%),
        #0b2e5e;
}

.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(35deg, transparent 0 44%, rgba(255, 255, 255, 0.2) 44.2%, transparent 44.6%),
        linear-gradient(140deg, transparent 0 68%, rgba(255, 255, 255, 0.17) 68.2%, transparent 68.6%);
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    min-height: 124px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.final-cta h2 {
    color: #ffffff;
    font-size: 1.9rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.88);
}

.cta-icon {
    display: grid;
    place-items: center;
    color: #ffffff;
}

.cta-icon .yaco-icon {
    width: 68px;
    height: 68px;
}

.site-footer {
    color: #d8e6f7;
    background: var(--color-blue-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.25fr 1.25fr 0.9fr;
    gap: 42px;
    padding: 42px 0 36px;
}

.brand-footer .brand-copy strong,
.portal-brand .brand-copy strong {
    color: #ffffff;
}

.brand-footer .brand-copy small,
.portal-brand .brand-copy small {
    color: rgba(255, 255, 255, 0.76);
}

.footer-brand p {
    max-width: 290px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 1rem;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #ffffff;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.footer-contact .yaco-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
}

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

.footer-bottom p,
.footer-bottom span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.footer-bottom div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(110deg, rgba(5, 27, 58, 0.98), rgba(0, 59, 115, 0.88)),
        radial-gradient(circle at 80% 15%, rgba(99, 166, 255, 0.3), transparent 30%),
        var(--color-blue);
}

.compact-hero .container {
    min-height: 280px;
    display: grid;
    align-content: center;
}

.page-hero h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: 2.7rem;
}

.page-hero p {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
}

.content-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.content-intro h2,
.split-section h2,
.detail-panel h2,
.contact-card h2,
.form-card h2 {
    margin-bottom: 14px;
    font-size: 1.8rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 38px;
    align-items: center;
}

.highlight-panel,
.about-panel,
.detail-panel,
.contact-card,
.form-card,
.project-card,
.sector-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.highlight-panel,
.about-panel,
.detail-panel,
.contact-card,
.form-card {
    padding: 30px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--color-text);
    font-weight: 600;
}

.check-list .yaco-icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--color-red);
}

.service-detail-head {
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
}

.breadcrumb-link {
    display: inline-flex;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.detail-icon {
    display: grid;
    place-items: center;
    width: 170px;
    height: 170px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.detail-icon .yaco-icon {
    width: 96px;
    height: 96px;
}

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

.sector-card-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.sector-card,
.project-card {
    padding: 28px;
}

.sector-card span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    color: var(--color-blue);
    background: var(--color-soft);
    border-radius: 7px;
}

.sector-card h2,
.project-card h2 {
    margin-bottom: 12px;
    font-size: 1.24rem;
}

.project-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.project-meta,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-meta {
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--color-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.tag-list {
    margin-top: auto;
    padding-top: 22px;
}

.tag-list span {
    padding: 6px 10px;
    color: var(--color-blue);
    background: var(--color-soft);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
}

.about-split p + p {
    margin-top: 14px;
}

.about-method {
    max-width: 1000px;
    margin-inline: auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 28px;
    align-items: start;
}

.contact-list-large {
    margin: 18px 0;
}

.contact-list-large li {
    color: var(--color-text);
    font-weight: 600;
}

.contact-list-large .yaco-icon {
    color: var(--color-blue);
}

.form-card,
.portal-form,
.admin-form {
    display: grid;
    gap: 18px;
}

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

label {
    display: grid;
    gap: 7px;
    color: var(--color-blue-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text);
    background: #ffffff;
    font: 500 0.95rem var(--font-main);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-blue-2);
    box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.12);
}

.form-alert {
    padding: 13px 15px;
    color: #0a3b24;
    background: #eaf8f0;
    border: 1px solid #b9e7ca;
    border-radius: 5px;
    font-weight: 700;
}

.form-alert-error {
    color: #8a1116;
    background: #fff0f1;
    border-color: #f1b7bb;
}

.flash-container {
    position: relative;
    z-index: 3;
}

.flash-container .form-alert {
    margin-top: 18px;
}

.cms-content {
    color: var(--color-text);
    font-size: 1rem;
}

.cms-content p + p {
    margin-top: 14px;
}

.cms-content ul,
.cms-content ol {
    padding-left: 20px;
}

.inline-check {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.inline-check input {
    width: auto;
    min-height: auto;
}

.narrow-container {
    width: min(100% - 40px, 860px);
}

.muted-text {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.yaco-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.yaco-table th,
.yaco-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.yaco-table th {
    color: var(--color-blue);
    background: var(--color-soft);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.status-success {
    color: #0b6b36;
    background: #e6f6ee;
}

.status-warning {
    color: #8a5b00;
    background: #fff4d8;
}

.status-info {
    color: #0b4f86;
    background: #e7f2ff;
}

.status-muted {
    color: #52606d;
    background: #eef2f6;
}

.status-default {
    color: var(--color-blue);
    background: var(--color-soft);
}

.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-blue);
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.table-action.danger {
    color: var(--color-red);
    border-color: rgba(215, 25, 32, 0.35);
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
