@font-face {
  font-family: Inter;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #183b3a;
  background: #f5f7f6;
  letter-spacing: 0;
  --ink: #183b3a;
  --muted: #6b7977;
  --teal: #176866;
  --green: #9bc832;
  --line: #e1e7e5;
  --surface: #ffffff;
  --canvas: #f3f8f6;
  --danger: #a44040;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Login */
.brand { display: block; width: 164px; }
.brand img { display: block; width: 100%; }
.eyebrow { color: #678425; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lead { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.65; }
.login { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(500px, 1.08fr) minmax(520px, .92fr); overflow: hidden; background: radial-gradient(circle at 54% 16%, rgba(214, 239, 230, .68), transparent 27%), linear-gradient(135deg, #fbfdfc 0, #f2faf7 52%, #eef7f4 100%); }
.login::before, .login::after { content: ""; position: absolute; pointer-events: none; border-radius: 62% 38% 66% 34%; background: rgba(196, 228, 216, .24); transform: rotate(28deg); }
.login::before { top: -110px; right: 2%; width: 390px; height: 290px; }
.login::after { left: -170px; bottom: 8%; width: 400px; height: 230px; }
.login-intro { position: relative; z-index: 1; display: flex; min-height: 100vh; flex-direction: column; padding: clamp(42px, 6vh, 76px) clamp(45px, 8vw, 130px) 0; }
.login-brand { width: clamp(176px, 15vw, 225px); margin-bottom: clamp(40px, 6vh, 72px); }
.login-copy { position: relative; z-index: 2; max-width: 620px; padding-bottom: 290px; }
.login-copy > .eyebrow { display: flex; align-items: center; gap: 13px; font-size: 13px; }
.login-copy > .eyebrow::before { content: ""; width: 32px; height: 2px; background: #83a624; }
.login h1 { margin: 15px 0 12px; color: #082f3e; font-size: clamp(42px, 4.3vw, 62px); letter-spacing: -.048em; line-height: 1.02; }
.login .lead { max-width: 620px; color: #66758a; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; }
.login-benefits { display: grid; gap: 22px; margin-top: clamp(30px, 4vh, 48px); }
.login-benefits article { display: flex; align-items: center; gap: 18px; }
.login-benefits article > span { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #e2f5e5, #f2faef); color: #218142; box-shadow: inset 0 0 0 1px rgba(74, 145, 65, .07); }
.login-benefits article > span svg { width: 27px; height: 27px; }
.login-benefits strong { display: block; margin-bottom: 5px; color: #0d3545; font-size: 17px; }
.login-benefits p { max-width: 340px; margin: 0; color: #6c788b; font-size: 14px; line-height: 1.45; }
.login-visual { position: absolute; z-index: 1; left: 0; bottom: 0; width: min(54vw, 780px); height: clamp(215px, 29vh, 340px); overflow: hidden; border-radius: 0 58% 0 0 / 0 48% 0 0; background: linear-gradient(90deg, rgba(232, 245, 238, .12), transparent), url('/assets/images/hero-acolhimento.jpg') center 43%/cover; box-shadow: 0 -16px 46px rgba(31, 83, 70, .08); }
.login-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242, 250, 247, .24), transparent 40%); }
.login-access { position: relative; z-index: 2; display: grid; min-height: 100vh; place-items: center; padding: clamp(28px, 5vw, 72px); }
.login-card { width: min(100%, 590px); padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(28, 83, 78, .12); border-radius: 22px; background: rgba(255, 255, 255, .93); box-shadow: 0 24px 70px rgba(28, 74, 69, .12); backdrop-filter: blur(20px); animation: loginCardEnter 700ms cubic-bezier(.22,1,.36,1) both; }
.login-card header h2 { margin: 0 0 6px; color: #082f3e; font-size: clamp(28px, 3vw, 39px); letter-spacing: -.04em; line-height: 1.08; }
.login-card header p { margin: 0; color: #748092; font-size: 16px; line-height: 1.45; }
.role-field { min-width: 0; margin: 26px 0 22px; padding: 0; border: 0; }
.role-field legend, .login-field > span:first-child { margin-bottom: 8px; color: #123542; font-size: 13px; font-weight: 800; }
.role-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.role-option { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 20px; align-items: center; gap: 10px; min-height: 88px; padding: 15px; border: 1px solid #d9e1df; border-radius: 12px; background: #fff; color: #31504e; text-align: left; transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.role-option:hover { transform: translateY(-2px); border-color: #87b5ae; box-shadow: 0 9px 22px rgba(26, 89, 82, .08); }
.role-option.active { border-color: #15827a; background: linear-gradient(145deg, #f8fdfb, #eef8f4); box-shadow: inset 0 0 0 1px rgba(21, 130, 122, .08); }
.role-option > span:first-child { color: #096b67; }
.role-option > span:first-child svg { width: 29px; height: 29px; }
.role-option strong, .role-option small { display: block; }
.role-option strong { margin-bottom: 3px; color: #143844; font-size: 13px; }
.role-option small { color: #7b8796; font-size: 10px; line-height: 1.3; }
.role-option i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #0b796f; color: #fff; opacity: 0; transform: scale(.7); transition: opacity 180ms ease, transform 180ms ease; }
.role-option.active i { opacity: 1; transform: scale(1); }
.role-option i svg { width: 12px; height: 12px; stroke-width: 3; }
.login-field { display: block; margin-top: 18px; }
.login-field > span:first-child { display: block; }
.login-input-wrap { position: relative; display: flex; align-items: center; min-height: 54px; border: 1px solid #d8e0df; border-radius: 12px; background: #fff; color: #72807e; transition: border-color 180ms ease, box-shadow 180ms ease; }
.login-input-wrap:focus-within { border-color: #278b84; box-shadow: 0 0 0 4px rgba(39, 139, 132, .1); }
.login-input-wrap > svg { width: 19px; height: 19px; margin-left: 17px; }
.login-input-wrap input { width: 100%; min-width: 0; height: 52px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: #173f3d; font-size: 13px; }
.login-input-wrap input::placeholder { color: #a0aaa8; }
.password-visibility { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border: 0; background: transparent; color: #536b78; }
.password-visibility:hover { color: #08766f; }
.login-utilities { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 20px; color: #7b8886; font-size: 11px; }
.login-utilities button { padding: 0; border: 0; background: transparent; color: #08766f; font-weight: 750; }
.login-utilities button:hover { text-decoration: underline; text-underline-offset: 3px; }
.login-submit { width: 100%; min-height: 52px; justify-content: center; border-radius: 11px; background: linear-gradient(135deg, #14837c, #08746d); font-size: 15px; }
.login-submit svg { margin-left: 5px; }
.login-feedback { min-height: 18px; margin: 9px 0 0; font-size: 11px; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 15px 0; color: #899391; font-size: 11px; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: #e3e9e7; }
.login-help { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #eff8f4; color: #1c514e; text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.login-help:hover { transform: translateY(-2px); background: #e8f5f0; }
.login-help > svg:first-child { width: 28px; height: 28px; color: #29854a; }
.login-help strong, .login-help small { display: block; }
.login-help strong { margin-bottom: 3px; font-size: 12px; }
.login-help small { color: #7a8986; font-size: 10px; }
.login-help > svg:last-child { color: #255d61; }
.login-security { display: flex; align-items: flex-start; gap: 12px; margin: 19px 0 0; padding: 18px 5px 0; border-top: 1px solid #e6ecea; color: #7d8987; font-size: 10px; line-height: 1.45; }
.login-security > svg { width: 20px; height: 20px; flex: 0 0 auto; color: #647a78; }
.login-security strong { display: block; color: #566b68; }

@keyframes loginCardEnter { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Estrutura */
.shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.side { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 28px 16px 20px; border-right: 1px solid rgba(31, 107, 101, .12); background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 10px 0 36px rgba(22, 76, 70, .035); backdrop-filter: blur(18px); }
.side .brand { width: 144px; margin: 0 10px 36px; }
.nav { display: grid; gap: 4px; }
.nav button { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 14px; border: 0; border-radius: 12px; background: transparent; color: #5d6d6b; font-size: 13px; font-weight: 680; text-align: left; transition: color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.nav button:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(20, 61, 59, .08); }
.nav button.active { background: linear-gradient(135deg, #e7f3ef, #f0f8f4); color: #0c615d; box-shadow: inset 0 0 0 1px rgba(29, 116, 108, .08); }
.nav button.active::before { content: ""; position: absolute; left: -16px; width: 4px; height: 28px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--green), #68ae47); }
.nav button svg { width: 17px; height: 17px; }
.side-foot { margin-top: auto; padding: 17px 10px 0; border-top: 1px solid var(--line); }
.side-foot strong, .side-foot small { display: block; overflow: hidden; text-overflow: ellipsis; }
.side-foot strong { font-size: 13px; }
.side-foot small { margin-top: 4px; color: #7a8987; font-size: 11px; }
.logout { width: 100%; margin-top: 14px; }
.side-identity { display: flex; min-width: 0; align-items: center; gap: 10px; }
.side-identity > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e3f1ec; color: #176963; font-size: 11px; font-weight: 850; }
.side-identity > div { min-width: 0; }
.employee-shell .side { padding-top: 30px; }
.employee-shell .side .brand { width: 174px; margin: 0 10px 46px; }
.employee-shell .nav { gap: 7px; }
.employee-shell .nav button { min-height: 50px; font-size: 14px; }
.employee-shell .logout { justify-content: flex-start; border: 0; box-shadow: none; }

.workspace { min-width: 0; background: radial-gradient(circle at 78% 0, rgba(167, 215, 199, .18), transparent 31%), linear-gradient(180deg, #f7fbf9 0, var(--canvas) 34%); }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 clamp(22px, 3vw, 46px); border-bottom: 1px solid rgba(31, 107, 101, .1); background: rgba(249, 252, 251, .88); backdrop-filter: blur(18px); }
.topbar-context { display: grid; gap: 2px; }
.topbar-context span { color: #83908e; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.topbar h1 { margin: 0; font-size: 16px; font-weight: 760; }
.topbar-user { display: grid; grid-template-columns: 40px minmax(0, auto) 18px; align-items: center; gap: 10px; padding: 5px 8px; border: 0; border-radius: 12px; background: transparent; color: #244744; text-align: left; transition: background 180ms ease; }
.topbar-user:hover { background: #edf6f2; }
.topbar-avatar { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #dceee8, #eff7f4); color: #145f5b; font-size: 12px; font-weight: 850; }
.topbar-user strong, .topbar-user small { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-user strong { font-size: 11px; }
.topbar-user small { margin-top: 3px; color: #7a8986; font-size: 9px; }
.topbar-user > svg { width: 15px; height: 15px; transform: rotate(90deg); }
.content { width: 100%; max-width: 1480px; margin: 0 auto; padding: 42px clamp(22px, 3.2vw, 50px) 72px; }

/* Cabecalhos e comandos */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.page-head h2 { margin: 7px 0 8px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.08; }
.page-head p { margin: 0; color: var(--muted); font-size: 13px; }
.page-head.compact { margin-bottom: 14px; }
.page-head.compact h3 { margin: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 9px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 15px; border-radius: 6px; font-size: 13px; font-weight: 760; transition: transform 150ms ease, box-shadow 150ms ease; }
.primary { border: 1px solid #176866; background: #176866; color: #fff; }
.secondary { border: 1px solid #d5dfdd; background: #fff; color: #285552; }
.primary:hover:not(:disabled), .secondary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(24, 61, 59, .12); }
.primary:focus-visible, .secondary:focus-visible, .icon-button:focus-visible, .nav button:focus-visible, .stat-action:focus-visible { outline: 3px solid rgba(45, 119, 115, .17); outline-offset: 2px; }
.danger { border-color: #edd3d3; background: #fff8f8; color: var(--danger); }

/* Indicadores */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { min-height: 132px; padding: 17px 18px 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); }
.stat-action { font: inherit; text-align: left; transition: transform 150ms ease, box-shadow 150ms ease; }
.stat-action:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(25, 59, 57, .08); }
.stat-top { display: flex; align-items: center; gap: 9px; }
.stat-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #edf3f2; color: var(--teal); }
.stat-icon svg { width: 15px; height: 15px; }
.stat-label { color: #687775; font-size: 11px; font-weight: 680; }
.stat strong { display: block; margin: 14px 0 8px; font-size: 28px; line-height: 1; }
.stat small { display: block; color: #82908e; font-size: 10px; font-weight: 620; }

/* Conteudo */
.panel { margin-bottom: 18px; padding: 22px; border: 1px solid rgba(26, 102, 96, .13); border-radius: 16px; background: rgba(255, 255, 255, .94); box-shadow: 0 14px 38px rgba(24, 73, 69, .055); }
.panel h3 { margin: 0 0 16px; font-size: 15px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid #edf1f0; text-align: left; vertical-align: middle; }
.table th { background: #fafbfb; color: #71807e; font-size: 9px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfdfd; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #eaf5ef; color: #28704c; font-size: 9px; font-weight: 800; }
.badge.warn { background: #fff4df; color: #855d13; }
.badge.off { background: #f8eaea; color: #904242; }
.muted { color: var(--muted); }
.empty { padding: 34px; border: 1px dashed #d8e0de; border-radius: 6px; background: #fbfcfc; color: var(--muted); text-align: center; }

.months { display: grid; gap: 10px; }
.month { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.month summary { display: flex; justify-content: space-between; padding: 16px 18px; cursor: pointer; font-size: 13px; font-weight: 760; list-style: none; }
.month summary::-webkit-details-marker { display: none; }
.month[open] summary { border-bottom: 1px solid var(--line); }
.search { min-width: min(330px, 100%); }
.form { display: grid; gap: 16px; margin-top: 28px; }
.form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.search, .form input, .form select, .form textarea { min-height: 42px; padding: 10px 12px; border: 1px solid #d4dedc; border-radius: 6px; outline: none; background: #fff; color: var(--ink); }
.search:focus, .form input:focus, .form select:focus, .form textarea:focus { border-color: #4d8d8a; box-shadow: 0 0 0 3px rgba(38, 119, 115, .1); }
.feedback { min-height: 20px; color: #9b3030; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 600; line-height: 1.45; }
.feedback.success { color: #147247; }
.feedback.info { color: #426663; }
.feedback.warning { color: #805b15; }
.feedback.error { color: #9b3030; }
.month-picker { position: relative; }
.month-picker-trigger { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; width: 100%; min-height: 48px; align-items: center; gap: 11px; padding: 10px 13px; border: 1px solid #d4dedc; border-radius: 10px; background: #fff; color: #778582; font: inherit; text-align: left; cursor: pointer; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.month-picker-trigger:hover { border-color: #8fb9b5; background: #fbfdfc; }
.month-picker-trigger:focus-visible, .month-picker-trigger[aria-expanded="true"] { outline: none; border-color: #2c8881; box-shadow: 0 0 0 3px rgba(38, 119, 115, .1); }
.month-picker-trigger > svg { width: 19px; height: 19px; color: #18766f; }
.month-picker-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.month-picker-trigger > i { color: #42726e; font-size: 18px; font-style: normal; transition: transform 180ms ease; }
.month-picker-trigger[aria-expanded="true"] > i { transform: rotate(180deg); }
.month-picker-trigger.has-value { color: #173f3d; font-weight: 750; }
.month-picker-popover { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: min(330px, calc(100vw - 48px)); padding: 14px; border: 1px solid #d2e1de; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(18, 67, 63, .18); animation: monthPickerEnter 180ms ease both; }
.month-picker-popover[hidden] { display: none; }
.month-picker-popover header { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; margin-bottom: 12px; }
.month-picker-popover header strong { color: #123f3d; font-size: 15px; text-align: center; }
.month-picker-popover header button { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid #d9e6e3; border-radius: 10px; background: #f8fbfa; color: #176d68; font-size: 24px; line-height: 1; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.month-picker-popover header button:hover { background: #e9f5f2; transform: translateY(-1px); }
.month-picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.month-picker-grid button { display: grid; min-height: 52px; place-content: center; gap: 2px; padding: 7px; border: 1px solid transparent; border-radius: 10px; background: #f6f9f8; color: #244f4c; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.month-picker-grid button:hover { border-color: #abd0cc; background: #edf7f4; transform: translateY(-1px); }
.month-picker-grid button.is-current { border-color: #cae2bd; background: #f3f9ec; }
.month-picker-grid button.is-selected { border-color: #14766f; background: #14766f; color: #fff; box-shadow: 0 7px 16px rgba(20, 118, 111, .2); }
.month-picker-grid button small { color: #62805c; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.month-picker-grid button.is-selected small { color: #dff4f0; }
.month-picker-popover footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #edf2f1; }
.month-picker-popover footer button { padding: 7px 4px; border: 0; background: transparent; color: #176d68; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.month-picker-popover footer button:hover { text-decoration: underline; text-underline-offset: 3px; }
@keyframes monthPickerEnter { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.verification-intro { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; padding: 15px; border-radius: 10px; background: #eef8f5; color: #164f4d; }
.verification-intro > svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--teal); }
.verification-intro p { margin: 5px 0 0; color: #526967; }
.verification-code { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: .28em; font-variant-numeric: tabular-nums; }
.verification-resend { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #526967; font-size: 13px; }
.text-button { border: 0; padding: 4px; background: transparent; color: var(--teal); font: inherit; font-weight: 750; text-decoration: underline; cursor: pointer; }
.text-button:disabled { opacity: .55; cursor: wait; }
.password-flow-steps { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); align-items: center; margin: 0 0 20px; color: #82908e; font-size: 11px; font-weight: 760; }
.password-flow-steps--three { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1.25fr) 24px minmax(0, 1fr); }
.password-flow-steps > span { display: flex; align-items: center; gap: 8px; }
.password-flow-steps > i { height: 1px; background: #dce6e4; }
.password-flow-steps b { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf2f1; color: #758481; font-size: 11px; font-style: normal; }
.password-flow-steps b svg { width: 13px; height: 13px; stroke-width: 3; }
.password-flow-steps .active { color: #145e5a; }
.password-flow-steps .active b { background: #176866; color: #fff; box-shadow: 0 5px 14px rgba(23, 104, 102, .22); }
.password-flow-steps .complete { color: #47715a; }
.password-flow-steps .complete b { background: #e0f2e4; color: #267044; }
.password-flow-form, .password-change-form { margin-top: 0; }
.password-flow-form .feedback { margin: 0; padding: 11px 13px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #426663; font-size: 12px; font-weight: 650; line-height: 1.45; }
.password-flow-form .feedback:empty { min-height: 0; padding: 0; }
.password-flow-form .feedback.info { border-color: #d8e8e4; background: #f4faf8; color: #426663; }
.password-flow-form .feedback.success { border-color: #cce6d5; background: #eef8f1; color: #276b46; }
.password-flow-form .feedback.warning { border-color: #ead9ad; background: #fff9e9; color: #76571d; }
.password-flow-form .feedback.error { border-color: #ebcccc; background: #fff5f5; color: #8d3535; }
.password-security-note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 13px; border: 1px solid #dce8e5; border-radius: 10px; background: #f8fbfa; color: #59716e; font-size: 11px; font-weight: 600; line-height: 1.45; }
.password-security-note svg { width: 17px; height: 17px; flex: 0 0 auto; color: #27776f; }
.password-field { gap: 7px; }
.password-control { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 42px; align-items: center; overflow: hidden; border: 1px solid #d4dedc; border-radius: 10px; background: #fff; color: #71817e; transition: border-color 180ms ease, box-shadow 180ms ease; }
.password-control:focus-within { border-color: #32857f; box-shadow: 0 0 0 4px rgba(38, 119, 115, .1); }
.password-control > svg { justify-self: end; width: 17px; height: 17px; }
.form .password-control input { min-width: 0; min-height: 47px; padding: 10px 11px; border: 0; border-radius: 0; box-shadow: none; }
.password-control button { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 0; background: transparent; color: #607976; }
.password-control button:hover { color: #176866; }
.password-control button svg { width: 17px; height: 17px; }
.password-rules { display: flex; flex-wrap: wrap; gap: 8px; }
.password-rules span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; background: #f1f4f3; color: #7d8987; font-size: 10px; font-weight: 720; transition: color 180ms ease, background 180ms ease; }
.password-rules svg { width: 12px; height: 12px; }
.password-rules span.is-valid { background: #e9f6ed; color: #277047; }
@media (max-width: 520px) {
  .password-flow-steps--three { grid-template-columns: 1fr; gap: 7px; }
  .password-flow-steps--three > i { display: none; }
  .password-flow-steps--three > span { min-height: 30px; }
}
.mandatory-password-intro, .standard-password-intro { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; padding: 16px; border-radius: 13px; }
.mandatory-password-intro { border: 1px solid #e7d9a8; background: linear-gradient(135deg, #fffaf0, #f9f9ee); color: #5d4b1c; }
.standard-password-intro { border: 1px solid #d7e8e4; background: #f1f8f6; color: #255a56; }
.mandatory-password-intro > span, .standard-password-intro > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: rgba(255,255,255,.72); }
.mandatory-password-intro svg, .standard-password-intro svg { width: 21px; height: 21px; }
.mandatory-password-intro b, .standard-password-intro b { display: block; margin: 1px 0 5px; font-size: 13px; }
.mandatory-password-intro p, .standard-password-intro p { margin: 0; color: inherit; font-size: 11px; line-height: 1.5; opacity: .82; }
.badge.email-ok { background: #e9f7ef; color: #217044; }
.notice { margin-bottom: 18px; padding: 13px 15px; border: 1px solid #dce8c3; border-left: 3px solid var(--green); border-radius: 5px; background: #f8faef; color: #3d5841; }
.notice.error { border-color: #edcaca; border-left-color: #a12828; background: #fff4f4; color: #7b2222; }
.upload { gap: 8px; }
.upload-label { color: var(--ink); font-size: 12px; font-weight: 750; }
.upload-picker { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 78px; padding: 13px 14px; overflow: hidden; border: 1px dashed #9fbfbb; border-radius: 12px; background: linear-gradient(135deg, #f8fcfb, #f0f8f6); cursor: pointer; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.upload-picker:hover { border-color: #2c8881; box-shadow: 0 10px 24px rgba(26, 105, 99, .09); transform: translateY(-1px); }
.upload-picker:focus-within { border-color: #267f79; box-shadow: 0 0 0 3px rgba(38, 127, 121, .12); }
.upload-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 12px; background: #dff1ed; color: #14746e; }
.upload-icon svg { width: 22px; height: 22px; }
.upload-copy { min-width: 0; }
.upload-copy strong, .upload-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-copy strong { margin-bottom: 5px; color: #123f3d; font-size: 13px; }
.upload-copy small { color: #687d79; font-size: 11px; font-weight: 600; }
.upload-action { padding: 10px 14px; border: 1px solid #afd1cd; border-radius: 9px; background: #fff; color: #176d68; font-size: 11px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 12px rgba(25, 89, 85, .06); }
.upload input[type=file] { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.import-page-head { align-items: flex-end; margin-bottom: 30px; }
.import-page-head h2 { color: #0b383c; }
.import-page-head p { max-width: 650px; font-size: 14px; line-height: 1.55; }
.import-head-badge { display: flex; max-width: 285px; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid #dce9d1; border-radius: 13px; background: linear-gradient(135deg, #f6faef, #fbfdf8); color: #45672e; }
.import-head-badge > svg { width: 23px; height: 23px; flex: 0 0 auto; color: #6e972d; }
.import-head-badge strong, .import-head-badge small { display: block; }
.import-head-badge strong { margin-bottom: 3px; font-size: 11px; }
.import-head-badge small { color: #718168; font-size: 9px; line-height: 1.35; }
.import-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: start; gap: 20px; }
.import-form-card.form { gap: 0; margin-top: 0; padding: 0; overflow: visible; animation: payrollPanelEnter 520ms cubic-bezier(.22,1,.36,1) both; }
.import-card-heading { display: flex; align-items: center; gap: 14px; padding: 22px 24px 19px; border-bottom: 1px solid #e9efed; background: linear-gradient(135deg, rgba(240, 249, 246, .88), rgba(255, 255, 255, .95)); border-radius: 16px 16px 0 0; }
.import-card-heading > span { display: grid; width: 45px; height: 45px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: #dff1ec; color: #14746e; }
.import-card-heading > span svg { width: 22px; height: 22px; }
.import-card-heading h3 { margin: 0 0 5px; color: #123f3d; font-size: 16px; }
.import-card-heading p { margin: 0; color: #71827f; font-size: 11px; line-height: 1.45; }
.import-fields { display: grid; gap: 18px; padding: 22px 24px; }
.import-control > span { color: #244d4a; font-size: 11px; font-weight: 800; }
.import-control > small { color: #738582; font-size: 9px; font-weight: 620; line-height: 1.4; }
.import-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px 22px; border-top: 1px solid #edf2f0; background: #fbfdfc; border-radius: 0 0 16px 16px; }
.import-submit-row > span { min-width: 0; }
.import-submit-row strong, .import-submit-row small { display: block; }
.import-submit-row strong { margin-bottom: 4px; color: #2b5552; font-size: 11px; }
.import-submit-row small { color: #84918f; font-size: 9px; }
.import-submit { min-width: 190px; min-height: 46px; border-radius: 11px; background: linear-gradient(135deg, #19827b, #116d68); box-shadow: 0 9px 22px rgba(17, 109, 104, .14); }
.import-submit:disabled { box-shadow: none; }
.import-form-card > .feedback { margin: 0; padding: 0 24px; }
.import-guide { position: relative; padding: 24px; overflow: hidden; animation: payrollPanelEnter 560ms 70ms cubic-bezier(.22,1,.36,1) both; }
.import-guide::after { content: ""; position: absolute; top: -70px; right: -70px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 210, 77, .12), transparent 68%); pointer-events: none; }
.import-guide-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.import-guide-heading > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #eef6e5; color: #668e28; }
.import-guide-heading > span svg { width: 21px; height: 21px; }
.import-guide-heading h3 { margin: 4px 0 0; color: #123f3d; font-size: 17px; }
.import-steps { display: grid; gap: 0; }
.import-steps article { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; padding-bottom: 21px; }
.import-steps article:not(:last-child)::after { content: ""; position: absolute; top: 34px; bottom: 3px; left: 16px; width: 1px; background: linear-gradient(#b9d8d1, #dfeae7); }
.import-steps article > b { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #c9e0db; border-radius: 50%; background: #edf7f4; color: #16766f; font-size: 11px; }
.import-steps strong { display: block; margin: 2px 0 5px; color: #244c49; font-size: 12px; }
.import-steps p { margin: 0; color: #74837f; font-size: 10px; line-height: 1.55; }
.import-safety-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 2px; padding: 14px; border: 1px solid #dceacb; border-radius: 12px; background: #f6faef; color: #466733; }
.import-safety-note > svg { width: 20px; height: 20px; flex: 0 0 auto; }
.import-safety-note strong, .import-safety-note small { display: block; }
.import-safety-note strong { margin-bottom: 4px; font-size: 10px; line-height: 1.4; }
.import-safety-note small { color: #718168; font-size: 9px; line-height: 1.4; }
.import-job-status:not(:empty) { margin-top: 16px; }
.import-job-status .notice { margin-bottom: 0; }
@media (max-width: 560px) {
  .upload-picker { grid-template-columns: auto minmax(0, 1fr); }
  .upload-action { grid-column: 1 / -1; text-align: center; }
  .import-fields, .import-card-heading { padding-inline: 16px; }
  .import-submit-row { align-items: stretch; flex-direction: column; padding-inline: 16px; }
  .import-submit { width: 100%; }
}
.progress { height: 7px; margin-top: 12px; overflow: hidden; background: #e7eeed; }
.progress span { display: block; height: 100%; background: var(--teal); }

.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #dbe4e2; border-radius: 6px; background: #fff; color: #245b59; text-decoration: none; transition: transform 150ms ease, box-shadow 150ms ease; }
.icon-button:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(24, 61, 59, .11); }
.actions { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.menu-toggle { display: none; }
.employee-link { padding: 4px 0; border: 0; background: transparent; color: var(--ink); font-weight: 760; text-align: left; transition: transform 150ms ease; }
.employee-link:hover { transform: translateY(-1px); text-decoration: underline; text-underline-offset: 3px; }
.employee-filter { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.locked-document { background: #f7f9f8; }
.selected-batches { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.selected-batches span { padding: 6px 9px; border-radius: 4px; background: #edf3f2; color: #176b68; font-size: 11px; font-weight: 800; }

/* Painel do colaborador */
.employee-page-head { margin-bottom: 30px; }
.employee-page-head p { max-width: 650px; font-size: 14px; line-height: 1.55; }
.employee-overview-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.employee-overview-stats article { display: flex; min-width: 0; align-items: center; gap: 14px; min-height: 112px; padding: 19px; border: 1px solid rgba(26, 102, 96, .13); border-radius: 16px; background: rgba(255, 255, 255, .94); box-shadow: 0 12px 30px rgba(24, 73, 69, .05); animation: payrollCardEnter 560ms cubic-bezier(.22,1,.36,1) backwards; }
.employee-overview-stats article:nth-child(2) { animation-delay: 70ms; }
.employee-overview-stats article:nth-child(3) { animation-delay: 140ms; }
.employee-overview-stats article:nth-child(4) { animation-delay: 210ms; }
.employee-overview-stats article > span { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #e2f2ed, #f0f8f4); color: #08736d; }
.employee-overview-stats article > span svg { width: 22px; height: 22px; }
.employee-overview-stats article div { min-width: 0; }
.employee-overview-stats small, .employee-overview-stats strong { display: block; }
.employee-overview-stats small { margin-bottom: 7px; color: #6d7e7b; font-size: 11px; font-weight: 700; }
.employee-overview-stats strong { overflow: hidden; color: #123f3d; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: -.025em; line-height: 1.2; text-overflow: ellipsis; }
.employee-password-notice { border-radius: 12px; }
.employee-payroll-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(290px, .75fr); align-items: start; gap: 18px; }
.employee-payslip-library { min-width: 0; padding: 0; overflow: hidden; animation: payrollPanelEnter 680ms 100ms cubic-bezier(.22,1,.36,1) backwards; }
.library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 24px 25px 18px; }
.library-heading h3 { margin: 6px 0 0; color: #123f3d; font-size: 21px; letter-spacing: -.025em; }
.library-heading > span { color: #667b78; font-size: 11px; font-weight: 750; }
.employee-filterbar { display: grid; grid-template-columns: 130px 150px minmax(220px, 1fr); gap: 12px; padding: 16px 25px; border-block: 1px solid #e9efed; background: #fbfdfc; }
.employee-filterbar label { display: grid; gap: 6px; color: #536c69; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.employee-filterbar input, .employee-filterbar select { width: 100%; min-height: 43px; padding: 9px 12px; border: 1px solid #d7e3e0; border-radius: 10px; outline: none; background: #fff; color: #173f3d; font-size: 12px; text-transform: none; }
.employee-filterbar input:focus, .employee-filterbar select:focus { border-color: #4d928d; box-shadow: 0 0 0 3px rgba(48, 135, 128, .1); }
.employee-payslip-list { display: grid; }
.employee-payslip-row { display: grid; grid-template-columns: minmax(240px, 1.25fr) 105px 130px auto; align-items: center; gap: 14px; min-width: 0; padding: 15px 24px; border-bottom: 1px solid #edf2f0; background: #fff; transition: background 180ms ease, box-shadow 180ms ease; }
.employee-payslip-row:last-child { border-bottom: 0; }
.employee-payslip-row:hover { background: #f9fcfb; }
.employee-payslip-row.selected { position: relative; background: linear-gradient(90deg, #eff9f5, #fbfdfc); box-shadow: inset 3px 0 #18847d; }
.employee-payslip-file { display: flex; min-width: 0; align-items: center; gap: 12px; }
.employee-payslip-file > div { min-width: 0; }
.employee-payslip-file strong, .employee-payslip-file small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.employee-payslip-file strong { margin-bottom: 4px; color: #163f3d; font-size: 13px; }
.employee-payslip-file small { color: #758683; font-size: 10px; }
.employee-payslip-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: #e8f3ef; color: #14736e; }
.employee-payslip-icon svg { width: 18px; height: 18px; }
.employee-payslip-status { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: #e7f6ec; color: #257247; font-size: 9px; font-weight: 850; }
.employee-payslip-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #36a45f; }
.employee-payslip-status.locked { background: #fff3df; color: #855d13; }
.employee-payslip-status.locked::before { background: #d09429; }
.employee-payslip-row time { color: #748481; font-size: 10px; }
.employee-payslip-actions { display: flex; justify-content: flex-end; gap: 7px; }
.compact-button { min-height: 36px; padding: 8px 11px; border-radius: 9px; font-size: 10px; text-decoration: none; white-space: nowrap; }
.compact-button svg { width: 14px; height: 14px; }
#employeePayslipSummary { min-width: 0; animation: payrollPanelEnter 680ms 180ms cubic-bezier(.22,1,.36,1) backwards; }
.employee-payslip-summary { position: sticky; top: 94px; padding: 24px; }
.summary-heading { position: relative; padding: 18px; border-radius: 14px; background: linear-gradient(145deg, #eaf7f2, #f7fbf9); }
.summary-heading h3 { margin: 8px 0 14px; color: #103f3c; font-size: 24px; letter-spacing: -.035em; }
.employee-summary-list { display: grid; gap: 0; margin: 20px 0; }
.employee-summary-list div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf2f0; }
.employee-summary-list dt { color: #768682; font-size: 10px; font-weight: 750; }
.employee-summary-list dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #173f3d; font-size: 11px; font-weight: 720; text-align: right; }
.summary-action { width: 100%; min-height: 46px; border-radius: 11px; text-decoration: none; }
.employee-secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: #758481; font-size: 9px; text-align: center; }
.employee-secure-note svg { width: 14px; height: 14px; }
.employee-summary-empty { display: grid; justify-items: center; gap: 8px; padding: 42px 18px; color: #71817e; text-align: center; }
.employee-summary-empty > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #edf5f2; color: #15736e; }
.employee-summary-empty strong { color: #214744; }
.employee-summary-empty p { margin: 0; font-size: 11px; }
.employee-payslip-empty { padding: 50px 24px; color: #71817e; text-align: center; }
.employee-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.employee-home-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) 22px; align-items: center; gap: 16px; min-height: 150px; padding: 24px; border: 1px solid rgba(26, 102, 96, .13); border-radius: 16px; background: rgba(255, 255, 255, .95); color: #173f3d; text-align: left; box-shadow: 0 14px 38px rgba(24, 73, 69, .055); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.employee-home-card:hover { transform: translateY(-3px); border-color: rgba(24, 130, 121, .3); box-shadow: 0 20px 46px rgba(24, 73, 69, .1); }
.employee-home-card > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; background: #e5f3ee; color: #0f756f; }
.employee-home-card > span svg { width: 24px; height: 24px; }
.employee-home-card small, .employee-home-card strong, .employee-home-card p { display: block; }
.employee-home-card small { margin-bottom: 6px; color: #70817e; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.employee-home-card strong { font-size: 19px; letter-spacing: -.025em; }
.employee-home-card p { margin: 7px 0 0; color: #788783; font-size: 11px; line-height: 1.45; }
.employee-home-card > svg { width: 18px; height: 18px; color: #387773; }
.employee-home-latest { padding: 0; overflow: hidden; }
.employee-profile-panel { max-width: 900px; }
.employee-profile-heading { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid #e8eeec; }
.employee-profile-heading .topbar-avatar { width: 54px; height: 54px; font-size: 15px; }
.employee-profile-heading > div { min-width: 0; flex: 1; }
.employee-profile-heading h3 { margin: 0 0 5px; font-size: 21px; }
.employee-profile-heading p { margin: 0; color: #758481; font-size: 12px; }
.employee-profile-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 18px 0 24px; }
.employee-profile-data div { padding: 15px 0; border-bottom: 1px solid #edf2f0; }
.employee-profile-data dt { margin-bottom: 6px; color: #788783; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.employee-profile-data dd { margin: 0; color: #193f3d; font-size: 13px; font-weight: 720; overflow-wrap: anywhere; }

@keyframes payrollCardEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes payrollPanelEnter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* Modais */
dialog { width: min(650px, calc(100% - 32px)); max-height: 90vh; padding: 0; overflow: hidden; border: 1px solid rgba(23, 104, 102, .12); border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(16, 51, 49, .27); }
dialog[open] { display: flex; flex-direction: column; animation: modalEnter 260ms cubic-bezier(.22,1,.36,1) both; }
dialog::backdrop { background: rgba(8, 33, 32, .62); backdrop-filter: blur(4px); }
.modal-head { display: flex; min-height: 76px; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 17px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fbfdfc, #f5faf8); }
.modal-head > div > span { display: block; margin-bottom: 5px; color: #6d8a35; font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.modal-head h2 { margin: 0; color: #123f3d; font-size: 19px; letter-spacing: -.02em; }
.modal-content { min-height: 0; flex: 1 1 auto; padding: 24px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.modal-required-badge { padding: 6px 10px; border-radius: 999px; background: #f4e9bd; color: #72591a; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
dialog[data-variant="required"] { border-color: rgba(146, 120, 41, .24); }
dialog[data-variant="required"] .modal-head { background: linear-gradient(135deg, #fffdf8, #f9f8ea); }
dialog[data-variant="required"] .modal-content { padding-bottom: 0; }
dialog[data-variant="required"] .password-change-form .modal-actions { position: sticky; z-index: 3; bottom: 0; margin: 18px -24px 0; padding: 14px 24px 20px; border-top: 1px solid rgba(146,120,41,.16); background: linear-gradient(180deg, rgba(255,255,255,.9), #fff 28%); box-shadow: 0 -12px 24px rgba(18,63,61,.06); }
dialog[data-variant="required"] .password-change-form .modal-actions .primary { width: 100%; min-height: 50px; justify-content: center; }
dialog[data-variant="recovery"] .modal-head { background: linear-gradient(135deg, #f9fdfc, #edf8f5); }
@keyframes modalEnter { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
.choice-list { display: grid; gap: 10px; margin-top: 18px; }
.choice-list button { width: 100%; justify-content: flex-start; padding: 15px; text-align: left; }
.choice-list button span, .choice-list button strong, .choice-list button small { display: block; }
.choice-list button small { margin-top: 4px; color: var(--muted); font-weight: 500; }
.duplicate-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.duplicate-compare > div { display: grid; gap: 9px; padding: 15px; border: 1px solid var(--line); background: #fafbfb; }
.duplicate-compare span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.duplicate-compare strong { overflow-wrap: anywhere; }
.duplicate-compare .secondary { margin-top: 4px; text-decoration: none; }
.duplicate-result { display: grid; gap: 5px; margin-top: 12px; padding: 14px 16px; border-left: 3px solid #c68a2b; background: #fff7e8; color: #684700; }
.duplicate-result.exact { border-color: #30865b; background: #eef8f2; color: #225f42; }
.duplicate-result span { font-size: 12px; }
.badge.duplicate-identical { background: #e3f3e9; color: #247047; }

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: -270px; z-index: 20; width: 252px; box-shadow: 16px 0 36px rgba(13, 48, 46, .14); transition: left 180ms ease; }
  .side.open { left: 0; }
  .menu-toggle { display: inline-grid; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .import-layout { grid-template-columns: 1fr; }
  .topbar { padding: 0 18px; }
  .content { padding: 28px 18px 50px; }
  .login { grid-template-columns: 1fr; }
  .login-intro { min-height: auto; padding: 36px clamp(24px, 7vw, 70px) 42px; }
  .login-brand { margin-bottom: 32px; }
  .login-copy { max-width: none; padding-bottom: 0; }
  .login-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .login-benefits article { align-items: flex-start; }
  .login-benefits article > span { width: 44px; height: 44px; }
  .login-benefits article > span svg { width: 22px; height: 22px; }
  .login-benefits strong { font-size: 13px; }
  .login-benefits p { font-size: 11px; }
  .login-visual { display: none; }
  .login-access { min-height: auto; padding: 12px clamp(20px, 6vw, 60px) 54px; }
  .employee-overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employee-payroll-layout { grid-template-columns: 1fr; }
  .employee-payslip-summary { position: static; }
  .employee-home-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { height: 62px; padding: 0 12px; }
  .topbar-context span { display: none; }
  .topbar h1 { font-size: 14px; }
  .topbar-user { grid-template-columns: 34px 16px; gap: 6px; }
  .topbar-user > span:nth-child(2) { display: none; }
  .topbar-avatar { width: 34px; height: 34px; }
  .content { padding: 22px 12px 42px; }
  .page-head { display: block; }
  .import-head-badge { max-width: none; margin-top: 18px; }
  .page-head h2 { font-size: 23px; }
  .page-head .toolbar, .page-head > .primary { width: 100%; margin-top: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 118px; }
  .panel { padding: 14px 12px; }
  .table { min-width: 680px; }
  .actions { white-space: normal; }
  .login-intro { padding: 26px 18px 28px; }
  .login-brand { width: 156px; margin-bottom: 25px; }
  .login h1 { margin-top: 11px; font-size: 36px; }
  .login .lead { font-size: 14px; }
  .login-benefits { display: none; }
  .login-access { padding: 8px 12px 34px; }
  .login-card { padding: 24px 17px; border-radius: 17px; }
  .login-card header h2 { font-size: 27px; }
  .login-card header p { font-size: 13px; }
  .role-options { grid-template-columns: 1fr; }
  .role-option { min-height: 74px; }
  .login-utilities { align-items: flex-start; }
  .duplicate-compare { grid-template-columns: 1fr; }
  .employee-overview-stats { grid-template-columns: 1fr; gap: 10px; }
  .employee-overview-stats article { min-height: 92px; padding: 15px; }
  .employee-filterbar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .employee-search-label { grid-column: 1 / -1; }
  .library-heading { align-items: flex-start; padding: 20px 15px 15px; }
  .employee-payslip-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 15px; }
  .employee-payslip-row > .employee-payslip-status { justify-self: end; }
  .employee-payslip-row time { grid-column: 1 / 2; padding-left: 50px; }
  .employee-payslip-actions { grid-column: 1 / -1; justify-content: stretch; }
  .employee-payslip-actions > * { flex: 1; }
  .employee-summary-list div { grid-template-columns: 90px minmax(0, 1fr); }
  .employee-home-card { min-height: 128px; padding: 18px; }
  .employee-profile-data { grid-template-columns: 1fr; }
  .employee-profile-heading { align-items: flex-start; flex-wrap: wrap; }
}

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

/* Login 2026: marca legivel, hierarquia serena e acesso sem distracoes. */
body:has(.login) {
  min-height: 100vh;
  padding: clamp(14px, 2.8vw, 38px);
  background:
    radial-gradient(circle at 13% 12%, rgba(155, 200, 50, .13), transparent 25%),
    radial-gradient(circle at 92% 86%, rgba(23, 104, 102, .12), transparent 28%),
    #f2f7f5;
}

.login {
  width: min(100%, 1480px);
  min-height: calc(100vh - clamp(28px, 5.6vw, 76px));
  margin: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr);
  border: 1px solid rgba(13, 61, 60, .08);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(13, 61, 60, .14);
}

.login::before {
  z-index: 3;
  top: auto;
  right: -90px;
  bottom: -125px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(23, 104, 102, .09);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 58px rgba(23, 104, 102, .025), 0 0 0 116px rgba(23, 104, 102, .018);
  transform: none;
  animation: loginOrbDrift 12s ease-in-out infinite alternate;
}

.login::after { display: none; }

.login-intro {
  isolation: isolate;
  min-height: 100%;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(32px, 4vw, 58px);
  color: #fff;
}

.login-visual {
  display: block;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background-position: center 45%;
  box-shadow: none;
  animation: loginPhotoReveal 1.1s cubic-bezier(.22, 1, .36, 1) both;
}

.login-visual::after { display: none; }

.login-intro__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 38, 40, .75) 0%, rgba(5, 38, 40, .14) 34%, rgba(5, 38, 40, .75) 100%),
    linear-gradient(90deg, rgba(5, 38, 40, .68), rgba(5, 38, 40, .08) 76%);
}

.login-intro::after {
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -160px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(199, 229, 117, .2);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 60px rgba(199, 229, 117, .035);
}

.login-brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 15px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  animation: loginContentEnter .75s .05s cubic-bezier(.22, 1, .36, 1) both;
}

.login-brand__surface {
  display: grid;
  width: 176px;
  height: 82px;
  place-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 32px rgba(4, 30, 31, .2);
  backdrop-filter: blur(14px);
}

.login-brand__surface img { width: 146px; max-height: 65px; object-fit: contain; }
.login-brand__label { max-width: 90px; font-size: 12px; font-weight: 730; line-height: 1.35; }

.login-copy {
  max-width: 690px;
  padding: clamp(74px, 12vh, 140px) 0 clamp(40px, 6vh, 76px);
  animation: loginContentEnter .82s .14s cubic-bezier(.22, 1, .36, 1) both;
}

.login-copy > .eyebrow { color: #d5ef82; font-size: 12px; }
.login-copy > .eyebrow::before { background: currentColor; }

.login h1 {
  margin: 17px 0 19px;
  color: #fff;
  font-size: clamp(45px, 4.3vw, 68px);
  line-height: .98;
  text-wrap: balance;
}

.login h1 em { color: #d8f56d; font-family: Georgia, serif; font-weight: 400; }
.login .lead { max-width: 610px; color: rgba(255, 255, 255, .82); font-size: clamp(16px, 1.2vw, 19px); }

.login-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(30px, 5vh, 48px);
}

.login-benefits article {
  align-items: flex-start;
  gap: 11px;
  min-height: 122px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(9, 52, 52, .5);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

.login-benefits article:hover { background: rgba(9, 52, 52, .7); transform: translateY(-3px); }
.login-benefits article > span { width: 34px; height: 34px; background: rgba(216, 245, 109, .15); color: #d8f56d; box-shadow: none; }
.login-benefits article > span svg { width: 18px; height: 18px; }
.login-benefits strong { color: #fff; font-size: 13px; line-height: 1.35; }
.login-benefits p { color: rgba(255, 255, 255, .65); font-size: 11px; }
.login-intro__note { margin: 0; color: rgba(255, 255, 255, .62); font-size: 12px; }

.login-access {
  min-height: 100%;
  padding: clamp(30px, 4.5vw, 72px);
  background: rgba(255, 255, 255, .96);
}

.login-card {
  width: min(100%, 560px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.login-safe-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 21px;
  padding: 7px 11px;
  border: 1px solid #d5e6df;
  border-radius: 999px;
  background: #f5faf7;
  color: #176866;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.login-safe-badge svg { width: 14px; height: 14px; }
.login-card header h2 { margin-bottom: 9px; font-size: clamp(34px, 3.1vw, 46px); }
.login-card header p { max-width: 470px; color: #6e7d7b; font-size: 15px; }
.role-field { margin: 29px 0 22px; }
.role-field legend, .login-field > span:first-child { font-size: 13px; }
.role-options { gap: 9px; padding: 5px; border: 1px solid #dfe8e5; border-radius: 16px; background: #f3f7f5; }
.role-option { min-height: 76px; border-color: transparent; border-radius: 12px; background: transparent; }
.role-option:hover { box-shadow: none; }
.role-option.active { border-color: #cfe2dc; background: #fff; box-shadow: 0 8px 20px rgba(20, 72, 68, .08); }
.role-option strong { font-size: 13px; }
.role-option small { font-size: 10px; }
.login-field { margin-top: 17px; }
.login-input-wrap { min-height: 56px; border-radius: 13px; background: #fbfcfc; }
.login-input-wrap input { height: 54px; font-size: 13px; }
.login-utilities { margin: 14px 0 20px; }
.login-submit { min-height: 54px; border-radius: 13px; box-shadow: 0 12px 28px rgba(8, 116, 109, .2); transition: box-shadow 180ms ease, transform 180ms ease; }
.login-submit:hover:not(:disabled) { box-shadow: 0 16px 32px rgba(8, 116, 109, .28); transform: translateY(-2px); }
.login-divider { margin: 17px 0; }
.login-help { grid-template-columns: 36px minmax(0, 1fr); border: 1px solid #dceae4; background: #f4faf7; }
.login-help > svg:first-child { color: #176866; }
.login-security { margin-top: 18px; }

@keyframes loginPhotoReveal {
  from { opacity: .4; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes loginContentEnter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loginOrbDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-24px, -18px, 0); }
}

@media (max-width: 1120px) {
  body:has(.login) { padding: 0; }
  .login { min-height: 100vh; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); border: 0; border-radius: 0; }
  .login-intro { padding: 34px; }
  .login-copy { padding-block: 80px 34px; }
  .login h1 { font-size: 48px; }
  .login-benefits { grid-template-columns: 1fr; }
  .login-benefits article { min-height: 0; }
  .login-benefits article p { display: none; }
}

@media (max-width: 820px) {
  .login { grid-template-columns: 1fr; }
  .login-intro { min-height: 350px; padding: 26px; }
  .login-brand__surface { width: 145px; height: 67px; }
  .login-brand__surface img { width: 122px; }
  .login-copy { margin-top: auto; padding: 72px 0 16px; }
  .login h1 { font-size: clamp(38px, 9vw, 52px); }
  .login .lead { max-width: 560px; }
  .login-benefits, .login-intro__note { display: none; }
  .login-access { min-height: auto; padding: 40px clamp(20px, 7vw, 68px) 54px; }
  .login-card { margin-inline: auto; }
  .login::before { display: none; }
}

@media (max-width: 520px) {
  .login-intro { min-height: 290px; padding: 18px; }
  .login-brand { gap: 10px; }
  .login-brand__surface { width: 130px; height: 60px; padding: 6px 10px; border-radius: 14px; }
  .login-brand__surface img { width: 110px; }
  .login-brand__label { font-size: 10px; }
  .login-copy { padding-bottom: 6px; }
  .login-copy > .eyebrow { font-size: 10px; }
  .login h1 { margin-block: 10px 12px; }
  .login .lead { font-size: 14px; line-height: 1.45; }
  .login-access { padding: 31px 16px 38px; }
  .login-safe-badge { margin-bottom: 15px; }
  .login-card header h2 { font-size: 32px; }
  .role-options { grid-template-columns: 1fr; }
  .role-option { min-height: 68px; }
  .login-utilities { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .login:not(.login--future), .login:not(.login--future) *,
  .login:not(.login--future)::before, .login:not(.login--future)::after { animation: none !important; }
}

/* Login futurista: identidade propria, sem fotografia e sem fundo na marca. */
body:has(.login--future) {
  padding: clamp(12px, 2.2vw, 34px);
  background:
    radial-gradient(circle at 8% 12%, rgba(92, 193, 194, .18), transparent 25%),
    radial-gradient(circle at 92% 84%, rgba(160, 200, 64, .13), transparent 25%),
    #06191c;
}

.login--future {
  width: min(100%, 1520px);
  min-height: calc(100vh - clamp(24px, 4.4vw, 68px));
  grid-template-columns: minmax(480px, 1.04fr) minmax(500px, .96fr);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 34px;
  background: #eef9f5;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .36);
}

.login--future::before,
.login--future::after { display: none; }

.login--future .login-intro {
  isolation: isolate;
  min-height: 100%;
  overflow: hidden;
  justify-content: initial;
  padding: clamp(34px, 4vw, 62px);
  background:
    radial-gradient(circle at 75% 65%, rgba(92, 193, 194, .19), transparent 24%),
    linear-gradient(145deg, #f7fffc 0%, #e9f8f3 56%, #dff2ea 100%);
  color: #0b3439;
}

.login--future .login-intro::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.8%, rgba(20, 104, 100, .055) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgba(20, 104, 100, .055) 50%, transparent 50.2%);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 88%);
}

.login--future .login-intro::after {
  z-index: -1;
  right: auto;
  bottom: -220px;
  left: -170px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(23, 104, 102, .12);
  box-shadow: 0 0 0 72px rgba(23, 104, 102, .025), 0 0 0 144px rgba(23, 104, 102, .018);
}

.future-grid { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.future-grid::before,
.future-grid::after { position: absolute; width: 1px; height: 45%; background: linear-gradient(transparent, rgba(23, 104, 102, .25), transparent); content: ""; animation: futureScan 8s linear infinite; }
.future-grid::before { top: 4%; left: 28%; }
.future-grid::after { right: 16%; bottom: 2%; animation-delay: -3.5s; }
.future-glow { position: absolute; z-index: -1; top: 22%; right: 5%; width: 240px; height: 240px; border-radius: 50%; background: rgba(92, 193, 194, .18); filter: blur(90px); animation: futureGlow 6s ease-in-out infinite alternate; }

.login--future .login-brand {
  position: relative;
  z-index: 4;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: #0a4648;
  animation: futureEnter .7s cubic-bezier(.22,1,.36,1) both;
}

.login--future .login-brand img {
  width: clamp(178px, 14vw, 224px);
  max-height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(15, 77, 72, .11));
}

.login--future .login-brand > span {
  max-width: 92px;
  padding-left: 18px;
  border-left: 1px solid rgba(12, 91, 88, .24);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: .02em;
}

.login--future .login-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: clamp(52px, 8vh, 94px) 0 0;
  animation: futureEnter .78s .08s cubic-bezier(.22,1,.36,1) both;
}

.login--future .login-copy > .eyebrow { color: #16746f; font-size: 11px; letter-spacing: .14em; }
.login--future .login-copy > .eyebrow::before { width: 42px; background: linear-gradient(90deg, #9bc832, #39aaa5); }
.login--future h1 { margin: 18px 0 20px; color: #0a3137; font-size: clamp(46px, 4vw, 67px); line-height: .98; }
.login--future h1 em { color: #16827b; font-family: inherit; font-style: normal; font-weight: 820; }
.login--future .lead { max-width: 560px; color: #526d6c; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.65; }

.login--future .login-benefits {
  display: flex;
  grid-template-columns: none;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.login--future .login-benefits article {
  min-height: auto;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(16, 104, 99, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
  color: #143f42;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(17, 86, 81, .06);
}

.login--future .login-benefits article:hover { background: #fff; transform: translateY(-2px); }
.login--future .login-benefits article > span { width: 28px; height: 28px; background: #e5f4ed; color: #13766f; }
.login--future .login-benefits article > span svg { width: 15px; height: 15px; }
.login--future .login-benefits strong { margin: 0; color: #173f42; font-size: 11px; }
.login--future .login-benefits p { color: #6c8280; font-size: 9px; }

.portal-orbit {
  position: absolute;
  right: clamp(-80px, -3vw, -20px);
  bottom: clamp(-76px, -4vh, -24px);
  width: clamp(330px, 30vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  animation: futureEnter .9s .18s cubic-bezier(.22,1,.36,1) both;
}

.portal-orbit__ring,
.portal-orbit__dot,
.portal-orbit__core,
.portal-orbit__tag { position: absolute; }
.portal-orbit__ring { inset: 12%; border: 1px solid rgba(21, 120, 113, .19); border-radius: 50%; }
.portal-orbit__ring--one { animation: orbitSpin 22s linear infinite; }
.portal-orbit__ring--two { inset: 25%; border-style: dashed; border-color: rgba(155, 200, 50, .38); animation: orbitSpin 17s linear infinite reverse; }
.portal-orbit__ring--three { inset: 38%; border-color: rgba(21, 120, 113, .24); box-shadow: 0 0 0 16px rgba(92, 193, 194, .035); }
.portal-orbit__ring--one::before,
.portal-orbit__ring--two::before { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #16827b; box-shadow: 0 0 16px #16827b; content: ""; }
.portal-orbit__ring--two::before { top: 12%; right: 7%; left: auto; background: #9bc832; box-shadow: 0 0 16px #9bc832; }
.portal-orbit__core { inset: 35%; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px solid rgba(216, 245, 109, .28); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #207d7b, #092f35 67%); color: #d9f576; text-align: center; box-shadow: 0 22px 60px rgba(10, 71, 69, .28), inset 0 0 32px rgba(92, 193, 194, .22); animation: corePulse 4s ease-in-out infinite; }
.portal-orbit__core svg { width: 27px; height: 27px; }
.portal-orbit__core b { color: #fff; font-size: 8px; line-height: 1.25; letter-spacing: .13em; }
.portal-orbit__dot { width: 5px; height: 5px; border-radius: 50%; background: #35aaa4; box-shadow: 0 0 12px #35aaa4; }
.portal-orbit__dot--one { top: 9%; left: 48%; }
.portal-orbit__dot--two { right: 12%; bottom: 27%; background: #9bc832; }
.portal-orbit__dot--three { bottom: 13%; left: 20%; }
.portal-orbit__tag { padding: 7px 10px; border: 1px solid rgba(19, 111, 106, .14); border-radius: 8px; background: rgba(255,255,255,.78); color: #2a5b5a; font-size: 9px; font-weight: 760; box-shadow: 0 9px 26px rgba(11, 74, 71, .09); backdrop-filter: blur(10px); }
.portal-orbit__tag--one { top: 30%; left: 4%; }
.portal-orbit__tag--two { right: 5%; bottom: 25%; }

.login--future .login-intro__note { position: absolute; bottom: 28px; left: clamp(34px, 4vw, 62px); display: flex; align-items: center; gap: 9px; color: #567371; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.login--future .login-intro__note > span { width: 7px; height: 7px; border-radius: 50%; background: #87b91f; box-shadow: 0 0 0 5px rgba(135, 185, 31, .12); animation: statusPulse 2s ease-in-out infinite; }

.login--future .login-access {
  min-height: 100%;
  place-items: center;
  padding: clamp(30px, 4vh, 48px) clamp(34px, 5vw, 76px);
  background:
    radial-gradient(circle at 110% 0%, rgba(92, 193, 194, .16), transparent 31%),
    radial-gradient(circle at 12% 106%, rgba(155, 200, 50, .09), transparent 27%),
    #08282d;
  color: #fff;
}

.login--future .login-access::before { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 48%, rgba(255,255,255,.018) 48.2%, transparent 48.4%); content: ""; }
.login--future .login-card { width: min(100%, 580px); padding: 0; color: #fff; }
.login-access__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 3vh, 34px); }
.login--future .login-safe-badge { margin: 0; border-color: rgba(114, 206, 197, .22); background: rgba(255,255,255,.045); color: #8ce0d8; }
.login-version { color: rgba(255,255,255,.36); font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.login-kicker { margin: 0 0 7px !important; color: #a9cf45 !important; font-size: 11px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.login--future .login-card header h2 { margin-bottom: 10px; color: #fff; font-size: clamp(35px, 3vw, 48px); }
.login--future .login-card header > p:last-child { max-width: 440px; color: rgba(255,255,255,.58); font-size: 14px; }
.login--future .role-field { margin: 30px 0 22px; }
.login--future .role-field legend,
.login--future .login-field > span:first-child { color: rgba(255,255,255,.82); font-size: 12px; }
.login--future .role-options { gap: 8px; padding: 5px; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.035); }
.login--future .role-option { min-height: 76px; border-color: transparent; background: transparent; color: rgba(255,255,255,.58); }
.login--future .role-option:hover { border-color: rgba(101, 204, 194, .24); background: rgba(255,255,255,.035); }
.login--future .role-option.active { border-color: rgba(101, 204, 194, .26); background: linear-gradient(135deg, rgba(41, 135, 128, .3), rgba(255,255,255,.055)); box-shadow: inset 0 0 0 1px rgba(89, 194, 185, .06), 0 10px 30px rgba(0,0,0,.12); }
.login--future .role-option > span:first-child { color: #72d0c8; }
.login--future .role-option strong { color: #fff; }
.login--future .role-option small { color: rgba(255,255,255,.45); }
.login--future .role-option i { background: #a0cb39; color: #092b2f; }
.login--future .login-input-wrap { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.045); color: rgba(255,255,255,.48); }
.login--future .login-input-wrap:focus-within { border-color: #58c5bc; box-shadow: 0 0 0 4px rgba(88, 197, 188, .1), 0 12px 30px rgba(0,0,0,.14); }
.login--future .login-input-wrap input { color: #fff; }
.login--future .login-input-wrap input::placeholder { color: rgba(255,255,255,.3); }
.login--future .password-visibility { color: rgba(255,255,255,.55); }
.login--future .login-utilities { color: rgba(255,255,255,.42); }
.login--future .login-utilities > span { display: inline-flex; align-items: center; gap: 6px; }
.login--future .login-utilities > span svg { width: 13px; height: 13px; color: #78cfc7; }
.login--future .login-utilities button { color: #9ed9d4; }
.login--future .login-submit { position: relative; overflow: hidden; min-height: 56px; border: 1px solid rgba(210, 245, 109, .42); background: linear-gradient(115deg, #a3cb3f, #c7e86c); color: #092e31; font-weight: 820; box-shadow: 0 16px 38px rgba(135, 185, 31, .18); }
.login--future .login-submit::before { position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); content: ""; transform: skewX(-24deg); animation: buttonScan 4.5s ease-in-out infinite; }
.login-submit__pulse { position: absolute; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: #165e5b; box-shadow: 0 0 0 5px rgba(22, 94, 91, .12); }
.login--future .login-feedback { color: #f0b5b5; }
.login-support { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.035); }
.login-support > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: rgba(91, 196, 187, .1); color: #79d0c8; }
.login-support p { margin: 0; }
.login-support strong,
.login-support small { display: block; }
.login-support strong { margin-bottom: 2px; color: rgba(255,255,255,.82); font-size: 11px; }
.login-support small { color: rgba(255,255,255,.38); font-size: 9px; }
.login-support a { padding: 8px 10px; border: 1px solid rgba(121, 208, 200, .2); border-radius: 8px; color: #9edbd5; font-size: 9px; font-weight: 800; text-decoration: none; }
.login-support a:hover { background: rgba(121, 208, 200, .08); }
.login--future .login-security { border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.35); }
.login--future .login-security > svg { color: rgba(121, 208, 200, .55); }
.login--future .login-security strong { color: rgba(255,255,255,.58); }

@keyframes futureEnter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes corePulse { 50% { transform: scale(1.035); box-shadow: 0 28px 70px rgba(10,71,69,.34), inset 0 0 42px rgba(92,193,194,.3); } }
@keyframes statusPulse { 50% { opacity: .48; transform: scale(.84); } }
@keyframes futureGlow { to { transform: translate(-28px, 32px) scale(1.2); opacity: .62; } }
@keyframes futureScan { from { transform: translateY(-35%); } to { transform: translateY(170%); } }
@keyframes buttonScan { 0%, 62% { left: -80%; } 84%, 100% { left: 140%; } }

@media (max-width: 1050px) {
  body:has(.login--future) { padding: 0; }
  .login--future { min-height: 100vh; grid-template-columns: 1fr; border: 0; border-radius: 0; }
  .login--future .login-intro { min-height: 620px; padding: 38px clamp(28px, 7vw, 72px); }
  .login--future .login-copy { max-width: 560px; padding-top: 54px; }
  .portal-orbit { right: 2%; bottom: -70px; width: 430px; opacity: .92; }
  .login--future .login-access { min-height: auto; padding: 58px clamp(24px, 9vw, 96px) 70px; }
}

@media (max-width: 650px) {
  .login--future .login-intro { min-height: 560px; padding: 25px 20px; }
  .login--future .login-brand img { width: 155px; }
  .login--future .login-brand > span { max-width: 80px; padding-left: 12px; font-size: 10px; }
  .login--future .login-copy { padding-top: 44px; }
  .login--future h1 { font-size: clamp(39px, 12vw, 54px); }
  .login--future .lead { max-width: 470px; font-size: 14px; }
  .login--future .login-benefits { gap: 6px; }
  .login--future .login-benefits article { padding: 8px 10px; }
  .login--future .login-benefits p { display: none; }
  .portal-orbit { right: -90px; bottom: -100px; width: 350px; opacity: .78; }
  .portal-orbit__tag { display: none; }
  .login--future .login-intro__note { bottom: 20px; left: 20px; }
  .login--future .login-access { padding: 38px 16px 48px; }
  .login-access__top { margin-bottom: 27px; }
  .login--future .login-card header h2 { font-size: 34px; }
  .login--future .role-options { grid-template-columns: 1fr; }
  .login-support { grid-template-columns: 34px minmax(0,1fr); }
  .login-support a { grid-column: 2; width: fit-content; }
}

/* Movimento ambiental e resposta elastica do acesso. */
.future-particles { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.future-particles i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #1c9d96; box-shadow: 0 0 0 5px rgba(28, 157, 150, .07), 0 0 18px rgba(28, 157, 150, .28); animation: particleFloat 9s ease-in-out infinite alternate; }
.future-particles i:nth-child(1) { top: 18%; left: 71%; animation-duration: 7s; }
.future-particles i:nth-child(2) { top: 35%; left: 88%; width: 3px; height: 3px; background: #9bc832; animation-delay: -4s; animation-duration: 11s; }
.future-particles i:nth-child(3) { top: 52%; left: 62%; width: 4px; height: 4px; animation-delay: -2s; animation-duration: 8s; }
.future-particles i:nth-child(4) { top: 67%; left: 18%; width: 3px; height: 3px; background: #69c5c0; animation-delay: -6s; animation-duration: 12s; }
.future-particles i:nth-child(5) { top: 82%; left: 48%; background: #9bc832; animation-delay: -1s; animation-duration: 10s; }
.future-particles i:nth-child(6) { top: 24%; left: 42%; width: 2px; height: 2px; animation-delay: -3s; animation-duration: 8.5s; }
.future-particles i:nth-child(7) { top: 73%; left: 79%; width: 3px; height: 3px; animation-delay: -7s; animation-duration: 13s; }

.portal-orbit::before {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(25, 145, 138, .12) 87%, transparent 94%);
  content: "";
  mask-image: radial-gradient(circle, transparent 0 56%, #000 57% 58%, transparent 59%);
  animation: orbitRadar 9s linear infinite;
}

.portal-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 135, 129, .15), transparent);
  content: "";
  transform-origin: left center;
  animation: orbitNeedle 14s linear infinite;
}

.data-streams { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.data-streams > span { position: absolute; top: -20%; width: 1px; height: 36%; background: linear-gradient(transparent, rgba(95, 205, 196, .18), transparent); animation: dataFall 8s linear infinite; }
.data-streams > span:nth-child(1) { left: 18%; animation-delay: -1s; }
.data-streams > span:nth-child(2) { left: 61%; height: 28%; animation-delay: -5s; animation-duration: 11s; }
.data-streams > span:nth-child(3) { left: 86%; animation-delay: -3s; animation-duration: 9.5s; }
.data-streams > i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(117, 217, 208, .72); box-shadow: 0 0 18px rgba(117, 217, 208, .7); animation: dataDrift 12s ease-in-out infinite alternate; }
.data-streams > i:nth-of-type(1) { top: 14%; left: 8%; }
.data-streams > i:nth-of-type(2) { top: 48%; right: 7%; animation-delay: -6s; }
.data-streams > i:nth-of-type(3) { bottom: 9%; left: 32%; background: rgba(160, 203, 57, .8); animation-delay: -3s; }
.login--future .login-card { position: relative; z-index: 1; }

.login--future .login-submit:hover:not(:disabled) {
  transform: none;
  box-shadow: 0 16px 38px rgba(135, 185, 31, .23), 0 0 0 1px rgba(218, 246, 134, .12);
}

.login--future .login-submit.is-elastic {
  animation: loginElasticPress 560ms cubic-bezier(.22, 1.45, .42, 1) both;
}

.login--future .login-submit.is-elastic .login-submit__pulse {
  animation: loginPulseBurst 560ms ease-out both;
}

@keyframes loginElasticPress {
  0% { transform: scale(1, 1); border-radius: 13px; }
  18% { transform: scale(.965, .91); border-radius: 17px; }
  42% { transform: scale(1.025, 1.055); border-radius: 11px; }
  64% { transform: scale(.992, .985); border-radius: 14px; }
  82% { transform: scale(1.008, 1.012); }
  100% { transform: scale(1, 1); border-radius: 13px; }
}

@keyframes loginPulseBurst {
  0% { transform: scale(1); box-shadow: 0 0 0 5px rgba(22, 94, 91, .12); }
  45% { transform: scale(1.4); box-shadow: 0 0 0 14px rgba(22, 94, 91, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(22, 94, 91, .12); }
}

@keyframes particleFloat {
  0% { transform: translate3d(0, 0, 0) scale(.75); opacity: .3; }
  45% { opacity: .95; }
  100% { transform: translate3d(28px, -46px, 0) scale(1.15); opacity: .48; }
}

@keyframes orbitRadar { to { transform: rotate(360deg); } }
@keyframes orbitNeedle { to { transform: rotate(360deg); } }

@keyframes dataFall {
  from { transform: translateY(-30%); opacity: 0; }
  20%, 78% { opacity: 1; }
  to { transform: translateY(390%); opacity: 0; }
}

@keyframes dataDrift {
  from { transform: translate(0, 0) scale(.7); opacity: .25; }
  to { transform: translate(26px, -38px) scale(1.25); opacity: .82; }
}

.login-access__controls { display: inline-flex; align-items: center; gap: 13px; }
.motion-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(111, 207, 198, .16); border-radius: 999px; background: rgba(255,255,255,.035); color: rgba(255,255,255,.55); font-size: 9px; font-weight: 720; transition: border-color 180ms ease, background 180ms ease, color 180ms ease; }
.motion-toggle:hover { border-color: rgba(111, 207, 198, .34); background: rgba(111, 207, 198, .07); color: #9ddbd5; }
.motion-toggle i { width: 6px; height: 6px; border-radius: 50%; background: #a0cb39; box-shadow: 0 0 0 4px rgba(160, 203, 57, .09), 0 0 10px rgba(160, 203, 57, .38); }
.motion-toggle[aria-pressed="false"] i { background: rgba(255,255,255,.32); box-shadow: none; }

.login--future[data-motion="off"] .future-grid::before,
.login--future[data-motion="off"] .future-grid::after,
.login--future[data-motion="off"] .future-glow,
.login--future[data-motion="off"] .future-particles *,
.login--future[data-motion="off"] .portal-orbit,
.login--future[data-motion="off"] .portal-orbit *,
.login--future[data-motion="off"] .portal-orbit::before,
.login--future[data-motion="off"] .portal-orbit::after,
.login--future[data-motion="off"] .data-streams *,
.login--future[data-motion="off"] .login-submit::before,
.login--future[data-motion="off"] .login-intro__note > span,
.login--future[data-motion="off"] .login-submit.is-elastic,
.login--future[data-motion="off"] .login-submit.is-elastic * { animation-play-state: paused !important; }

@media (max-width: 650px) {
  .motion-toggle span { display: none; }
  .motion-toggle { min-width: 30px; min-height: 30px; justify-content: center; padding: 0; }
}


/* Painel futurista do colaborador: continuacao visual do login 2026. */
.employee-shell{--employee-night:#061f24;--employee-cyan:#5cc1c2;--employee-lime:#a0cb39;--employee-ink:#0a3439;--employee-muted:#5f7776;background:var(--employee-night)}
.employee-shell .side{z-index:8;overflow:hidden;border-right-color:rgba(112,211,201,.13);background:radial-gradient(circle at 12% 8%,rgba(92,193,194,.16),transparent 26%),radial-gradient(circle at 86% 88%,rgba(160,203,57,.11),transparent 30%),linear-gradient(165deg,#092d32,#061c21 72%);color:#fff;box-shadow:18px 0 50px rgba(0,20,23,.22)}
.employee-shell .side::before{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 49.7%,rgba(108,207,198,.045) 50%,transparent 50.3%),linear-gradient(0deg,transparent 49.7%,rgba(108,207,198,.045) 50%,transparent 50.3%);background-size:42px 42px;content:"";mask-image:linear-gradient(#000,transparent 88%)}
.employee-shell .side::after{position:absolute;right:-112px;bottom:94px;width:230px;height:230px;pointer-events:none;border:1px solid rgba(92,193,194,.12);border-radius:50%;content:"";box-shadow:0 0 0 38px rgba(92,193,194,.025),0 0 0 76px rgba(160,203,57,.018);animation:employeeOrbitFloat 10s ease-in-out infinite alternate}
.employee-shell .side>*{position:relative;z-index:1}
.employee-shell .side .brand{padding:10px 12px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 14px 30px rgba(0,0,0,.17)}
.employee-shell .side .brand img{filter:drop-shadow(0 5px 8px rgba(7,55,54,.08))}
.employee-shell .nav button{color:rgba(255,255,255,.58)}
.employee-shell .nav button:hover{background:rgba(255,255,255,.045);color:#fff;box-shadow:none}
.employee-shell .nav button.active{border:1px solid rgba(103,208,198,.2);background:linear-gradient(135deg,rgba(48,145,137,.3),rgba(255,255,255,.055));color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.12),inset 0 0 0 1px rgba(92,193,194,.04)}
.employee-shell .nav button.active::before{left:-17px;background:linear-gradient(180deg,#d8f56d,var(--employee-lime));box-shadow:0 0 16px rgba(160,203,57,.55)}
.employee-shell .nav button.active svg{color:#86ddd5}
.employee-shell .side-foot{border-top-color:rgba(255,255,255,.1)}
.employee-shell .side-foot small{color:rgba(255,255,255,.4)}
.employee-shell .side-identity>span{border:1px solid rgba(111,211,201,.2);background:rgba(92,193,194,.1);color:#93ddd6;box-shadow:0 0 0 5px rgba(92,193,194,.035)}
.employee-shell .logout{color:rgba(255,255,255,.65);background:transparent}
.employee-shell .logout:hover{color:#fff;background:rgba(255,255,255,.045)}
.employee-shell .workspace{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 88% 7%,rgba(92,193,194,.2),transparent 26%),radial-gradient(circle at 5% 95%,rgba(160,203,57,.1),transparent 24%),linear-gradient(145deg,#f7fffc 0%,#eaf8f3 58%,#e2f3ed 100%)}
.employee-shell .workspace::before{position:absolute;z-index:-2;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 49.8%,rgba(20,104,100,.045) 50%,transparent 50.2%),linear-gradient(0deg,transparent 49.8%,rgba(20,104,100,.045) 50%,transparent 50.2%);background-size:54px 54px;content:"";mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.18) 72%,transparent)}
.employee-shell .workspace::after{position:absolute;z-index:-1;top:155px;right:-170px;width:430px;height:430px;pointer-events:none;border:1px solid rgba(23,104,102,.12);border-radius:50%;content:"";box-shadow:0 0 0 65px rgba(23,104,102,.024),0 0 0 130px rgba(160,203,57,.018);animation:employeeOrbitFloat 12s ease-in-out infinite alternate-reverse}
.employee-shell .topbar{height:82px;border-bottom-color:rgba(108,207,198,.13);background:rgba(6,31,36,.94);color:#fff;box-shadow:0 10px 34px rgba(5,33,36,.14)}
.employee-shell .topbar-context span{color:#8acfc9;letter-spacing:.12em}
.employee-shell .topbar h1{color:#fff}
.employee-shell .topbar-user{border:1px solid transparent;color:#fff}
.employee-shell .topbar-user:hover{border-color:rgba(107,207,198,.14);background:rgba(255,255,255,.045)}
.employee-shell .topbar-avatar{border:1px solid rgba(104,210,200,.2);background:rgba(92,193,194,.1);color:#9be1da;box-shadow:0 0 0 5px rgba(92,193,194,.03)}
.employee-shell .topbar-user small{color:rgba(255,255,255,.42)}
.employee-shell .content{position:relative;z-index:1}
.employee-shell .employee-page-head .eyebrow{display:inline-flex;align-items:center;gap:10px;color:#16746f;letter-spacing:.13em}
.employee-shell .employee-page-head .eyebrow::before{width:30px;height:2px;background:linear-gradient(90deg,var(--employee-lime),var(--employee-cyan));content:""}
.employee-shell .employee-page-head h2{color:var(--employee-ink);font-size:clamp(31px,3vw,43px)}
.employee-shell .employee-page-head p{color:var(--employee-muted)}
.employee-shell .employee-overview-stats article,.employee-shell .panel,.employee-shell .employee-home-card{border-color:rgba(16,103,98,.14);background:rgba(255,255,255,.72);box-shadow:0 20px 50px rgba(14,74,70,.08);backdrop-filter:blur(18px)}
.employee-shell .employee-overview-stats article{position:relative;overflow:hidden;min-height:118px;transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
.employee-shell .employee-overview-stats article::after{position:absolute;top:0;right:0;width:72px;height:2px;background:linear-gradient(90deg,transparent,var(--employee-cyan));content:""}
.employee-shell .employee-overview-stats article:nth-child(even)::after{background:linear-gradient(90deg,transparent,var(--employee-lime))}
.employee-shell .employee-overview-stats article:hover{transform:translateY(-4px);border-color:rgba(36,150,142,.28);box-shadow:0 24px 56px rgba(14,74,70,.13)}
.employee-shell .employee-overview-stats article>span{border:1px solid rgba(25,126,119,.1);background:linear-gradient(145deg,rgba(92,193,194,.16),rgba(160,203,57,.09));color:#137c76;box-shadow:inset 0 0 20px rgba(92,193,194,.08)}
.employee-shell .employee-overview-stats small{color:#627b78;letter-spacing:.03em}
.employee-shell .employee-overview-stats strong{color:var(--employee-ink)}
.employee-shell .employee-payslip-library,.employee-shell .employee-payslip-summary{overflow:hidden}
.employee-shell .library-heading{border-bottom:1px solid rgba(17,105,100,.1);background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(232,247,241,.62))}
.employee-shell .library-heading h3{color:var(--employee-ink)}
.employee-shell .library-heading>span{padding:6px 9px;border-radius:999px;background:rgba(20,118,111,.08);color:#176d68}
.employee-shell .employee-filterbar{border-block-color:rgba(17,105,100,.1);background:rgba(7,44,49,.035)}
.employee-shell .employee-filterbar label{color:#476a67}
.employee-shell .employee-filterbar input,.employee-shell .employee-filterbar select{border-color:rgba(21,112,106,.16);background:rgba(255,255,255,.8);color:var(--employee-ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.employee-shell .employee-filterbar input:focus,.employee-shell .employee-filterbar select:focus{border-color:#3facaa;box-shadow:0 0 0 4px rgba(63,172,170,.1),0 8px 22px rgba(21,96,91,.08)}
.employee-shell .employee-payslip-row{border-bottom-color:rgba(17,105,100,.09);background:rgba(255,255,255,.58)}
.employee-shell .employee-payslip-row:hover{background:rgba(239,251,247,.9)}
.employee-shell .employee-payslip-row.selected{background:linear-gradient(90deg,rgba(92,193,194,.13),rgba(255,255,255,.76));box-shadow:inset 3px 0 #1b8c85}
.employee-shell .employee-payslip-file strong{color:var(--employee-ink)}
.employee-shell .employee-payslip-file small,.employee-shell .employee-payslip-row time{color:#6d8380}
.employee-shell .employee-payslip-icon,.employee-shell .employee-summary-empty>span{border:1px solid rgba(22,119,112,.1);background:linear-gradient(145deg,rgba(92,193,194,.15),rgba(160,203,57,.08));color:#14766f}
.employee-shell .employee-payslip-status{background:rgba(160,203,57,.14);color:#4c6f13}
.employee-shell .employee-payslip-status::before{background:var(--employee-lime);box-shadow:0 0 0 4px rgba(160,203,57,.11)}
.employee-shell .employee-payslip-status.locked{background:#fff2d9;color:#825d19}
.employee-shell .summary-heading{overflow:hidden;border:1px solid rgba(22,119,112,.1);background:radial-gradient(circle at 100% 0,rgba(92,193,194,.2),transparent 42%),linear-gradient(145deg,#eaf8f3,#f8fcfa)}
.employee-shell .summary-heading::after{position:absolute;right:-38px;bottom:-46px;width:112px;height:112px;border:1px solid rgba(22,119,112,.12);border-radius:50%;content:"";box-shadow:0 0 0 18px rgba(160,203,57,.025)}
.employee-shell .summary-heading h3,.employee-shell .employee-summary-empty strong,.employee-shell .employee-summary-list dd{color:var(--employee-ink)}
.employee-shell .employee-summary-list div{border-bottom-color:rgba(17,105,100,.1)}
.employee-shell .employee-summary-list dt,.employee-shell .employee-secure-note,.employee-shell .employee-summary-empty,.employee-shell .employee-payslip-empty{color:#687e7b}
.employee-shell .primary{border-color:rgba(210,245,109,.36);border-radius:10px;background:linear-gradient(115deg,#8fbb2d,#b8dc55);color:#092e31;box-shadow:0 10px 24px rgba(119,157,39,.14)}
.employee-shell .secondary{border-color:rgba(22,119,112,.16);border-radius:10px;background:rgba(255,255,255,.68);color:#17645f}
.employee-shell .primary:hover:not(:disabled),.employee-shell .secondary:hover:not(:disabled){box-shadow:0 12px 28px rgba(20,91,86,.15)}
.employee-shell .employee-home-card:hover{border-color:rgba(36,150,142,.3);box-shadow:0 24px 56px rgba(14,74,70,.13)}
.employee-shell .employee-home-card>span{background:linear-gradient(145deg,rgba(92,193,194,.16),rgba(160,203,57,.09));color:#137c76}
.employee-shell .employee-home-card strong,.employee-shell .employee-profile-heading h3,.employee-shell .employee-profile-data dd{color:var(--employee-ink)}
.employee-shell .employee-home-card small,.employee-shell .employee-home-card p,.employee-shell .employee-profile-heading p,.employee-shell .employee-profile-data dt{color:#667d7a}
.employee-shell .employee-profile-heading,.employee-shell .employee-profile-data div{border-bottom-color:rgba(17,105,100,.1)}
@keyframes employeeOrbitFloat{from{transform:translate3d(0,0,0) rotate(0)}to{transform:translate3d(-22px,-15px,0) rotate(9deg)}}
@media(max-width:860px){.employee-shell .side{box-shadow:18px 0 50px rgba(0,20,23,.38)}.employee-shell .topbar{height:72px}.employee-shell .menu-toggle{border-color:rgba(107,207,198,.18);background:rgba(255,255,255,.06);color:#91d9d2}}
@media(max-width:560px){.employee-shell .content{padding-inline:15px}.employee-shell .employee-page-head h2{font-size:31px}.employee-shell .topbar-user>span:nth-child(2){display:none}.employee-shell .topbar-user{grid-template-columns:36px 14px}.employee-shell .topbar-avatar{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.employee-shell .side::after,.employee-shell .workspace::after{animation:none!important}}

/* Botoes de acao do colaborador: luz sincronizada e elasticidade garantida. */
.employee-shell .employee-motion-button{position:relative;isolation:isolate;overflow:hidden;justify-content:center;border-radius:11px;transform-origin:center;will-change:transform;backface-visibility:hidden}
.employee-shell .employee-motion-button:not(.employee-logout-button){border:1px solid rgba(216,245,109,.46);background:linear-gradient(115deg,#98c533,#c7e86c);color:#092e31;box-shadow:0 12px 28px rgba(119,157,39,.18)}
.employee-shell .employee-motion-button:not(.employee-logout-button):hover:not(:disabled){border-color:rgba(224,249,147,.7);background:linear-gradient(115deg,#a3ce3c,#d0ee79);color:#082b2e;box-shadow:0 16px 34px rgba(119,157,39,.25);transform:translateY(-2px)}
.employee-shell .logout.employee-logout-button{justify-content:flex-start;border:1px solid rgba(112,211,201,.18);border-radius:11px;background:rgba(92,193,194,.07);color:rgba(255,255,255,.68);box-shadow:none}
.employee-shell .logout.employee-logout-button:hover:not(:disabled){border-color:rgba(112,211,201,.34);background:rgba(92,193,194,.13);color:#fff;box-shadow:0 12px 28px rgba(0,0,0,.14);transform:translateY(-2px)}
.employee-shell .employee-motion-button::before{position:absolute;z-index:2;top:-18%;left:-72%;width:42%;height:136%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.74),transparent);content:"";opacity:.92;transform:skewX(-24deg)}
.employee-shell .employee-motion-button.is-elastic{animation:employeeButtonElastic 680ms cubic-bezier(.22,1.45,.42,1) both!important}
.employee-shell .employee-motion-button.is-elastic::before{animation:employeeButtonLightSweep 680ms cubic-bezier(.18,.72,.24,1) both!important}
.employee-shell .employee-motion-button:disabled{opacity:.82}
@keyframes employeeButtonElastic{0%{transform:scale(1,1);border-radius:11px}18%{transform:scale(.955,.89);border-radius:17px}42%{transform:scale(1.035,1.07);border-radius:9px}64%{transform:scale(.987,.978);border-radius:14px}82%{transform:scale(1.012,1.018)}100%{transform:scale(1,1);border-radius:11px}}
@keyframes employeeButtonLightSweep{0%{left:-72%;opacity:0}12%{opacity:.95}78%{opacity:.95}100%{left:142%;opacity:0}}


/* Perfil editavel do colaborador. */
.employee-shell .employee-profile-data--fixed{margin-bottom:26px}
.employee-profile-form{padding-top:25px;border-top:1px solid rgba(17,105,100,.1)}
.employee-profile-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.employee-profile-form-heading h3{margin:6px 0 5px;color:var(--employee-ink);font-size:20px}
.employee-profile-form-heading p{max-width:560px;margin:0;color:#667d7a;font-size:11px;line-height:1.5}
.employee-profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.employee-profile-edit-grid label{display:grid;gap:7px;color:#315a57;font-size:11px;font-weight:800}
.employee-profile-edit-grid input{width:100%;min-height:50px;padding:11px 13px;border:1px solid rgba(21,112,106,.17);border-radius:11px;outline:0;background:rgba(255,255,255,.78);color:var(--employee-ink);font-size:13px;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);transition:border-color 180ms ease,box-shadow 180ms ease,background 180ms ease}
.employee-profile-edit-grid input:focus{border-color:#3facaa;background:#fff;box-shadow:0 0 0 4px rgba(63,172,170,.1),0 10px 24px rgba(21,96,91,.08)}
.employee-profile-edit-grid small{color:#718683;font-size:9px;font-weight:600;line-height:1.45}
.employee-profile-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
.employee-profile-form>.feedback{margin:12px 0 4px}
@media(max-width:640px){.employee-profile-edit-grid{grid-template-columns:1fr}.employee-profile-form-heading,.employee-profile-actions{align-items:stretch;flex-direction:column}.employee-profile-actions>span{display:none}.employee-profile-actions .primary,.employee-profile-actions .secondary{width:100%}}


/* Entrada coordenada dos cards nas telas Inicio e Meus dados. */
.employee-shell .employee-home-card{animation:payrollCardEnter 560ms cubic-bezier(.22,1,.36,1) backwards}
.employee-shell .employee-home-card:nth-child(2){animation-delay:70ms}
.employee-shell .employee-home-latest{animation:payrollPanelEnter 680ms 140ms cubic-bezier(.22,1,.36,1) backwards}
.employee-shell .employee-profile-panel{animation:payrollPanelEnter 680ms 80ms cubic-bezier(.22,1,.36,1) backwards}
.employee-shell .employee-profile-heading{animation:payrollCardEnter 520ms 130ms cubic-bezier(.22,1,.36,1) backwards}
.employee-shell .employee-profile-data>div{animation:payrollCardEnter 520ms cubic-bezier(.22,1,.36,1) backwards}
.employee-shell .employee-profile-data>div:nth-child(1){animation-delay:170ms}
.employee-shell .employee-profile-data>div:nth-child(2){animation-delay:210ms}
.employee-shell .employee-profile-data>div:nth-child(3){animation-delay:250ms}
.employee-shell .employee-profile-data>div:nth-child(4){animation-delay:290ms}
.employee-shell .employee-profile-form{animation:payrollPanelEnter 620ms 330ms cubic-bezier(.22,1,.36,1) backwards}


/* Menu de perfil e foto pessoal */
.topbar-account{position:relative}
.topbar-avatar,.side-avatar,.profile-menu-avatar,.employee-profile-avatar,.employee-photo-avatar{overflow:hidden}
.topbar-avatar img,.side-avatar img,.profile-menu-avatar img,.employee-profile-avatar img,.employee-photo-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.profile-menu{position:absolute;z-index:40;top:calc(100% + 12px);right:0;width:min(318px,calc(100vw - 24px));overflow:hidden;border:1px solid rgba(100,208,197,.18);border-radius:18px;background:linear-gradient(160deg,rgba(10,48,51,.99),rgba(5,31,36,.99));color:#fff;box-shadow:0 24px 60px rgba(3,28,31,.34);animation:profileMenuEnter 220ms cubic-bezier(.22,1,.36,1) both}
.profile-menu[hidden]{display:none}
.profile-menu-head{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:17px;border-bottom:1px solid rgba(136,221,211,.12);background:radial-gradient(circle at 15% 0,rgba(109,216,204,.12),transparent 62%)}
.profile-menu-avatar{display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(116,220,209,.24);border-radius:50%;background:rgba(100,205,195,.12);color:#a6e9e2;font-size:13px;font-weight:850;box-shadow:0 0 0 5px rgba(92,193,194,.035)}
.profile-menu-head span{min-width:0}
.profile-menu-head strong,.profile-menu-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-menu-head strong{font-size:13px}
.profile-menu-head small{margin-top:4px;color:rgba(207,235,232,.62);font-size:10px}
.profile-menu nav{display:grid;gap:4px;padding:10px}
.profile-menu nav button{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:9px;border:0;border-radius:11px;background:transparent;color:#eaf8f6;text-align:left;transition:background 160ms ease,transform 160ms ease}
.profile-menu nav button:hover,.profile-menu nav button:focus-visible{background:rgba(118,220,208,.09);transform:translateX(2px);outline:none}
.profile-menu nav button>svg{width:18px;height:18px;margin:auto;color:#83d8cf}
.profile-menu nav strong,.profile-menu nav small{display:block}
.profile-menu nav strong{font-size:12px}
.profile-menu nav small{margin-top:2px;color:rgba(214,238,235,.55);font-size:9px}
.profile-menu-actions{display:grid;grid-template-columns:1fr 78px;gap:6px;padding:10px;border-top:1px solid rgba(136,221,211,.1)}
.profile-menu-actions button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:7px;padding:8px;border:1px solid rgba(126,218,208,.13);border-radius:10px;background:rgba(255,255,255,.035);color:#dff4f1;font-size:10px;font-weight:750;transition:background 160ms ease,border-color 160ms ease}
.profile-menu-actions button:hover{border-color:rgba(126,218,208,.25);background:rgba(118,220,208,.09)}
.profile-menu-actions svg{width:15px;height:15px}
.profile-menu-actions .profile-menu-logout{border-color:rgba(255,255,255,.08);color:#b9cecb}
.topbar-user[aria-expanded="true"]{border-color:rgba(107,207,198,.2);background:rgba(255,255,255,.06)}
.topbar-user[aria-expanded="true"]>svg{transform:rotate(-90deg)}
.side-avatar{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px solid rgba(111,211,201,.2);border-radius:50%;background:rgba(92,193,194,.1);color:#93ddd6;font-size:11px;font-weight:850;box-shadow:0 0 0 5px rgba(92,193,194,.035)}
.employee-profile-panel{max-width:980px}
.employee-profile-avatar{display:grid;width:58px;height:58px;flex:0 0 auto;place-items:center;border:1px solid #cfe8e2;border-radius:50%;background:linear-gradient(145deg,#dceee8,#eff7f4);color:#145f5b;font-size:15px;font-weight:850;box-shadow:0 0 0 6px rgba(31,137,128,.05)}
.employee-photo-card{display:grid;grid-template-columns:78px minmax(220px,1fr) auto auto;align-items:center;gap:16px;margin:22px 0;padding:18px;border:1px solid #dcebe7;border-radius:16px;background:linear-gradient(135deg,#f8fcfb,#eff8f5);animation:payrollCardEnter 430ms cubic-bezier(.22,1,.36,1) both}
.employee-photo-preview{display:grid;place-items:center}
.employee-photo-avatar{display:grid;width:72px;height:72px;place-items:center;border:1px solid #bcded6;border-radius:50%;background:linear-gradient(145deg,#d8eee8,#fff);color:#176963;font-size:18px;font-weight:850;box-shadow:0 10px 24px rgba(22,92,87,.12)}
.employee-photo-copy{min-width:0}
.employee-photo-copy h3{margin:4px 0 5px;font-size:16px}
.employee-photo-copy p{max-width:430px;margin:0;color:#6f817d;font-size:11px;line-height:1.5}
.employee-photo-picker{position:relative;overflow:hidden;white-space:nowrap;cursor:pointer}
.employee-photo-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.employee-photo-card .primary,.employee-photo-card .secondary{min-height:42px}
.employee-photo-feedback{grid-column:2/-1;min-height:0;margin:0;font-size:11px}
.employee-photo-feedback:empty{display:none}
@keyframes profileMenuEnter{from{opacity:0;transform:translateY(-8px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:780px){.employee-photo-card{grid-template-columns:72px 1fr}.employee-photo-picker,.employee-photo-card .primary{width:100%}.employee-photo-feedback{grid-column:1/-1}}
@media(max-width:620px){.profile-menu{position:fixed;top:70px;right:12px}.employee-photo-card{grid-template-columns:1fr;text-align:center}.employee-photo-preview{margin:auto}.employee-photo-copy p{margin-inline:auto}.employee-photo-feedback{grid-column:1}.profile-menu-actions{grid-template-columns:1fr 72px}}
@media(prefers-reduced-motion:reduce){.profile-menu,.employee-photo-card{animation:none!important}}


/* Refinamento visual: marca, atmosfera viva e suporte flutuante. */
.employee-shell .side .brand{position:relative;width:calc(100% - 8px);margin:0 4px 42px;padding:15px 17px 13px;overflow:hidden;box-sizing:border-box;border:1px solid rgba(142,222,213,.24);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(235,248,244,.94));box-shadow:0 18px 42px rgba(0,13,16,.25),inset 0 1px 0 rgba(255,255,255,.92);transition:transform 220ms ease,box-shadow 220ms ease,border-color 220ms ease}
.employee-shell .side .brand::before{position:absolute;top:0;left:18px;width:64px;height:3px;border-radius:0 0 6px 6px;background:linear-gradient(90deg,var(--employee-lime),var(--employee-cyan));box-shadow:0 0 18px rgba(92,193,194,.42);content:""}
.employee-shell .side .brand::after{position:absolute;inset:-80% -30%;pointer-events:none;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.75) 50%,transparent 58%);content:"";transform:translateX(-55%) rotate(8deg);animation:employeeBrandSheen 8s ease-in-out infinite}
.employee-shell .side .brand:hover{border-color:rgba(142,222,213,.42);box-shadow:0 22px 48px rgba(0,13,16,.31),0 0 0 1px rgba(92,193,194,.06);transform:translateY(-2px)}
.employee-shell .side .brand img{position:relative;z-index:1;width:100%;height:auto;filter:drop-shadow(0 7px 10px rgba(7,55,54,.09));transform:translateZ(0)}
.employee-ambient{position:absolute;z-index:0;inset:82px 0 0;overflow:hidden;pointer-events:none}
.employee-ambient::before,.employee-ambient::after{position:absolute;border:1px solid rgba(24,126,119,.09);border-radius:50%;content:"";box-shadow:0 0 0 34px rgba(92,193,194,.018),0 0 0 68px rgba(160,203,57,.014)}
.employee-ambient::before{top:12%;left:8%;width:190px;height:190px;animation:employeeAmbientOrbit 17s ease-in-out infinite alternate}
.employee-ambient::after{right:7%;bottom:4%;width:240px;height:240px;animation:employeeAmbientOrbit 21s ease-in-out -6s infinite alternate-reverse}
.employee-ambient i{position:absolute;width:7px;height:7px;border:1px solid rgba(27,137,129,.22);border-radius:50%;background:rgba(255,255,255,.72);box-shadow:0 0 0 5px rgba(92,193,194,.035),0 0 18px rgba(31,153,145,.2);animation:employeeParticleDrift 7s ease-in-out infinite alternate}
.employee-ambient i:nth-child(1){top:13%;left:18%;animation-delay:-1s}
.employee-ambient i:nth-child(2){top:26%;right:17%;width:5px;height:5px;animation-duration:9s;animation-delay:-4s}
.employee-ambient i:nth-child(3){top:54%;left:9%;width:9px;height:9px;animation-duration:11s;animation-delay:-7s}
.employee-ambient i:nth-child(4){right:8%;bottom:31%;animation-duration:8s;animation-delay:-2s}
.employee-ambient i:nth-child(5){right:38%;bottom:12%;width:5px;height:5px;animation-duration:10s;animation-delay:-5s}
.employee-ambient i:nth-child(6){top:39%;left:48%;width:4px;height:4px;animation-duration:12s;animation-delay:-8s}
.employee-shell .employee-home-card,.employee-shell .employee-overview-stats article{isolation:isolate;overflow:hidden}
.employee-shell .employee-home-card::before,.employee-shell .employee-overview-stats article::before{position:absolute;z-index:-1;top:-70%;left:-45%;width:34%;height:240%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);content:"";transform:rotate(18deg);animation:employeeCardShimmer 9s ease-in-out infinite}
.employee-shell .employee-home-card:nth-child(2)::before,.employee-shell .employee-overview-stats article:nth-child(2)::before{animation-delay:-5s}
.employee-shell .employee-overview-stats article:nth-child(3)::before{animation-delay:-2.5s}
.employee-shell .employee-overview-stats article:nth-child(4)::before{animation-delay:-7s}
.employee-shell .employee-overview-stats article>span,.employee-shell .employee-home-card>span{animation:employeeIconLevitate 4.8s ease-in-out infinite}
.employee-shell .employee-overview-stats article:nth-child(even)>span,.employee-shell .employee-home-card:nth-child(2)>span{animation-delay:-2.4s}
.employee-support-fab{position:fixed;z-index:30;right:26px;bottom:24px;display:flex;align-items:center;gap:12px;min-height:62px;padding:8px 17px 8px 8px;border:1px solid rgba(255,255,255,.62);border-radius:999px;background:linear-gradient(135deg,#15786f,#0b514e);color:#fff;text-decoration:none;box-shadow:0 18px 42px rgba(5,53,49,.28),0 0 0 1px rgba(34,197,94,.08);animation:employeeSupportFloat 3.4s ease-in-out infinite;transition:box-shadow 180ms ease,filter 180ms ease}
.employee-support-fab:hover{animation-play-state:paused;filter:brightness(1.06);box-shadow:0 22px 48px rgba(5,53,49,.34),0 0 0 5px rgba(37,211,102,.1)}
.employee-support-fab:focus-visible{outline:3px solid rgba(37,211,102,.28);outline-offset:4px}
.employee-support-icon{position:relative;display:grid;width:46px;height:46px;flex:0 0 auto;place-items:center;border-radius:50%;background:#25d366;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 20px rgba(37,211,102,.24)}
.employee-support-icon::before{position:absolute;inset:-5px;border:1px solid rgba(75,226,131,.38);border-radius:50%;content:"";animation:employeeSupportPulse 2.2s ease-out infinite}
.employee-support-icon svg{width:24px;height:24px;fill:currentColor}
.employee-support-copy strong,.employee-support-copy small{display:block;white-space:nowrap}
.employee-support-copy strong{font-size:11px;letter-spacing:.01em}
.employee-support-copy small{margin-top:3px;color:rgba(226,248,245,.7);font-size:9px}
@keyframes employeeBrandSheen{0%,68%{transform:translateX(-55%) rotate(8deg)}86%,100%{transform:translateX(60%) rotate(8deg)}}
@keyframes employeeAmbientOrbit{from{transform:translate3d(-10px,10px,0) rotate(0deg)}to{transform:translate3d(24px,-22px,0) rotate(13deg)}}
@keyframes employeeParticleDrift{from{opacity:.35;transform:translate3d(0,12px,0) scale(.82)}to{opacity:.9;transform:translate3d(13px,-15px,0) scale(1.14)}}
@keyframes employeeCardShimmer{0%,72%{transform:translateX(-30%) rotate(18deg);opacity:0}78%{opacity:.58}92%,100%{transform:translateX(510%) rotate(18deg);opacity:0}}
@keyframes employeeIconLevitate{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes employeeSupportFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes employeeSupportPulse{0%{opacity:.75;transform:scale(.86)}72%,100%{opacity:0;transform:scale(1.28)}}
@media(max-width:620px){.employee-support-fab{right:14px;bottom:14px;min-height:56px;padding:6px}.employee-support-icon{width:44px;height:44px}.employee-support-copy{display:none}.employee-shell .side .brand{width:calc(100% - 8px)}}
@media(prefers-reduced-motion:reduce){.employee-shell .side .brand::after,.employee-ambient::before,.employee-ambient::after,.employee-ambient i,.employee-shell .employee-home-card::before,.employee-shell .employee-overview-stats article::before,.employee-shell .employee-overview-stats article>span,.employee-shell .employee-home-card>span,.employee-support-fab,.employee-support-icon::before{animation:none!important}}

@media(max-width:620px){
  html,body{max-width:100%;overflow-x:hidden}
  .employee-shell,.employee-shell .workspace,.employee-shell .content,.employee-shell .employee-profile-panel,.employee-shell .employee-profile-form,.employee-shell .employee-photo-card{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
  .employee-shell .content{overflow:visible}
  .employee-shell .employee-page-head p,.employee-shell .employee-photo-copy,.employee-shell .employee-photo-copy p,.employee-shell .employee-profile-heading>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .employee-shell .employee-photo-card>*{min-width:0;max-width:100%}
  .employee-shell .employee-photo-picker,.employee-shell .employee-photo-card>.primary{box-sizing:border-box}
  .employee-support-fab{z-index:60}
}


/* Experiência viva 2.0: marca sem placa branca, profundidade e WhatsApp expressivo. */
.employee-shell .side .employee-brand{display:grid;width:calc(100% - 8px);justify-items:center;gap:7px;margin:0 4px 38px;padding:15px 13px 13px;overflow:hidden;border:1px solid rgba(111,218,207,.2);border-radius:22px;background:radial-gradient(circle at 20% 0,rgba(92,193,194,.18),transparent 48%),linear-gradient(145deg,rgba(14,67,70,.72),rgba(5,31,36,.52));box-shadow:0 18px 38px rgba(0,13,16,.2),inset 0 1px 0 rgba(255,255,255,.055);backdrop-filter:blur(16px)}
.employee-shell .side .employee-brand::before{top:0;left:50%;width:92px;height:2px;border-radius:0 0 8px 8px;background:linear-gradient(90deg,transparent,var(--employee-lime),var(--employee-cyan),transparent);box-shadow:0 0 18px rgba(92,193,194,.55);transform:translateX(-50%)}
.employee-shell .side .employee-brand::after{background:linear-gradient(105deg,transparent 43%,rgba(149,239,230,.16) 50%,transparent 57%)}
.employee-brand-symbol{display:block;width:166px;height:57px;overflow:hidden}
.employee-brand-symbol img{display:block;width:166px!important;height:auto!important;max-width:none;filter:drop-shadow(0 7px 12px rgba(0,0,0,.18))!important}
.employee-brand-copy{display:grid;justify-items:center;gap:3px;line-height:1}
.employee-brand-copy strong{color:#f6fffd;font-size:17px;font-weight:520;letter-spacing:.045em}
.employee-brand-copy strong span{margin-left:2px;font-weight:900}
.employee-brand-copy small{color:rgba(173,226,220,.56);font-size:8px;font-weight:750;letter-spacing:.16em;text-transform:uppercase}
.employee-ambient{inset:82px 0 0;background:radial-gradient(circle at 22% 20%,rgba(92,193,194,.075),transparent 21%),radial-gradient(circle at 78% 65%,rgba(160,203,57,.055),transparent 24%)}
.employee-ambient-beam{position:absolute;width:52vw;height:12vw;min-height:90px;opacity:.5;filter:blur(24px);transform:rotate(-18deg);animation:employeeBeamTravel 13s ease-in-out infinite alternate}
.employee-ambient-beam--one{top:6%;left:-18%;background:linear-gradient(90deg,transparent,rgba(84,213,205,.14),transparent)}
.employee-ambient-beam--two{right:-20%;bottom:12%;background:linear-gradient(90deg,transparent,rgba(187,226,86,.11),transparent);animation-delay:-6s;animation-direction:alternate-reverse}
.employee-ambient-orbit{position:absolute;border:1px solid rgba(31,142,134,.12);border-radius:50%;box-shadow:0 0 0 1px rgba(255,255,255,.26) inset;animation:employeeOrbitSpin 26s linear infinite}
.employee-ambient-orbit::before,.employee-ambient-orbit::after{position:absolute;border-radius:50%;content:""}
.employee-ambient-orbit::before{top:8%;left:13%;width:7px;height:7px;background:#65ccc4;box-shadow:0 0 18px rgba(92,193,194,.72)}
.employee-ambient-orbit::after{right:4%;bottom:25%;width:5px;height:5px;background:#b5da58;box-shadow:0 0 16px rgba(160,203,57,.65)}
.employee-ambient-orbit--one{top:8%;right:-8%;width:380px;height:380px}
.employee-ambient-orbit--two{bottom:-13%;left:13%;width:270px;height:270px;animation-direction:reverse;animation-duration:32s}
.employee-ambient i{border:0;background:radial-gradient(circle,#fff 0 20%,#69d1ca 26% 48%,transparent 58%);box-shadow:0 0 15px rgba(59,181,173,.56);animation-name:employeeParticleRise;animation-timing-function:ease-in-out;animation-iteration-count:infinite}
.employee-ambient i:nth-of-type(1){top:11%;left:12%;width:8px;height:8px;animation-duration:7s}
.employee-ambient i:nth-of-type(2){top:19%;left:62%;width:4px;height:4px;animation-duration:11s;animation-delay:-6s}
.employee-ambient i:nth-of-type(3){top:31%;right:9%;width:7px;height:7px;animation-duration:9s;animation-delay:-3s}
.employee-ambient i:nth-of-type(4){top:43%;left:5%;width:5px;height:5px;animation-duration:13s;animation-delay:-9s}
.employee-ambient i:nth-of-type(5){top:56%;left:44%;width:9px;height:9px;animation-duration:10s;animation-delay:-4s}
.employee-ambient i:nth-of-type(6){top:68%;right:18%;width:4px;height:4px;animation-duration:8s;animation-delay:-5s}
.employee-ambient i:nth-of-type(7){bottom:15%;left:16%;width:6px;height:6px;animation-duration:12s;animation-delay:-7s}
.employee-ambient i:nth-of-type(8){bottom:7%;right:6%;width:8px;height:8px;animation-duration:9s;animation-delay:-2s}
.employee-ambient i:nth-of-type(9){top:8%;right:31%;width:3px;height:3px;animation-duration:14s;animation-delay:-8s}
.employee-ambient i:nth-of-type(10){top:76%;left:69%;width:5px;height:5px;animation-duration:11s;animation-delay:-1s}
.employee-ambient i:nth-of-type(11){top:37%;left:29%;width:3px;height:3px;animation-duration:8s;animation-delay:-6s}
.employee-ambient i:nth-of-type(12){bottom:25%;right:39%;width:7px;height:7px;animation-duration:13s;animation-delay:-10s}
.employee-support-fab{right:28px;bottom:26px;width:70px;height:70px;min-height:0;padding:0;border:1px solid rgba(155,255,194,.48);border-radius:50%;background:linear-gradient(145deg,#25d366,#0aa84f);box-shadow:0 18px 42px rgba(0,82,45,.34),inset 0 2px 0 rgba(255,255,255,.27),0 0 0 7px rgba(37,211,102,.08);animation:employeeSupportLevitate 2.7s ease-in-out infinite}
.employee-support-fab:hover{animation-play-state:running;filter:brightness(1.07);box-shadow:0 24px 52px rgba(0,82,45,.4),inset 0 2px 0 rgba(255,255,255,.32),0 0 0 9px rgba(37,211,102,.12)}
.employee-support-fab::before{position:absolute;inset:-7px;border:1px solid rgba(72,231,132,.3);border-radius:50%;content:"";animation:employeeSupportHalo 2.4s ease-out infinite}
.employee-support-fab::after{position:absolute;top:1px;right:2px;width:13px;height:13px;border:3px solid #0d5950;border-radius:50%;background:#d9f266;box-shadow:0 0 12px rgba(217,242,102,.85);content:"";animation:employeeSupportDot 1.8s ease-in-out infinite}
.employee-support-icon{z-index:2;width:58px;height:58px;background:rgba(4,92,49,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);animation:employeeWhatsappWiggle 4s ease-in-out infinite}
.employee-support-icon::before{display:none}
.employee-support-icon svg{width:35px;height:35px;fill:#fff;filter:drop-shadow(0 3px 5px rgba(0,67,35,.22))}
.employee-support-wave{position:absolute;inset:-8px;border:1px solid rgba(68,230,128,.42);border-radius:50%;opacity:0;animation:employeeSupportWave 3s ease-out infinite}
.employee-support-wave:nth-child(2){animation-delay:1s}
.employee-support-wave:nth-child(3){animation-delay:2s}
.employee-support-label{position:absolute;right:82px;display:grid;min-width:142px;padding:10px 13px;border:1px solid rgba(115,218,207,.2);border-radius:13px;background:rgba(5,43,46,.94);color:#fff;text-align:right;box-shadow:0 14px 34px rgba(4,43,45,.22);opacity:0;pointer-events:none;transform:translateX(10px) scale(.96);transition:opacity 180ms ease,transform 180ms ease;backdrop-filter:blur(14px)}
.employee-support-fab:hover .employee-support-label,.employee-support-fab:focus-visible .employee-support-label{opacity:1;transform:translateX(0) scale(1)}
.employee-support-label strong{font-size:11px}
.employee-support-label small{margin-top:3px;color:rgba(210,240,236,.67);font-size:9px}
@keyframes employeeBeamTravel{from{opacity:.2;transform:translate3d(-6%,0,0) rotate(-18deg)}to{opacity:.65;transform:translate3d(18%,12%,0) rotate(-14deg)}}
@keyframes employeeOrbitSpin{to{transform:rotate(360deg)}}
@keyframes employeeParticleRise{0%,100%{opacity:.22;transform:translate3d(0,16px,0) scale(.72)}45%{opacity:.9}60%{transform:translate3d(18px,-14px,0) scale(1.2)}}
@keyframes employeeSupportLevitate{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-10px) rotate(1.5deg)}}
@keyframes employeeSupportHalo{0%{opacity:.65;transform:scale(.86)}75%,100%{opacity:0;transform:scale(1.32)}}
@keyframes employeeSupportWave{0%{opacity:.42;transform:scale(.76)}70%,100%{opacity:0;transform:scale(1.55)}}
@keyframes employeeSupportDot{0%,100%{transform:scale(.82)}50%{transform:scale(1.12)}}
@keyframes employeeWhatsappWiggle{0%,72%,100%{transform:rotate(0) scale(1)}78%{transform:rotate(-7deg) scale(1.04)}84%{transform:rotate(7deg) scale(1.04)}90%{transform:rotate(-4deg)}}
@media(max-width:620px){.employee-support-fab{right:16px;bottom:16px;width:62px;height:62px}.employee-support-icon{width:51px;height:51px}.employee-support-icon svg{width:31px;height:31px}.employee-support-label{display:none}.employee-shell .side .employee-brand{width:calc(100% - 8px)}}
@media(prefers-reduced-motion:reduce){.employee-brand::after,.employee-ambient-beam,.employee-ambient-orbit,.employee-ambient i,.employee-support-fab,.employee-support-fab::before,.employee-support-fab::after,.employee-support-wave{animation:none!important}}


/* Menu de perfil: expansão calma, fluida e reversível. */
.profile-menu{transform-origin:calc(100% - 34px) 0;visibility:hidden;opacity:0;pointer-events:none;filter:blur(7px);clip-path:inset(0 0 94% 0 round 18px);transform:translate3d(0,-13px,0) scale(.965,.92);animation:none;transition:opacity 360ms ease,filter 480ms ease,clip-path 560ms cubic-bezier(.22,1,.36,1),transform 560ms cubic-bezier(.22,1,.36,1),visibility 0s linear 560ms;will-change:transform,opacity,clip-path,filter}
.profile-menu.is-open{visibility:visible;opacity:1;pointer-events:auto;filter:blur(0);clip-path:inset(0 0 0 0 round 18px);transform:translate3d(0,0,0) scale(1);transition:opacity 390ms ease,filter 510ms ease,clip-path 580ms cubic-bezier(.22,1,.36,1),transform 580ms cubic-bezier(.22,1,.36,1),visibility 0s}
.profile-menu.is-closing{visibility:visible;pointer-events:none;opacity:0;filter:blur(5px);clip-path:inset(0 0 92% 0 round 18px);transform:translate3d(0,-9px,0) scale(.975,.94);transition:opacity 310ms ease,filter 390ms ease,clip-path 420ms cubic-bezier(.4,0,.2,1),transform 420ms cubic-bezier(.4,0,.2,1),visibility 0s linear 420ms}
.profile-menu-head,.profile-menu nav button,.profile-menu-actions{opacity:0;transform:translateY(-8px);transition:opacity 220ms ease,transform 380ms cubic-bezier(.22,1,.36,1)}
.profile-menu.is-open .profile-menu-head,.profile-menu.is-open nav button,.profile-menu.is-open .profile-menu-actions{opacity:1;transform:translateY(0)}
.profile-menu.is-open .profile-menu-head{transition-delay:90ms}
.profile-menu.is-open nav button:nth-child(1){transition-delay:150ms}
.profile-menu.is-open nav button:nth-child(2){transition-delay:195ms}
.profile-menu.is-open nav button:nth-child(3){transition-delay:240ms}
.profile-menu.is-open .profile-menu-actions{transition-delay:285ms}
.profile-menu.is-closing .profile-menu-head,.profile-menu.is-closing nav button,.profile-menu.is-closing .profile-menu-actions{opacity:0;transform:translateY(-5px);transition-delay:0s;transition-duration:180ms}
.topbar-user>svg{transition:transform 480ms cubic-bezier(.22,1,.36,1)}
.topbar-user[aria-expanded="true"]>svg{transform:rotate(-90deg)}



/* WhatsApp refinado: símbolo leve, nítido e sem bloco preenchido. */
.employee-support-fab::after{display:none}
.employee-support-icon{color:#fff;background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.16),transparent 42%),rgba(0,112,54,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.19),0 7px 18px rgba(0,102,50,.14)}
.employee-support-icon svg{width:36px;height:36px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 4px rgba(0,71,35,.2))}
.employee-support-icon .whatsapp-bubble{stroke-width:1.65}
.employee-support-icon .whatsapp-phone{stroke-width:1.9}
@media(max-width:620px){.employee-support-icon svg{width:32px;height:32px}}


/* WhatsApp 3.0: centro fixo e pulso cromático contínuo. */
.employee-support-fab{display:grid;place-items:center;padding:0;background:linear-gradient(135deg,#0b9f4a,#25d366,#49e88a,#119d55);background-size:260% 260%;animation:employeeSupportLevitate 2.9s ease-in-out infinite,employeeSupportGradientPulse 2.15s ease-in-out infinite}
.employee-support-fab:hover{animation-play-state:running,running}
.employee-support-icon{display:grid;position:relative;inset:auto;width:58px;height:58px;place-items:center;margin:0;line-height:0;animation:employeeSupportInnerBlink 1.55s cubic-bezier(.4,0,.2,1) infinite!important;transform-origin:center;will-change:transform,opacity,filter,box-shadow}
.employee-support-icon svg{display:block;width:35px;height:35px;margin:0;transform:translate(.25px,-.15px);transform-origin:center;fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 4px rgba(0,71,35,.24))}
.employee-support-icon .whatsapp-bubble{stroke-width:1.75}
.employee-support-icon .whatsapp-phone{stroke-width:1.85}
@keyframes employeeSupportGradientPulse{0%,100%{background-position:0% 50%;box-shadow:0 17px 40px rgba(0,82,45,.3),inset 0 2px 0 rgba(255,255,255,.24),0 0 0 6px rgba(37,211,102,.07)}45%{background-position:100% 50%;box-shadow:0 21px 48px rgba(0,110,55,.4),inset 0 2px 0 rgba(255,255,255,.34),0 0 0 10px rgba(58,226,121,.15)}60%{background-position:72% 100%}}
@media(max-width:620px){.employee-support-icon{width:51px;height:51px}.employee-support-icon svg{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.employee-support-fab{animation:none!important;background-position:50% 50%}}


/* Pulso interno do WhatsApp: pisca, cresce e retorna ao centro. */
@keyframes employeeSupportInnerBlink{
  0%,100%{opacity:.72;transform:scale(.84);filter:brightness(.9) saturate(.94);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 5px 14px rgba(0,102,50,.1)}
  38%{opacity:1;transform:scale(1.08);filter:brightness(1.18) saturate(1.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 8px 24px rgba(39,235,126,.35),0 0 0 5px rgba(113,246,164,.12)}
  56%{opacity:.88;transform:scale(.96);filter:brightness(1) saturate(1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 6px 17px rgba(0,120,58,.18)}
  72%{opacity:1;transform:scale(1.035);filter:brightness(1.1) saturate(1.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.26),0 7px 21px rgba(39,235,126,.26)}
}
@media(prefers-reduced-motion:reduce){.employee-support-icon{animation:employeeSupportInnerBlink 1.8s ease-in-out infinite!important}}


/* Suporte: cartão elástico e pulso interno garantido. */
.employee-support-label{transform-origin:100% 50%;will-change:transform,opacity;backface-visibility:hidden}
.employee-support-fab:hover .employee-support-label,.employee-support-fab:focus-visible .employee-support-label{animation:employeeSupportLabelElastic 620ms cubic-bezier(.22,1,.36,1) both}
@keyframes employeeSupportLabelElastic{
  0%{opacity:0;transform:translateX(18px) scale(.68,.82)}
  48%{opacity:1;transform:translateX(-3px) scale(1.075,1.04)}
  68%{transform:translateX(1px) scale(.975,.99)}
  84%{transform:translateX(0) scale(1.018,1.008)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}
/* Esta pulsação permanece ativa porque é uma preferência explícita do usuário. */
.employee-support-icon{animation:employeeSupportInnerBlink 1.55s cubic-bezier(.4,0,.2,1) infinite!important}
@media(prefers-reduced-motion:reduce){.employee-support-icon{animation:employeeSupportInnerBlink 1.8s ease-in-out infinite!important}.employee-support-fab:hover .employee-support-label,.employee-support-fab:focus-visible .employee-support-label{animation:employeeSupportLabelElastic 620ms cubic-bezier(.22,1,.36,1) both!important}}


/* Marca interativa: imóvel, contorno circulante e preenchimento ao clicar. */
@property --brand-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
.employee-shell .side .employee-brand{position:relative;isolation:isolate;appearance:none;width:calc(100% - 8px);color:inherit;font:inherit;text-align:inherit;cursor:pointer;border:1px solid transparent;background:linear-gradient(145deg,rgba(14,67,70,.8),rgba(5,31,36,.62));transform:none!important;transition:border-color 240ms ease,box-shadow 520ms ease,background 520ms ease}
.employee-shell .side .employee-brand:hover,.employee-shell .side .employee-brand:active{transform:none!important}
.employee-shell .side .employee-brand:focus-visible{outline:3px solid rgba(117,225,214,.22);outline-offset:4px}
.employee-shell .side .employee-brand::before{position:absolute;z-index:4;inset:0;width:auto;height:auto;padding:1.5px;border-radius:21px;background:conic-gradient(from var(--brand-angle),transparent 0 12%,#a9d63f 20%,#73e0c8 31%,transparent 43% 61%,rgba(160,203,57,.7) 70%,#5cc1c2 83%,transparent 94%);box-shadow:none;content:"";transform:none;animation:employeeBrandBorderOrbit 4.8s linear infinite;pointer-events:none;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.employee-shell .side .employee-brand::after{position:absolute;z-index:0;inset:1px;border-radius:20px;background:radial-gradient(circle at 20% 20%,rgba(190,231,82,.48),transparent 42%),radial-gradient(circle at 85% 32%,rgba(65,207,198,.5),transparent 48%),linear-gradient(145deg,rgba(34,132,115,.62),rgba(10,71,75,.78));content:"";opacity:0;pointer-events:none;transform:scale(.92);animation:none;transition:opacity 620ms ease,transform 720ms cubic-bezier(.22,1,.36,1),filter 620ms ease;filter:saturate(.85) brightness(.82)}
.employee-shell .side .employee-brand.is-illuminated::after{opacity:1;transform:scale(1);filter:saturate(1.16) brightness(1.02)}
.employee-shell .side .employee-brand.is-illuminated{box-shadow:0 18px 42px rgba(0,33,34,.28),0 0 30px rgba(92,193,194,.12),inset 0 1px 0 rgba(255,255,255,.08)}
.employee-brand-symbol,.employee-brand-copy{position:relative;z-index:2}
.employee-brand-copy strong,.employee-brand-copy small{transition:color 420ms ease,text-shadow 420ms ease}
.employee-brand.is-illuminated .employee-brand-copy strong{color:#fff;text-shadow:0 2px 12px rgba(1,49,47,.42)}
.employee-brand.is-illuminated .employee-brand-copy small{color:rgba(240,255,250,.78)}
@keyframes employeeBrandBorderOrbit{to{--brand-angle:360deg}}
@media(prefers-reduced-motion:reduce){.employee-shell .side .employee-brand::before{animation:employeeBrandBorderOrbit 7s linear infinite!important}.employee-shell .side .employee-brand::after{transition-duration:.01ms!important}}


/* WhatsApp 4.0: símbolo fixo e nítido; pulso lento somente no círculo de fundo. */
.employee-support-fab{animation:employeeSupportLevitate 5.4s ease-in-out infinite,employeeSupportGradientPulse 6.2s ease-in-out infinite}
.employee-support-wave{animation-duration:6s}
.employee-support-wave:nth-child(2){animation-delay:2s}
.employee-support-wave:nth-child(3){animation-delay:4s}
.employee-support-icon{position:relative;isolation:isolate;background:transparent;box-shadow:none;opacity:1;transform:none!important;filter:none!important;animation:none!important;will-change:auto}
.employee-support-icon::before{display:block!important;position:absolute;z-index:0;inset:3px;border:0;border-radius:50%;background:radial-gradient(circle at 34% 27%,rgba(255,255,255,.22),transparent 38%),linear-gradient(145deg,rgba(9,156,74,.86),rgba(19,190,89,.72));box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 7px 20px rgba(0,112,54,.16);content:"";transform-origin:center;animation:employeeSupportInnerBreath 4.4s cubic-bezier(.42,0,.3,1) infinite!important;will-change:transform,opacity,box-shadow}
.employee-support-icon svg{position:relative;z-index:2;display:block;width:35px;height:35px;margin:0;overflow:visible;fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;filter:none!important;transform:none!important;shape-rendering:geometricPrecision}
.employee-support-icon .whatsapp-bubble{fill:none;stroke:#fff;stroke-width:1.7;vector-effect:non-scaling-stroke}
.employee-support-icon .whatsapp-phone{fill:#fff;stroke:none;vector-effect:non-scaling-stroke}
@keyframes employeeSupportInnerBreath{
  0%,100%{opacity:.78;transform:scale(.91);box-shadow:inset 0 0 0 1px rgba(255,255,255,.17),0 5px 16px rgba(0,112,54,.12)}
  48%{opacity:1;transform:scale(1.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.27),0 9px 26px rgba(34,225,118,.3),0 0 0 5px rgba(90,238,148,.1)}
  62%{opacity:.96;transform:scale(1.01)}
}
@media(max-width:620px){.employee-support-icon svg{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.employee-support-icon{animation:none!important;transform:none!important}.employee-support-icon::before{animation:employeeSupportInnerBreath 5.2s ease-in-out infinite!important}.employee-support-fab{animation:employeeSupportGradientPulse 7s ease-in-out infinite!important}}


/* Card de perfil 2.0: movimento garantido, lento e confortável. */
.profile-menu{transition:opacity 440ms ease,filter 620ms ease,clip-path 720ms cubic-bezier(.16,1,.3,1),transform 720ms cubic-bezier(.16,1,.3,1),visibility 0s linear 720ms}
.profile-menu.is-open{transition:opacity 460ms ease,filter 640ms ease,clip-path 720ms cubic-bezier(.16,1,.3,1),transform 720ms cubic-bezier(.16,1,.3,1),visibility 0s}
.profile-menu.is-closing{transition:opacity 380ms ease,filter 480ms ease,clip-path 520ms cubic-bezier(.4,0,.2,1),transform 520ms cubic-bezier(.4,0,.2,1),visibility 0s linear 520ms}
.profile-menu-head,.profile-menu nav button,.profile-menu-actions{transition:opacity 300ms ease,transform 460ms cubic-bezier(.16,1,.3,1)}
.profile-menu.is-open .profile-menu-head{transition-delay:120ms}
.profile-menu.is-open nav button:nth-child(1){transition-delay:190ms}
.profile-menu.is-open nav button:nth-child(2){transition-delay:255ms}
.profile-menu.is-open nav button:nth-child(3){transition-delay:320ms}
.profile-menu.is-open .profile-menu-actions{transition-delay:385ms}
.profile-menu.is-closing .profile-menu-head,.profile-menu.is-closing nav button,.profile-menu.is-closing .profile-menu-actions{transition-delay:0s;transition-duration:230ms}
@media(prefers-reduced-motion:reduce){.profile-menu{transition:opacity 440ms ease,clip-path 720ms cubic-bezier(.16,1,.3,1),transform 720ms cubic-bezier(.16,1,.3,1),visibility 0s linear 720ms!important}.profile-menu.is-open{transition:opacity 460ms ease,clip-path 720ms cubic-bezier(.16,1,.3,1),transform 720ms cubic-bezier(.16,1,.3,1),visibility 0s!important}.profile-menu.is-closing{transition:opacity 380ms ease,clip-path 520ms cubic-bezier(.4,0,.2,1),transform 520ms cubic-bezier(.4,0,.2,1),visibility 0s linear 520ms!important}.profile-menu-head,.profile-menu nav button,.profile-menu-actions{transition-duration:460ms!important}}


/* Fundo vivo 3.0: partículas, auroras, grade e órbitas sempre em movimento. */
.employee-shell .workspace::before{opacity:.9;animation:employeeGridDrift 24s linear infinite}
.employee-shell .workspace::after{border-color:rgba(23,124,116,.18);box-shadow:0 0 0 65px rgba(23,124,116,.035),0 0 0 130px rgba(160,203,57,.028),0 0 90px rgba(92,193,194,.09);animation:employeeOrbitFloat 14s ease-in-out infinite alternate-reverse}
.employee-ambient{opacity:1;background:radial-gradient(circle at 18% 18%,rgba(67,211,201,.14),transparent 23%),radial-gradient(circle at 82% 67%,rgba(177,219,67,.11),transparent 27%),radial-gradient(circle at 48% 92%,rgba(71,174,165,.09),transparent 22%);background-size:115% 115%;animation:employeeAmbientField 16s ease-in-out infinite alternate}
.employee-ambient::before,.employee-ambient::after{border-color:rgba(27,139,131,.16);box-shadow:0 0 0 34px rgba(92,193,194,.03),0 0 0 68px rgba(160,203,57,.022),0 0 42px rgba(59,181,173,.08)}
.employee-ambient::before{animation:employeeAmbientOrbit 17s ease-in-out infinite alternate}
.employee-ambient::after{animation:employeeAmbientOrbit 21s ease-in-out -6s infinite alternate-reverse}
.employee-ambient-beam{opacity:.78;filter:blur(18px)}
.employee-ambient-beam--one{background:linear-gradient(90deg,transparent,rgba(69,215,205,.22),rgba(154,225,107,.09),transparent);animation:employeeBeamTravel 13s ease-in-out infinite alternate}
.employee-ambient-beam--two{background:linear-gradient(90deg,transparent,rgba(187,226,86,.18),rgba(72,202,194,.08),transparent);animation:employeeBeamTravel 17s ease-in-out -6s infinite alternate-reverse}
.employee-ambient-orbit{border-color:rgba(25,137,129,.18);box-shadow:0 0 0 1px rgba(255,255,255,.3) inset,0 0 48px rgba(53,173,164,.045);animation:employeeOrbitSpin 30s linear infinite}
.employee-ambient-orbit--two{animation:employeeOrbitSpin 37s linear infinite reverse}
.employee-ambient i{opacity:.75;box-shadow:0 0 7px rgba(255,255,255,.76),0 0 20px rgba(43,189,179,.62);animation:employeeParticleRise 8s ease-in-out infinite}
.employee-ambient i:nth-of-type(2n){box-shadow:0 0 6px rgba(255,255,255,.72),0 0 20px rgba(173,218,66,.56)}
.employee-shell .panel{background:rgba(255,255,255,.69)}
@keyframes employeeGridDrift{from{background-position:0 0,0 0}to{background-position:54px 27px,27px 54px}}
@keyframes employeeAmbientField{from{background-position:0% 0%,100% 100%,45% 100%;filter:saturate(.95)}to{background-position:12% 8%,88% 88%,55% 82%;filter:saturate(1.16)}}
@media(prefers-reduced-motion:reduce){
  .employee-shell .workspace::before{animation:employeeGridDrift 28s linear infinite!important}
  .employee-shell .workspace::after{animation:employeeOrbitFloat 17s ease-in-out infinite alternate-reverse!important}
  .employee-ambient{animation:employeeAmbientField 20s ease-in-out infinite alternate!important}
  .employee-ambient::before{animation:employeeAmbientOrbit 20s ease-in-out infinite alternate!important}
  .employee-ambient::after{animation:employeeAmbientOrbit 24s ease-in-out -6s infinite alternate-reverse!important}
  .employee-ambient-beam--one{animation:employeeBeamTravel 16s ease-in-out infinite alternate!important}
  .employee-ambient-beam--two{animation:employeeBeamTravel 20s ease-in-out -7s infinite alternate-reverse!important}
  .employee-ambient-orbit--one{animation:employeeOrbitSpin 34s linear infinite!important}
  .employee-ambient-orbit--two{animation:employeeOrbitSpin 42s linear infinite reverse!important}
  .employee-ambient i{animation:employeeParticleRise 10s ease-in-out infinite!important}
}

/* Retorno explícito ao site institucional no login e dentro do portal. */
.login--future .login-back-link {
  position: absolute;
  z-index: 8;
  top: clamp(32px, 4vw, 58px);
  right: clamp(32px, 4vw, 58px);
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 102, 98, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #0b6764;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(12, 80, 76, .08);
  backdrop-filter: blur(14px);
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease, box-shadow 420ms ease, transform 520ms cubic-bezier(.16,1,.3,1);
  animation: futureEnter .7s .12s cubic-bezier(.22,1,.36,1) both;
}

.login--future .login-back-link > * { position: relative; z-index: 2; }
.login--future .login-back-link svg { width: 16px; height: 16px; transform: rotate(180deg); transition: transform 520ms cubic-bezier(.16,1,.3,1); }
.login--future .login-back-link i {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 -55%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.9), transparent);
  pointer-events: none;
  transform: skewX(-22deg);
}

.login--future .login-back-link:hover,
.login--future .login-back-link:focus-visible {
  border-color: rgba(11, 128, 122, .34);
  outline: none;
  background: rgba(255,255,255,.94);
  color: #075855;
  box-shadow: 0 15px 34px rgba(12,80,76,.14), 0 0 0 4px rgba(41,164,157,.07);
  transform: translateY(-3px);
}

.login--future .login-back-link:hover svg,
.login--future .login-back-link:focus-visible svg { transform: rotate(180deg) translateX(4px); }
.login--future .login-back-link:hover i,
.login--future .login-back-link:focus-visible i { animation: portalBackSweep 900ms cubic-bezier(.16,1,.3,1) both; }

.portal-site-return {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(23,104,102,.14);
  border-radius: 10px;
  background: #f0f7f4;
  color: #176866;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease, transform 420ms cubic-bezier(.16,1,.3,1), box-shadow 420ms ease;
}

.portal-site-return svg { width: 15px; height: 15px; transform: rotate(180deg); transition: transform 420ms cubic-bezier(.16,1,.3,1); }
.portal-site-return:hover,
.portal-site-return:focus-visible {
  border-color: rgba(23,104,102,.3);
  outline: none;
  background: #e6f3ee;
  color: #0c5a57;
  box-shadow: 0 10px 22px rgba(18,79,75,.1);
  transform: translateY(-2px);
}
.portal-site-return:hover svg,
.portal-site-return:focus-visible svg { transform: rotate(180deg) translateX(4px); }

.employee-shell .portal-site-return {
  border-color: rgba(112,211,201,.18);
  background: rgba(92,193,194,.07);
  color: rgba(255,255,255,.72);
}
.employee-shell .portal-site-return:hover,
.employee-shell .portal-site-return:focus-visible {
  border-color: rgba(112,211,201,.36);
  background: rgba(92,193,194,.14);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
}

@keyframes portalBackSweep {
  from { left: -55%; opacity: 0; }
  18% { opacity: .9; }
  to { left: 125%; opacity: 0; }
}

@media (max-width: 650px) {
  .login--future .login-back-link {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-start;
    margin-bottom: 18px;
    background: rgba(255,255,255,.84);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login--future .login-back-link,
  .login--future .login-back-link i,
  .login--future .login-back-link svg,
  .portal-site-return,
  .portal-site-return svg {
    animation: none !important;
    transition-duration: 0ms !important;
  }
}


/* Sidebar ambient life */
.employee-shell .side{isolation:isolate}
.employee-shell .side>.employee-side-ambient{position:absolute!important;z-index:0!important;inset:0;overflow:hidden;pointer-events:none}
.employee-side-ambient::before{content:"";position:absolute;left:-38%;top:35%;width:176%;height:42%;background:radial-gradient(ellipse at center,rgba(50,205,191,.1),transparent 62%);transform:rotate(-11deg);animation:employeeSideGlow 8s ease-in-out infinite alternate}
.employee-side-beam{position:absolute;left:-26%;top:43%;width:152%;height:2px;background:linear-gradient(90deg,transparent,rgba(68,219,207,.55),rgba(184,231,73,.8),transparent);box-shadow:0 0 18px rgba(67,211,199,.3);transform:rotate(-10deg);opacity:.28;animation:employeeSideBeamSweep 9s ease-in-out infinite}
.employee-side-pulse{position:absolute;left:50%;top:56%;width:112px;height:112px;border:1px solid rgba(86,225,211,.34);border-radius:50%;box-shadow:0 0 22px rgba(52,204,191,.12),inset 0 0 24px rgba(42,183,171,.06);transform:translate(-50%,-50%) scale(.72);opacity:.28;animation:employeeSidePulse 4.8s cubic-bezier(.4,0,.2,1) infinite}
.employee-side-pulse::before,.employee-side-pulse::after,.employee-side-pulse b{content:"";position:absolute;border-radius:50%;inset:16px;border:1px solid rgba(180,229,70,.38);box-shadow:0 0 20px rgba(178,225,70,.14);animation:employeeSidePulseInner 4.8s cubic-bezier(.4,0,.2,1) -.75s infinite}
.employee-side-pulse::after{inset:34px;background:radial-gradient(circle,rgba(54,210,196,.34),rgba(28,151,142,.08) 54%,transparent 70%);border-color:rgba(83,224,211,.48);animation-delay:-1.55s}
.employee-side-pulse b{inset:48px;background:#a9dc3f;border:0;box-shadow:0 0 14px rgba(169,220,63,.8),0 0 30px rgba(52,209,195,.44);animation-delay:-2.25s}
.employee-side-ambient i{position:absolute;width:4px;height:4px;border-radius:50%;background:#70e0d6;box-shadow:0 0 8px rgba(112,224,214,.9),0 0 18px rgba(44,194,181,.52);opacity:.35;animation:employeeSideParticle 6.4s ease-in-out infinite}
.employee-side-ambient i:nth-of-type(1){left:14%;top:39%;animation-delay:-1s}
.employee-side-ambient i:nth-of-type(2){left:80%;top:45%;width:3px;height:3px;background:#c0e755;animation-delay:-3.2s}
.employee-side-ambient i:nth-of-type(3){left:23%;top:66%;animation-delay:-4.7s}
.employee-side-ambient i:nth-of-type(4){left:72%;top:72%;width:5px;height:5px;background:#b7df49;animation-delay:-2.1s}
.employee-side-ambient i:nth-of-type(5){left:46%;top:78%;width:3px;height:3px;animation-delay:-5.4s}
.employee-side-ambient i:nth-of-type(6){left:88%;top:60%;animation-delay:-.4s}
@keyframes employeeSidePulse{0%,100%{transform:translate(-50%,-50%) scale(.7);opacity:.16}42%{transform:translate(-50%,-50%) scale(1.1);opacity:.68}62%{transform:translate(-50%,-50%) scale(.96);opacity:.42}78%{transform:translate(-50%,-50%) scale(1.18);opacity:.18}}
@keyframes employeeSidePulseInner{0%,100%{transform:scale(.74);opacity:.24}48%{transform:scale(1.18);opacity:.95}72%{transform:scale(.98);opacity:.48}}
@keyframes employeeSideBeamSweep{0%,100%{transform:translateY(-34px) rotate(-10deg);opacity:.08}48%{transform:translateY(54px) rotate(-10deg);opacity:.44}70%{opacity:.18}}
@keyframes employeeSideGlow{from{transform:translateY(-18px) rotate(-11deg) scale(.88);opacity:.24}to{transform:translateY(26px) rotate(-7deg) scale(1.12);opacity:.72}}
@keyframes employeeSideParticle{0%,100%{transform:translate3d(0,10px,0) scale(.65);opacity:.16}45%{transform:translate3d(8px,-14px,0) scale(1.35);opacity:.9}70%{transform:translate3d(-5px,-4px,0) scale(.9);opacity:.42}}
@media(prefers-reduced-motion:reduce){
 .employee-shell .side::after{animation:employeeOrbitFloat 15s ease-in-out infinite alternate-reverse!important}
 .employee-side-ambient::before{animation:employeeSideGlow 8s ease-in-out infinite alternate!important}
 .employee-side-beam{animation:employeeSideBeamSweep 9s ease-in-out infinite!important}
 .employee-side-pulse{animation:employeeSidePulse 4.8s cubic-bezier(.4,0,.2,1) infinite!important}
 .employee-side-pulse::before,.employee-side-pulse::after,.employee-side-pulse b{animation:employeeSidePulseInner 4.8s cubic-bezier(.4,0,.2,1) infinite!important}
 .employee-side-pulse::after{animation-delay:-1.55s!important}
 .employee-side-pulse b{animation-delay:-2.25s!important}
 .employee-side-ambient i{animation:employeeSideParticle 6.4s ease-in-out infinite!important}
}
