/* ==============================
   Business Code Company
   Main Stylesheet
============================== */


/* ---------- Variables ---------- */

:root {

    --primary: #123b72;
    --secondary: #278244;

    --dark: #0b2341;
    --text: #566273;

    --light: #f5f8fc;
    --white: #ffffff;

    --border: #e1e7ef;
}


/* ---------- General ---------- */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Tahoma,
        Arial,
        sans-serif;

    color: var(--text);

    background: var(--white);
}


/* ==============================
   Header
============================== */

.main-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid var(--border);
}


.navbar {

    min-height: 84px;
}


/* ---------- Brand ---------- */

.navbar-brand {

    display: flex;

    flex-direction: column;

    line-height: 1;

    text-decoration: none;
}


.brand-name {

    color: var(--primary);

    font-size: 21px;

    font-weight: 800;

    letter-spacing: 1px;
}


.brand-company {

    color: var(--secondary);

    font-size: 10px;

    letter-spacing: 5px;

    margin-top: 7px;
}


/* ---------- Menu ---------- */

.nav-link {

    position: relative;

    color: #374151;

    font-weight: 600;

    padding:
        12px 15px !important;

    transition:
        color 0.25s ease;
}


.nav-link:hover,
.nav-link.active {

    color: var(--primary);
}


.nav-link.active::after {

    content: "";

    position: absolute;

    bottom: 4px;

    right: 15px;

    width: 22px;

    height: 2px;

    background:
        var(--secondary);
}


/* ==============================
   Buttons
============================== */

.btn-main {

    background:
        var(--primary);

    color:
        var(--white);

    border:
        1px solid var(--primary);

    padding:
        11px 24px;

    border-radius:
        6px;

    font-weight:
        700;

    transition:
        all 0.25s ease;
}


.btn-main:hover {

    background:
        var(--secondary);

    border-color:
        var(--secondary);

    color:
        var(--white);

    transform:
        translateY(-2px);
}


.btn-outline-main {

    background:
        transparent;

    color:
        var(--primary);

    border:
        1px solid var(--primary);

    border-radius:
        6px;

    font-weight:
        700;

    padding:
        11px 24px;

    transition:
        all 0.25s ease;
}


.btn-outline-main:hover {

    background:
        var(--primary);

    color:
        var(--white);
}


/* ==============================
   Hero
============================== */

.hero {

    position:
        relative;

    min-height:
        calc(100vh - 84px);

    display:
        flex;

    align-items:
        center;

    overflow:
        hidden;

    background:

        radial-gradient(
            circle at 10% 20%,
            rgba(39, 130, 68, 0.08),
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 30%,
            rgba(18, 59, 114, 0.10),
            transparent 35%
        ),

        #ffffff;
}


.min-vh-75 {

    min-height:
        75vh;
}


/* ---------- Hero Content ---------- */

.hero-content {

    padding:
        80px 0;
}


.hero-label {

    display:
        inline-block;

    color:
        var(--secondary);

    background:
        rgba(39, 130, 68, 0.08);

    border:
        1px solid rgba(39, 130, 68, 0.15);

    padding:
        8px 14px;

    margin-bottom:
        22px;

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        1px;
}


.hero h1 {

    max-width:
        650px;

    margin:
        0 0 22px;

    color:
        var(--dark);

    font-size:
        clamp(38px, 5vw, 64px);

    line-height:
        1.35;

    font-weight:
        800;
}


.hero h1 span {

    display:
        block;

    color:
        var(--secondary);
}


.hero p {

    max-width:
        620px;

    margin-bottom:
        32px;

    color:
        var(--text);

    font-size:
        18px;

    line-height:
        2;
}


.hero-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;
}


/* ==============================
   Website Preview
============================== */

.website-preview {

    position:
        relative;

    padding:
        50px 20px;
}


.preview-window {

    overflow:
        hidden;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        12px;

    box-shadow:
        0 30px 80px
        rgba(11, 35, 65, 0.15);

    transform:
        perspective(1200px)
        rotateY(-5deg)
        rotateX(2deg);
}


.preview-header {

    height:
        48px;

    display:
        flex;

    align-items:
        center;

    padding:
        0 18px;

    background:
        #f3f6f9;

    border-bottom:
        1px solid var(--border);
}


.preview-dots {

    display:
        flex;

    gap:
        7px;
}


.preview-dots span {

    width:
        9px;

    height:
        9px;

    border-radius:
        50%;

    background:
        #c5ced9;
}


.preview-body {

    min-height:
        390px;

    padding:
        45px;

    background:

        linear-gradient(
            135deg,
            rgba(18, 59, 114, 0.04),
            rgba(39, 130, 68, 0.05)
        );
}


.preview-small-title {

    display:
        block;

    margin-bottom:
        35px;

    color:
        var(--primary);

    font-weight:
        800;
}


.preview-title {

    width:
        78%;

    height:
        28px;

    margin-bottom:
        18px;

    background:
        var(--primary);
}


.preview-text {

    width:
        70%;

    height:
        10px;

    margin-bottom:
        11px;

    background:
        #cbd5e1;
}


.preview-text.short {

    width:
        47%;
}


.preview-cards {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        15px;

    margin-top:
        55px;
}


.preview-card {

    height:
        105px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    box-shadow:
        0 8px 22px
        rgba(18, 59, 114, 0.06);
}


/* ==============================
   Mobile
============================== */

@media
(max-width: 991px) {

    .navbar-collapse {

        padding:
            20px 0;
    }


    .hero-content {

        padding:
            60px 0 20px;

        text-align:
            center;
    }


    .hero h1,
    .hero p {

        margin-left:
            auto;

        margin-right:
            auto;
    }


    .hero-actions {

        justify-content:
            center;
    }


    .website-preview {

        padding:
            30px 0 60px;
    }


    .preview-window {

        transform:
            none;
    }

}


@media
(max-width: 576px) {

    .hero h1 {

        font-size:
            34px;
    }


    .hero p {

        font-size:
            16px;
    }


    .hero-actions {

        flex-direction:
            column;
    }


    .hero-actions .btn {

        width:
            100%;
    }


    .preview-body {

        min-height:
            300px;

        padding:
            28px;
    }


    .preview-card {

        height:
            75px;
    }

}/* ==============================
   Services Section
============================== */

.services-section {

    position: relative;

    padding:
        110px 0;

    background:
        #f7f9fc;

}


/* ---------- Section Heading ---------- */

.section-heading {

    max-width:
        760px;

    margin:
        0 auto 60px;

    text-align:
        center;

}


.section-label {

    display:
        inline-block;

    margin-bottom:
        16px;

    padding:
        7px 16px;

    color:
        var(--secondary);

    background:
        rgba(39, 130, 68, 0.08);

    border:
        1px solid rgba(39, 130, 68, 0.15);

    font-size:
        13px;

    font-weight:
        700;

}


.section-heading h2 {

    margin-bottom:
        18px;

    color:
        var(--dark);

    font-size:
        clamp(32px, 4vw, 46px);

    font-weight:
        800;

    line-height:
        1.4;

}


.section-heading h2 span {

    color:
        var(--secondary);

}


.section-heading p {

    margin:
        0;

    color:
        var(--text);

    font-size:
        17px;

    line-height:
        1.9;

}


/* ==============================
   Service Card
============================== */

.service-card {

    position:
        relative;

    height:
        100%;

    min-height:
        350px;

    padding:
        35px;

    overflow:
        hidden;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        10px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


.service-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(18, 59, 114, 0.20);

    box-shadow:
        0 22px 50px
        rgba(11, 35, 65, 0.09);

}


/* ---------- Number ---------- */

.service-number {

    position:
        absolute;

    top:
        25px;

    left:
        28px;

    color:
        #d8dee8;

    font-size:
        15px;

    font-weight:
        800;

}


/* ---------- Icon ---------- */

.service-icon {

    width:
        58px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        27px;

    color:
        var(--primary);

    background:
        rgba(18, 59, 114, 0.07);

    border:
        1px solid rgba(18, 59, 114, 0.10);

    border-radius:
        8px;

    font-size:
        22px;

    font-weight:
        800;

}


/* ---------- Title ---------- */

.service-card h3 {

    margin-bottom:
        15px;

    color:
        var(--dark);

    font-size:
        21px;

    font-weight:
        800;

}


/* ---------- Description ---------- */

.service-card p {

    margin-bottom:
        28px;

    color:
        #687386;

    font-size:
        15px;

    line-height:
        1.9;

}


/* ---------- Link ---------- */

.service-link {

    position:
        absolute;

    right:
        35px;

    bottom:
        30px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    color:
        var(--primary);

    font-weight:
        700;

    text-decoration:
        none;

}


.service-link span {

    transition:
        transform 0.2s ease;

}


.service-link:hover {

    color:
        var(--secondary);

}


.service-link:hover span {

    transform:
        translateX(-4px);

}


/* ==============================
   Featured Service
============================== */

.featured-service {

    background:

        linear-gradient(
            135deg,
            var(--primary),
            #0c2c54
        );

    border-color:
        transparent;

}


.featured-service .service-number {

    color:
        rgba(255, 255, 255, 0.25);

}


.featured-service .service-icon {

    color:
        var(--white);

    background:
        rgba(255, 255, 255, 0.10);

    border-color:
        rgba(255, 255, 255, 0.15);

}


.featured-service h3 {

    color:
        var(--white);

}


.featured-service p {

    color:
        rgba(255, 255, 255, 0.75);

}


.featured-service .service-link {

    color:
        var(--white);

}


/* ==============================
   Services Mobile
============================== */

@media
(max-width: 767px) {

    .services-section {

        padding:
            75px 0;

    }


    .section-heading {

        margin-bottom:
            40px;

    }


    .section-heading p {

        font-size:
            15px;

    }


    .service-card {

        min-height:
            330px;

        padding:
            28px;

    }


    .service-link {

        right:
            28px;

        bottom:
            25px;

    }

}/* ==============================
   About Section
============================== */

.about-section {

    padding:
        110px 0;

    background:
        var(--white);

}


.about-content h2 {

    margin:
        10px 0 22px;

    color:
        var(--dark);

    font-size:
        clamp(32px, 4vw, 46px);

    font-weight:
        800;

    line-height:
        1.4;

}


.about-content h2 span {

    display:
        block;

    color:
        var(--secondary);

}


.about-content p {

    color:
        var(--text);

    font-size:
        16px;

    line-height:
        2;

    margin-bottom:
        18px;

}


.about-content .btn {

    margin-top:
        10px;

}


/* ==============================
   About Stats
============================== */

.about-stats {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        18px;

}


.stat-card {

    min-height:
        170px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    background:
        #f7f9fc;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    text-align:
        center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.stat-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 18px 35px
        rgba(11, 35, 65, 0.07);

}


.stat-card strong {

    display:
        block;

    color:
        var(--primary);

    font-size:
        38px;

    font-weight:
        800;

    margin-bottom:
        8px;

}


.stat-card span {

    color:
        var(--text);

    font-size:
        15px;

    font-weight:
        600;

}


/* ==============================
   About Mobile
============================== */

@media
(max-width: 767px) {

    .about-section {

        padding:
            75px 0;

    }


    .about-content {

        text-align:
            center;

    }


    .about-stats {

        grid-template-columns:
            1fr 1fr;

        margin-top:
            20px;

    }


    .stat-card {

        min-height:
            140px;

    }


    .stat-card strong {

        font-size:
            30px;

    }

}/* ==============================
   Packages Section
============================== */

.packages-section {

    padding:
        110px 0;

    background:
        #f7f9fc;

}


.package-card {

    position:
        relative;

    height:
        100%;

    padding:
        38px 32px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        12px;

    box-shadow:
        0 10px 30px
        rgba(11, 35, 65, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.package-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 24px 50px
        rgba(11, 35, 65, 0.08);

}


.package-featured {

    border:
        2px solid var(--primary);

    transform:
        translateY(-10px);

}


.package-featured:hover {

    transform:
        translateY(-15px);

}


.package-badge {

    position:
        absolute;

    top:
        -14px;

    right:
        50%;

    transform:
        translateX(50%);

    padding:
        7px 18px;

    background:
        var(--secondary);

    color:
        var(--white);

    border-radius:
        20px;

    font-size:
        12px;

    font-weight:
        700;

}


.package-top {

    text-align:
        center;

    padding-bottom:
        28px;

    border-bottom:
        1px solid var(--border);

}


.package-type {

    display:
        inline-block;

    color:
        var(--secondary);

    font-size:
        14px;

    font-weight:
        700;

    margin-bottom:
        12px;

}


.package-top h3 {

    color:
        var(--dark);

    font-size:
        23px;

    font-weight:
        800;

    margin-bottom:
        20px;

}


.package-price {

    display:
        flex;

    justify-content:
        center;

    align-items:
        baseline;

    gap:
        7px;

    flex-wrap:
        wrap;

}


.package-price small {

    width:
        100%;

    color:
        var(--text);

    font-size:
        12px;

}


.package-price strong {

    color:
        var(--primary);

    font-size:
        42px;

    font-weight:
        800;

}


.package-price span {

    color:
        var(--text);

    font-size:
        14px;

    font-weight:
        600;

}


.package-features {

    list-style:
        none;

    padding:
        0;

    margin:
        28px 0;

}


.package-features li {

    position:
        relative;

    padding:
        10px 28px 10px 0;

    color:
        var(--text);

    border-bottom:
        1px solid #edf1f5;

}


.package-features li::before {

    content:
        "✓";

    position:
        absolute;

    right:
        0;

    color:
        var(--secondary);

    font-weight:
        800;

}


.package-features li:last-child {

    border-bottom:
        none;

}


/* ==============================
   Packages Mobile
============================== */

@media
(max-width: 991px) {

    .package-featured {

        transform:
            none;

    }


    .package-featured:hover {

        transform:
            translateY(-7px);

    }

}


@media
(max-width: 767px) {

    .packages-section {

        padding:
            75px 0;

    }


    .package-card {

        padding:
            32px 25px;

    }

}/* ==============================
   Work Process
============================== */

.process-section {
    padding: 110px 0;
    background: var(--white);
}

.process-card {
    height: 100%;
    padding: 32px;
    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.process-number {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 800;
}

.process-card h3 {
    color: var(--dark);
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 14px;
}

.process-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.9;
}


/* ==============================
   Why Us
============================== */

.why-section {
    padding: 110px 0;
    background: #0b2341;
}

.why-title {
    margin: 12px 0 20px;
    color: var(--white);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.45;
}

.why-title span {
    color: #59b66e;
}

.why-description {
    color: rgba(255, 255, 255, 0.70);
    line-height: 2;
}

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

.why-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
}

.why-card strong {
    color: #59b66e;
    font-size: 14px;
}

.why-card h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    margin: 15px 0 10px;
}

.why-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}


/* ==============================
   Contact
============================== */

.contact-section {
    padding: 110px 0;
    background: #f7f9fc;
}

.contact-intro h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.4;
    margin: 10px 0 20px;
}

.contact-intro h2 span {
    display: block;
    color: var(--secondary);
}

.contact-intro p {
    color: var(--text);
    line-height: 2;
    margin-bottom: 30px;
}

.contact-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item span {
    display: block;
    color: var(--text);
    font-size: 13px;
    margin-bottom: 5px;
}

.contact-item strong {
    color: var(--dark);
}

.contact-form {
    padding: 38px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(11, 35, 65, 0.05);
}

.form-label {
    color: var(--dark);
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: var(--border);
    border-radius: 6px;
}

textarea.form-control {
    min-height: 140px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(18, 59, 114, 0.10);
}


/* ==============================
   Footer
============================== */

.main-footer {
    padding: 60px 0 25px;
    background: #071a31;
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-content h3 {
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-content p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.60);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 13px;
}


/* ==============================
   WhatsApp
============================== */

.whatsapp-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    z-index: 999;
}

.whatsapp-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
}


/* ==============================
   Responsive
============================== */

@media (max-width: 767px) {

    .process-section,
    .why-section,
    .contact-section {
        padding: 75px 0;
    }

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

    .contact-form {
        padding: 25px;
    }

    .footer-content,
    .footer-bottom {
        flex-direction: column;
    }

}
/* ==============================
   Portfolio
============================== */

.portfolio-section {
    padding: 110px 0;
    background: var(--white);
}

.portfolio-card {
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(11, 35, 65, 0.05);
}

.portfolio-media {
    aspect-ratio: 16 / 10;
    background: #eef4f1;
    border-bottom: 1px solid var(--border);
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(18, 59, 114, 0.08), rgba(39, 130, 68, 0.12));
}

.portfolio-placeholder span {
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
    padding: 10px 16px;
    border: 1px solid rgba(18, 59, 114, 0.16);
    background: rgba(255, 255, 255, 0.72);
}

.portfolio-body {
    padding: 26px;
}

.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.portfolio-meta span,
.portfolio-tech {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    background: rgba(39, 130, 68, 0.08);
    border: 1px solid rgba(39, 130, 68, 0.14);
    padding: 6px 10px;
}

.portfolio-card h3 {
    color: var(--dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 8px;
}

.portfolio-client {
    display: block;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 12px;
}

.portfolio-card p {
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 16px;
}

.portfolio-tech {
    display: inline-block;
    color: var(--dark);
    background: var(--light);
    border-color: var(--border);
    margin-bottom: 16px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.portfolio-link:hover {
    color: var(--secondary);
}

@media (max-width: 767px) {
    .portfolio-section {
        padding: 75px 0;
    }

    .portfolio-body {
        padding: 22px;
    }
}

/* ==============================
   Portfolio Detail
============================== */

.portfolio-actions,
.portfolio-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.portfolio-link-muted {
    color: var(--text);
    font-size: 13px;
}

.portfolio-detail-hero {
    padding: 90px 0;
    background: var(--light);
}

.portfolio-detail-hero h1 {
    color: var(--dark);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.35;
    margin: 18px 0;
}

.portfolio-detail-hero p {
    color: var(--text);
    line-height: 2;
    margin-bottom: 24px;
}

.portfolio-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.portfolio-detail-meta span {
    color: var(--primary);
    font-weight: 800;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 12px;
}

.portfolio-detail-cover {
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: #eef4f1;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(11, 35, 65, 0.08);
}

.portfolio-detail-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.portfolio-detail-section,
.related-portfolio-section {
    padding: 90px 0;
    background: var(--white);
}

.related-portfolio-section {
    background: var(--light);
}

.project-info-panel {
    position: sticky;
    top: 110px;
    padding: 30px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.project-info-panel h2,
.project-gallery-heading h2 {
    color: var(--dark);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 22px;
}

.project-info-panel dl {
    margin: 0;
}

.project-info-panel dt {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-info-panel dd {
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 18px;
}

.project-gallery-heading {
    margin-bottom: 26px;
}

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

.project-gallery-item {
    overflow: hidden;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.project-gallery-item-large {
    grid-column: span 2;
}

.project-gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
}

.project-gallery-item figcaption {
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
}

.portfolio-empty-gallery {
    grid-column: span 2;
    padding: 32px;
    color: var(--text);
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
}

@media (max-width: 991px) {
    .project-info-panel {
        position: static;
    }
}

@media (max-width: 767px) {
    .portfolio-detail-hero,
    .portfolio-detail-section,
    .related-portfolio-section {
        padding: 70px 0;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery-item-large,
    .portfolio-empty-gallery {
        grid-column: span 1;
    }
}

/* ==============================
   Dashboard
============================== */

.dashboard-page {
    background: #eef3f8;
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.dashboard-sidebar {
    padding: 28px 22px;
    background: #071a31;
    color: var(--white);
}

.dashboard-brand {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 34px;
}

.dashboard-brand span {
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.dashboard-brand small {
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0;
}

.dashboard-nav {
    display: grid;
    gap: 8px;
}

.dashboard-nav a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 700;
}

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

.dashboard-main {
    padding: 34px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.dashboard-topbar h1 {
    color: var(--dark);
    font-size: 34px;
    font-weight: 800;
    margin: 12px 0 8px;
}

.dashboard-topbar p {
    margin: 0;
    color: var(--text);
}

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

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.dashboard-metric {
    min-height: 118px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.dashboard-metric.primary {
    background: var(--primary);
    border-color: var(--primary);
}

.dashboard-metric span {
    display: block;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.dashboard-metric strong {
    color: var(--dark);
    font-size: 36px;
    font-weight: 800;
}

.dashboard-metric.primary span,
.dashboard-metric.primary strong {
    color: var(--white);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.7fr);
    gap: 20px;
}

.dashboard-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}

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

.dashboard-panel-heading h2,
.quick-links h3 {
    color: var(--dark);
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.dashboard-panel-heading a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

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

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.dashboard-table th,
.dashboard-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: right;
    vertical-align: middle;
}

.dashboard-table th {
    color: var(--dark);
    font-size: 13px;
    background: var(--light);
}

.dashboard-table td,
.dashboard-table td a {
    color: var(--text);
    text-decoration: none;
}

.dashboard-table td a {
    color: var(--primary);
    font-weight: 800;
}

.dashboard-status {
    display: inline-block;
    color: var(--secondary);
    background: rgba(39, 130, 68, 0.09);
    border: 1px solid rgba(39, 130, 68, 0.14);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.status-list {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.status-row span {
    color: var(--text);
    font-weight: 700;
}

.status-row strong {
    color: var(--dark);
}

.quick-links {
    display: grid;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.quick-links a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.dashboard-empty {
    color: var(--text);
    padding: 18px;
    text-align: center;
}

@media (max-width: 1100px) {
    .dashboard-shell,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

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

@media (max-width: 767px) {
    .dashboard-main,
    .dashboard-sidebar {
        padding: 22px;
    }

    .dashboard-topbar {
        flex-direction: column;
    }

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

/* ==============================
   CRM
============================== */

.crm-filter-panel {
    margin-bottom: 20px;
}

.crm-filter-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px auto auto;
    gap: 14px;
    align-items: end;
}

.crm-filter-form label,
.crm-update-form label {
    display: block;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 8px;
}

.crm-filter-form input,
.crm-filter-form select,
.crm-update-form select,
.crm-update-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--dark);
    background: var(--white);
}

.crm-count {
    color: var(--secondary);
    font-weight: 800;
}

.crm-table .crm-row-new td {
    background: rgba(39, 130, 68, 0.05);
}

.crm-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.crm-details-list {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px 16px;
    margin: 0 0 24px;
}

.crm-details-list dt {
    color: var(--text);
    font-weight: 700;
}

.crm-details-list dd {
    color: var(--dark);
    font-weight: 800;
    margin: 0;
    overflow-wrap: anywhere;
}

.crm-details-list a {
    color: var(--primary);
    text-decoration: none;
}

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

.crm-update-form {
    display: grid;
    gap: 14px;
}

.crm-update-form textarea {
    resize: vertical;
    line-height: 1.8;
}

.crm-message-panel p {
    color: var(--dark);
    line-height: 2;
    margin: 0;
}

.crm-messages {
    margin-bottom: 18px;
}

@media (max-width: 991px) {
    .crm-filter-form,
    .crm-detail-grid {
        grid-template-columns: 1fr;
    }

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

/* ==============================
   Internal notifications
============================== */

.dashboard-metric.warning {
    border-color: rgba(39, 130, 68, 0.28);
    background: rgba(39, 130, 68, 0.08);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-right: 8px;
    padding: 0 7px;
    color: #ffffff;
    background: var(--secondary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-status.alert {
    color: #8a5a00;
    background: #fff3cd;
    border-color: #ffe69c;
}

.dashboard-status.muted {
    color: var(--text);
    background: var(--light);
    border-color: var(--border);
}

.inline-action-form {
    margin: 0;
}

/* Partners and FAQ */
.partners-section { padding: 105px 0; background: var(--white); }
.partners-heading { max-width: 820px; margin: 0 auto 46px; text-align: center; }
.partners-heading h2 { color: var(--dark); font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.35; margin: 16px 0 12px; }
.partners-heading p { color: var(--text); line-height: 1.9; margin: 0; }
.partners-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); border-inline-start: 1px solid var(--border); }
.partner-cell { min-height: 176px; display: flex; align-items: center; justify-content: center; padding: 30px; border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.partner-cell a { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.partner-cell img { width: min(190px, 82%); max-height: 78px; display: block; object-fit: contain; filter: saturate(.82); opacity: .88; transition: opacity .2s ease, filter .2s ease, transform .2s ease; }
.partner-cell:hover img { opacity: 1; filter: saturate(1); transform: translateY(-2px); }
.partner-wordmark { color: var(--dark); font-size: 22px; font-weight: 800; text-align: center; }
.partner-cell-empty { grid-column: 1 / -1; min-height: 110px; color: var(--text); font-size: 14px; }
.faq-section { padding: 105px 0; background: var(--light); }
.faq-layout { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr); gap: 92px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-symbol { width: 58px; height: 58px; display: grid; place-items: center; color: var(--secondary); font-size: 22px; font-weight: 800; border: 1px solid color-mix(in srgb, var(--secondary) 24%, transparent); border-radius: 50%; margin-bottom: 26px; }
.faq-intro h2 { color: var(--dark); font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1.25; margin: 18px 0; }
.faq-intro p { color: var(--text); line-height: 1.9; max-width: 480px; }
.faq-contact-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; text-decoration: none; margin-top: 16px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 19px 2px; color: var(--dark); background: transparent; border: 0; text-align: right; font-size: 18px; font-weight: 800; cursor: pointer; }
.faq-question i { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.faq-question i::before, .faq-question i::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-question i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-question { color: var(--secondary); }
.faq-item.is-open .faq-question i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { color: var(--text); line-height: 2; padding: 0 34px 23px 2px; margin: 0; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
@media (max-width: 991px) { .partners-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } .faq-layout { grid-template-columns: 1fr; gap: 42px; } .faq-intro { position: static; } }
@media (max-width: 767px) { .partners-section, .faq-section { padding: 72px 0; } .partners-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .partner-cell { min-height: 128px; padding: 20px; } .faq-question { font-size: 16px; min-height: 66px; } .faq-answer p { padding-inline-start: 18px; } }


/* ==============================
   ERP Platform Dashboard
============================== */
.erp-page { background: #f6f7f9; color: #172033; max-width: 100%; overflow-x: hidden; }
.erp-shell { width: 100%; max-width: 100%; min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); overflow-x: clip; }
.erp-sidebar { background: #10231d; color: #fff; padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; }
.erp-brand { display: block; color: #fff; text-decoration: none; padding: 6px 10px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.erp-brand strong { display: block; font-size: 22px; }
.erp-brand span { display: block; color: #b7c7c1; font-size: 12px; margin-top: 5px; }
.erp-nav { display: grid; gap: 2px; margin-top: 14px; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.erp-nav a { color: #dfe8e4; text-decoration: none; padding: 8px 10px; border-radius: 5px; font-size: 13px; font-weight: 700; }
.erp-nav a:hover, .erp-nav a.active { background: #1c3b31; color: #fff; }
.erp-nav-home { margin-bottom: 8px; background: rgba(255,255,255,.06); }
.erp-nav-heading { color: #8fa89e; font-size: 10px; font-weight: 700; letter-spacing: .2px; padding: 10px 10px 4px; }
.erp-nav-admin { border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px; padding-top: 12px !important; }
.erp-main { width: 100%; max-width: 100%; padding: 16px 24px 24px; min-width: 0; overflow-x: clip; }
.erp-globalbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0 11px; margin-bottom: 16px; border-bottom: 1px solid #e4e9ef; }
.erp-globalbar-start, .erp-globalbar-end, .erp-globalbar-links, .erp-globalbar-brand, .erp-user-chip { display: flex; align-items: center; }
.erp-globalbar-start { gap: 28px; min-width: 0; }
.erp-globalbar-brand { gap: 9px; color: #172033; text-decoration: none; min-width: 0; }
.erp-globalbar-brand strong, .erp-globalbar-brand small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erp-globalbar-brand strong { max-width: 240px; font-size: 13px; }
.erp-globalbar-brand small { color: #748092; font-size: 11px; margin-top: 2px; }
.erp-globalbar-mark { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: #0f766e; color: #fff; border-radius: 6px; font-size: 17px; font-weight: 800; }
.erp-globalbar-links { gap: 3px; }
.erp-globalbar-links a { color: #536173; text-decoration: none; font-size: 13px; font-weight: 700; padding: 8px 10px; border-radius: 5px; }
.erp-globalbar-links a:hover, .erp-globalbar-links a.active { color: #0f766e; background: #ecf7f4; }
.erp-globalbar-end { gap: 14px; flex-shrink: 0; }
.erp-system-state { color: #526274; font-size: 12px; font-weight: 700; white-space: nowrap; }
.erp-system-state i { display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%; background: #22a06b; }
.erp-user-chip { gap: 7px; padding-right: 12px; border-right: 1px solid #e2e8f0; color: #26354a; font-size: 12px; font-weight: 700; white-space: nowrap; }
.erp-user-chip b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #dff2ec; color: #0f766e; font-size: 12px; }
.erp-account-menu { position: relative; }
.erp-account-menu summary { list-style: none; cursor: pointer; }
.erp-account-menu summary::-webkit-details-marker { display: none; }
.erp-account-menu summary::after { content: '⌄'; margin-right: 4px; color: #718096; font-size: 14px; }
.erp-account-dropdown { position: absolute; top: calc(100% + 12px); left: 0; z-index: 30; width: 230px; padding: 14px; border: 1px solid #e1e8ef; border-radius: 7px; background: #fff; box-shadow: 0 12px 26px rgba(27, 39, 54, .13); }
.erp-account-dropdown strong, .erp-account-dropdown span, .erp-account-dropdown small { display: block; }
.erp-account-dropdown strong { color: #172033; margin-bottom: 10px; font-size: 14px; }
.erp-account-dropdown span { color: #3e5067; font-size: 13px; font-weight: 700; }
.erp-account-dropdown small { color: #75849a; margin-top: 3px; direction: ltr; text-align: right; }
.erp-account-dropdown form { margin: 13px -14px -14px; border-top: 1px solid #edf1f5; }
.erp-account-dropdown form button { display: block; width: 100%; padding: 11px 14px; border: 0; background: transparent; color: #b42336; font: inherit; font-size: 13px; font-weight: 700; text-align: right; cursor: pointer; }
.erp-account-dropdown form button:hover { background: #fff7f7; }
.erp-account-dropdown .erp-platform-link { display: block; margin: 11px -14px 0; padding: 10px 14px; border-top: 1px solid #edf1f5; color: #17437c; font-size: 12px; font-weight: 800; text-decoration: none; }
.erp-account-dropdown .erp-platform-link + form { margin-top: 0; }
.platform-console-page { min-height: 100vh; margin: 0; background: #f3f6f8; color: #172f47; font-family: Tahoma, Arial, sans-serif; }
.platform-console-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 26px; border-bottom: 1px solid #d9e3eb; background: #fff; }
.platform-console-header div { display: flex; align-items: baseline; gap: 10px; }
.platform-console-header strong { font-size: 20px; }
.platform-console-header span { color: #728399; font-size: 12px; }
.platform-console-header nav { display: flex; gap: 7px; flex-wrap: wrap; }
.platform-console-header a { padding: 7px 9px; color: #17437c; font-size: 12px; font-weight: 800; text-decoration: none; }
.platform-console-main { padding: 20px 26px 30px; }
.platform-console-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.platform-console-title span { color: #0f766e; font-size: 12px; font-weight: 800; }
.platform-console-title h1 { margin: 4px 0 0; font-size: 26px; }
.platform-console-title form { display: flex; gap: 6px; width: min(100%, 490px); }
.platform-console-title input { flex: 1; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid #ccd9e4; border-radius: 4px; font: inherit; }
.platform-console-title button, .platform-console-actions button { border: 0; border-radius: 4px; background: #17437c; color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.platform-console-title button { padding: 0 17px; }
.platform-console-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }
.platform-console-kpis article { min-height: 72px; padding: 12px; border: 1px solid #dce5ed; border-radius: 5px; background: #fff; }
.platform-console-kpis span { display: block; margin-bottom: 7px; color: #718399; font-size: 11px; }
.platform-console-kpis strong { color: #17437c; font-size: 22px; }
.platform-console-kpis small { display: block; margin-top: 2px; color: #718399; font-size: 10px; }
.platform-console-panel { border: 1px solid #dce5ed; border-radius: 5px; background: #fff; }
.platform-console-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid #e7edf2; }
.platform-console-panel-head h2 { margin: 0; font-size: 17px; }
.platform-console-panel-head a { color: #0f8a68; font-size: 12px; font-weight: 800; text-decoration: none; }
.platform-console-table-wrap { width: 100%; overflow-x: auto; }
.platform-console-table-wrap table { width: 100%; min-width: 940px; border-collapse: collapse; }
.platform-console-table-wrap th, .platform-console-table-wrap td { padding: 10px 12px; border-bottom: 1px solid #edf1f4; text-align: right; font-size: 12px; vertical-align: top; }
.platform-console-table-wrap th { background: #f8fafc; color: #52667b; }
.platform-console-table-wrap td strong, .platform-console-table-wrap td small { display: block; }
.platform-console-table-wrap td small { margin-top: 3px; color: #7c8b9c; }
.platform-console-status { display: inline-block; padding: 4px 7px; border-radius: 4px; font-weight: 800; white-space: nowrap; }
.platform-console-status.is-active { background: #e8f7ef; color: #08754f; }
.platform-console-status.is-warning { background: #fff7df; color: #9a5d00; }
.platform-console-status.is-blocked { background: #fff1f1; color: #b42336; }
.platform-console-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.platform-console-actions a { color: #0f766e; font-weight: 800; text-decoration: none; }
.platform-console-actions form { margin: 0; }
.platform-console-actions button { padding: 6px 8px; }
.platform-console-billing { color: #17437c; font-weight: 800; text-decoration: none; white-space: nowrap; }
.platform-console-billing small { display: block; color: #7c8b9c; font-weight: 400; }
@media (max-width: 900px) { .platform-console-header, .platform-console-title { align-items: flex-start; flex-direction: column; } .platform-console-header { padding-block: 12px; } .platform-console-title form { width: 100%; } .platform-console-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .platform-console-main { padding: 16px; } .platform-console-kpis { grid-template-columns: 1fr; } }

/* External association registration */
.association-register-page { min-height: 100vh; background: #f2f6fb; color: #142c43; font-family: Tahoma, Arial, sans-serif; }
.association-register-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1fr) minmax(460px, 1fr); direction: ltr; overflow: hidden; }
.association-register-form-side { display: grid; place-items: center; padding: 32px; direction: rtl; }
.association-register-card { width: min(100%, 560px); background: #fff; border: 1px solid #e5ebf1; border-radius: 8px; padding: 40px 48px 36px; box-shadow: 0 12px 30px rgba(22, 46, 76, .08); }
.association-register-language { display: flex; align-items: center; direction: rtl; justify-content: flex-start; gap: 12px; margin-bottom: 26px; min-height: 20px; }
.association-register-language span { color: #b6c2ce; font-size: 13px; }
.association-register-language a { color: #1768f2; font-weight: 700; text-decoration: none; font-size: 14px; }
.association-register-language a.active { color: #132d46; }
.association-register-card h1 { color: #102b45; font-size: 28px; margin: 0 0 22px; text-align: right; }
.association-register-form { display: grid; gap: 12px; }
.association-register-form label { display: grid; gap: 7px; color: #536a7d; font-size: 14px; font-weight: 700; }
.association-register-form label:not(.association-consent) span { display: none; }
.association-register-form em { color: #b52e3f; font-style: normal; }
.association-register-form input { width: 100%; height: 50px; border: 1px solid #aab8c5; border-radius: 3px; padding: 0 14px; background: #fff; color: #142c43; font: inherit; font-size: 15px; outline: none; }
.association-register-form input::placeholder { color: #718297; opacity: 1; }
.association-register-form input:focus { border-color: #1768f2; box-shadow: 0 0 0 3px rgba(23, 104, 242, .12); }
.association-phone-field, .association-url-field { display: flex; direction: ltr; }
.association-phone-field input, .association-url-field input { border-radius: 0 3px 3px 0; direction: rtl; }
.association-country-code, .association-url-field > span { display: grid; place-items: center; height: 50px; padding: 0 13px; color: #19334b; font-weight: 700; background: #f8fafc; border: 1px solid #aab8c5; border-right: 0; border-radius: 3px 0 0 3px; white-space: nowrap; }
.association-url-field > span { color: #526b83; font-size: 14px; }
.association-register-form button { height: 52px; margin-top: 10px; border: 0; border-radius: 3px; background: #16b20a; color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.association-register-form button:hover { background: #109007; }
.association-register-form .association-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 4px; color: #415e78; font-size: 13px; font-weight: 400; line-height: 1.6; }
.association-register-form .association-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #1768f2; }
.association-register-terms, .association-register-login { margin: 14px 0 0; text-align: center; color: #536a7d; font-size: 13px; line-height: 1.8; }
.association-register-terms a, .association-register-login a { color: #1768f2; font-weight: 700; }
.association-register-login { margin-top: 16px; font-size: 15px; font-weight: 700; }
.association-register-showcase { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100%; padding: 52px 56px; overflow: hidden; direction: rtl; }
.association-register-watermark { position: absolute; top: -85px; left: -140px; color: rgba(211, 221, 232, .44); font-size: 520px; font-weight: 800; line-height: 1; z-index: 0; }
.association-register-logo, .association-register-copy, .association-register-features { position: relative; z-index: 1; }
.association-register-logo { position: absolute; top: 112px; right: 16%; display: flex; align-items: baseline; gap: 8px; color: #142c43; font-size: 48px; font-weight: 800; text-decoration: none; }
.association-register-logo b { color: #1768f2; font-size: 20px; }
.association-register-copy { max-width: 520px; text-align: center; margin-top: 46px; }
.association-register-copy h2 { margin: 0 0 17px; color: #152f47; font-size: 24px; line-height: 1.5; }
.association-register-copy p { margin: 0 auto 18px; color: #415e78; max-width: 540px; font-size: 17px; line-height: 1.85; }
.association-register-copy span { color: #3f607e; font-size: 16px; }
.association-register-features { width: min(100%, 520px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 64px 0 0; padding: 0; list-style: none; color: #132d46; font-size: 15px; font-weight: 800; }
.association-register-features li::before { content: '›'; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 10px; border-radius: 3px; background: #1768f2; color: #fff; font-size: 22px; line-height: 12px; vertical-align: -1px; }
.association-wizard { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 18px; background: rgba(16, 28, 42, .72); }
.association-wizard.is-hidden, .association-wizard .is-hidden { display: none; }
.association-wizard-dialog { width: min(100%, 1040px); max-height: calc(100vh - 88px); display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 18px 52px rgba(0, 0, 0, .28); }
.association-wizard-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 600px; padding: 32px; overflow: hidden; background: #f4f8fc; text-align: center; }
.association-wizard-side::before { content: ''; position: absolute; inset: 0 0 auto; height: 200px; background: repeating-linear-gradient(60deg, transparent 0 26px, rgba(23,104,242,.08) 27px 29px, transparent 30px 54px); opacity: .65; }
.association-wizard-logo { position: absolute; top: 95px; color: #152e47; font-size: 42px; font-weight: 800; text-decoration: none; }
.association-wizard-logo b { color: #1768f2; font-size: 19px; }
.association-wizard-summary { position: relative; z-index: 1; max-width: 560px; }
.association-wizard-summary h2 { margin: 0 0 24px; color: #152e47; font-size: 29px; }
.association-wizard-summary p { margin: 0 0 56px; color: #698099; font-size: 18px; line-height: 1.8; }
.association-wizard-url { padding: 18px 22px; background: #0cad46; color: #fff; font-size: 23px; direction: ltr; }
.association-wizard-content { position: relative; display: grid; place-items: center; min-height: 600px; max-height: calc(100vh - 88px); padding: 30px 38px; overflow-y: auto; direction: rtl; }
.association-wizard-step, .association-wizard-loading { width: min(100%, 700px); }
.association-wizard-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.association-wizard-heading h2, .association-sector-intro h2, .association-confirm-step h2 { margin: 0; color: #152e47; font-size: 30px; }
.association-wizard-step > p, .association-sector-intro p, .association-confirm-step p { color: #657d96; line-height: 1.8; margin: 10px 0 26px; }
.association-wizard-back { border: 0; background: transparent; color: #1e5eae; font: inherit; font-weight: 700; cursor: pointer; }
.association-wizard-back::before { content: '›'; margin-left: 6px; font-size: 22px; vertical-align: -2px; }
.association-wizard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.association-wizard-grid label { display: grid; gap: 8px; color: #536a7d; font-size: 15px; }
.association-wizard-grid em { color: #d82f3a; font-style: normal; }
.association-wizard-grid input, .association-wizard-grid select { height: 52px; width: 100%; border: 1px solid #d7e0ea; border-radius: 2px; padding: 0 12px; background: #fff; color: #283c55; font: inherit; }
.association-wizard-grid input:focus, .association-wizard-grid select:focus { outline: 0; border-color: #1768f2; box-shadow: 0 0 0 3px rgba(23,104,242,.1); }
.association-wizard-primary, .association-wizard-secondary { width: 100%; min-height: 54px; margin-top: 24px; border: 1px solid #1768f2; border-radius: 2px; background: #1768f2; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.association-wizard-secondary { margin-top: 14px; background: #fff; color: #1768f2; }
.association-wizard-loading { display: grid; justify-items: center; gap: 22px; color: #172033; font-size: 21px; text-align: center; }
.association-spinner { width: 54px; height: 54px; border: 4px solid #dce6ef; border-top-color: #1768f2; border-radius: 50%; animation: association-spin .8s linear infinite; }
@keyframes association-spin { to { transform: rotate(360deg); } }
.association-sector-step { align-self: stretch; display: flex; flex-direction: column; width: 100%; max-width: 1500px; }
.association-sector-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid #e1e7ee; padding-bottom: 24px; }
.association-sector-search { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; color: #9baabd; font-size: 20px; }
.association-sector-search::before { content: '⌕'; color: #152e47; font-size: 32px; }
.association-sector-search input { width: 300px; border: 0; outline: 0; color: #273d55; font: inherit; font-size: 18px; }
.association-sector-intro { padding: 30px 0 20px; text-align: right; }
.association-sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.association-sector-grid button { min-height: 104px; padding: 16px; border: 1px solid #e1e8f0; border-radius: 4px; background: #fff; color: #152e47; font: inherit; font-size: 16px; font-weight: 800; text-align: right; cursor: pointer; }
.association-sector-grid button:hover { border-color: #1768f2; background: #f5f9ff; }
.association-sector-grid small { display: block; margin-top: 10px; color: #667e96; font-size: 13px; font-weight: 400; line-height: 1.55; }
.association-confirm-step { max-width: 660px; text-align: center; }
.association-confirm-step h2 span { color: #1768f2; }
.association-confirm-step p { max-width: 600px; margin: 18px auto; font-size: 16px; }
.association-confirm-mark { display: grid; place-items: center; width: 78px; height: 78px; margin: 45px auto 0; border-radius: 8px; background: #e7f1ff; color: #1768f2; font-size: 30px; font-weight: 800; }
.association-setup-dashboard { position: fixed; inset: 0; z-index: 1150; display: grid; grid-template-columns: 224px 1fr; grid-template-rows: 56px 1fr; background: #f2f5f8; color: #1c324a; }
.association-setup-dashboard.is-hidden { display: none; }
.association-setup-topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: #1671b8; color: #fff; }
.association-setup-account, .association-setup-actions { display: flex; align-items: center; gap: 12px; }
.association-setup-avatar { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 5px; background: #ef4d83; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.association-setup-account > span:not(.association-setup-support) { font-size: 14px; font-weight: 700; }
.association-setup-support { color: rgba(255,255,255,.75); font-size: 12px; }
.association-setup-actions button { border: 0; border-radius: 4px; padding: 10px 16px; background: #10b981; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.association-setup-actions span { color: #d7fbe7; font-size: 13px; }
.association-setup-sidebar { grid-row: 2; display: flex; flex-direction: column; background: #fff; border-left: 1px solid #dce5ed; }
.association-setup-sidebar strong { padding: 28px 24px 4px; color: #172f47; font-size: 22px; }
.association-setup-sidebar span { padding: 0 24px 24px; color: #8292a5; font-size: 12px; }
.association-setup-progress { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; margin: 22px 14px; padding: 12px; border: 1px solid #dce7ef; background: #f7fafc; }
.association-setup-progress > b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: #1671b8; color: #fff; font-size: 13px; }
.association-setup-progress div { min-width: 0; }
.association-setup-sidebar .association-setup-progress strong { display: block; padding: 0; color: #25415c; font-size: 14px; }
.association-setup-sidebar .association-setup-progress span { display: block; padding: 3px 0 0; color: #718399; font-size: 11px; }
.association-setup-sidebar a { padding: 14px 24px; border-top: 1px solid #edf1f4; color: #304c67; text-decoration: none; font-size: 14px; font-weight: 700; }
.association-setup-sidebar a.active { border-right: 4px solid #1671b8; background: #f1f7fc; color: #1671b8; }
.association-setup-main { min-width: 0; overflow-y: auto; padding: 26px; }
.association-setup-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 20px 22px; background: #fff; border: 1px solid #e0e7ee; }
.association-setup-title span { color: #1671b8; font-size: 13px; font-weight: 800; }
.association-setup-title h1 { margin: 6px 0; color: #1b314a; font-size: 24px; }
.association-setup-title p { margin: 0; color: #6a7f95; }
.association-setup-sector { padding: 9px 12px; border-radius: 4px; background: #eaf2ff; color: #1768f2; font-size: 13px; font-weight: 800; white-space: nowrap; }
.association-setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.association-setup-grid article { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 8px 14px; min-height: 154px; padding: 15px 16px; border: 1px solid #dce5ed; background: #fff; }
.association-setup-grid article.is-required { border-color: #9fd5ca; background: #f7fcfb; }
.association-setup-grid article > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.association-setup-grid h2 { margin: 0; color: #25415c; font-size: 17px; }
.association-setup-grid p { grid-column: 1 / -1; margin: 0; color: #6c8094; font-size: 13px; line-height: 1.6; }
.association-module-required { padding: 3px 6px; border-radius: 3px; background: #dff4ef; color: #087568; font-size: 10px; font-weight: 800; white-space: nowrap; }
.association-setup-grid ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 0; padding: 0; list-style: none; }
.association-setup-grid li { padding: 3px 6px; border: 1px solid #e3eaf0; border-radius: 3px; background: #f8fafc; color: #536b82; font-size: 11px; line-height: 1.35; }
.association-setup-grid label { align-self: start; position: relative; width: 52px; height: 28px; }
.association-setup-grid label input { position: absolute; opacity: 0; }
.association-setup-grid label span { display: block; width: 52px; height: 28px; overflow: hidden; border-radius: 14px; background: #8c94b5; color: transparent; cursor: pointer; }
.association-setup-grid label span::after { content: ''; position: absolute; top: 5px; right: 5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.association-setup-grid label input:checked + span { background: #10b981; }
.association-setup-grid label input:checked + span::after { transform: translateX(-24px); }
.association-setup-grid label input:disabled + span { cursor: not-allowed; opacity: .8; }
@media (max-width: 800px) { .association-setup-dashboard { grid-template-columns: 1fr; grid-template-rows: 58px auto 1fr; } .association-setup-sidebar { grid-row: 2; flex-direction: row; align-items: center; overflow-x: auto; border-left: 0; border-bottom: 1px solid #dce5ed; } .association-setup-sidebar > strong, .association-setup-sidebar > span { display: none; } .association-setup-progress { margin: 8px 14px; min-width: 230px; } .association-setup-main { padding: 20px; } .association-setup-grid { grid-template-columns: 1fr; } .association-setup-title { display: block; } .association-setup-sector { display: inline-block; margin-top: 16px; } }
@media (max-width: 980px) { .association-register-shell { grid-template-columns: 1fr; overflow: visible; } .association-register-showcase { min-height: 480px; padding: 64px 30px; } .association-register-logo { top: 44px; right: 8%; } .association-register-copy { margin-top: 48px; } .association-register-features { margin-top: 58px; } .association-wizard { overflow-y: auto; align-items: start; } .association-wizard-dialog { grid-template-columns: 1fr; min-height: auto; } .association-wizard-side { min-height: 330px; } .association-wizard-logo { top: 45px; } .association-wizard-summary p { margin-bottom: 24px; } .association-wizard-content { min-height: 620px; padding: 42px 30px; } .association-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .association-register-form-side { padding: 18px; } .association-register-card { padding: 34px 24px 30px; } .association-register-language { margin-bottom: 16px; } .association-register-card h1 { font-size: 26px; } .association-register-showcase { min-height: 440px; padding: 52px 20px; } .association-register-logo { font-size: 38px; } .association-register-copy h2 { font-size: 21px; } .association-register-copy p { font-size: 15px; } .association-register-features { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; font-size: 14px; } .association-register-watermark { font-size: 390px; left: -105px; top: -55px; } .association-wizard { padding: 0; } .association-wizard-dialog { border-radius: 0; } .association-wizard-side { display: none; } .association-wizard-content { min-height: 100vh; padding: 34px 22px; } .association-wizard-grid, .association-sector-grid { grid-template-columns: 1fr; } .association-wizard-heading h2, .association-sector-intro h2, .association-confirm-step h2 { font-size: 24px; } .association-sector-top { align-items: flex-start; flex-direction: column-reverse; gap: 18px; } .association-sector-search { width: 100%; } .association-sector-search input { width: 100%; } }
.erp-topbar { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.erp-eyebrow { color: #0f766e; font-weight: 800; font-size: 13px; }
.erp-topbar h1 { margin: 6px 0; font-size: 28px; color: #111827; }
.erp-topbar p { margin: 0; color: #64748b; max-width: 760px; }
.erp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.erp-tenant-band { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 14px; margin-bottom: 14px; }
.erp-tenant-band span, .erp-metrics span { display: block; color: #64748b; font-size: 13px; margin-bottom: 6px; }
.erp-tenant-band strong { color: #111827; font-size: 18px; }
.erp-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.erp-metrics article { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 12px; min-height: 78px; }
.erp-metrics strong { font-size: 24px; color: #14532d; }
.erp-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.erp-kpi-grid article { display: grid; align-content: center; gap: 5px; min-height: 78px; padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; }
.erp-kpi-grid span { color: #64748b; font-size: 12px; line-height: 1.4; }
.erp-kpi-grid strong { color: #173f67; font-size: 21px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.erp-scorecard-hidden { display: none !important; }
.erp-scorecard-manager { display: flex; justify-content: flex-start; margin-bottom: 8px; }
.erp-scorecard-manager details { position: relative; }
.erp-scorecard-manager summary { list-style: none; cursor: pointer; color: #17437c; background: #fff; border: 1px solid #cbd8e7; border-radius: 5px; padding: 7px 11px; font-size: 13px; font-weight: 800; }
.erp-scorecard-manager summary::-webkit-details-marker { display: none; }
.erp-scorecard-manager summary:hover { border-color: #17437c; background: #f7faff; }
.erp-scorecard-options { position: absolute; z-index: 12; top: calc(100% + 6px); right: 0; width: 260px; padding: 10px; background: #fff; border: 1px solid #dbe3ec; border-radius: 6px; box-shadow: 0 10px 24px rgba(15, 23, 42, .12); }
.erp-scorecard-options p { margin: 0 0 8px; color: #64748b; font-size: 12px; }
.erp-scorecard-option { display: flex; align-items: center; gap: 8px; padding: 7px 4px; color: #26354a; font-size: 13px; cursor: pointer; }
.erp-scorecard-option input { width: 15px; height: 15px; accent-color: #0f766e; }
.erp-scorecard-option.is-disabled { color: #94a3b8; cursor: not-allowed; }
.erp-workspace { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 14px; min-width: 0; }
.erp-panel { min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 16px; }
.erp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; margin-bottom: 12px; }
.erp-panel-head h2 { font-size: 18px; margin: 0; color: #111827; }
.erp-panel-head > span { color: #64748b; font-size: 12px; }
.erp-panel-head > a { color: #0f766e; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.erp-panel-head > a:hover { color: #115e59; }
.erp-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.erp-modules a { display: block; text-decoration: none; color: #172033; border: 1px solid #e5e7eb; border-radius: 6px; padding: 12px; background: #fbfcfd; }
.erp-modules a:hover { border-color: #0f766e; background: #f0fdfa; }
.erp-modules strong { display: block; margin-bottom: 6px; }
.erp-modules span, .erp-list span { color: #64748b; font-size: 13px; }
.erp-list { display: grid; gap: 12px; }
.erp-list div { border-bottom: 1px solid #eef2f7; padding-bottom: 12px; }
.erp-list strong { display: block; color: #172033; margin-bottom: 4px; }
.erp-empty { color: #64748b; margin: 0; }
.erp-table td.erp-empty { padding: 28px 14px; color: #64748b; text-align: center; }
@media (max-width: 1400px) { .erp-shell { grid-template-columns: 216px minmax(0, 1fr); } .erp-sidebar { padding: 16px 10px; } .erp-brand { padding-inline: 8px; } .erp-brand strong { font-size: 20px; } .erp-nav a { padding-inline: 9px; } .erp-main { padding: 14px 18px 22px; } .erp-globalbar { gap: 12px; } .erp-globalbar-start { gap: 16px; } .erp-globalbar-brand strong { max-width: 180px; } .erp-globalbar-links a { padding: 7px 8px; } }
@media (max-width: 1180px) { .erp-topbar { gap: 12px; } .erp-topbar h1 { font-size: 26px; } .erp-workspace { grid-template-columns: 1fr; } .erp-filterbar.account-filter, .account-ledger-filter, .trial-balance-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .erp-shell { grid-template-columns: 1fr; } .erp-sidebar { position: static; height: auto; } .erp-workspace, .erp-tenant-band { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .erp-globalbar { align-items: flex-start; } .erp-globalbar-start { gap: 14px; } .erp-globalbar-brand small, .erp-system-state, .erp-user-chip span { display: none; } .erp-globalbar-links { overflow-x: auto; } }
@media (max-width: 640px) { .erp-main { padding: 14px 16px 16px; } .erp-globalbar { margin-bottom: 16px; } .erp-globalbar-brand strong { max-width: 120px; } .erp-globalbar-links a { padding: 7px 8px; font-size: 12px; } .erp-topbar { display: block; } .erp-metrics, .erp-kpi-grid, .erp-modules { grid-template-columns: 1fr; } .erp-panel-head { align-items: flex-start; flex-direction: column; gap: 4px; } }

.erp-section-gap { margin-top: 16px; }
.erp-metrics.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.erp-metrics article a { display: inline-block; margin-top: 8px; color: #0f766e; font-weight: 800; text-decoration: none; }
.erp-cell-truncate { max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erp-status { display: inline-block; padding: 4px 9px; border-radius: 6px; background: #f1f5f9; color: #475569; font-weight: 800; font-size: 12px; white-space: nowrap; }
.erp-status.is-success { background: #ecfdf5; color: #047857; }
.erp-status.is-warning { background: #fff7e6; color: #9a5b00; }
.erp-status.is-danger { background: #fef2f2; color: #b42318; }
.erp-status.is-info { background: #eff6ff; color: #1d4ed8; }
.erp-status.is-neutral { background: #f1f5f9; color: #475569; }
.erp-priority { display: inline-block; min-width: 56px; padding: 4px 8px; border-radius: 5px; text-align: center; font-size: 12px; font-weight: 800; white-space: nowrap; }
.erp-priority.high { background: #fef2f2; color: #b42318; }
.erp-priority.critical { background: #7f1d1d; color: #fff; }
.erp-priority.sensitive { background: #fff7e6; color: #9a5b00; }
.erp-priority.financial { background: #e8f7ef; color: #12613f; }
.erp-priority.medium { background: #fff7e6; color: #9a5b00; }
.erp-priority.normal { background: #eff6ff; color: #1d4ed8; }
.erp-audit-changes { min-width: 150px; }
.erp-audit-changes summary { cursor: pointer; color: var(--erp-accent); font-weight: 800; }
.erp-audit-changes div { display: grid; gap: 2px; padding: 6px 0; border-bottom: 1px solid var(--erp-line); }
.erp-audit-changes div:last-child { border-bottom: 0; }
.erp-audit-changes span { color: var(--erp-muted); font-size: 12px; white-space: normal; }
.erp-notification-count { display: inline-block; margin-inline-start: 6px; padding: 2px 6px; border-radius: 4px; background: #eef6ff; color: #1d4ed8; font-size: 11px; font-weight: 800; white-space: nowrap; }
.erp-notification-actions { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; min-width: 150px; }
.erp-notification-actions a { border: 1px solid #bfdbfe; border-radius: 5px; background: #eff6ff; color: #1d4ed8; padding: 5px 9px; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.erp-notification-actions a:hover { background: #dbeafe; }

.erp-form-panel { max-width: 900px; }
.erp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.erp-field { display: grid; gap: 7px; }
.erp-field label { font-weight: 800; color: #334155; }
.erp-field input, .erp-field select, .erp-field textarea { width: 100%; border: 1px solid #d6dde8; border-radius: 6px; padding: 10px 12px; font-family: Tahoma, Arial, sans-serif; background: #fff; }
.erp-field input:focus, .erp-field select:focus, .erp-field textarea:focus { outline: 0; border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.erp-required { margin-inline-start: 3px; color: #dc2626; }
.erp-field small { color: #64748b; font-size: 12px; line-height: 1.5; }
.erp-field.has-error input, .erp-field.has-error select, .erp-field.has-error textarea { border-color: #dc2626; background: #fffafa; }
.erp-error { color: #b42318; font-size: 12px; font-weight: 700; line-height: 1.5; }
.erp-form-error { grid-column: 1 / -1; padding: 10px 12px; border: 1px solid #fecaca; border-radius: 6px; background: #fef2f2; }
.erp-field textarea { resize: vertical; }
.erp-field-check { display: flex; align-items: center; gap: 10px; }
.erp-field-check input { width: auto; }
.erp-form-actions { position: sticky; z-index: 4; bottom: 10px; grid-column: 1 / -1; display: flex; justify-content: flex-start; gap: 10px; margin-top: 8px; padding: 10px 0 2px; background: #fff; border-top: 1px solid #e5e7eb; }
@media (max-width: 700px) { .erp-form { grid-template-columns: 1fr; } }

.erp-filterbar { display: grid; grid-template-columns: 1fr 220px auto auto; gap: 8px; margin-bottom: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px; }
.erp-filterbar input, .erp-filterbar select { border: 1px solid #d6dde8; border-radius: 5px; padding: 9px 11px; font-family: Tahoma, Arial, sans-serif; }
.erp-filterbar.has-advanced-filters { grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px) auto auto auto; }
.erp-advanced-filters { position: relative; }
.erp-advanced-filters summary { list-style: none; height: 100%; min-height: 40px; display: flex; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid #cbd8e7; border-radius: 5px; color: #17437c; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.erp-advanced-filters summary::-webkit-details-marker { display: none; }
.erp-advanced-filters[open] summary, .erp-advanced-filters summary:hover { background: #f7faff; border-color: #17437c; }
.erp-advanced-filter-options { position: absolute; z-index: 12; top: calc(100% + 6px); right: 0; width: 260px; display: grid; gap: 8px; padding: 10px; background: #fff; border: 1px solid #dbe3ec; border-radius: 6px; box-shadow: 0 10px 24px rgba(15, 23, 42, .12); }
.erp-advanced-filter-options select { width: 100%; background: #fff; }
@media (max-width: 1180px) { .erp-filterbar.has-advanced-filters { grid-template-columns: minmax(220px, 1fr) 180px auto auto; } .erp-advanced-filters { grid-column: 1 / -1; } .erp-advanced-filters summary { width: max-content; min-width: 150px; } }
@media (max-width: 800px) { .erp-filterbar { grid-template-columns: 1fr; } }

.erp-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.erp-kv div { border-bottom: 1px solid #eef2f7; padding-bottom: 10px; }
.erp-kv span { display:block; color:#64748b; font-size:13px; margin-bottom:4px; }
.erp-kv strong { color:#172033; }
@media (max-width: 700px) { .erp-kv { grid-template-columns: 1fr; } }

.erp-inline-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.erp-inline-actions form { margin: 0; }
.erp-inline-actions button { border: 1px solid #0f766e; background: #ecfdf5; color: #047857; border-radius: 6px; padding: 6px 9px; font-weight: 800; cursor: pointer; }
.erp-inline-actions button:hover { background: #d1fae5; }
.erp-inline-actions button.danger { border-color: #fecaca; background: #fff1f2; color: #be123c; }
.erp-inline-actions button.is-pending { opacity: .65; cursor: wait; }

.erp-swatch { display:inline-block; width:18px; height:18px; border-radius:4px; border:1px solid rgba(15,23,42,.18); vertical-align:middle; margin:0 6px; }


.erp-filterbar.account-filter { grid-template-columns: 1fr 190px 150px auto auto; }
.erp-account-tree .account-code { font-weight: 800; color: #0f766e; white-space: nowrap; }
.erp-account-tree .account-node { display: inline-block; font-weight: 800; color: #172033; }
.erp-account-tree tr.depth-0 .account-node { color: #111827; }
.erp-account-tree tr.depth-1 .account-node { color: #14532d; }
.erp-account-tree tr.depth-2 .account-node { color: #334155; }
.erp-status.muted { background: #f1f5f9; color: #64748b; }
@media (max-width: 800px) { .erp-filterbar.account-filter { grid-template-columns: 1fr; } }


.erp-inline-links { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.erp-record-link { color: #173f67; text-decoration: none; }
.erp-record-link:hover { color: #0f766e; text-decoration: underline; }
.erp-record-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.erp-record-summary h2 { margin: 4px 0 0; color: #172033; font-size: 22px; }
.erp-detail-tabs { display: flex; gap: 6px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #e5e7eb; overflow-x: auto; }
.erp-detail-tabs button { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; padding: 8px 10px; background: transparent; color: #64748b; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.erp-detail-tabs button:hover, .erp-detail-tabs button.active { color: #0f766e; border-bottom-color: #0f766e; }
.erp-detail-tab-panel { display: none; }
.erp-detail-tab-panel.active { display: block; }
@media (max-width: 640px) { .erp-record-summary { align-items: flex-start; flex-direction: column; } }
.account-ledger-filter { grid-template-columns: 180px 180px 220px auto auto; }
.account-profile strong { font-size: 16px; }
.account-children a { color: #0f766e; text-decoration: none; }
@media (max-width: 800px) { .account-ledger-filter { grid-template-columns: 1fr; } }


.trial-balance-filter { grid-template-columns: minmax(220px, 1fr) 150px 150px 170px 150px auto auto; }
@media (max-width: 1100px) { .trial-balance-filter { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .trial-balance-filter { grid-template-columns: 1fr; } }
.erp-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 2px;color:#64748b;font-size:13px;flex-wrap:wrap}.erp-pagination-links{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.erp-pagination-links a,.erp-pagination-links span{min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;border:1px solid #dbe3ec;border-radius:5px;background:#fff;color:#0f766e;text-decoration:none;font-weight:700}.erp-pagination-links a:hover,.erp-pagination-links span.active{background:#0f766e;border-color:#0f766e;color:#fff}

/* ERP interface system: shared rhythm, hierarchy, and operational states.
   Shared tokens and composition primitives live in website/css/erp-ui.css. */
.erp-main > * { min-width: 0; }
.erp-page-header { min-height: 88px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--erp-line); }
.erp-page-header h1 { letter-spacing: 0; line-height: 1.25; }
.erp-page-header p { font-size: 14px; line-height: 1.65; }
.erp-actions .btn { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.erp-panel { border-color: var(--erp-line); box-shadow: none; }
.erp-panel-head { padding-bottom: 10px; border-bottom: 1px solid #eef2f6; }
.erp-panel-head > div { min-width: 0; }
.erp-panel-head p { margin: 4px 0 0; color: var(--erp-muted); font-size: 12px; line-height: 1.5; }
.erp-kpi-grid article, .erp-metrics article { position: relative; border-color: var(--erp-line); }
.erp-kpi-grid article::before, .erp-metrics article::before { content: ''; position: absolute; inset: 10px auto 10px 0; width: 3px; border-radius: 3px; background: #d7e6e2; }
.erp-kpi-grid article strong, .erp-metrics article strong { line-height: 1.15; }
.erp-filterbar { align-items: center; border-color: var(--erp-line); }
.erp-filterbar input, .erp-filterbar select { min-height: 40px; color: var(--erp-ink); background: var(--erp-surface); }
.erp-status { border: 1px solid transparent; }
.erp-status.is-success { border-color: #c6ead9; }
.erp-status.is-warning { border-color: #f5d898; }
.erp-status.is-danger { border-color: #f2c5c2; }
.erp-status.is-info { border-color: #c8ddf8; }
.erp-form-panel { padding: 18px; }
.erp-form { gap: 14px; }
.erp-form-section { grid-column: 1 / -1; padding: 14px; background: var(--erp-surface-subtle); }
.erp-journal-form .erp-field:last-of-type { grid-column: 1 / -1; }
.erp-form-actions { padding-top: 12px; }
.erp-detail-tabs { margin: -2px -2px 14px; }
.erp-record-summary { background: var(--erp-surface-subtle); }
.erp-employee-header { display: grid; grid-template-columns: 72px minmax(165px, .62fr) minmax(0, 1.8fr); align-items: center; gap: 16px; padding: 16px; }
.erp-employee-avatar { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 6px; background: #e1f1ed; color: #0f766e; font-size: 24px; font-weight: 900; }
.erp-employee-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.erp-employee-identity { min-width: 0; }
.erp-employee-identity h2 { margin: 7px 0 5px; overflow: hidden; color: #172033; font-size: 22px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.erp-employee-status-line { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 12px; font-weight: 700; }
.erp-employee-number { color: #0f766e; font-size: 13px; font-variant-numeric: tabular-nums; }
.erp-employee-header-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; min-width: 0; border-right: 1px solid #e5eaf0; padding-right: 18px; }
.erp-employee-header-details div { min-width: 0; padding: 6px 0; border-bottom: 1px solid #edf1f5; }
.erp-employee-header-details span,.erp-employee-header-details strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erp-employee-header-details span { margin-bottom: 3px; color: #778399; font-size: 11px; }
.erp-employee-header-details strong { color: #26364b; font-size: 13px; }
@media (max-width: 1180px) {
    .erp-page-header { min-height: auto; }
    .erp-kpi-grid, .erp-metrics.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .erp-page-header { padding-bottom: 12px; }
    .erp-kpi-grid, .erp-metrics.compact { grid-template-columns: 1fr; }
    .erp-panel, .erp-form-panel { padding: 14px; }
    .erp-form-section { padding: 10px; }
}

.erp-smart-actions { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.erp-smart-grouped { display: grid; width: 100%; gap: 7px; }
.erp-smart-group-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; padding: 3px; border: 1px solid #d8e4e1; border-radius: 6px; background: #fff; }
.erp-smart-group-tabs button { min-width: 0; min-height: 32px; padding: 5px 7px; border: 0; border-radius: 4px; background: transparent; color: #64748b; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.3; cursor: pointer; }
.erp-smart-group-tabs button.active { background: #e8f3f0; color: #0f766e; }
.erp-smart-group-tabs button:focus-visible,.erp-record-tabs button:focus-visible { outline: 2px solid #0f766e; outline-offset: -2px; }
.erp-smart-grouped .erp-smart-group { display: none; min-width: 0; }
.erp-smart-grouped .erp-smart-group.active { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.erp-smart-grouped .erp-smart-button { min-width: 0; }
.erp-smart-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.erp-smart-button { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; min-width: 158px; padding: 8px 10px; border: 1px solid #d8e4e1; border-radius: 6px; background: #f8fcfb; color: #21443d; text-align: right; font: inherit; text-decoration: none; }
.erp-smart-button:hover { border-color: #0f766e; background: #f0fdfa; color: #0f766e; }
.erp-smart-buttons i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; background: #dff2ec; color: #0f766e; font-style: normal; font-size: 14px; line-height: 1; }
.erp-smart-buttons span { font-size: 12px; font-weight: 700; }
.erp-smart-buttons strong { display: grid; place-items: center; min-width: 27px; height: 27px; border-radius: 5px; background: #dff2ec; color: #0f766e; font-size: 13px; font-variant-numeric: tabular-nums; }
.erp-smart-buttons .is-blue { color: #1d4ed8; }.erp-smart-buttons .is-blue i,.erp-smart-buttons .is-blue strong { background: #e8f0ff; color: #1d4ed8; }
.erp-smart-buttons .is-amber { color: #a16207; }.erp-smart-buttons .is-amber i,.erp-smart-buttons .is-amber strong { background: #fff4d6; color: #a16207; }
.erp-smart-buttons .is-violet { color: #6d28d9; }.erp-smart-buttons .is-violet i,.erp-smart-buttons .is-violet strong { background: #f1eaff; color: #6d28d9; }
.erp-smart-buttons .is-rose { color: #be123c; }.erp-smart-buttons .is-rose i,.erp-smart-buttons .is-rose strong { background: #fff1f2; color: #be123c; }
.erp-smart-buttons .is-green { color: #15803d; }.erp-smart-buttons .is-green i,.erp-smart-buttons .is-green strong { background: #e8f8ec; color: #15803d; }
.erp-smart-buttons .is-slate { color: #475569; }.erp-smart-buttons .is-slate i,.erp-smart-buttons .is-slate strong { background: #edf2f7; color: #475569; }
.erp-record-fields .erp-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.erp-record-fields .erp-kv div { min-height: 48px; }
.erp-record-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px 4px; margin: -2px -2px 14px; border-bottom: 1px solid #e5e7eb; overflow: hidden; }
.erp-record-tabs button { min-width: 0; min-height: 35px; padding: 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #64748b; font: inherit; font-size: 13px; font-weight: 800; line-height: 1.3; white-space: normal; cursor: pointer; }
.erp-record-tabs button:hover,.erp-record-tabs button.active { color: #0f766e; border-bottom-color: #0f766e; }
.erp-record-tab-panel { display: none; }.erp-record-tab-panel.active { display: block; }
.erp-inline-record-form { margin: 0; }
.erp-edit-kv,.erp-inline-edit-actions { display: none; }
.erp-record-fields.is-open .erp-record-readonly { display: none; }
.erp-record-fields.is-open .erp-edit-kv { display: grid; }
.erp-edit-kv .erp-field { align-content: start; }
.erp-record-fields.is-open .erp-inline-edit-actions { display: flex; }
@media (max-width: 980px) { .erp-record-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 640px) { .erp-record-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.erp-record-fields .erp-form-actions { position: static; background: transparent; }
@media (max-width: 980px) { .erp-record-fields .erp-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .erp-smart-group-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .erp-employee-header { grid-template-columns: 64px minmax(0, 1fr); } .erp-employee-avatar { width: 64px; height: 64px; } .erp-employee-header-details { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-top: 1px solid #e5eaf0; padding: 7px 0 0; } }
@media (max-width: 640px) { .erp-smart-buttons,.erp-smart-grouped .erp-smart-group.active { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .erp-smart-button { min-width: 0; } }
@media (max-width: 640px) { .erp-smart-group-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .erp-employee-header { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px; } .erp-employee-avatar { width: 52px; height: 52px; font-size: 18px; } .erp-employee-identity h2 { font-size: 18px; } .erp-employee-header-details { grid-template-columns: 1fr; } }

/* Employee profiles use the same visual language, with calmer field clusters. */
.erp-record-data-groups { display: grid; gap: 18px; }
.erp-record-data-group { min-width: 0; padding: 13px 14px 5px; border: 1px solid #e4eaef; border-radius: 6px; background: #fff; }
.erp-record-data-group h3, .erp-employee-form-group h3 { margin: 0 0 10px; color: #21445e; font-size: 13px; font-weight: 800; }
.erp-record-data-group h3::after, .erp-employee-form-group h3::after { content: ''; display: block; width: 28px; height: 2px; margin-top: 7px; background: #0f766e; }
.erp-record-fields .erp-record-data-group .erp-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.erp-record-fields .erp-record-data-group .erp-kv > div { min-height: 60px; padding: 8px 0 10px; border-bottom: 1px solid #eef2f5; }
.erp-record-fields .erp-record-data-group .erp-kv > div:nth-last-child(-n + 3) { border-bottom: 0; }
.erp-edit-kv { display: none; gap: 14px; }
.erp-record-fields.is-open .erp-edit-kv { display: grid; }
.erp-record-fields.is-open .erp-edit-kv > .erp-record-data-group .erp-kv { display: grid; }
.erp-employee-form-surface { max-width: 1240px; margin-inline: auto; padding: 0; overflow: hidden; }
.erp-employee-form-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #e5ebf0; background: #fbfcfd; }
.erp-employee-form-heading h2 { margin: 4px 0 0; color: #172f47; font-size: 20px; }
.erp-employee-form-number { color: #0f766e; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.erp-employee-form { gap: 0; }
.erp-employee-form-tabs.erp-record-tabs { display: flex; gap: 2px; margin: 0; padding: 0 14px; overflow-x: auto; border-bottom: 1px solid #e1e8ed; scrollbar-width: thin; }
.erp-employee-form-tabs.erp-record-tabs button { flex: 0 0 auto; min-height: 44px; padding-inline: 15px; white-space: nowrap; }
.erp-employee-form-panel { padding: 20px; }
.erp-employee-form-group { padding: 0 0 19px; margin: 0 0 19px; border-bottom: 1px solid #e7edf1; }
.erp-employee-form-group:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.erp-employee-form-group h3 { margin-bottom: 14px; }
.erp-employee-form .erp-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.erp-employee-form .erp-field { min-width: 0; }
.erp-employee-form .erp-field textarea { min-height: 88px; }
.erp-employee-form .erp-field:has(textarea) { grid-column: span 2; }
.erp-employee-form-actions { position: sticky; bottom: 0; z-index: 2; margin: 0; padding: 14px 20px; border-top: 1px solid #dce5eb; background: rgba(255,255,255,.96); box-shadow: 0 -5px 12px rgba(20,49,75,.04); }
@media (max-width: 980px) {
    .erp-record-fields .erp-record-data-group .erp-kv, .erp-employee-form .erp-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .erp-record-fields .erp-record-data-group .erp-kv > div:nth-last-child(-n + 3) { border-bottom: 1px solid #eef2f5; }
    .erp-record-fields .erp-record-data-group .erp-kv > div:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 640px) {
    .erp-record-tabs { display: flex; overflow-x: auto; }
    .erp-record-tabs button { flex: 0 0 auto; padding-inline: 12px; white-space: nowrap; }
    .erp-record-fields .erp-record-data-group .erp-kv, .erp-employee-form .erp-form-grid { grid-template-columns: 1fr; }
    .erp-record-fields .erp-record-data-group .erp-kv > div { border-bottom: 1px solid #eef2f5 !important; }
    .erp-record-fields .erp-record-data-group .erp-kv > div:last-child { border-bottom: 0 !important; }
    .erp-record-data-group, .erp-employee-form-panel { padding-inline: 14px; }
    .erp-employee-form-heading { align-items: flex-start; padding: 15px 14px; }
    .erp-employee-form .erp-field:has(textarea) { grid-column: auto; }
    .erp-employee-form-actions { padding-inline: 14px; }
}

.erp-nav .erp-nav-child { margin: 0 10px 2px 20px; padding: 7px 10px; color: #b9cec6; font-size: 12px; font-weight: 600; border-right: 2px solid transparent; border-radius: 4px; }
.erp-nav .erp-nav-child:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.erp-nav .erp-nav-child.active { color: #fff; border-right-color: #5eead4; background: rgba(94, 234, 212, .10); }

/* Index pages keep one primary register; secondary registers have dedicated links in the sidebar. */
.erp-primary-index .erp-workspace > .erp-panel + .erp-panel,
.erp-primary-index > .erp-panel.erp-section-gap { display: none; }
.erp-purchasing-index > .erp-workspace.erp-section-gap,
.erp-governance-index > .erp-workspace.erp-section-gap,
.erp-hr-index > .erp-workspace.erp-section-gap,
.erp-users-index > .erp-workspace.erp-section-gap { display: none; }

/* Compact application bar and collapsible navigation. */
.erp-tenant-identity { display: flex; align-items: center; gap: 9px; padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.erp-tenant-identity:hover { color: #fff; background: rgba(255,255,255,.05); }
.erp-tenant-logo { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #dff2ec; color: #0f766e; font-size: 13px; }
.erp-tenant-identity span { min-width: 0; }
.erp-tenant-identity strong, .erp-tenant-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erp-tenant-identity strong { font-size: 12px; }
.erp-tenant-identity small { margin-top: 3px; color: #a8beb4; font-size: 10px; }
.erp-page-context { display: flex; align-items: center; gap: 10px; min-width: 0; }
.erp-page-context > div { min-width: 0; }
.erp-page-context strong, .erp-page-context small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erp-page-context strong { color: #172033; font-size: 15px; }
.erp-page-context small { margin-top: 2px; color: #738196; font-size: 10px; }
.erp-sidebar-toggle { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 34px; border: 1px solid #d9e2ec; border-radius: 5px; background: #fff; color: #28425b; font: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.erp-sidebar-toggle:hover { border-color: #0f766e; color: #0f766e; background: #f0fdfa; }
.erp-page-actions { min-height: 42px; align-items: center; margin-bottom: 14px; padding-bottom: 0; border: 0; }
.erp-page-actions .erp-actions { width: 100%; }
.erp-shell.is-sidebar-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
.erp-shell.is-sidebar-collapsed .erp-sidebar { padding: 0; border: 0; opacity: 0; pointer-events: none; }
.erp-shell.is-sidebar-collapsed .erp-sidebar > * { display: none; }
@media (max-width: 1000px) {
    .erp-sidebar-toggle { display: none; }
    .erp-page-context strong { font-size: 14px; }
}
@media (max-width: 640px) {
    .erp-globalbar-start { width: 100%; }
    .erp-globalbar-links { display: none; }
    .erp-page-actions { min-height: auto; }
}
.platform-login-page { min-height: 100vh; margin: 0; background: #f3f6f8; color: #172f47; font-family: Tahoma, Arial, sans-serif; }
.platform-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.platform-login-card { width: min(100%, 430px); padding: 28px; border: 1px solid #dce5ed; border-radius: 6px; background: #fff; box-shadow: 0 12px 30px rgba(20, 49, 75, .08); }
.platform-login-brand { display: flex; align-items: center; gap: 11px; padding-bottom: 18px; border-bottom: 1px solid #edf1f4; }
.platform-login-brand > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 5px; background: #0f766e; color: #fff; font-size: 22px; font-weight: 900; }
.platform-login-brand strong, .platform-login-brand small { display: block; }
.platform-login-brand strong { font-size: 20px; }
.platform-login-brand small { margin-top: 3px; color: #75849a; font-size: 11px; }
.platform-login-heading { margin: 22px 0 18px; }
.platform-login-heading h1 { margin: 0 0 7px; font-size: 24px; }
.platform-login-heading p { margin: 0; color: #687d92; font-size: 13px; }
.platform-login-form { display: grid; gap: 8px; }
.platform-login-form label { margin-top: 5px; color: #334b63; font-size: 13px; font-weight: 800; }
.platform-login-form input { min-height: 42px; padding: 9px 11px; border: 1px solid #cfdbe5; border-radius: 4px; background: #fff; color: #172f47; font: inherit; }
.platform-login-form input:focus { outline: 0; border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.platform-login-form button { min-height: 42px; margin-top: 12px; border: 0; border-radius: 4px; background: #17437c; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.platform-login-form button:hover { background: #123965; }
.platform-login-error { margin-bottom: 12px; padding: 9px 11px; border: 1px solid #f2c5c2; border-radius: 4px; background: #fff6f5; color: #a82b25; font-size: 12px; }
.platform-login-footer { margin: 20px -28px -28px; padding: 14px 28px; border-top: 1px solid #edf1f4; color: #687d92; font-size: 12px; text-align: center; }
.platform-login-footer a { color: #0f766e; font-weight: 800; text-decoration: none; }
@media (max-width: 520px) { .platform-login-shell { padding: 14px; } .platform-login-card { padding: 22px; } .platform-login-footer { margin: 18px -22px -22px; padding-inline: 22px; } }

/* Employee form v2 — compact classical ERP layout. */
.erp-employee-form-v2 { max-width: 1500px; border-color: #dde5eb; border-radius: 4px; box-shadow: 0 2px 8px rgba(20,49,75,.035); }
.erp-employee-form-v2 .erp-employee-form { display: block; }
.erp-employee-form-profile { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 2.5fr); align-items: stretch; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #e2e8ed; background: #fff; }
.erp-employee-form-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.erp-employee-form-profile-title { min-width: 0; }
.erp-employee-form-profile-title h2 { margin: 3px 0 0; color: #172f47; font-size: 18px; font-weight: 800; }
.erp-employee-form-photo-wrap { flex: 0 0 auto; }
.erp-employee-form-photo { position: relative; display: grid; place-items: center; width: 66px; height: 66px; overflow: hidden; border: 1px solid #d6e1e6; border-radius: 10px; background: #eef7f5; cursor: pointer; }
.erp-employee-form-photo:hover { border-color: #9fc9c0; background: #e8f4f1; }
.erp-employee-form-photo img { width: 100%; height: 100%; object-fit: cover; }
.erp-employee-photo-placeholder { color: #2d7f76; font-size: 35px; line-height: 1; transform: translateY(2px); }
.erp-employee-photo-add { position: absolute; inset-inline-start: 4px; inset-block-end: 4px; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #b9cbd2; border-radius: 50%; background: #fff; color: #164d61; font-size: 16px; font-weight: 800; line-height: 1; box-shadow: 0 1px 2px rgba(20,49,75,.08); }
.erp-employee-photo-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.erp-employee-form-meta { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: center; min-width: 0; border: 1px solid #e1e8ed; border-radius: 4px; background: #fbfcfd; }
.erp-employee-form-meta > div { min-width: 0; padding: 8px 13px; border-inline-start: 1px solid #e7edf1; }
.erp-employee-form-meta > div:first-child { border-inline-start: 0; }
.erp-employee-form-meta span { display: block; margin-bottom: 3px; color: #718096; font-size: 11px; font-weight: 700; }
.erp-employee-form-meta strong { display: block; overflow: hidden; color: #31485b; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.erp-employee-form-meta strong.is-status { display: inline-block; width: auto; padding: 2px 8px; border-radius: 3px; background: #eef7ee; color: #48754f; }
.erp-employee-form-shortcuts { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; padding: 10px 16px; border-bottom: 1px solid #e1e8ed; background: #fbfcfd; }
.erp-employee-form-shortcut { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: center; gap: 8px; min-width: 0; min-height: 54px; padding: 7px 9px; border: 1px solid #dce5ea; border-radius: 4px; background: #fff; color: #21445e; text-decoration: none; transition: border-color 120ms ease, background-color 120ms ease; }
a.erp-employee-form-shortcut:hover { border-color: #b9d2cc; background: #f8fbfa; }
.erp-employee-form-shortcut.is-disabled { color: #6f7f8d; cursor: default; }
.erp-employee-form-shortcut i { display: grid; place-items: center; width: 26px; height: 26px; color: #245a67; font: normal 17px/1 sans-serif; }
.erp-employee-shortcut-content { min-width: 0; }
.erp-employee-shortcut-content b { display: block; overflow: hidden; color: #24435c; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.erp-employee-shortcut-content small { display: block; margin-top: 2px; overflow: hidden; color: #8a97a2; font-size: 9.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.erp-employee-form-shortcut > strong { color: #445b6e; font-size: 12px; font-variant-numeric: tabular-nums; }
.erp-employee-form-v2 .erp-employee-form-tabs.erp-record-tabs { justify-content: center; gap: 12px; padding: 0 16px; background: #fff; }
.erp-employee-form-v2 .erp-employee-form-tabs.erp-record-tabs button { min-height: 42px; padding: 7px 20px; font-size: 12.5px; }
.erp-employee-form-v2 .erp-employee-form-panel { padding: 14px 18px 8px; }
.erp-employee-form-v2 .erp-employee-form-group { padding: 0 0 14px; margin: 0 0 14px; }
.erp-employee-form-v2 .erp-employee-form-group h3 { position: relative; margin: 0 0 11px; padding-inline-end: 10px; color: #15465e; font-size: 12.5px; }
.erp-employee-form-v2 .erp-employee-form-group h3::after { position: absolute; inset-inline-end: 0; inset-block: 0; width: 2px; height: auto; margin: 0; background: #0f766e; }
.erp-employee-form-v2 .erp-form-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px 16px; }
.erp-employee-form-v2 .erp-field label { margin-bottom: 5px; color: #29475d; font-size: 11.5px; font-weight: 800; }
.erp-employee-form-v2 .erp-field input:not([type="checkbox"]):not([type="file"]),
.erp-employee-form-v2 .erp-field select,
.erp-employee-form-v2 .erp-field textarea { min-height: 36px; border-color: #d5e0e7; border-radius: 3px; background: #fff; font-size: 12px; }
.erp-employee-form-v2 .erp-field textarea { min-height: 66px; }
.erp-employee-form-v2 .erp-field:has(textarea) { grid-column: span 2; }
.erp-employee-form-v2 .erp-field-check { align-content: end; min-height: 57px; }
.erp-employee-form-v2 .erp-employee-form-actions { padding: 9px 16px; box-shadow: 0 -2px 7px rgba(20,49,75,.035); }
.erp-employee-form-v2 .erp-employee-form-actions .btn { min-height: 34px; padding-block: 6px; }
@media (max-width: 1180px) {
    .erp-employee-form-profile { grid-template-columns: 1fr; }
    .erp-employee-form-shortcuts { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .erp-employee-form-v2 .erp-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .erp-employee-form-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .erp-employee-form-meta > div:nth-child(3) { border-block-start: 1px solid #e7edf1; }
    .erp-employee-form-meta > div:nth-child(4) { border-block-start: 1px solid #e7edf1; }
    .erp-employee-form-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .erp-employee-form-v2 .erp-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .erp-employee-form-profile { padding-inline: 12px; }
    .erp-employee-form-meta { grid-template-columns: 1fr; }
    .erp-employee-form-meta > div { border-inline-start: 0; border-block-start: 1px solid #e7edf1; }
    .erp-employee-form-meta > div:first-child { border-block-start: 0; }
    .erp-employee-form-shortcuts { padding-inline: 12px; }
    .erp-employee-form-v2 .erp-form-grid { grid-template-columns: 1fr; }
    .erp-employee-form-v2 .erp-field:has(textarea) { grid-column: auto; }
}


/* ==========================================================
   ERP TABLE OWNERSHIP
   Table visual styling and table interaction are intentionally
   NOT defined in style.css.
   Single source of truth:
   website/css/sahel-data-table.css  — SAHEL-DATA-TABLE-03.3
   ========================================================== */
