.corbantech-system-footer {
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #f6faf4;
    border-top: 1px solid #dce9d8;
    color: #3f6f39;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.25;
}

.corbantech-system-footer__inner {
    box-sizing: border-box;
    width: 100%;
    min-height: 32px;
    padding: 7px clamp(16px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.corbantech-system-footer__version {
    flex: 0 0 auto;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;
}

.corbantech-system-footer__signature {
    margin: 0;
    text-align: right;
    font-weight: 400;
    white-space: nowrap;
}

.corbantech-system-footer__signature a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.corbantech-system-footer__signature a:hover,
.corbantech-system-footer__signature a:focus {
    color: #244f20;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .corbantech-system-footer__inner {
        min-height: 48px;
        padding: 8px 14px;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        text-align: center;
    }

    .corbantech-system-footer__version,
    .corbantech-system-footer__signature {
        white-space: normal;
        text-align: center;
    }
}

/* ==========================================================
   Sidebar fixa — Corbantech® Platform
   ========================================================== */
:root {
    --ct-sidebar-width: 268px;
    --ct-sidebar-bg: #ffffff;
    --ct-sidebar-border: #e1ebe0;
    --ct-sidebar-text: #3b4938;
    --ct-sidebar-green: #245929;
    --ct-sidebar-accent: #4aa33d;
    --ct-sidebar-danger: #d92d20;
}

.corbantech-has-sidebar {
    box-sizing: border-box;
    padding-left: var(--ct-sidebar-width);
}

.corbantech-has-sidebar .elementor-location-header {
    width: 100%;
    margin-left: 0;
}

.corbantech-has-sidebar .corbantech-system-footer {
    width: calc(100vw - var(--ct-sidebar-width));
    max-width: calc(100vw - var(--ct-sidebar-width));
    margin-left: 0;
    margin-right: 0;
}

.ct-sidebar,
.ct-sidebar * {
    box-sizing: border-box;
}

.ct-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100000;
    width: var(--ct-sidebar-width);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ct-sidebar-bg);
    border-right: 1px solid var(--ct-sidebar-border);
    box-shadow: 8px 0 28px rgba(31, 66, 29, .055);
    color: var(--ct-sidebar-text);
    font-family: "DM Sans", Arial, sans-serif;
    transition: transform .24s ease;
}

.ct-sidebar svg,
.ct-sidebar-mobile-trigger svg {
    width: 23px !important;
    height: 23px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.75 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.ct-sidebar__header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 18px 14px;
    border-bottom: 1px solid var(--ct-sidebar-border);
    background: #ffffff;
}

.ct-sidebar__brand {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ct-sidebar-green);
    text-decoration: none !important;
}

.ct-sidebar__brand img {
    width: 136px;
    max-width: 100%;
    height: 48px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.ct-sidebar__brand-mark {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf6ea;
    font-weight: 800;
}

.ct-sidebar__brand-text {
    display: none;
}

button.ct-sidebar__mobile-close,
button.ct-sidebar-mobile-trigger,
button.ct-sidebar-mobile-overlay {
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ct-sidebar-green) !important;
    font: inherit !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: pointer;
}

button.ct-sidebar__mobile-close {
    flex: 0 0 38px;
    width: 38px !important;
    height: 38px !important;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 9px !important;
}

button.ct-sidebar__mobile-close:hover,
button.ct-sidebar__mobile-close:focus-visible {
    background: #edf6ea !important;
    outline: none !important;
}

.ct-sidebar__user {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 17px;
    border-bottom: 1px solid #eef3ed;
    background: #fafcf9;
}

.ct-sidebar__avatar {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f4e6;
    color: var(--ct-sidebar-green);
    font-size: 14px;
    font-weight: 800;
}

.ct-sidebar__user-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-sidebar__user-copy strong,
.ct-sidebar__user-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-sidebar__user-copy strong {
    color: #263523;
    font-size: 13px;
    font-weight: 700;
}

.ct-sidebar__user-copy small {
    color: #7b8978;
    font-size: 10px;
    text-transform: capitalize;
}

.ct-sidebar__nav {
    flex: 1 1 auto;
    padding: 14px 11px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ct-sidebar__link {
    min-height: 47px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 2px 0;
    padding: 10px 13px;
    border-radius: 10px;
    color: var(--ct-sidebar-text);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}

.ct-sidebar__link:hover,
.ct-sidebar__link:focus-visible {
    background: #f0f7ee;
    color: var(--ct-sidebar-green);
    outline: none;
}

.ct-sidebar__link.is-active {
    background: #e8f4e5;
    color: var(--ct-sidebar-green);
    font-weight: 700;
}

.ct-sidebar__icon {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-sidebar-accent);
}

.ct-sidebar__footer {
    flex: 0 0 auto;
    padding: 10px 11px 12px;
    border-top: 1px solid var(--ct-sidebar-border);
    background: #fbfdfb;
}

.ct-sidebar__logout {
    color: var(--ct-sidebar-danger) !important;
    font-weight: 600;
}

.ct-sidebar__logout .ct-sidebar__icon {
    color: inherit;
}

.ct-sidebar__logout:hover,
.ct-sidebar__logout:focus-visible {
    background: #fff0f0;
    color: #a61b13 !important;
}

.ct-sidebar-mobile-trigger,
.ct-sidebar-mobile-overlay {
    display: none !important;
}

/* Oculta os dois antigos ícones de popup do cabeçalho. */
.elementor-element-23ff5613,
.elementor-element-39ec7eab {
    display: none !important;
}

@media (max-width: 1024px) {
    .corbantech-has-sidebar {
        padding-left: 0;
    }

    .corbantech-has-sidebar .elementor-location-header,
    .corbantech-has-sidebar .corbantech-system-footer {
        width: 100%;
        max-width: 100%;
    }

    .ct-sidebar {
        width: min(292px, 86vw);
        transform: translateX(-103%);
        box-shadow: 18px 0 48px rgba(25, 49, 24, .22);
    }

    .ct-sidebar-mobile-open .ct-sidebar {
        transform: translateX(0);
    }

    button.ct-sidebar__mobile-close {
        display: inline-flex;
    }

    button.ct-sidebar-mobile-trigger {
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        z-index: 99999 !important;
        width: 42px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 18px rgba(34, 73, 32, .14) !important;
        color: var(--ct-sidebar-green) !important;
    }

    .admin-bar button.ct-sidebar-mobile-trigger {
        top: 47px !important;
    }

    button.ct-sidebar-mobile-overlay {
        position: fixed !important;
        inset: 0 !important;
        z-index: 99998 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        background: rgba(18, 30, 18, .4) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .ct-sidebar-mobile-open button.ct-sidebar-mobile-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.ct-sidebar-mobile-open {
        overflow: hidden !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-sidebar,
    .ct-sidebar-mobile-overlay {
        transition: none !important;
    }
}

/* ==========================================================
   Painel principal — Corbantech® Platform
   ========================================================== */
.ct-dashboard,
.ct-dashboard * {
    box-sizing: border-box;
}

.ct-dashboard {
    width: 100%;
    min-height: calc(100dvh - 32px);
    padding: clamp(28px, 4vw, 54px) clamp(20px, 4vw, 48px) 52px;
    background: #f4f9f3;
    color: #152514;
    font-family: "DM Sans", Arial, sans-serif;
}

.ct-dashboard__topbar {
    max-width: 1280px;
    margin: 0 auto 34px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.ct-dashboard__heading h1 {
    margin: 18px 0 0;
    color: #111f10;
    font-size: clamp(23px, 2.2vw, 30px);
    line-height: 1.2;
    font-weight: 700;
}

.ct-dashboard__actions {
    width: min(100%, 510px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

button.ct-dashboard__button {
    appearance: none !important;
    min-height: 54px;
    padding: 12px 18px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

button.ct-dashboard__button--primary {
    border: 1px solid #245929 !important;
    background: #245929 !important;
    color: #fff !important;
}

button.ct-dashboard__button--primary:hover,
button.ct-dashboard__button--primary:focus-visible {
    border-color: #367f3c !important;
    background: #367f3c !important;
}

button.ct-dashboard__button--secondary {
    border: 1px solid #245929 !important;
    background: transparent !important;
    color: #245929 !important;
}

button.ct-dashboard__button--secondary:hover,
button.ct-dashboard__button--secondary:focus-visible {
    background: #edf6ea !important;
}

.ct-dashboard__hint {
    grid-column: 1 / -1;
    margin: 0;
    color: #757f72;
    font-size: 13px;
    line-height: 1.5;
}

.ct-dashboard__grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ct-dashboard-card {
    position: relative;
    min-height: 202px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    border: 1px solid #edf2eb;
    border-radius: 10px;
    background: #fff;
    color: #111f10 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(30, 72, 27, .035);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ct-dashboard-card:hover,
.ct-dashboard-card:focus-visible {
    transform: translateY(-2px);
    border-color: #dce9d8;
    box-shadow: 0 13px 32px rgba(30, 72, 27, .085);
    outline: none;
}

.ct-dashboard-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #deecdf;
    color: #245929;
}

.ct-dashboard-card__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ct-dashboard-card__arrow {
    position: absolute;
    top: 31px;
    right: 28px;
    color: #32902f;
    font-size: 45px;
    font-weight: 300;
    line-height: .6;
}

.ct-dashboard-card strong {
    margin-top: 1px;
    color: #111f10;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.25;
    font-weight: 700;
}

.ct-dashboard-card small {
    color: #7a8478;
    font-size: 14px;
}

.ct-dashboard__empty {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    border: 1px dashed #cfddcc;
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.ct-dashboard__empty strong {
    color: #245929;
    font-size: 18px;
}

.ct-dashboard__empty p {
    margin: 7px 0 0;
    color: #758072;
}

@media (max-width: 900px) {
    .ct-dashboard__topbar {
        flex-direction: column;
    }

    .ct-dashboard__heading h1 {
        margin-top: 0;
    }

    .ct-dashboard__actions {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .ct-dashboard {
        padding: 26px 18px 40px;
    }

    .ct-dashboard__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ct-dashboard-card {
        min-height: 176px;
        padding: 23px;
    }

    .ct-dashboard__actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    button.ct-dashboard__button {
        min-height: 48px;
        padding: 10px !important;
        font-size: 12px !important;
    }

    .ct-dashboard__hint {
        font-size: 11px;
    }
}

/* ==========================================================
   Ajuste visual suave do Painel — v0.8.0
   ========================================================== */
.ct-dashboard {
    min-height: auto;
    padding: 42px 28px 54px;
    background: #f7faf6;
}

.ct-dashboard__topbar,
.ct-dashboard__grid,
.ct-dashboard__empty {
    max-width: 1120px;
}

.ct-dashboard__topbar {
    margin-bottom: 28px;
    align-items: center;
}

.ct-dashboard__heading h1 {
    margin-top: 0;
    font-size: clamp(22px, 2vw, 27px);
}

.ct-dashboard__actions {
    width: min(100%, 470px);
    gap: 10px 14px;
}

button.ct-dashboard__button {
    min-height: 46px;
    padding: 10px 16px !important;
    font-size: 13px !important;
}

.ct-dashboard__grid {
    gap: 18px;
}

.ct-dashboard-card {
    min-height: 154px;
    padding: 22px;
    gap: 14px;
    border-color: #eef3ec;
    box-shadow: 0 5px 18px rgba(30, 72, 27, .028);
}

.ct-dashboard-card__icon {
    width: 43px;
    height: 43px;
}

.ct-dashboard-card__icon svg {
    width: 23px;
    height: 23px;
}

.ct-dashboard-card__arrow {
    top: 25px;
    right: 22px;
    font-size: 37px;
}

.ct-dashboard-card strong {
    font-size: clamp(16px, 1.3vw, 19px);
}

.ct-dashboard-card small {
    font-size: 12px;
}

/* ==========================================================
   Gerenciador de Arquivos e Pastas — v0.8.0
   ========================================================== */
.ct-docs,
.ct-docs * {
    box-sizing: border-box;
}

.ct-docs {
    width: 100%;
    min-height: calc(100dvh - 32px);
    padding: 32px 28px 52px;
    background: #f7faf6;
    color: #172516;
    font-family: "DM Sans", Arial, sans-serif;
}

.ct-docs__hero,
.ct-docs__panel,
.ct-docs__empty {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.ct-docs__hero,
.ct-docs__panel {
    border: 1px solid #eef3ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 72, 27, .025);
}

.ct-docs__hero {
    margin-bottom: 18px;
    padding: 24px;
}

.ct-docs__hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.ct-docs h1 {
    margin: 0 0 10px;
    color: #183a1c;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.2;
    font-weight: 700;
}

.ct-docs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #7b8978;
    font-size: 12px;
}

.ct-docs-breadcrumb a {
    color: #3a7e34;
    text-decoration: none;
}

.ct-docs-breadcrumb a:hover {
    text-decoration: underline;
}

.ct-docs__actions {
    display: flex;
    gap: 10px;
}

button.ct-button {
    appearance: none !important;
    min-height: 44px;
    padding: 10px 16px !important;
    border-radius: 7px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

button.ct-button--primary {
    border: 1px solid #245929 !important;
    background: #245929 !important;
    color: #fff !important;
}

button.ct-button--secondary {
    border: 1px solid #4b8547 !important;
    background: #fff !important;
    color: #245929 !important;
}

.ct-docs-search {
    display: block;
    margin-top: 20px;
}

.ct-docs-search input {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #dfe8dd;
    border-radius: 8px;
    background: #fff;
    color: #283626;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.ct-docs-search input:focus {
    border-color: #77a772;
    box-shadow: 0 0 0 3px rgba(74, 163, 61, .1);
}

.ct-docs__panel {
    margin-bottom: 18px;
    padding: 24px;
}

.ct-docs__panel h2 {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #183a1c;
    font-size: 18px;
    line-height: 1.3;
}

.ct-docs__panel h2 span {
    width: 25px;
    height: 25px;
    display: inline-flex;
    color: #4aa33d;
}

.ct-docs__panel h2 svg,
.ct-folder-card svg,
.ct-file-card svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.ct-folder-card {
    position: relative;
    min-height: 76px;
    padding: 16px 48px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #dfe7dd;
    border-radius: 9px;
    background: #fff;
    color: #172516 !important;
    text-decoration: none !important;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.ct-folder-card:hover,
.ct-folder-card:focus-visible {
    transform: translateY(-1px);
    border-color: #9aba96;
    background: #fbfdfb;
    outline: none;
}

.ct-folder-card__icon {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    color: #45a33d;
}

.ct-folder-card strong {
    font-size: 14px;
    font-weight: 600;
}

.ct-folder-card__arrow {
    position: absolute;
    right: 16px;
    color: #245929;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

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

.ct-file-card {
    min-height: 72px;
    padding: 14px 14px 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #e1e8df;
    border-radius: 9px;
    background: #fff;
}

.ct-file-card__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 5px;
    border-radius: 7px;
    background: #edf6ea;
    color: #3d8f36;
}

.ct-file-card__copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ct-file-card__copy strong {
    overflow: hidden;
    color: #263523;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-file-card__copy small {
    color: #8a9587;
    font-size: 11px;
}

.ct-file-card__download {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 9px;
    display: inline-flex;
    border-radius: 8px;
    color: #245929 !important;
    text-decoration: none !important;
}

.ct-file-card__download:hover,
.ct-file-card__download:focus-visible {
    background: #edf6ea;
    outline: none;
}

.ct-docs__muted,
.ct-docs__no-results {
    margin: 0;
    color: #7a8478;
    font-size: 13px;
}

.ct-docs__empty {
    margin-top: 28px;
    padding: 46px 24px;
    border: 1px dashed #ceddcc;
    border-radius: 12px;
    background: rgba(255,255,255,.78);
    text-align: center;
}

.ct-docs__empty strong {
    color: #245929;
    font-size: 18px;
}

.ct-docs__empty p {
    margin: 8px 0 16px;
    color: #7a8478;
}

.ct-docs__empty a {
    color: #245929;
    font-weight: 700;
}

@media (max-width: 900px) {
    .ct-docs__hero-top {
        flex-direction: column;
    }

    .ct-docs__actions {
        width: 100%;
    }

    button.ct-button {
        flex: 1 1 0;
    }

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

@media (max-width: 700px) {
    .ct-dashboard,
    .ct-docs {
        padding: 24px 18px 40px;
    }

    .ct-dashboard-card {
        min-height: 144px;
        padding: 20px;
    }

    .ct-docs__hero,
    .ct-docs__panel {
        padding: 18px;
    }

    .ct-folder-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   v0.9.0 — correção de largura e páginas administrativas
   ========================================================== */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.corbantech-system-footer,
.corbantech-has-sidebar .corbantech-system-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.ct-admin-page {
    width: 100%;
    max-width: 1280px;
    min-height: calc(100vh - 34px);
    margin: 0 auto;
    padding: 38px 30px 52px;
    color: #1e2c1d;
    font-family: "DM Sans", Arial, sans-serif;
}

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

.ct-admin-page__header h1 {
    margin: 0;
    color: #142a16;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.2;
}

.ct-admin-page__header p {
    margin: 7px 0 0;
    color: #788175;
    font-size: 13px;
}

button.ct-button,
a.ct-button {
    min-height: 44px;
    padding: 10px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #245929;
    border-radius: 8px;
    font: 700 13px/1 "DM Sans", Arial, sans-serif;
    cursor: pointer;
}

.ct-button--primary { background: #245929; color: #fff; }
.ct-button--secondary { background: transparent; color: #245929; }

.ct-table-card {
    overflow: hidden;
    border: 1px solid #e2eae0;
    border-radius: 10px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 7px 22px rgba(37,89,41,.035);
}

.ct-data-table__head,
.ct-data-table__row {
    display: grid;
    align-items: center;
    gap: 14px;
}

.ct-data-table--companies .ct-data-table__head,
.ct-data-table--companies .ct-data-table__row {
    grid-template-columns: minmax(260px, 2.3fr) 1fr .7fr .8fr .8fr;
}

.ct-data-table--users .ct-data-table__head,
.ct-data-table--users .ct-data-table__row {
    grid-template-columns: 1.2fr 1.3fr 1fr .8fr;
}

.ct-data-table--logs .ct-data-table__head,
.ct-data-table--logs .ct-data-table__row {
    grid-template-columns: .8fr .8fr 2.4fr;
}

.ct-data-table__head {
    padding: 13px 18px;
    color: #929a90;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ct-data-table__row {
    min-height: 70px;
    padding: 13px 18px;
    border-top: 1px solid #e4ece2;
    background: rgba(255,255,255,.68);
    font-size: 13px;
}

.ct-data-table__row:hover { background: #fbfdfb; }
.ct-data-table__primary { min-width: 0; display: flex; align-items: center; gap: 12px; }
.ct-data-table__primary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-mini-icon { width: 34px; height: 34px; padding: 7px; flex: 0 0 34px; display: inline-flex; border-radius: 6px; background: #e8f2e6; color: #245929; }
.ct-mini-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; }
.ct-user-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #eaf4e8; color: #245929; font-weight: 700; }
.ct-role-badge,.ct-status { padding: 5px 8px; display: inline-flex; border-radius: 999px; background: #edf5eb; color: #356a31; font-size: 11px; font-weight: 700; }
.ct-status--inativa { background: #fff0ef; color: #b42318; }
.ct-data-table__actions a { color: #368c2e; font-weight: 700; text-decoration: none; }
.ct-table-empty,.ct-access-denied { padding: 42px 22px; text-align: center; color: #788175; }
.ct-access-denied { border: 1px dashed #ceddcc; border-radius: 10px; background: rgba(255,255,255,.75); }
.ct-access-denied strong { color: #245929; font-size: 18px; }
.ct-access-denied p { margin: 7px 0 0; }

@media (max-width: 860px) {
    .ct-admin-page { padding: 26px 18px 42px; }
    .ct-admin-page__header { flex-direction: column; }
    .ct-data-table__head { display: none; }
    .ct-data-table__row,
    .ct-data-table--companies .ct-data-table__row,
    .ct-data-table--users .ct-data-table__row,
    .ct-data-table--logs .ct-data-table__row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px;
    }
    .ct-data-table__row > [data-label]:not(.ct-data-table__primary)::before {
        content: attr(data-label) ": ";
        color: #98a096;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
}
