@font-face {
    font-family: Roboto;
    src: url("assets/roboto.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    font-family: Roboto, "Segoe UI", Arial, sans-serif;
    --navy: #063764;
    --navy-deep: #052a4c;
    --ink: #0a2a45;
    --blue: #008fdb;
    --cyan: #00acf0;
    --ice: #eaf5fb;
    --pale: #f5fafd;
    --text: #1d3a50;
    --muted: #506b7f;
    --line: #dbe8ef;
    color: var(--text);
    background: var(--pale);
    line-height: 1.55;
}

* { box-sizing: border-box; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; }
.employee-panel { scrollbar-gutter: stable; }
a { color: var(--navy); text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.panel-width { width: min(1440px, calc(100% - 64px)); }
.panel-shell { display: grid; grid-template-columns: var(--panel-nav-width, 248px) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 2.3vw, 2rem); }
.panel-nav-collapsed { --panel-nav-width: 66px; }
.panel-shell > .page-content { min-width: 0; }
.panel-sidebar { min-width: 0; position: sticky; top: 1rem; }
.panel-nav-desktop {
    padding: .65rem;
    border: 1px solid #d4e5ef;
    border-radius: 15px;
    background: #edf5fa;
}
.panel-nav-controls { display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; }
.panel-nav-toggle {
    width: 44px;
    flex: none;
    padding: 0;
    border: 1px solid #d4e5ef;
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
}
.panel-nav-toggle[hidden], .panel-nav-search[hidden], .panel-nav-controls:not(:has(.panel-nav-toggle:not([hidden]))) { display: none; }
.panel-nav-toggle:hover { background: #e2eff7; border-color: #99c9e5; }
.panel-nav-toggle svg { width: 1.2rem; height: 1.2rem; }
.panel-nav-collapsed .panel-nav-toggle svg path { transform: translateX(29px) scaleX(-1); }
.panel-nav-search { position: relative; display: block; min-width: 0; flex: 1; }
.panel-nav-search input { padding-inline: 2rem .55rem; border-color: #c8deea; font-size: .875rem; font-weight: 400; }
.panel-nav-search svg { position: absolute; inset: 0 auto 0 .6rem; margin-block: auto; width: 1rem; height: 1rem; color: var(--muted); pointer-events: none; }
.panel-nav-empty { margin: .5rem .65rem; color: var(--muted); font-size: .85rem; }
.panel-nav-collapsed .panel-nav-desktop .panel-nav-search { display: none; }
.panel-nav-collapsed .panel-nav-controls { justify-content: center; }
.panel-nav-collapsed .panel-nav-desktop { padding-inline: .6rem; }
.panel-nav-collapsed .panel-nav-desktop a { justify-content: center; padding-inline: 0; }
.panel-nav-collapsed .panel-nav-desktop a span { display: none; }
.panel-nav-mobile {
    padding: .6rem;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 28px -24px rgba(6,55,100,.4);
}
.panel-nav-mobile { display: none; }
.panel-nav { display: block; }
.panel-nav ul { list-style: none; display: grid; gap: .25rem; margin: 0; padding: 0; }
.panel-nav a {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .55rem .8rem;
    border-inline-start: 3px solid transparent;
    border-radius: 8px;
    color: var(--navy);
    font-size: .94rem;
    font-weight: 650;
    text-decoration: none;
}
.panel-nav a svg { flex: none; width: 1.15rem; height: 1.15rem; }
.panel-nav a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-nav a:hover { background: #e2eff7; }
.panel-nav a[aria-current="page"] { border-inline-start-color: #0087c8; background: #d9edf9; }
.panel-nav-mobile summary { padding: .55rem .7rem; color: var(--navy); font-weight: 700; cursor: pointer; }
.panel-nav-mobile .panel-nav-search { margin: .35rem 0; }
.panel-nav-mobile[open] .panel-nav { padding-top: .35rem; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.masthead, nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.masthead { min-height: 80px; justify-content: space-between; padding-block: .75rem; }
.brand { display: block; width: 176px; flex: none; }
.nav-link { padding: .6rem .8rem; border-radius: 8px; font-size: .92rem; font-weight: 650; text-decoration: none; }
.nav-link:hover { background: var(--ice); }
.nav-link[aria-current="page"] { background: var(--ice); }
.skip-link { position: absolute; z-index: 1; left: 1rem; top: -100px; padding: .6rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
main { flex: 1; padding-block: clamp(1.4rem, 4.5vw, 3rem) 3rem; }
.page-heading {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.35rem, 4vw, 3rem);
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(ellipse at right top, #0e5e90, transparent 65%), var(--navy-deep);
}
.panel-layout .page-heading {
    justify-content: start;
    min-height: 236px;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    margin-bottom: 1.35rem;
}
.panel-layout h1 {
    max-width: 35ch;
    font-size: clamp(1.95rem, 3.55vw, 3rem);
    line-height: 1.12;
    text-wrap: wrap;
    overflow-wrap: anywhere;
}
.auth-layout { display: grid; align-items: stretch; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: 1.4rem; }
.auth-layout .page-heading {
    min-height: 435px;
    background: linear-gradient(0deg, #052a4c 3%, rgba(5,42,76,.89) 31%, rgba(5,42,76,.14) 100%),
        var(--navy-deep) url("assets/assistencia-tecnica.webp") center 42% / cover no-repeat;
}
.auth-layout .page-content { display: grid; align-items: center; }
.login-screen {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 2fr);
    min-height: 100svh;
    padding: 0;
}
.login-pane {
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    gap: clamp(1.8rem, 5vh, 3.5rem);
    padding: clamp(1.65rem, 4vw, 4rem);
    background: #fff;
}
.login-content { align-self: center; width: 100%; max-width: 36rem; margin-inline: 0; }
/* Telas médias: o painel do formulário ganha espaço em relação à foto. */
@media (min-width: 761px) and (max-width: 1100px) {
    .login-screen { grid-template-columns: minmax(380px, 1.15fr) minmax(0, 1fr); }
}
/* Telas largas: o formulário ocupa a largura útil do painel, alinhado ao logotipo, com campos mais altos. */
@media (min-width: 1100px) {
    .login-content input { min-height: 52px; font-size: 1.05rem; }
    .login-content button[type="submit"] { min-height: 52px; font-size: 1.05rem; }
    .login-content label { font-size: 1.02rem; }
    .login-links { font-size: 1rem; }
}
.login-content h1 { color: var(--ink); font-size: clamp(1.95rem, 2.65vw, 3.2rem); margin: .65rem 0 2rem; }
.login-pane nav { margin-left: -.8rem; }
.login-links { display: grid; justify-items: start; gap: .7rem; margin-top: 1.35rem; font-size: .95rem; }
.login-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: var(--navy-deep);
}
/* Mosaico dos setores: uma faixa por rotina, sob o mesmo azul. */
.login-mosaico { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; background: var(--navy-deep); }
.login-mosaico span { position: relative; background: center / cover no-repeat; }
.login-mosaico span:nth-child(1) { background-image: url("assets/login/login-1.webp"); }
.login-mosaico span:nth-child(2) { background-image: url("assets/login/login-2.webp"); }
.login-mosaico span:nth-child(3) { background-image: url("assets/login/login-3.webp"); }
.login-mosaico span:nth-child(4) { background-image: url("assets/login/login-4.webp"); }
.login-mosaico span:nth-child(5) { background-image: url("assets/login/login-5.webp"); }
/* Cada faixa clareia quando a frase cita o seu setor. */
.login-mosaico span::after { content: ""; position: absolute; inset: 0; background: rgba(5,42,76,.62); animation: login-faixa 12.5s infinite; }
.login-mosaico span:nth-child(2)::after { animation-delay: 2.5s; }
.login-mosaico span:nth-child(3)::after { animation-delay: 5s; }
.login-mosaico span:nth-child(4)::after { animation-delay: 7.5s; }
.login-mosaico span:nth-child(5)::after { animation-delay: 10s; }
@keyframes login-faixa { 0%, 100% { opacity: 1; } 4%, 18% { opacity: .25; } 24% { opacity: 1; } }
/* Degradê por cima: centro escuro para o texto, bordas mostrando as fotos. */
.login-image::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(70% 45% at 50% 50%, rgba(5,42,76,.92) 0%, rgba(5,42,76,.78) 45%, rgba(5,42,76,.25) 100%),
        linear-gradient(180deg, rgba(5,42,76,.15) 0%, rgba(5,42,76,.35) 100%);
}
/* Faixa fina em azul-claro, como o destaque do site institucional. */
.login-image::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.login-mensagem { position: relative; z-index: 1; max-width: 46rem; padding: clamp(1.75rem, 5vw, 5rem); }
.login-mensagem h2 { margin: 0 0 1.25rem; color: #fff; font-size: clamp(2.4rem, 4.3vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em; }
.login-mensagem h2 span { display: block; color: #7fd3ff; }
.login-mensagem-giro { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4ch; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(1.2rem, 1.7vw, 1.75rem); }
/* Palavra que alterna: um setor por vez, sem JavaScript. */
.login-giro { position: relative; display: inline-grid; height: 1.35em; overflow: hidden; color: #fff; font-weight: 700; }
.login-giro span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(100%); animation: login-giro 12.5s infinite; border-bottom: 2px solid var(--cyan); }
.login-giro span:nth-child(2) { animation-delay: 2.5s; }
.login-giro span:nth-child(3) { animation-delay: 5s; }
.login-giro span:nth-child(4) { animation-delay: 7.5s; }
.login-giro span:nth-child(5) { animation-delay: 10s; }
@keyframes login-giro { 0% { opacity: 0; transform: translateY(100%); } 4%, 18% { opacity: 1; transform: translateY(0); } 22%, 100% { opacity: 0; transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .login-giro span, .login-mosaico span::after { animation: none; }
    .login-giro span:first-child { opacity: 1; transform: none; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.narrow label + .password-field { margin-top: 1rem; }
.eyebrow { color: var(--navy); font-size: .77rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 .5rem; }
.page-heading .eyebrow { color: #a8e4ff; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.7vw, 3.65rem); line-height: 1.06; letter-spacing: -.035em; margin: 0; }
h2 { color: var(--ink); font-size: 1.32rem; line-height: 1.25; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; gap: .55rem; min-height: 44px; color: var(--navy); list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: ""; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.13rem) rotate(45deg); }
.account-menu[open] summary { background: var(--ice); }
.account-menu[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.account-menu-panel {
    position: absolute;
    z-index: 5;
    top: calc(100% + .35rem);
    right: 0;
    width: min(17rem, calc(100vw - 32px));
    padding: .55rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(6,55,100,.18);
}
.account-details { margin: 0 0 .4rem; padding: .5rem .65rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
.account-details dt { font-weight: 650; }
.account-details dd { margin: .15rem 0 .45rem; color: var(--muted); overflow-wrap: anywhere; }
.account-menu-panel a, .account-menu-panel button { display: flex; align-items: center; justify-content: start; width: 100%; min-height: 44px; padding: .45rem .65rem; border: 0; border-radius: 7px; background: #fff; font-size: .92rem; font-weight: 650; text-decoration: none; }
.account-menu-panel a:hover, .account-menu-panel button:hover { background: var(--ice); }
.account-menu-panel button { color: #802526; }
.account-name { display: grid; gap: .65rem; }
.account-name button { justify-self: start; }
.narrow .account-name button[type="submit"] { width: auto; margin: 0; }
.intro, .card p { color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1rem, 3.5vw, 1.85rem); margin-bottom: 1rem; box-shadow: 0 18px 36px -28px rgba(6,55,100,.35); }
.auth-layout .card { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.grid .card { display: flex; flex-direction: column; margin: 0; }
.grid .actions { margin-top: auto; }
label { display: grid; min-width: 0; gap: .4rem; font-weight: 650; }
.narrow label + label { margin-top: 1rem; }
.narrow button[type="submit"] { width: 100%; margin-top: 1.25rem; }
.password-field { margin-top: 1rem; }
.password-field:first-of-type { margin-top: 0; }
.password-field > label { margin-bottom: .4rem; }
.password-control { position: relative; }
.password-control:has(.password-toggle:not([hidden])) input { padding-right: 3.5rem; }
.password-toggle {
    position: absolute;
    inset: 0 .2rem 0 auto;
    width: 44px;
    padding: .55rem;
    border: 0;
    border-radius: 7px;
    color: var(--navy);
    background: transparent;
}
.password-toggle:hover { background: var(--ice); }
.password-toggle[hidden], .password-toggle[aria-pressed="false"] .eye-slash { display: none; }
.password-toggle svg { width: 22px; height: 22px; }
input, select, button, .button { font: inherit; min-height: 44px; }
input, select { width: 100%; min-width: 0; padding: .6rem .8rem; background: #fff; color: inherit; border: 1px solid #94aebe; border-radius: 9px; }
button, .button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 100px; padding: .48rem 1rem; color: #fff; background: var(--navy); font-weight: 650; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: var(--navy-deep); }
.secondary { color: var(--navy); background: var(--ice); border-color: #b7cfdd; }
.secondary:hover { background: #d8ecf7; }
.danger { color: #802526; background: #fff; border-color: #deadae; }
.danger:hover { background: #fff0ee; }
:focus-visible { outline: 3px solid #007cbb; outline-offset: 3px; }
.foot { margin: 1rem 0 0; text-align: center; }
.notice { padding: .85rem 1rem; border-radius: 9px; color: #781e1e !important; background: #fff0ee; border: 1px solid #edc4be; }
.notice.ok { color: #0e5036 !important; background: #e9f7ef; border-color: #b7d9c5; }
.accounts-scroll { overflow-x: auto; }
.accounts { width: 100%; min-width: 42rem; table-layout: fixed; border-collapse: collapse; }
.accounts-sector-column { width: 25%; }
.accounts-status-column { width: 8rem; }
.accounts-actions-column { width: 10rem; }
.accounts th, .accounts td { padding: .45rem .65rem; text-align: start; }
.accounts th { background: var(--pale); color: var(--navy); font-size: .88rem; }
.accounts th:last-child, .accounts td:last-child:not([colspan]) { text-align: end; }
.accounts tbody tr { border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.accounts td { height: 58px; }
.account-email, .account-profile { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-profile { color: var(--muted); font-size: .9rem; }
.account-row-actions { display: flex; align-items: center; justify-content: end; gap: .4rem; }
.account-edit { display: grid; gap: .75rem; padding: .5rem 0; }
.account-cancel { justify-self: start; }
.account-cancel { padding: .35rem; font-size: .88rem; }
.sector-fields { min-width: 0; margin: 0; padding: .45rem .8rem .65rem; border: 1px solid var(--line); border-radius: 10px; }
.sector-fields legend { padding-inline: .3rem; color: var(--navy); font-weight: 700; }
.sector-fields > div { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
.sector-fields label { display: flex; align-items: center; min-height: 36px; gap: .4rem; font-size: .9rem; }
.sector-fields input { width: 1.1rem; height: 1.1rem; min-height: 0; margin: 0; accent-color: var(--navy); }
.invite-card h2 { margin-bottom: 1rem; }
.account-invite {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, .6fr) auto;
    align-items: end;
    gap: .75rem 1rem;
}
.account-invite > button { white-space: nowrap; padding-inline: 1.35rem; }
.invite-sectors { min-width: 0; position: relative; }
.invite-sectors summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding: .6rem .85rem;
    border: 1px solid #94aebe;
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}
.invite-sectors summary::-webkit-details-marker { display: none; }
.invite-sectors summary::after {
    content: "";
    width: .5rem;
    height: .5rem;
    flex: none;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-.15rem) rotate(45deg);
}
.invite-sectors[open] summary::after { transform: translateY(.15rem) rotate(225deg); }
.invite-sectors[open] summary { border-color: var(--blue); border-radius: 9px 9px 0 0; }
.invite-sectors .sector-fields {
    position: absolute;
    z-index: 5;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: .6rem;
    border: 1px solid var(--blue);
    border-top: 0;
    border-radius: 0 0 9px 9px;
    background: #fff;
    box-shadow: 0 12px 24px -14px rgba(6,55,100,.5);
}
.invite-sectors .sector-fields legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.invite-sectors .sector-fields > div { gap: .4rem; }
.account-invite .sector-fields label {
    min-height: 40px;
    padding: .35rem .65rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--pale);
    cursor: pointer;
}
.account-invite .sector-fields label:hover { border-color: #94aebe; }
.account-invite .sector-fields label:has(input:checked) {
    border-color: #9ac4dd;
    background: var(--ice);
    color: var(--navy);
}
.invite-help { grid-column: 1 / -1; margin: 0; font-size: .9rem; }
.account-filters { margin: 0 0 .85rem; }
.account-filters summary { width: fit-content; list-style: none; gap: .5rem; }
.account-filters summary::-webkit-details-marker { display: none; }
.account-filters summary::after { content: ""; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.12rem) rotate(45deg); }
.account-filters[open] summary::after { transform: translateY(.12rem) rotate(225deg); }
.account-filter-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .75rem; padding: .9rem; margin-top: .6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--pale); }
.account-filter-form .actions { grid-column: 1 / -1; }
.accounts-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .35rem; font-size: .88rem; }
.accounts-footer p { margin: 0; }
.accounts-page-size { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.accounts-page-size label { display: flex; align-items: center; gap: .45rem; }
.accounts-page-size select { width: auto; }
.account-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: var(--pale);
    text-decoration: none;
}
.account-icon svg { width: 18px; height: 18px; }
.account-icon:hover, .account-icon-save { background: var(--ice); border-color: #a8cada; }
.account-icon-danger { color: #802526; background: #fff; border-color: #ead3d4; }
.account-icon-danger:hover { background: #fff0ee; border-color: #deadae; }
.account-delete { min-width: 0; padding: .85rem 1rem; border: 1px solid #ead3d4; border-radius: 12px; background: #fff8f7; overflow-wrap: anywhere; }
.account-delete p { margin: 0 0 .65rem; }
.status { display: inline-block; padding: .13rem .55rem; border-radius: 100px; background: #edf0f2; color: #425462; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.status.active { background: #e4f6ed; color: #146146; }
.status.pending { background: #fff3db; color: #765116; }
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--navy); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1rem; font-size: .88rem; font-weight: 650; }
.footer span { color: var(--muted); font-weight: 400; }

.library-page .page-heading {
    background:
        linear-gradient(90deg, var(--navy-deep), rgba(5,42,76,.88) 32%, rgba(5,42,76,.24) 66%, transparent 84%),
        var(--navy-deep) url("assets/biblioteca-documentos.webp") right 52% / cover no-repeat;
}
.panel-layout:has(.pricing-layout) .page-heading {
    background:
        linear-gradient(90deg, var(--navy-deep), rgba(5,42,76,.84) 31%, rgba(5,42,76,.27) 57%, transparent 76%),
        var(--navy-deep) url("assets/formacao-de-precos.webp") right 48% / cover no-repeat;
}
.access-admin-page .page-heading {
    background:
        linear-gradient(90deg, var(--navy-deep), rgba(5,42,76,.7) 33%, rgba(5,42,76,.17) 62%, transparent 78%),
        var(--navy-deep) url("assets/administrar-acessos.webp") right 50% / cover no-repeat;
}
.panel-identity { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem; margin: auto 0 0; padding-top: .75rem; color: #daedf8; overflow-wrap: anywhere; }
.panel-identity strong, .panel-identity a { color: #fff; font-size: 1.05rem; }
.panel-identity span {
    padding: .15rem .65rem;
    color: #def3ff;
    background: #0f4167;
    border: 1px solid #467296;
    border-radius: 100px;
    font-size: .82rem;
}
.library-filter-panel { padding: 0; margin-bottom: 1.15rem; }
.library-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .55rem;
    padding: .7rem .85rem;
}
.library-search-row > button { padding-inline: .85rem; }
.library-filter-toggle {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.library-filter-toggle svg { width: 1.15rem; height: 1.15rem; flex: none; }
.library-filter-toggle[aria-expanded="true"] { background: #d8ecf7; }
.library-filter-toggle[hidden], .library-filter-form[hidden] { display: none; }
.library-filter-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: .85rem; border-top: 1px solid var(--line); padding: .85rem 1rem 1rem; }
.library-filter-form label { font-size: .9rem; }
.library-filter-actions { grid-column: 1 / -1; justify-content: end; }
.library-results-heading { margin-bottom: .85rem; }
.library-results-heading h2 { margin: 0; }
.document-table { min-width: 37rem; }
.document-category-column { width: 18%; }
.document-actions-column { width: 11rem; }
.document-table td:nth-child(2), .document-code { color: var(--muted); font-size: .88rem; }
.document-code { margin: .15rem 0 0; }
.library-search-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.document-info { display: flex; align-items: center; gap: .6rem; }
.document-info h3 { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.document-description { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }
.document-menu { flex: none; width: 44px; }
.document-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--pale);
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}
.document-menu summary::-webkit-details-marker { display: none; }
.document-menu summary:hover, .document-menu[open] summary { background: var(--ice); }
.document-menu > a {
    display: block;
    width: max-content;
    margin-top: .25rem;
    padding: .4rem .55rem;
    transform: translateX(calc(44px - 100%));
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--pale);
    font-size: .84rem;
    font-weight: 650;
}
.document-menu > a:hover { background: var(--ice); }
.document-menu > a.danger { color: #802526; }
.document-menu > a.danger:hover { background: #fff0ee; }
.permissions-card { max-width: 44rem; }
.permission-form { display: grid; gap: 1rem; }
.permission-form fieldset { min-width: 0; margin: 0; padding: .45rem .85rem .75rem; border: 1px solid var(--line); border-radius: 10px; }
.permission-form legend { padding-inline: .4rem; font-weight: 700; }
.permission-form label { display: flex; align-items: center; min-height: 44px; gap: .55rem; font-size: .95rem; font-weight: 500; }
.permission-form input { flex: none; width: 1.12rem; min-height: 0; height: 1.12rem; margin: 0; accent-color: var(--navy); }
.permission-form:has(input[name="acesso"][value="todos"]:checked) .permission-profiles { display: none; }
.permission-profiles > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); column-gap: 1rem; }
.document-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 2rem;
    aspect-ratio: 1;
    color: var(--navy);
    border: 1px solid #5b89a8;
    border-radius: 50%;
    background: #d4eaf7;
}
.document-icon::before {
    content: "";
    width: .75rem;
    height: .95rem;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    background: repeating-linear-gradient(currentColor 0 1px, transparent 1px 3px) center / .38rem .44rem no-repeat;
}
.document-actions { align-items: start; justify-content: end; flex-wrap: nowrap; gap: .4rem; }
.document-actions:empty { display: none; }
.document-pdf-icon { color: #bd2026; }

.pricing-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.pricing-form, .pricing-result { margin: 0; border-top: 3px solid #46b7ee; }
.pricing-form { display: flex; flex-direction: column; }
.pricing-layout h2 { margin-bottom: 1rem; }
.pricing-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.pricing-fields label { display: flex; flex-direction: column; justify-content: start; font-size: .94rem; }
.pricing-fields input { font-size: 1rem; font-variant-numeric: tabular-nums; }
.pricing-fields [aria-invalid="true"] { border-color: #a34748; }
.pricing-error { color: #802526; font-size: .85rem; font-weight: 400; }
.pricing-guide { margin: .85rem 0 0; font-size: .9rem; }
.pricing-parameters { margin: 1.15rem 0; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; background: var(--pale); }
.pricing-parameters summary { color: var(--navy); font-size: .94rem; font-weight: 700; cursor: pointer; }
.pricing-parameters p { margin: .7rem 0 .9rem; font-size: .88rem; }
.pricing-parameters .pricing-fields { margin-bottom: .25rem; }
.pricing-submit { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.pricing-placeholder { padding: 1rem 1.1rem; margin: 0; border-radius: 12px; background: var(--ice); }
.pricing-totals, .pricing-breakdown { margin: 0; }
.pricing-totals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: .75rem 1rem; padding: .95rem 1.1rem; background: var(--ice); border-radius: 12px; }
.pricing-totals div + div { padding-inline-start: 1rem; border-inline-start: 1px solid #c4dce9; }
.pricing-totals dt { color: var(--navy); font-size: .89rem; font-weight: 650; }
.pricing-totals dd { margin: .2rem 0 0; color: var(--navy-deep); font-size: 1.18rem; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.pricing-totals div:first-child dd { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.pricing-breakdown-title { margin: 1.1rem 0 .4rem; color: var(--ink); font-size: .95rem; }
.pricing-breakdown div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .75rem; padding-block: .42rem; border-bottom: 1px solid var(--line); font-size: .91rem; }
.pricing-breakdown div:last-child { border-bottom: 0; padding-bottom: 0; }
.pricing-breakdown dd { margin: 0; color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
    .panel-shell { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .panel-sidebar { position: static; }
    .panel-nav-desktop { display: none; }
    .panel-nav-mobile { display: block; }
}
@media (max-width: 760px) {
    .account-invite { grid-template-columns: minmax(0, 1fr) auto; }
    .account-invite > label { grid-column: 1 / -1; }
    .account-invite > button { align-self: end; }
    .pricing-layout { grid-template-columns: minmax(0, 1fr); }
    .pricing-submit button { width: 100%; }
    .wrap { width: calc(100% - 32px); }
    .login-screen { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
    .login-pane { padding: 1.5rem max(1.5rem, calc((100vw - 26rem) / 2)); }
    .login-content h1 { margin-bottom: 1.5rem; }
    .login-image { min-height: clamp(150px, 26svh, 280px); }
    .login-mensagem { padding: 1.5rem; }
    .login-mensagem h2 { font-size: 1.9rem; }
    .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .auth-layout .page-heading { min-height: 180px; }
    .masthead { position: relative; gap: .35rem; }
    nav { gap: .2rem; }
    .nav-link { padding-inline: .5rem; }
    .account-menu { position: static; }
    .account-menu-panel { top: 100%; }
    .panel-layout .page-heading { min-height: 226px; }
    .panel-layout h1 { font-size: clamp(1.75rem, 5vw, 2.15rem); }
    .library-page .page-heading {
        background:
            linear-gradient(90deg, rgba(5,42,76,.97) 8%, rgba(5,42,76,.89) 49%, rgba(5,42,76,.43) 100%),
            var(--navy-deep) url("assets/biblioteca-documentos.webp") 74% center / cover no-repeat;
    }
    .panel-layout:has(.pricing-layout) .page-heading {
        background:
            linear-gradient(90deg, rgba(5,42,76,.96) 8%, rgba(5,42,76,.86) 45%, rgba(5,42,76,.32) 100%),
            var(--navy-deep) url("assets/formacao-de-precos.webp") 69% center / cover no-repeat;
    }
    .access-admin-page .page-heading {
        background:
            linear-gradient(90deg, rgba(5,42,76,.97) 8%, rgba(5,42,76,.88) 47%, rgba(5,42,76,.38) 100%),
            var(--navy-deep) url("assets/administrar-acessos.webp") 75% center / cover no-repeat;
    }
}
@media (max-width: 420px) {
    .account-invite { grid-template-columns: minmax(0, 1fr); }
    .account-invite > button { width: 100%; }
    .library-filter-form { grid-template-columns: minmax(0, 1fr); }
    .library-search-row { gap: .35rem; padding: .55rem; }
    .library-search-row > button { padding-inline: .6rem; font-size: .88rem; }
    .library-filter-toggle svg { display: none; }
    .pricing-fields, .pricing-totals { grid-template-columns: minmax(0, 1fr); }
    .pricing-totals div + div { padding: .65rem 0 0; border: 0; border-top: 1px solid #c4dce9; }
}
.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.upload-wide {
    grid-column: 1 / -1;
}
.upload-card { width: 100%; max-width: none; }
.upload-card > h2 { margin-bottom: .2rem; }
.upload-card > p { margin-top: 0; }
.upload-form { gap: 1.35rem; }
.upload-card .upload-grid label,
.upload-card .upload-file label { display: grid; align-items: start; gap: .4rem; font-weight: 650; }
.upload-card .upload-grid input,
.upload-card .upload-grid select,
.upload-card .upload-file input {
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: .6rem .8rem;
    border: 1px solid #94aebe;
    border-radius: 9px;
    background: #fff;
    font: inherit;
}
.upload-card .upload-grid input:focus,
.upload-card .upload-grid select:focus,
.upload-card textarea:focus { border-color: var(--blue); }
.upload-card .upload-technical {
    padding: 1rem;
    background: var(--pale);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.upload-card .upload-technical[hidden] { display: none; }
.upload-technical legend { color: var(--navy); }
.upload-access h3 { margin: 0 0 .2rem; color: var(--navy); font-size: 1rem; }
.upload-access p { margin: 0 0 .6rem; font-size: .92rem; }
.upload-access .sector-fields { padding: .6rem .8rem; }
.upload-access .sector-fields legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.upload-access .sector-fields > div { gap: .4rem; }
.upload-access .sector-fields label {
    min-height: 40px;
    padding: .35rem .65rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--pale);
    cursor: pointer;
}
.upload-access .sector-fields label:has(input:checked) {
    color: var(--navy);
    border-color: #9ac4dd;
    background: var(--ice);
}
.upload-file { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.upload-file p { margin: .3rem 0 0; font-size: .88rem; }
.upload-actions { padding-top: 1rem; border-top: 1px solid var(--line); }
.upload-card textarea {
    width: 100%;
    padding: .75rem;
    border: 1px solid #9ab6c9;
    border-radius: .5rem;
    font: inherit;
    resize: vertical;
}
@media (max-width: 600px) {
    .upload-grid { grid-template-columns: minmax(0, 1fr); }
}

.upload-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: .5rem 1rem;
    margin-bottom: 1.5rem;
}

.upload-details dt {
    font-weight: 700;
}

.upload-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.relatorio-fotografico-frame{display:block;width:100%;min-height:1500px;border:0;background:#fff;border-radius:8px}@media(max-width:650px){.relatorio-fotografico-frame{min-height:1600px}}

/* Navegação por áreas */
.panel-nav-group{margin:.15rem 0}.panel-nav-group[hidden]{display:none!important}.panel-nav-group summary{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.55rem .7rem;list-style:none;cursor:pointer;color:#24455d;font-size:.92rem;font-weight:650;border-radius:9px}.panel-nav-group summary::-webkit-details-marker{display:none}.panel-nav-group summary:hover,.panel-nav-group[open]>summary{background:#e0edf6;color:#063764}.panel-nav-group summary svg{width:19px;height:19px;flex:none}.panel-nav-group summary span{flex:1;min-width:0}.panel-nav-group summary b{font-size:15px;transition:transform .15s}.panel-nav-group[open]>summary b{transform:rotate(180deg)}.panel-nav-group ul{margin:.15rem 0 .4rem .95rem;padding-left:.45rem;border-left:1px solid #c8dce9}.panel-nav-group li[hidden]{display:none}.panel-nav-group a{font-size:.88rem;min-height:40px;padding:.45rem .55rem}.panel-group-empty{margin:.2rem .5rem .6rem 2.45rem;font-size:.8rem;line-height:1.35;color:#667f91}.panel-nav-collapsed .panel-nav-desktop .panel-nav-group summary{justify-content:center;padding-inline:0}.panel-nav-collapsed .panel-nav-desktop .panel-nav-group summary span,.panel-nav-collapsed .panel-nav-desktop .panel-nav-group summary b,.panel-nav-collapsed .panel-nav-desktop .panel-nav-group ul,.panel-nav-collapsed .panel-nav-desktop .panel-group-empty{display:none}.panel-nav-group summary:focus-visible{outline:2px solid #008fdb;outline-offset:2px}

/* Cabeçalho compacto da área do colaborador */
.employee-panel .top .masthead{min-height:64px;padding-block:.45rem}.employee-panel .top .brand{width:150px}.employee-panel main.panel-layout{padding-block:1rem 2rem}.employee-panel .panel-layout .page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:.1rem 1rem;min-height:0;margin:0 0 1rem;padding:0 0 .8rem;border:0;border-bottom:1px solid #d4e5ef;border-radius:0;color:#0a2a45;background:none}.employee-panel .panel-layout .page-heading .eyebrow{grid-column:1;grid-row:1;margin:0;color:#557286;font-size:.68rem;line-height:1.2}.employee-panel .panel-layout .page-heading h1{grid-column:1;grid-row:2;margin:.15rem 0 0;font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.15;letter-spacing:-.02em}.employee-panel .panel-layout .panel-identity{grid-column:2;grid-row:1 / 3;margin:0;color:#24455d;justify-content:flex-end;font-size:.88rem}.employee-panel .panel-layout .panel-identity span{color:#0755ac;background:#e6f2fb;border-color:#c8e2f4}@media(max-width:760px){.employee-panel .top .masthead{min-height:58px}.employee-panel .top .brand{width:132px}.employee-panel main.panel-layout{padding-block:.8rem 1.5rem}.employee-panel .panel-layout .page-heading{grid-template-columns:minmax(0,1fr);gap:.25rem}.employee-panel .panel-layout .panel-identity{grid-column:1;grid-row:3;justify-content:flex-start}.employee-panel .panel-layout .page-heading h1{font-size:1.4rem}.employee-panel .panel-layout .page-heading .eyebrow{font-size:.65rem}}

.employee-panel .panel-layout .panel-identity{padding-top:0}.employee-panel .panel-layout .panel-identity strong,.employee-panel .panel-layout .panel-identity a{color:#24455d;font-size:.9rem}

/* Menu compacto no telefone */
.panel-nav-mobile>summary svg{width:20px;height:20px;flex:none}.panel-nav-mobile>summary{display:flex;align-items:center;gap:8px;list-style:none}.panel-nav-mobile>summary::-webkit-details-marker{display:none}
@media(max-width:760px){.employee-panel .panel-shell{position:relative;display:block}.employee-panel .panel-sidebar{position:absolute;right:0;top:-4.15rem;z-index:20}.employee-panel .panel-nav-mobile{position:relative;padding:0;border:0;background:transparent;box-shadow:none}.employee-panel .panel-nav-mobile>summary{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;padding:0;border:1px solid #c7ddeb;border-radius:11px;background:white;color:#0b426d;cursor:pointer}.employee-panel .panel-nav-mobile>summary span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.employee-panel .panel-nav-mobile[open]>summary{background:#e9f5fc;border-color:#83bddc}.employee-panel .panel-nav-mobile-content{position:absolute;right:0;top:50px;width:min(310px,calc(100vw - 32px));max-height:min(70vh,540px);overflow-y:auto;box-sizing:border-box;padding:12px;border:1px solid #d1e4ef;border-radius:14px;background:#fff;box-shadow:0 14px 40px #092f4c33}.employee-panel .panel-layout .page-heading{padding-right:56px;min-height:3.4rem}.employee-panel .panel-layout .panel-identity{font-size:.8rem}.employee-panel .panel-layout .page-heading h1{font-size:1.3rem}.employee-panel .panel-layout .page-heading .eyebrow{font-size:.62rem}.employee-panel .panel-shell>.page-content{min-width:0}.employee-panel .panel-nav-mobile-content .panel-nav-search{margin-bottom:8px}}

@media(max-width:760px){.library-page .accounts-scroll{overflow:visible}.library-page .document-table{display:block;min-width:0;width:100%}.library-page .document-table colgroup,.library-page .document-table thead{display:none}.library-page .document-table tbody{display:block}.library-page .document-table .document-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;padding:10px 0}.library-page .document-table .document-row>td{display:block;height:auto;min-width:0;padding:0;text-align:left}.library-page .document-table .document-row>td:first-child{grid-column:1/-1}.library-page .document-table .document-row>td:nth-child(2){grid-column:1;padding-left:2.55rem;font-size:12px}.library-page .document-table .document-row>td:last-child{grid-column:2;text-align:right}.library-page .document-info h3{font-size:.94rem}.library-page .document-actions{gap:4px}.library-page .accounts-footer{gap:8px;flex-wrap:wrap}}

@media(max-width:760px){.employee-panel main.panel-layout:has(.relatorio-fotografico-frame){width:calc(100% - 16px)}.employee-panel .relatorio-fotografico-frame{border-radius:8px}}

.panel-report-mobile-actions{display:none}.panel-icon-edit{display:none}.panel-report-preview.em-previa .panel-icon-edit{display:block}.panel-report-preview.em-previa .panel-icon-view{display:none}@media(max-width:760px){.employee-panel .panel-sidebar{display:flex;align-items:center;gap:6px}.employee-panel .panel-report-mobile-actions{display:flex;gap:6px}.employee-panel .panel-report-mobile-actions button,.employee-panel .panel-nav-mobile>summary{display:grid;place-items:center;box-sizing:border-box;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #c7ddeb;border-radius:50%;background:#fff;color:#0b426d;cursor:pointer}.employee-panel .panel-report-mobile-actions svg{width:18px;height:18px}.employee-panel .panel-nav-mobile>summary svg{width:18px;height:18px}.employee-panel .panel-report-mobile-actions button:focus-visible,.employee-panel .panel-nav-mobile>summary:focus-visible{outline:2px solid #1688df;outline-offset:2px}.employee-panel .panel-nav-mobile-content{top:43px}.employee-panel main.panel-layout:has(.relatorio-fotografico-frame) .page-heading{padding-right:128px}.employee-panel main.panel-layout:has(.relatorio-fotografico-frame) .panel-sidebar{top:-3.85rem}}

/* Administração de acessos: setores visíveis e hierarquia clara. */
.access-admin-page { border:1px solid #d4e5f1; border-radius:16px; box-shadow:0 8px 22px rgba(13,55,88,.05); }
.access-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:1.1rem; }
.access-card-heading h2 { margin:0 0 .25rem; }
.access-card-heading p:not(.access-kicker) { margin:0; color:#58718a; font-size:.9rem; }
.access-kicker { color:#4c7898; font-size:.67rem; letter-spacing:.12em; font-weight:750; margin:0 0 .3rem; }
.access-master-badge,.master-protegido { display:inline-flex; align-items:center; border:1px solid #c4dced; border-radius:999px; color:#1c5b87; background:#eff8fd; font-size:.74rem; font-weight:700; padding:.35rem .7rem; white-space:nowrap; }
.access-admin-page .account-invite { grid-template-columns:minmax(0,1fr) auto; gap:1rem; }
.access-admin-page .account-invite > label { grid-column:1; }
.access-admin-page .account-invite > button { grid-column:2; grid-row:1; min-height:44px; }
.access-sector-selection { grid-column:1 / -1; padding:1rem; border:1px solid #dceaf4; border-radius:12px; background:#f8fbfe; }
.access-sector-selection .sector-fields { padding:0; border:0; }
.access-sector-selection .sector-fields legend { padding:0; margin-bottom:.5rem; font-size:.91rem; }
.access-sector-selection .sector-fields > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:.55rem; }
.access-sector-selection .sector-fields label { background:#fff; min-height:45px; }
.access-sector-selection > p { margin:.7rem 0 0; color:#59738a; font-size:.8rem; }
.access-admin-page .invite-help { color:#59738a; font-size:.82rem; }
.access-accounts .accounts { min-width:42rem; }
.access-accounts .accounts th { padding:.75rem; border-bottom:1px solid #dbe9f3; background:#f3f8fc; font-size:.78rem; }
.access-accounts .accounts td { padding:.75rem; }
.access-accounts .account-profile { white-space:normal; overflow-wrap:anywhere; }
.access-accounts .master-protegido { font-size:.69rem; }
@media(max-width:760px){.access-admin-page .account-invite { grid-template-columns:minmax(0,1fr); }.access-admin-page .account-invite > label,.access-admin-page .account-invite > button,.access-sector-selection { grid-column:1; }.access-admin-page .account-invite > button { grid-row:auto; justify-self:start; }.access-card-heading { flex-wrap:wrap; }.access-accounts .accounts-scroll{overflow:visible}.access-accounts .accounts{display:block;min-width:0}.access-accounts .accounts colgroup,.access-accounts .accounts thead{display:none}.access-accounts .accounts tbody{display:block}.access-accounts .accounts tbody>tr:not(.account-expanded){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;padding:.8rem 0}.access-accounts .accounts tbody>tr:not(.account-expanded)>td{display:block;height:auto;min-width:0;padding:0;text-align:left}.access-accounts .accounts tbody>tr:not(.account-expanded)>td:first-child{grid-column:1 / -1}.access-accounts .accounts tbody>tr:not(.account-expanded)>td:nth-child(2){grid-column:1}.access-accounts .accounts tbody>tr:not(.account-expanded)>td:nth-child(3){grid-column:1}.access-accounts .accounts tbody>tr:not(.account-expanded)>td:nth-child(4){grid-column:2;grid-row:2 / span 2;align-self:center}.access-accounts .account-email{white-space:normal;overflow-wrap:anywhere}.access-accounts .account-expanded,.access-accounts .account-expanded td{display:block;width:100%;height:auto}.access-accounts .accounts-footer{align-items:flex-start} }
.access-accounts .accounts-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem 1rem; margin:1rem 0 .7rem; }
.access-accounts .accounts-toolbar-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; }
.access-accounts .accounts-toolbar form { margin:0; }
.access-accounts .account-quick-search { display:flex; align-items:stretch; flex:1 1 17rem; max-width:25rem; }
.access-accounts .account-search-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.access-accounts .account-quick-search input { min-width:0; border-radius:9px 0 0 9px; }
.access-accounts .account-quick-search button { border-radius:0 9px 9px 0; white-space:nowrap; }
.access-accounts .accounts { min-width:66rem; table-layout:fixed; }
.access-accounts .accounts-name-column { width:17%; }
.access-accounts .accounts-group-column { width:19%; }
.access-accounts .accounts-email-column { width:25%; }
.access-accounts .accounts-status-column { width:12rem; }
.access-accounts .accounts-actions-column { width:12rem; }
.access-accounts .accounts th, .access-accounts .accounts td { padding:.8rem 1rem; vertical-align:middle; }
.access-accounts .accounts td { height:auto; }
.access-accounts .account-name, .access-accounts .account-group, .access-accounts .account-email { display:block; overflow-wrap:anywhere; }
.access-accounts .account-sector { display:block; color:#5a7189; font-size:.77rem; margin-top:.25rem; overflow-wrap:anywhere; }
.access-accounts .status { display:inline-block; max-width:100%; white-space:normal; line-height:1.3; }
.access-accounts .account-row-actions { justify-content:flex-end; gap:.45rem; }
.access-accounts .account-row-actions form { margin:0; }
@media(max-width:760px) {
 .access-accounts .accounts { min-width:0; }
 .access-accounts .account-quick-search { max-width:none; }
 .access-accounts .accounts tbody>tr:not(.account-expanded) { grid-template-columns:minmax(0,1fr) auto; gap:.4rem .8rem; }
 .access-accounts .accounts tbody>tr:not(.account-expanded)>td:first-child { grid-column:1 / -1; }
 .access-accounts .accounts tbody>tr:not(.account-expanded)>td:nth-child(2),
 .access-accounts .accounts tbody>tr:not(.account-expanded)>td:nth-child(3),
 .access-accounts .accounts tbody>tr:not(.account-expanded)>td:nth-child(4) { grid-column:1; grid-row:auto; }
 .access-accounts .accounts tbody>tr:not(.account-expanded)>td:nth-child(5) { grid-column:2; grid-row:2 / span 3; align-self:center; }
 .access-accounts .account-row-actions { flex-wrap:wrap; max-width:8rem; }
}
.access-accounts .accounts-tools { display:flex; flex-wrap:wrap; gap:.5rem; margin:.15rem 0 .85rem; }
.access-accounts .account-tool { position:relative; margin:0; }
.access-accounts .account-tool summary { display:flex; align-items:center; gap:.55rem; width:auto; min-height:2.35rem; padding:.45rem .75rem; border-radius:6px; list-style:none; font-size:.86rem; }
.access-accounts .account-tool summary::-webkit-details-marker { display:none; }
.access-accounts .account-tool summary::after { content:""; width:.38rem; height:.38rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-.1rem) rotate(45deg); }
.access-accounts .account-tool[open] summary::after { transform:translateY(.1rem) rotate(225deg); }
.access-accounts .account-tool-panel { position:absolute; z-index:10; top:calc(100% + .35rem); left:0; display:grid; gap:.65rem; width:min(19rem, calc(100vw - 3rem)); padding:.85rem; background:#fff; border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 22px rgba(13,50,85,.15); }
.access-accounts .account-tool-panel label { display:grid; gap:.25rem; font-size:.8rem; font-weight:600; }
.access-accounts .account-tool-panel select { width:100%; min-width:0; }
.access-accounts .account-tool-actions { display:flex; align-items:center; gap:.8rem; margin-top:.15rem; }
.access-accounts .account-tool-actions button { min-height:2.1rem; padding:.35rem .75rem; border-radius:6px; }
.access-accounts .accounts-filter-row { display:flex; align-items:end; flex-wrap:wrap; gap:.6rem; margin:.1rem 0 1rem; }
.access-accounts .account-quick-filters { display:flex; align-items:end; flex-wrap:wrap; gap:.5rem; margin:0; }
.access-accounts .account-quick-filters label { display:grid; gap:.22rem; font-size:.76rem; font-weight:600; color:#36536e; }
.access-accounts .account-quick-filters select { width:auto; min-width:10rem; min-height:2.4rem; border-radius:5px; font-size:.85rem; }
.access-accounts .accounts-tools { margin:0; }
.access-accounts .accounts-toolbar button, .access-accounts .accounts-toolbar .button,
.access-accounts .account-quick-filters button, .access-accounts .accounts-tools summary,
.access-accounts .accounts-footer button, .access-accounts .accounts-footer .button { border-radius:5px; min-height:2.4rem; }
.access-accounts .account-quick-search input { border-radius:5px 0 0 5px; }
.access-accounts .account-quick-search button { border-radius:0 5px 5px 0; }
@media(max-width:760px) {
 .access-accounts .account-quick-filters { width:100%; }
 .access-accounts .account-quick-filters label { flex:1 1 8.5rem; }
 .access-accounts .account-quick-filters select { width:100%; min-width:0; }
}
.access-accounts .accounts-filter-row { display:block; position:relative; margin:.5rem 0 1rem; padding:0; }
.access-accounts .account-filter-heading { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:.6rem 1rem; padding-right:7rem; }
.access-accounts .account-inline-sort { display:flex; align-items:end; gap:.45rem; margin:0; }
.access-accounts .account-inline-sort label { display:grid; gap:.22rem; color:#36536e; font-size:.76rem; font-weight:600; }
.access-accounts .account-inline-sort select { min-height:2.4rem; width:auto; min-width:9rem; border-radius:5px; font-size:.85rem; }
.access-accounts .account-inline-sort button { min-height:2.4rem; border-radius:5px; }
.access-accounts .account-filters.account-tool { position:static; }
.access-accounts .account-filters.account-tool summary { position:absolute; top:auto; right:0; bottom:0; border-radius:5px; }
.access-accounts .account-filters.account-tool[open] summary { bottom:auto; top:1.05rem; }
.access-accounts .account-filters .account-tool-panel { position:static; display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; width:100%; box-sizing:border-box; margin-top:.7rem; padding:.8rem; background:#f4f8fc; box-shadow:none; }
.access-accounts .account-filters .account-tool-panel label { flex:1 1 11rem; }
.access-accounts .account-filters .account-tool-actions { min-height:2.4rem; }
@media(max-width:760px) {
 .access-accounts .account-filter-heading { padding-right:0; }
 .access-accounts .account-inline-sort { flex-wrap:wrap; }
 .access-accounts .account-filters.account-tool summary, .access-accounts .account-filters.account-tool[open] summary { position:static; width:fit-content; margin-top:.6rem; }
}
.access-accounts .accounts-sync { flex:none; margin:0; }
.access-accounts .accounts-sync .accounts-sync-button { display:grid; place-items:center; width:2.65rem; height:2.65rem; min-width:2.65rem; padding:0; border-radius:50%; border:1px solid #c9deef; background:#f1f7fc; color:#075294; }
.access-accounts .accounts-sync .accounts-sync-button:hover { background:#deedf9; border-color:#99c1df; }
.access-accounts .accounts-sync .accounts-sync-button:focus-visible { outline:3px solid #68b5e7; outline-offset:2px; }
.access-accounts .accounts-toolbar { justify-content:flex-end; }
.access-accounts .account-row-actions .account-icon:disabled { opacity:.35; cursor:not-allowed; box-shadow:none; }
.access-accounts .account-details { padding:.9rem; background:#f4f8fc; border:1px solid #dbe9f3; border-radius:8px; }
.access-accounts .account-details p { margin:.4rem 0; overflow-wrap:anywhere; }
.access-accounts .account-details .button { margin-top:.4rem; }
.access-accounts .account-extra-action { display:inline-block; margin:.6rem .55rem 0 0; }
.access-admin-page button:not(.account-icon):not(.accounts-sync-button),
.access-admin-page a.button,
.access-admin-page summary.button {
  min-height:2.4rem; padding:.5rem .85rem; border:1px solid #bdd4e7; border-radius:5px;
  background:#f0f7fc; color:#0a3d70; font-size:.86rem; font-weight:600;
  box-shadow:none;
}
.access-admin-page button:not(.account-icon):not(.accounts-sync-button):hover,
.access-admin-page a.button:hover,
.access-admin-page summary.button:hover { background:#dfeef9; border-color:#8dbce0; }
.access-admin-page button:not(.account-icon):not(.accounts-sync-button):focus-visible,
.access-admin-page a.button:focus-visible,
.access-admin-page summary.button:focus-visible { outline:3px solid #80bee9; outline-offset:2px; }
.access-admin-page button.danger:not(.account-icon) { color:#a12a35; background:#fff4f4; border-color:#eac2c5; }
.access-accounts .accounts-toolbar { width:100%; }
.access-accounts .account-quick-search { width:100%; max-width:none; flex:1 1 100%; }
.access-accounts .account-quick-search input { min-height:2.75rem; padding:.65rem .9rem; border:1px solid #bdd4e7; background:#fbfdff; font-size:.9rem; }
.access-accounts .account-quick-search input:focus { outline:2px solid #80bee9; outline-offset:-2px; }
.access-accounts .account-quick-search button { min-width:5.5rem; border-radius:0 5px 5px 0 !important; }
.access-admin-page .account-invite > button { align-self:end; }
.access-accounts .accounts th:last-child { text-align:center; }
.access-accounts .account-row-actions { justify-content:center; }
.access-accounts .account-edit-card { padding:1rem 1.1rem; border:1px solid #d4e5f2; border-radius:10px; background:#f5f9fc; }
.access-accounts .account-edit-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:.35rem .7rem; }
.access-accounts .account-edit-heading strong { color:#0b345d; font-size:1rem; }
.access-accounts .account-edit-heading span { color:#526f88; font-size:.87rem; overflow-wrap:anywhere; }
.access-accounts .account-edit-heading p { flex-basis:100%; margin:0; color:#617a90; font-size:.82rem; }
.access-accounts .account-edit { gap:.9rem; padding:.7rem 0 0; }
.access-accounts .account-edit .sector-fields { padding:0; border:0; }
.access-accounts .account-edit .sector-fields legend { padding:0; margin-bottom:.5rem; font-size:.85rem; }
.access-accounts .account-edit .sector-fields > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(10rem,1fr)); gap:.55rem; }
.access-accounts .account-edit .sector-fields label { min-width:0; min-height:2.8rem; padding:.5rem .65rem; box-sizing:border-box; border:1px solid #d5e3ee; border-radius:7px; background:#fff; color:#244765; font-size:.84rem; }
.access-accounts .account-edit .sector-fields label:has(input:checked) { background:#e8f4fc; border-color:#8fbfe0; color:#073d6a; }
.access-accounts .account-edit .sector-fields label:hover { border-color:#8fbfe0; }
.access-accounts .account-edit-primary { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }
.access-accounts .account-extra-action { margin:.7rem .5rem 0 0; }
@media(max-width:600px) { .access-accounts .account-edit .sector-fields > div { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:360px) { .access-accounts .account-edit .sector-fields > div { grid-template-columns:1fr; } }
.access-accounts .account-action-placeholder { display:block; flex:none; width:44px; height:44px; }
.access-admin-page .invite-access-info { grid-column:1 / -1; display:flex; align-items:center; flex-wrap:wrap; gap:.3rem .8rem; padding:.8rem 1rem; border:1px solid #d7e8f3; border-radius:8px; background:#f4f9fd; color:#456781; font-size:.85rem; }
.access-admin-page .invite-access-info strong { color:#103f69; }
.access-admin-page .account-invite .invite-help { grid-column:1 / -1; margin:0; }
.access-admin-page .account-invite > label input { min-height:2.75rem; }
@media(max-width:760px){ .access-admin-page .invite-access-info { grid-column:1; } }
@keyframes account-detail-enter { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
.access-accounts .account-expanded-enter > td { animation:account-detail-enter .18s ease-out both; }
@media(prefers-reduced-motion:reduce) { .access-accounts .account-expanded-enter > td { animation:none; } }
.access-accounts .accounts-actions-column { width:14rem; }
.access-accounts .accounts th:last-child { text-align:left; }
.access-accounts .account-row-actions { justify-content:flex-start; }

/* Minha conta → Assinatura */
.assinatura-ajuda { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.assinatura-quadro { margin: 14px 0; padding: 12px; border: 1px dashed #9cc4e2; border-radius: 10px; background: #fff; text-align: center; }
.assinatura-quadro.is-nova { border-style: solid; border-color: var(--blue); background: var(--pale); }
.assinatura-quadro figcaption { margin-bottom: 8px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: left; }
.assinatura-quadro img { display: block; margin: 0 auto; background: #fff; }
