* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    color: #fff;
}

.login-page {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 62%,
            rgba(61, 43, 255, 0.22),
            transparent 34%
        ),
        radial-gradient(
            circle at 35% 65%,
            rgba(0, 89, 255, 0.18),
            transparent 27%
        ),
        #010103;
}

.background-glow {
    position: fixed;

    left: 15%;
    right: 15%;
    top: 45%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #144cff,
            #6b20ff,
            #144cff,
            transparent
        );

    filter: blur(12px);

    opacity: .9;
}

.brand {
    position: relative;

    display: flex;
    align-items: center;

    gap: 30px;

    margin-bottom: 34px;
}

.brand-name {
    font-size: clamp(48px, 7vw, 96px);

    font-weight: 700;
    letter-spacing: -5px;
}

.brand-symbol {
    position: relative;

    width: 155px;
    height: 92px;
}

.brand-symbol span {
    position: absolute;

    width: 120px;
    height: 70px;

    border-radius: 14px;
}

.brand-blue {
    left: 0;
    top: 0;

    border: 20px solid #145cff;
}

.brand-purple {
    right: 0;
    bottom: 0;

    border: 20px solid #681dff;
}

.login-card {
    position: relative;

    width: min(550px, calc(100vw - 40px));

    padding: 34px 46px 25px;

    border-radius: 24px;

    background:
        linear-gradient(
            150deg,
            rgba(35, 39, 63, .93),
            rgba(7, 9, 23, .96)
        );

    border: 1px solid rgba(98, 93, 255, .8);

    box-shadow:
        0 30px 100px rgba(0,0,0,.6),
        0 0 45px rgba(62,35,255,.2);
}

.small-title {
    text-align: center;

    color: #aeb3c9;

    font-size: 14px;
}

.login-card h1 {
    margin:
        12px 0
        5px;

    text-align: center;

    font-size: 31px;
}

.subtitle {
    margin:
        0 0
        30px;

    text-align: center;

    color: #9fa6be;

    font-size: 15px;
}

.field {
    position: relative;

    display: flex;
    align-items: center;

    height: 58px;

    margin-bottom: 14px;

    border: 1px solid #41475b;

    border-radius: 12px;

    background: rgba(22,25,42,.78);
}

.field-icon {
    width: 56px;

    text-align: center;

    color: #b9c1d7;

    font-size: 20px;
}

.field input {
    flex: 1;

    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #fff;

    font-size: 15px;
}

.field input::placeholder {
    color: #969db5;
}

.show-password {
    width: 50px;

    border: 0;

    background: transparent;

    color: #aab1c8;

    cursor: pointer;
}

.login-button {
    width: 100%;
    height: 56px;

    margin-top: 6px;

    border: 0;
    border-radius: 12px;

    color: #fff;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            #1559ff,
            #7530ff
        );

    box-shadow:
        0 10px 30px rgba(80, 44, 255, .25);
}

.login-button span {
    margin-left: 10px;
}

.login-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 35px;

    margin-top: 20px;
}

.login-links a {
    color: #536fff;

    font-size: 14px;

    text-decoration: none;
}

.separator {
    height: 17px;

    border-left: 1px solid #81869b;
}

.footer-line {
    height: 1px;

    margin-top: 30px;

    background: #343847;
}

.secure-footer {
    padding-top: 18px;

    text-align: center;

    color: #878fa9;

    font-size: 13px;
}

.alert {
    margin-bottom: 15px;

    padding: 12px;

    border-radius: 9px;

    text-align: center;

    background: rgba(255,60,80,.12);

    color: #ff9ca7;
}

.brand-small .brand-name {
    font-size: 60px;
}

.single-link {
    margin-top: 24px;
}

.dashboard-page {
    min-height: 100vh;

    display: flex;

    background: #f5f7fc;

    color: #161927;
}

.sidebar {
    width: 230px;

    padding: 28px 20px;

    background: #fff;

    border-right: 1px solid #e7e9f2;

    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 35px;

    font-size: 21px;
}

.brand-symbol.mini {
    width: 31px;
    height: 24px;
}

.brand-symbol.mini span {
    width: 24px;
    height: 15px;

    border-width: 4px;

    border-radius: 4px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.sidebar nav a,
.logout {
    display: block;

    padding: 12px 14px;

    border-radius: 9px;

    color: #292d3a;

    text-decoration: none;
}

.sidebar nav a.active {
    background: #eeecff;
    color: #4930e8;
}

.logout {
    margin-top: auto;
}

.dashboard-content {
    flex: 1;

    padding: 45px;
}

.dashboard-top h1 {
    margin: 0;

    font-size: 34px;
}

.dashboard-top p {
    color: #74798a;
}

.empty-dashboard {
    margin-top: 40px;

    max-width: 900px;

    padding: 70px;

    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 10px 35px rgba(40,43,70,.06);

    text-align: center;
}

.school-icon {
    font-size: 50px;

    color: #5533f3;
}


/* ===== Logo real PenBoard ===== */
.brand-login-real {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.brand-logo-real {
    display: block;
    width: min(980px, 84vw);
    max-width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.brand-logo-small-real {
    width: min(560px, 56vw);
}

/* esconde a logo desenhada em CSS se ainda existir em alguma tela */
.brand-symbol,
.brand-name {
    display: none !important;
}


/* ===== Login layout fix ===== */

.login-page {
    min-height: 100vh !important;
    display: block !important;
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 72%, rgba(61, 43, 255, 0.20), transparent 30%),
        radial-gradient(circle at 32% 74%, rgba(0, 89, 255, 0.16), transparent 24%),
        #010103;
}

.login-shell {
    min-height: 100vh;
    width: 100%;
    padding: 42px 20px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.hero-logo-strip {
    width: min(980px, 88vw);
    height: 230px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
    background: transparent;
}

.hero-logo-strip-small {
    height: 190px;
    margin-bottom: 22px;
}

.hero-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    user-select: none;
    pointer-events: none;
}

.login-card {
    width: min(550px, calc(100vw - 40px));
    margin: 0 auto !important;
    position: relative;
    z-index: 3;
}

.background-glow {
    position: fixed;
    left: 16%;
    right: 16%;
    top: 76%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #144cff, #6b20ff, #144cff, transparent);
    filter: blur(12px);
    opacity: .9;
    z-index: 1;
}

.brand,
.brand-symbol,
.brand-name,
.brand-login-real,
.brand-logo-real,
.brand-logo-small-real {
    display: none !important;
}

@media (max-width: 900px) {
    .login-shell {
        padding-top: 28px;
    }

    .hero-logo-strip {
        width: min(95vw, 760px);
        height: 170px;
        margin-bottom: 20px;
    }

    .hero-logo-strip-small {
        height: 150px;
    }
}

@media (max-width: 640px) {
    .hero-logo-strip {
        height: 120px;
        margin-bottom: 16px;
    }

    .hero-logo-strip-small {
        height: 108px;
    }

    .login-card {
        width: min(100vw - 24px, 550px);
        padding: 28px 20px 22px;
    }

    .background-glow {
        left: 10%;
        right: 10%;
        top: 80%;
    }
}

/* =========================================================
   PENBOARD LOGIN - RESPONSIVIDADE FINAL
   ========================================================= */

html,
body {
    width: 100%;
    min-width: 0;
    min-height: 100%;
}

.login-page {
    width: 100%;
    min-width: 0;

    min-height: 100vh;
    min-height: 100dvh;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    background:
        radial-gradient(
            circle at 50% 75%,
            rgba(61, 43, 255, 0.20),
            transparent 32%
        ),
        radial-gradient(
            circle at 30% 75%,
            rgba(0, 89, 255, 0.14),
            transparent 25%
        ),
        #010103 !important;
}

.login-shell {
    width: 100%;
    min-width: 0;

    min-height: 100vh;
    min-height: 100dvh;

    padding:
        clamp(12px, 3vh, 38px)
        clamp(12px, 3vw, 30px)
        clamp(18px, 4vh, 45px) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: clamp(10px, 2vh, 25px);

    position: relative;
    z-index: 2;
}


/* ==========================
   LOGO
   ========================== */

.hero-logo-strip {
    flex: 0 1 auto;

    width: min(920px, 90vw) !important;

    height: clamp(
        105px,
        24vh,
        225px
    ) !important;

    margin: 0 auto !important;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
}

.hero-logo-image {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;

    user-select: none;
    pointer-events: none;
}


/* ==========================
   CARD DE LOGIN
   ========================== */

.login-card {
    flex: 0 1 auto;

    width: min(
        550px,
        calc(100vw - 32px)
    ) !important;

    max-width: 100% !important;

    margin: 0 auto !important;

    padding:
        clamp(20px, 3vh, 34px)
        clamp(20px, 4vw, 46px)
        clamp(18px, 2.7vh, 25px) !important;

    border-radius:
        clamp(16px, 2vw, 24px) !important;

    position: relative;

    overflow: visible;
}


/* ==========================
   TEXTOS
   ========================== */

.login-card .small-title {
    font-size:
        clamp(11px, 1.4vh, 14px) !important;
}

.login-card h1 {
    margin:
        clamp(7px, 1.2vh, 12px)
        0
        clamp(3px, .7vh, 6px) !important;

    font-size:
        clamp(23px, 3.3vh, 31px) !important;

    line-height: 1.1;
}

.login-card .subtitle {
    margin:
        0
        0
        clamp(14px, 2.5vh, 30px) !important;

    font-size:
        clamp(12px, 1.6vh, 15px) !important;
}


/* ==========================
   CAMPOS
   ========================== */

.login-card .field {
    width: 100%;

    height:
        clamp(46px, 6.5vh, 58px) !important;

    margin-bottom:
        clamp(9px, 1.5vh, 14px) !important;

    border-radius:
        clamp(9px, 1.2vw, 12px);
}

.login-card .field-icon {
    flex: 0 0
        clamp(44px, 5vw, 56px);

    width:
        clamp(44px, 5vw, 56px) !important;

    font-size:
        clamp(16px, 2vh, 20px);
}

.login-card .field input {
    min-width: 0;

    width: 100%;

    height: 100%;

    font-size:
        clamp(13px, 1.7vh, 15px) !important;
}


/* ==========================
   BOTAO ENTRAR
   ========================== */

.login-card .login-button {
    width: 100%;

    height:
        clamp(47px, 6.4vh, 56px) !important;

    margin-top:
        clamp(2px, .8vh, 6px) !important;

    font-size:
        clamp(15px, 2vh, 18px) !important;
}


/* ==========================
   LINKS
   ========================== */

.login-card .login-links {
    flex-wrap: wrap;

    gap:
        clamp(12px, 3vw, 35px);

    margin-top:
        clamp(12px, 2.2vh, 20px) !important;
}

.login-card .login-links a {
    font-size:
        clamp(12px, 1.55vh, 14px) !important;
}

.login-card .footer-line {
    margin-top:
        clamp(15px, 2.7vh, 30px) !important;
}

.login-card .secure-footer {
    padding-top:
        clamp(10px, 1.8vh, 18px) !important;

    font-size:
        clamp(11px, 1.4vh, 13px) !important;
}


/* ==========================
   JANELAS BAIXAS
   Ex.: navegador sem maximizar
   ========================== */

@media (max-height: 850px) {

    .login-shell {
        padding-top: 10px !important;
        padding-bottom: 15px !important;

        gap: 8px !important;
    }

    .hero-logo-strip {
        height: 150px !important;
        width: min(760px, 84vw) !important;
    }

    .login-card {
        padding:
            18px
            clamp(22px, 4vw, 40px)
            16px !important;
    }

    .login-card .subtitle {
        margin-bottom: 15px !important;
    }

    .login-card .field {
        height: 48px !important;
        margin-bottom: 9px !important;
    }

    .login-card .login-button {
        height: 48px !important;
    }

    .login-card .login-links {
        margin-top: 12px !important;
    }

    .login-card .footer-line {
        margin-top: 14px !important;
    }

    .login-card .secure-footer {
        padding-top: 10px !important;
    }
}


/* ==========================
   JANELAS MUITO BAIXAS
   ========================== */

@media (max-height: 700px) {

    .login-shell {
        padding-top: 6px !important;
        padding-bottom: 10px !important;
    }

    .hero-logo-strip {
        height: 105px !important;
        width: min(630px, 78vw) !important;
    }

    .login-card {
        width: min(500px, calc(100vw - 24px)) !important;

        padding:
            14px
            clamp(18px, 3vw, 32px)
            12px !important;
    }

    .login-card h1 {
        font-size: 23px !important;
        margin-top: 6px !important;
    }

    .login-card .subtitle {
        margin-bottom: 10px !important;
    }

    .login-card .field {
        height: 43px !important;
        margin-bottom: 7px !important;
    }

    .login-card .login-button {
        height: 44px !important;
    }

    .login-card .login-links {
        margin-top: 9px !important;
    }

    .login-card .footer-line {
        margin-top: 10px !important;
    }

    .login-card .secure-footer {
        padding-top: 8px !important;
    }
}


/* ==========================
   CELULAR / JANELA ESTREITA
   ========================== */

@media (max-width: 600px) {

    .login-shell {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-logo-strip {
        width: 96vw !important;
        height: clamp(95px, 18vh, 140px) !important;
    }

    .login-card {
        width: calc(100vw - 20px) !important;

        padding:
            22px
            18px
            18px !important;
    }

    .login-links {
        gap: 13px !important;
    }

    .separator {
        display: none;
    }
}


/* brilho deve acompanhar a tela, e nao empurrar elementos */

.background-glow {
    pointer-events: none;
    position: fixed !important;
    z-index: 1 !important;
}


/* ===== PENBOARD ESCOLA V2 ===== */

.pb-app {
    margin: 0;
    min-height: 100vh;
    background: #f5f7fb;
    color: #191c29;
}

.pb-app * {
    box-sizing: border-box;
}

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

.pb-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    z-index: 100;

    width: 238px;

    padding: 24px 17px 18px;

    display: flex;
    flex-direction: column;

    background: #ffffff;
    border-right: 1px solid #e8ebf2;

    box-shadow: 5px 0 30px rgba(32, 38, 70, .025);
}

.pb-brand {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 3px 8px 8px;

    color: #12141c;
    text-decoration: none;

    font-size: 20px;
}

.pb-brand-mark {
    position: relative;

    width: 32px;
    height: 24px;

    flex: 0 0 auto;
}

.pb-brand-mark i,
.pb-brand-mark b {
    position: absolute;

    width: 24px;
    height: 16px;

    border: 4px solid;
    border-radius: 5px;
}

.pb-brand-mark i {
    left: 0;
    top: 0;
    border-color: #155aff;
}

.pb-brand-mark b {
    right: 0;
    bottom: 0;
    border-color: #6725f1;
}

.pb-product-name {
    margin: 5px 8px 24px;

    color: #9a9eac;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pb-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pb-menu a,
.pb-logout {
    min-height: 43px;

    padding: 11px 13px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-radius: 9px;

    color: #343847;
    text-decoration: none;

    font-size: 14px;

    transition: .15s ease;
}

.pb-menu a span {
    width: 20px;
    text-align: center;
}

.pb-menu a:hover,
.pb-logout:hover {
    background: #f6f5ff;
    color: #4d34e8;
}

.pb-menu a.active {
    background: #eeecff;
    color: #4b31e5;

    font-weight: 600;
}

.pb-logout {
    margin-top: auto;
}

.pb-main {
    width: calc(100% - 238px);
    min-width: 0;

    margin-left: 238px;
}

.pb-header {
    position: sticky;
    z-index: 40;
    top: 0;

    height: 70px;

    padding: 0 32px;

    display: flex;
    align-items: center;

    background: rgba(255,255,255,.94);

    border-bottom: 1px solid #e8ebf2;

    backdrop-filter: blur(12px);
}

.pb-header-fill {
    flex: 1;
}

.pb-menu-button {
    display: none;

    border: 0;
    background: transparent;

    font-size: 22px;
    cursor: pointer;
}

.pb-user {
    display: flex;
    align-items: center;

    gap: 10px;
}

.pb-user > span {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #efedff;
    color: #4c32e6;

    font-weight: 700;
}

.pb-user > div {
    display: flex;
    flex-direction: column;
}

.pb-user strong {
    font-size: 12px;
}

.pb-user small {
    margin-top: 2px;

    color: #8d92a1;
    font-size: 10px;
}

.pb-content {
    width: min(1250px, 100%);

    margin: 0 auto;

    padding: 36px;
}

.pb-heading {
    margin-bottom: 24px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;
}

.pb-heading h1 {
    margin: 4px 0 6px;

    font-size: clamp(27px, 3vw, 35px);
    letter-spacing: -.035em;
}

.pb-heading p {
    margin: 0;

    color: #74798b;
    font-size: 13px;
}

.pb-heading-actions {
    display: flex;
    gap: 9px;
}

.pb-back {
    color: #5a45df;
    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
}

.pb-button {
    min-height: 41px;

    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 8px;

    font: inherit;
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;
}

.pb-button.primary {
    color: #fff;

    background:
        linear-gradient(
            90deg,
            #2359ff,
            #6932ed
        );

    box-shadow:
        0 8px 18px rgba(73, 53, 220, .18);
}

.pb-button.secondary {
    color: #444855;

    background: #fff;

    border-color: #daddE7;
}

.pb-button.danger {
    color: #b42335;

    background: #fff;

    border-color: #f0bbc3;
}

.pb-button.small {
    min-height: 36px;
    padding: 0 12px;
}

.pb-alert {
    margin-bottom: 18px;

    padding: 12px 15px;

    border-radius: 8px;

    font-size: 12px;
}

.pb-alert.success {
    color: #116532;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.pb-alert.error {
    color: #a51d2e;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.pb-stats {
    margin-bottom: 18px;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.pb-stat {
    min-height: 138px;

    padding: 19px;

    display: flex;
    flex-direction: column;

    border: 1px solid #e7eaf1;
    border-radius: 13px;

    background: #fff;

    color: #202331;
    text-decoration: none;

    box-shadow:
        0 7px 25px rgba(30, 36, 68, .035);
}

a.pb-stat:hover {
    border-color: #c9c3ff;
}

.pb-stat > span {
    margin-bottom: 12px;

    color: #5537ea;
    font-size: 21px;
}

.pb-stat strong {
    font-size: 27px;
}

.pb-stat small {
    margin-top: 4px;

    color: #797f8f;
    font-size: 11px;
}

.pb-panel {
    margin-bottom: 18px;

    padding: 20px;

    border: 1px solid #e7eaf1;
    border-radius: 13px;

    background: #fff;

    box-shadow:
        0 8px 27px rgba(30, 37, 70, .035);
}

.pb-panel-title {
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.pb-panel-title h2 {
    margin: 0 0 4px;
    font-size: 17px;
}

.pb-panel-title p {
    margin: 0;

    color: #818697;
    font-size: 11px;
}

.pb-panel-title > a:not(.pb-button) {
    color: #5039e4;

    text-decoration: none;
    font-size: 11px;
}

.pb-table-wrap {
    width: 100%;

    overflow-x: auto;
}

.pb-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 12px;
}

.pb-table th {
    padding: 11px 13px;

    border-bottom: 1px solid #e8eaf0;

    text-align: left;

    color: #8c91a0;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.pb-table td {
    padding: 14px 13px;

    border-bottom: 1px solid #f0f1f4;

    color: #565c6d;

    vertical-align: middle;
}

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

.pb-table td strong {
    color: #252936;
}

.pb-table td small {
    margin-top: 3px;

    display: block;

    color: #969baa;
    font-size: 9px;
}

.pb-table tr.clickable {
    cursor: pointer;
}

.pb-table tr.clickable:hover td {
    background: #fafaff;
}

.pb-status {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 600;
}

.pb-status.active {
    color: #17713a;
    background: #eafbf0;
}

.pb-status.inactive {
    color: #777c89;
    background: #f0f1f4;
}

.pb-filters {
    margin-bottom: 17px;

    padding: 15px;

    display: flex;
    align-items: flex-end;

    gap: 10px;

    border: 1px solid #e5e8ef;
    border-radius: 12px;

    background: #fff;
}

.pb-filters label {
    min-width: 130px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.pb-filters label.search {
    flex: 1;
    min-width: 230px;
}

.pb-filters label > span,
.pb-form-grid label > span,
.pb-device-add label > span {
    color: #5d6271;

    font-size: 10px;
    font-weight: 600;
}

.pb-filters input,
.pb-filters select,
.pb-form-grid input,
.pb-form-grid select,
.pb-form-grid textarea,
.pb-device-add input {
    width: 100%;
    min-width: 0;

    min-height: 41px;

    padding: 9px 11px;

    border: 1px solid #dce0e8;
    border-radius: 7px;

    outline: none;

    background: #fff;
    color: #272b37;

    font: inherit;
    font-size: 12px;
}

.pb-filters input:focus,
.pb-filters select:focus,
.pb-form-grid input:focus,
.pb-form-grid select:focus,
.pb-form-grid textarea:focus,
.pb-device-add input:focus {
    border-color: #7866ec;

    box-shadow:
        0 0 0 3px rgba(84, 58, 225, .07);
}

.pb-result-count {
    margin-bottom: 8px;

    color: #8a8f9f;
    font-size: 10px;
}

.pb-empty {
    min-height: 250px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.pb-empty.small {
    min-height: 140px;
}

.pb-empty > span {
    margin-bottom: 10px;

    color: #5537e6;

    font-size: 32px;
}

.pb-empty h3 {
    margin: 0 0 6px;

    font-size: 16px;
}

.pb-empty p {
    margin: 0 0 17px;

    max-width: 440px;

    color: #848999;

    font-size: 11px;
    line-height: 1.5;
}

.pb-form-panel {
    margin-bottom: 16px;

    padding: 25px;
}

.pb-form-panel.narrow {
    max-width: 800px;
}

.pb-section-heading {
    margin-bottom: 23px;

    display: flex;
    align-items: center;

    gap: 12px;
}

.pb-section-heading > span {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: #fff;
    background: #5836e9;

    font-size: 11px;
    font-weight: 700;
}

.pb-section-heading h2 {
    margin: 0 0 3px;

    font-size: 16px;
}

.pb-section-heading p {
    margin: 0;

    color: #898e9d;
    font-size: 10px;
}

.pb-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.pb-form-grid label {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.pb-form-grid label.full {
    grid-column: span 2;
}

.pb-form-grid label.wide {
    grid-column: span 1;
}

.pb-form-grid textarea {
    resize: vertical;
}

.pb-check {
    flex-direction: row !important;
    align-items: center !important;
}

.pb-check input {
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
}

.pb-form-actions {
    margin: 19px 0 4px;

    display: flex;
    justify-content: space-between;

    gap: 10px;
}

.pb-form-actions.right {
    justify-content: flex-end;
}

.pb-school-tabs {
    margin-bottom: 16px;

    padding: 0 5px;

    display: flex;
    gap: 18px;

    overflow-x: auto;

    border-bottom: 1px solid #e1e4eb;
}

.pb-school-tabs a {
    padding: 10px 4px;

    color: #6f7585;

    text-decoration: none;
    white-space: nowrap;

    font-size: 11px;
    font-weight: 600;
}

.pb-school-tabs a:hover {
    color: #5136e4;
}

.pb-school-counters {
    margin-bottom: 17px;

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

    gap: 12px;
}

.pb-school-counters > div {
    padding: 16px;

    border: 1px solid #e6e8ef;
    border-radius: 11px;

    background: #fff;
}

.pb-school-counters strong,
.pb-school-counters span {
    display: block;
}

.pb-school-counters strong {
    font-size: 22px;
}

.pb-school-counters span {
    margin-top: 3px;

    color: #808697;
    font-size: 10px;
}

.pb-school-section {
    scroll-margin-top: 90px;
}

.pb-detail-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    border-top: 1px solid #f0f1f4;
}

.pb-detail-grid > div {
    min-height: 67px;

    padding: 15px 5px;

    display: flex;
    flex-direction: column;

    gap: 5px;

    border-bottom: 1px solid #f0f1f4;
}

.pb-detail-grid > div.full {
    grid-column: span 2;
}

.pb-detail-grid span {
    color: #969ba9;

    font-size: 9px;
    text-transform: uppercase;
}

.pb-detail-grid strong {
    color: #323644;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.pb-people {
    display: flex;
    flex-direction: column;
}

.pb-person {
    min-height: 72px;

    padding: 11px 0;

    display: flex;
    align-items: center;

    gap: 12px;

    border-bottom: 1px solid #eef0f4;
}

.pb-person:last-child {
    border-bottom: 0;
}

.pb-avatar {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: #4530d8;
    background: #efedff;

    font-size: 10px;
    font-weight: 700;
}

.pb-avatar.tech {
    color: #225db6;
    background: #eaf3ff;
}

.pb-person-main {
    width: 260px;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.pb-person-main strong {
    color: #292d39;
    font-size: 12px;
}

.pb-person-main small {
    color: #838898;
    font-size: 10px;
}

.pb-person-contact {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;

    color: #626878;

    font-size: 10px;
}

.pb-primary-badge {
    margin-left: 5px;

    padding: 3px 6px;

    border-radius: 999px;

    color: #5539dc;
    background: #f0eeff;

    font-size: 8px;
}

.pb-icon-button {
    width: 33px;
    height: 33px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: #4e37dc;

    text-decoration: none;

    cursor: pointer;
}

.pb-icon-button:hover {
    background: #f1efff;
}

.pb-icon-button.danger {
    color: #d93449;
}

.pb-device-list {
    margin-bottom: 17px;
}

.pb-device {
    min-height: 65px;

    padding: 10px 0;

    display: flex;
    align-items: center;

    gap: 12px;

    border-bottom: 1px solid #eef0f4;
}

.pb-device-icon {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    color: #5037df;
    background: #efedff;
}

.pb-device > div:nth-child(2) {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.pb-device strong {
    font-size: 12px;
}

.pb-device span,
.pb-device small {
    color: #7e8494;
    font-size: 10px;
}

.push-right {
    margin-left: auto;
}

.pb-device-add {
    padding-top: 17px;

    display: grid;
    grid-template-columns:
        1fr 1fr 1.5fr auto;

    align-items: end;

    gap: 10px;

    border-top: 1px solid #edf0f3;
}

.pb-device-add label {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.pb-danger-zone {
    margin-top: 28px;
    padding: 17px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    border: 1px solid #f1c7cd;
    border-radius: 10px;

    background: #fffafb;
}

.pb-danger-zone > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.pb-danger-zone strong {
    color: #9e2736;
    font-size: 12px;
}

.pb-danger-zone span {
    color: #8b7376;
    font-size: 10px;
}

.pb-account-user {
    margin-bottom: 22px;
    padding-bottom: 19px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-bottom: 1px solid #eceef2;
}

.pb-account-avatar {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #4b34df;
    background: #efedff;

    font-weight: 700;
}

.pb-account-user > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.pb-account-user strong {
    font-size: 14px;
}

.pb-account-user small {
    color: #898e9c;
    font-size: 10px;
}

.pb-password-box {
    margin-top: 23px;
    padding: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    border: 1px solid #e7e9ef;
    border-radius: 9px;

    background: #fafbfc;
}

.pb-password-box > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.pb-password-box strong {
    font-size: 12px;
}

.pb-password-box small,
.pb-help {
    color: #878c9b;
    font-size: 10px;
}


/* tablets */

@media (max-width: 1050px) {

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

    .pb-device-add {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pb-device-add .description {
        grid-column: span 1;
    }

}


/* mobile */

@media (max-width: 760px) {

    .pb-sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    body.pb-menu-open .pb-sidebar {
        transform: translateX(0);
    }

    .pb-main {
        width: 100%;
        margin-left: 0;
    }

    .pb-menu-button {
        display: block;
    }

    .pb-header {
        height: 62px;
        padding: 0 16px;
    }

    .pb-content {
        padding: 22px 14px 35px;
    }

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

    .pb-heading-actions {
        width: 100%;
    }

    .pb-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .pb-filters label,
    .pb-filters label.search {
        width: 100%;
        min-width: 0;
    }

    .pb-filters .filter-button {
        width: 100%;
    }

    .pb-school-counters {
        grid-template-columns: 1fr;
    }

    .pb-detail-grid,
    .pb-form-grid {
        grid-template-columns: 1fr;
    }

    .pb-form-grid label.full,
    .pb-detail-grid > div.full {
        grid-column: span 1;
    }

    .pb-person {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .pb-person-main {
        width: calc(100% - 55px);
    }

    .pb-person-contact {
        min-width: calc(100% - 51px);
        margin-left: 51px;
    }

    .pb-device-add {
        grid-template-columns: 1fr;
    }

    .pb-device-add .pb-button {
        width: 100%;
    }

    .pb-danger-zone,
    .pb-password-box {
        align-items: stretch;
        flex-direction: column;
    }

}


/* small mobile */

@media (max-width: 520px) {

    .pb-stats {
        grid-template-columns: 1fr;
    }

    .pb-panel,
    .pb-form-panel {
        padding: 16px;
    }

    .pb-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .pb-form-actions .pb-button {
        width: 100%;
    }

    .pb-person-contact {
        margin-left: 0;
        min-width: 100%;
    }

    .pb-heading-actions {
        flex-direction: column;
    }

    .pb-heading-actions .pb-button {
        width: 100%;
    }

}

/* ===== ESTADOS + EDIT PENBOARD V3 ===== */

.pb-info-banner {
    margin-bottom: 17px;

    padding: 15px 17px;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    border: 1px solid #ddd9ff;
    border-radius: 11px;

    background: #f7f6ff;
}

.pb-info-banner > span {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #e7e3ff;
    color: #5137e4;

    font-size: 11px;
    font-weight: 700;
}

.pb-info-banner strong {
    display: block;

    margin-bottom: 3px;

    color: #332c68;

    font-size: 11px;
}

.pb-info-banner p {
    margin: 0;

    color: #73718b;

    font-size: 10px;
    line-height: 1.5;
}

.pb-table-link {
    color: #5038df;

    font-weight: 700;
    text-decoration: none;
}

.pb-state-card {
    margin-bottom: 17px;

    padding: 18px 20px;

    display: flex;
    align-items: center;

    gap: 16px;

    border: 1px solid #ddd9ff;
    border-radius: 13px;

    background:
        linear-gradient(
            105deg,
            #faf9ff,
            #ffffff
        );

    box-shadow:
        0 7px 25px rgba(60, 42, 160, .035);
}

.pb-state-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 11px;

    background: #ebe8ff;
    color: #5035e7;

    font-size: 21px;
}

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

.pb-state-main > span {
    display: block;

    color: #8e92a2;

    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.pb-state-main h2 {
    margin: 3px 0 8px;

    font-size: 17px;
}

.pb-state-main h2 small {
    margin-left: 4px;

    color: #8e92a2;

    font-size: 10px;
}

.pb-state-main > p {
    margin: 0;

    color: #848999;

    font-size: 10px;
}

.pb-state-people {
    display: flex;
    gap: 28px;
}

.pb-state-people > div {
    min-width: 180px;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.pb-state-people span {
    color: #999dac;
    font-size: 8px;
    text-transform: uppercase;
}

.pb-state-people strong {
    color: #343846;
    font-size: 11px;
}

.pb-state-people small {
    color: #7e8494;
    font-size: 9px;
}

.pb-state-school-count {
    margin-top: 17px;

    padding: 12px 14px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border-radius: 8px;

    background: #f4f3ff;
}

.pb-state-school-count strong {
    color: #5135e4;

    font-size: 17px;
}

.pb-state-school-count span {
    color: #686d7d;

    font-size: 10px;
}

.state-actions {
    max-width: 800px;
}

.pb-device-edit {
    margin-left: auto;
}

.pb-device-edit + form.push-right {
    margin-left: 0;
}

.pb-device form {
    margin-top: 0;
    margin-bottom: 0;
}


@media (max-width: 760px) {

    .pb-state-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .pb-state-main {
        width: calc(100% - 65px);
    }

    .pb-state-people {
        margin-top: 9px;

        flex-direction: column;
        gap: 10px;
    }

    .pb-state-card > .pb-button {
        width: 100%;
    }

}


@media (max-width: 520px) {

    .pb-state-main {
        width: 100%;
    }

    .pb-state-icon {
        width: 42px;
        height: 42px;
    }

}


/* =========================================================
   PENBOARD - LOGO OFICIAL + ICONOGRAFIA UNIFORME
   ========================================================= */


/* -----------------------------------------
   Sprite SVG invisível
   ----------------------------------------- */

.pb-svg-sprite {
    position: absolute !important;

    width: 0 !important;
    height: 0 !important;

    overflow: hidden !important;

    pointer-events: none;
}


/* -----------------------------------------
   Remove definitivamente logo falsa antiga
   ----------------------------------------- */

.pb-brand,
.pb-brand-mark {
    display: none !important;
}


/* -----------------------------------------
   Logo oficial
   ----------------------------------------- */

.pb-brand-official {
    width: 100%;
    height: 51px;

    margin-bottom: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 10px;

    background: #000;

    text-decoration: none;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .08);
}


/*
   A imagem oficial possui bastante área preta ao redor.

   Em vez de redesenhar o símbolo, este viewport mostra
   diretamente a arte oficial e corta apenas as margens.
*/

.pb-brand-official-crop {
    position: relative;

    width: 186px;
    height: 43px;

    overflow: hidden;

    flex: 0 0 auto;
}


.pb-brand-official-crop img {
    position: absolute;

    width: 310px;
    max-width: none;
    height: auto;

    left: -40px;
    top: -79px;

    display: block;

    user-select: none;
    pointer-events: none;
}


/* -----------------------------------------
   Nome do módulo
   ----------------------------------------- */

.pb-product-name {
    margin:
        9px
        8px
        20px !important;

    color: #9a9eac;

    font-size: 9px !important;
    font-weight: 600;

    letter-spacing: .09em;

    text-transform: uppercase;
}


/* -----------------------------------------
   Menu - geometria única
   ----------------------------------------- */

.pb-menu {
    gap: 5px !important;
}


.pb-menu a,
.pb-logout {
    min-height: 44px !important;

    padding:
        0
        13px !important;

    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

    line-height: 1 !important;
}


/* Nenhum span genérico controla mais o ícone */

.pb-menu a > span {
    width: auto !important;

    text-align: left !important;
}


/* -----------------------------------------
   Todos os ícones do menu:
   MESMO TAMANHO
   MESMO PESO
   MESMO ALINHAMENTO
   ----------------------------------------- */

.pb-nav-icon {
    width: 20px !important;
    height: 20px !important;

    min-width: 20px !important;
    max-width: 20px !important;

    min-height: 20px !important;
    max-height: 20px !important;

    flex:
        0
        0
        20px !important;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;

    overflow: visible;
}


/* Texto fica sempre na mesma linha */

.pb-menu-label {
    display: inline-flex;

    align-items: center;

    height: 20px;

    line-height: 20px;

    font-size: 13px;
}


/* -----------------------------------------
   Cor e alinhamento visual
   ----------------------------------------- */

.pb-menu a {
    color: #4a4e5c !important;
}


.pb-menu a:hover {
    color: #4c35df !important;
}


.pb-menu a.active {
    color: #4930e2 !important;

    background:
        linear-gradient(
            90deg,
            #eeecff,
            #f5f4ff
        ) !important;
}


.pb-menu a.active .pb-nav-icon {
    stroke-width: 2;
}


.pb-logout {
    color: #626675 !important;
}


.pb-logout:hover {
    color: #4930df !important;
}


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

.pb-menu-button {
    width: 40px;
    height: 40px;

    padding: 0;

    align-items: center;
    justify-content: center;

    border-radius: 8px;
}


.pb-mobile-menu-icon {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: #444957;

    stroke-width: 1.9;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* -----------------------------------------
   Dashboard
   ----------------------------------------- */

.pb-stat-icon {
    width: 23px !important;
    height: 23px !important;

    min-width: 23px;
    min-height: 23px;

    margin-bottom: 12px;

    display: block;

    fill: none;

    stroke: #5437e8;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/*
   Regra antiga usava span como ícone.
   Agora não deve interferir nos SVGs.
*/

.pb-stat > span {
    margin-bottom: 0 !important;
}


.pb-stat > .pb-stat-icon {
    margin-bottom: 12px !important;
}


/* -----------------------------------------
   Pequeno refinamento da sidebar
   ----------------------------------------- */

.pb-sidebar {
    padding-top: 18px !important;
}


@media (max-width: 760px) {

    .pb-brand-official {
        height: 49px;
    }

    .pb-brand-official-crop {
        transform: scale(.95);
    }

}



/* =========================================================
   LOGO OFICIAL DO SIDEBAR - IMAGEM 372x97
   ========================================================= */

.pb-brand-official {
    width: 100% !important;
    height: 54px !important;

    margin: 0 0 6px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: visible !important;

    background: transparent !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}


/*
   NÃO recorta a imagem.
   NÃO amplia partes.
   NÃO recria a marca.
   Apenas encaixa o PNG oficial inteiro.
*/

.pb-brand-official-crop {
    position: static !important;

    width: 190px !important;
    height: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: visible !important;

    flex: 0 0 auto !important;

    transform: none !important;
}


.pb-brand-official-crop img {
    position: static !important;

    display: block !important;

    width: 190px !important;
    height: auto !important;

    max-width: 190px !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;

    left: auto !important;
    top: auto !important;

    transform: none !important;

    user-select: none;
    pointer-events: none;
}


/* mantém "Gestão de Escolas" alinhado abaixo */

.pb-product-name {
    margin:
        5px
        8px
        20px !important;
}


@media (max-width: 760px) {

    .pb-brand-official {
        height: 52px !important;
    }

    .pb-brand-official-crop {
        width: 184px !important;
        transform: none !important;
    }

    .pb-brand-official-crop img {
        width: 184px !important;
        max-width: 184px !important;
    }

}


/* ===== CLIENTES CONTRATOS SALAS V4 CSS ===== */

.pb-contract-cards {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.pb-contract-card {
    padding: 17px;

    display: flex;
    flex-direction: column;

    gap: 16px;

    border: 1px solid #e6e8ef;
    border-radius: 11px;

    background: #fff;

    color: inherit;
    text-decoration: none;

    transition: .15s ease;
}

.pb-contract-card:hover {
    border-color: #c7c0ff;

    box-shadow:
        0 8px 22px rgba(60, 45, 160, .05);
}

.pb-contract-kind {
    display: inline-flex;

    margin-bottom: 7px;

    padding: 4px 7px;

    border-radius: 999px;

    background: #efedff;
    color: #5136df;

    font-size: 8px;
    font-weight: 700;

    text-transform: uppercase;
}

.pb-contract-card h3 {
    margin: 0 0 5px;

    font-size: 14px;
}

.pb-contract-card p {
    margin: 0;

    color: #7e8493;

    font-size: 10px;
}

.pb-contract-metrics {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;
}

.pb-contract-metrics div {
    padding: 10px;

    border-radius: 8px;

    background: #f8f8fb;
}

.pb-contract-metrics strong,
.pb-contract-metrics span {
    display: block;
}

.pb-contract-metrics strong {
    font-size: 15px;
}

.pb-contract-metrics span {
    margin-top: 2px;

    color: #8a8f9f;

    font-size: 8px;
}

.pb-contract-overview {
    margin-bottom: 17px;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.pb-contract-overview > div {
    padding: 17px;

    border: 1px solid #e6e8ef;
    border-radius: 11px;

    background: #fff;
}

.pb-contract-overview strong,
.pb-contract-overview span {
    display: block;
}

.pb-contract-overview strong {
    font-size: 23px;
}

.pb-contract-overview span {
    margin-top: 3px;

    color: #818696;

    font-size: 9px;
}

.pb-progress {
    width: 100%;
    height: 10px;

    overflow: hidden;

    border-radius: 999px;

    background: #ebecef;
}

.pb-progress > div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #2359ff,
            #6932ed
        );

    transition: width .2s ease;
}

.pb-contract-school-add {
    margin-top: 18px;
    padding-top: 18px;

    display: grid;
    grid-template-columns:
        1.5fr
        .7fr
        1.3fr
        auto;

    align-items: end;

    gap: 10px;

    border-top: 1px solid #edf0f3;
}

.pb-contract-school-add label {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.pb-contract-school-add label > span {
    color: #5d6271;

    font-size: 10px;
    font-weight: 600;
}

.pb-contract-school-add input,
.pb-contract-school-add select,
.pb-device-add select {
    width: 100%;
    min-width: 0;

    min-height: 41px;

    padding: 9px 11px;

    border: 1px solid #dce0e8;
    border-radius: 7px;

    background: #fff;
    color: #272b37;

    outline: none;

    font: inherit;
    font-size: 11px;
}

.pb-school-contract-list {
    display: flex;
    flex-direction: column;
}

.pb-school-contract {
    min-height: 66px;

    padding: 11px 2px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    border-bottom: 1px solid #eef0f4;

    color: inherit;
    text-decoration: none;
}

.pb-school-contract:last-child {
    border-bottom: 0;
}

.pb-school-contract > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.pb-school-contract > div:last-child {
    text-align: right;
}

.pb-school-contract strong {
    color: #2e3240;
    font-size: 12px;
}

.pb-school-contract span {
    color: #878c9c;
    font-size: 9px;
}

.pb-room-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.pb-room-card {
    min-height: 82px;

    padding: 14px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 4px;

    border: 1px solid #e7e9ef;
    border-radius: 9px;

    background: #fafbfc;

    color: inherit;
    text-decoration: none;
}

.pb-room-card:hover {
    border-color: #c8c2ff;
}

.pb-room-card strong {
    font-size: 12px;
}

.pb-room-card span {
    color: #858a9a;
    font-size: 9px;
}

.pb-section-link {
    margin-top: 14px;

    text-align: right;
}

.pb-section-link a {
    color: #5037df;

    font-size: 10px;
    font-weight: 600;

    text-decoration: none;
}

.pb-device-add-v4 {
    grid-template-columns:
        1fr
        1fr
        1fr
        1.2fr
        1.3fr
        auto;
}

.pb-device-add-v4 label {
    min-width: 0;
}


@media (max-width: 1100px) {

    .pb-device-add-v4,
    .pb-contract-school-add {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pb-device-add-v4 .pb-button,
    .pb-contract-school-add .pb-button {
        width: 100%;
    }

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

}


@media (max-width: 760px) {

    .pb-contract-cards,
    .pb-contract-overview,
    .pb-contract-school-add,
    .pb-device-add-v4,
    .pb-room-grid {
        grid-template-columns: 1fr;
    }

}


/* ===== CLIENT CONTACTS V5 RECOVERY ===== */

.pb-role-badge {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 999px;

    background: #efedff;
    color: #5137df;

    font-size: 9px;
    font-weight: 600;

    white-space: nowrap;
}


.pb-inline-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 2px;
}


.pb-inline-actions form {
    margin: 0;
}


#contatos-institucionais {
    scroll-margin-top: 90px;
}



/* =========================================================
   PENBOARD - STATUS DE INSTALACAO V7
   ========================================================= */

.pb-install-status {
    display: inline-flex;

    align-items: center;

    min-height: 23px;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;

    white-space: nowrap;
}


.pb-install-status.installed {
    color: #15713a;
    background: #e9faef;

    border: 1px solid #c8f0d4;
}


.pb-install-status.pending {
    color: #9a6500;
    background: #fff8e6;

    border: 1px solid #f4dfaa;
}


.pb-device-installation {
    margin-top: 5px;

    display: flex;
    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}


.pb-device-installation small {
    color: #838898;

    font-size: 9px;
}


.pb-device-add-v4 {
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        ) !important;
}


.pb-device-add-v4 .description {
    grid-column: span 2;
}


@media (max-width: 1100px) {

    .pb-device-add-v4 {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }

}


@media (max-width: 760px) {

    .pb-device-add-v4 {
        grid-template-columns:
            1fr !important;
    }

    .pb-device-add-v4 .description {
        grid-column: span 1;
    }

}

