*, *::before, *::after { box-sizing: border-box; }

:root {
    --navy: #071527;
    --ink: #0c1d33;
    --gold: #c4a35a;
    --paper: #f6f3ec;
    --line: rgba(255,255,255,.12);
    --zoom-font: 13px;
    --zoom-row: 28px;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--navy);
    color: var(--paper);
    color-scheme: light only;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #06101c; }
.sky-spin {
    position: absolute; inset: -45%;
    background: conic-gradient(from 200deg, #06101c, #0c2a4a, #123a6b, #c4a35a22, #06101c);
    animation: spin 36s linear infinite; opacity: .55;
}
.orb { position: absolute; border-radius: 50%; }
.orb-a { width: 70vmax; height: 70vmax; left: -20%; top: -30%; background: radial-gradient(circle, #123a6b 0%, transparent 65%); }
.orb-b { width: 50vmax; height: 50vmax; right: -15%; bottom: -20%; background: radial-gradient(circle, #c4a35a33 0%, transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }

.shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.pt-topbar {
    background: linear-gradient(90deg, #0a1f3d, #123a6b);
    color: #fff;
    position: sticky; top: 0; z-index: 900;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    padding: 3px 4px 2px;
}
.pt-linha1 {
    display: flex; justify-content: center; align-items: center;
    margin: 0; padding: 0; line-height: 0;
}
.pt-brand {
    background: transparent; border-radius: 0; padding: 2px 4px;
    display: inline-flex; align-items: center; text-decoration: none; line-height: 0;
}
.pt-brand img {
    height: 24px; width: auto; display: block;
    /* névoa clara (~50% da intensidade anterior) + sombra escura leve */
    filter:
        drop-shadow(0 0 1px rgba(255,255,255,.55))
        drop-shadow(0 0 3px rgba(255,255,255,.35))
        drop-shadow(0 0 7px rgba(255,255,255,.22))
        drop-shadow(0 1px 2px rgba(0,0,0,.55));
}
.pt-linha2, .pt-linha3 {
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
    gap: 6px;
    margin: 0; padding: 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pt-linha3 {
    overflow: visible; padding-top: 2px; padding-bottom: 3px;
}
.pt-linha3-centro {
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
    gap: 8px; min-width: 0; max-width: 100%;
}
.pt-linha3-hub { display: contents; }
.pt-linha3-sair {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    margin: 0;
    position: static;
    transform: none;
}
.pt-estat {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px;
    background: transparent; cursor: pointer; flex-shrink: 0;
}
.pt-estat img { width: 22px; height: 22px; display: block; }
.pt-estat:hover { background: rgba(255,255,255,.12); }
.pt-linha2 { overflow: visible; padding-top: 8px; padding-bottom: 3px; }
.pt-linha2-scroll {
    display: flex; align-items: center; justify-content: center;
    flex: 1 1 auto; flex-wrap: nowrap; gap: inherit; min-width: 0; width: auto; max-width: 100%;
    scrollbar-width: none;
}
.nav-mais-wrap {
    position: relative; margin-left: 0; flex-shrink: 0;
}
.pt-linha2-scroll::-webkit-scrollbar, .pt-linha3::-webkit-scrollbar { display: none; }
.pt-nav-item {
    color: #d7e3f4; text-decoration: none;
    font-size: 16px; font-weight: 600;
    padding: 2px 4px; border-radius: 4px; white-space: nowrap;
    flex-shrink: 0; line-height: 1.25;
    display: inline-flex; align-items: center; gap: 0;
    border: 0; background: none; cursor: pointer; font-family: inherit;
}
button.pt-nav-item:hover, a.pt-nav-item:hover { background: rgba(255,255,255,.14); color: #fff; }
.pt-nav-item.is-on {
    background: #c4a35a; color: #0a1f3d;
}
.pt-nav-ico {
    display: inline-block; flex-shrink: 0;
    width: 18px; height: 18px; margin-right: 3px;
    overflow: visible; border-radius: 50%; object-fit: cover;
}
.pt-nav-ico-wrap {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: auto; height: 18px; flex-shrink: 0; margin-right: 8px; overflow: visible; gap: 8px;
}
.pt-nav-ico-wrap .pt-nav-ico { width: 18px; height: 18px; margin: 0; }
.pt-nav-ico-wrap .pt-nav-badge {
    position: static; top: auto; left: auto;
    margin: 0;
    z-index: 6;
    box-shadow: 0 0 0 1.5px #0a1f3d;
}
.pt-nav-with-badge { display: inline-flex; align-items: center; flex-shrink: 0; gap: 14px; white-space: nowrap; }
a.pt-nav-badge-hit, button.pt-nav-badge-hit {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; border: 0; background: none; cursor: pointer;
    padding: 4px 6px; margin: 0; line-height: 0;
    border-radius: 999px; min-width: 32px; min-height: 32px; box-sizing: border-box; color: inherit;
    position: relative; z-index: 6;
}
a.pt-nav-badge-hit:hover, button.pt-nav-badge-hit:hover { filter: brightness(1.08); }
a.pt-nav-badge-hit .pt-nav-badge, button.pt-nav-badge-hit .pt-nav-badge { margin: 0; }
.pt-nav-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 26px; height: 26px; padding: 0 8px; margin: 0 0 0 2px;
    border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1; text-align: center;
    box-shadow: 0 0 0 1px rgba(0,0,0,.14);
    position: relative; z-index: 6; pointer-events: auto; cursor: pointer; flex-shrink: 0;
    box-sizing: border-box;
}
a.pt-nav-badge, button.pt-nav-badge { text-decoration: none; }
header.pt-topbar .pt-linha2-scroll,
header.pt-topbar .pt-linha3-centro { gap: 14px; }
.pt-nav-badge-dlg { background: #ff9100; color: #fff; animation: pt-badge-blink-dlg 0.85s ease-in-out infinite; }
.pt-nav-badge-conv { background: #c6ff00; color: #1b3d00; animation: pt-badge-blink-conv 1.05s ease-in-out infinite; }
.pt-nav-badge-insp-eu { background: #1e88e5; color: #fff; animation: pt-badge-blink-insp-eu 1.05s ease-in-out infinite; }
.pt-nav-badge-insp-dep { background: #90caf9; color: #0d3a66; animation: pt-badge-blink-insp-dep 1.05s ease-in-out infinite; }
.pt-nav-badge-insp-eu.pt-nav-badge-insp-atrasada { animation: pt-badge-blink-insp-eu-atrasada 1.05s ease-in-out infinite; }
.pt-nav-badge-insp-dep.pt-nav-badge-insp-atrasada { animation: pt-badge-blink-insp-dep-atrasada 1.05s ease-in-out infinite; }
.pt-nav-insp-badges { display: inline-flex; align-items: center; gap: 16px; margin-left: 0; }
@keyframes pt-badge-blink-dlg {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,145,0,.85); }
    50% { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(255,145,0,0); }
}
@keyframes pt-badge-blink-conv {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(198,255,0,.85); }
    50% { transform: scale(1.16); box-shadow: 0 0 0 6px rgba(198,255,0,0); }
}
@keyframes pt-badge-blink-insp-eu {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(30,136,229,.85); }
    50% { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(30,136,229,0); }
}
@keyframes pt-badge-blink-insp-dep {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(144,202,249,.9); }
    50% { transform: scale(1.14); box-shadow: 0 0 0 6px rgba(144,202,249,0); }
}
@keyframes pt-badge-blink-insp-eu-atrasada {
    0%, 100% { transform: scale(1); background: #1e88e5; box-shadow: 0 0 0 0 rgba(255,77,109,.9), 0 0 8px 2px rgba(255,77,109,.45); }
    50% { transform: scale(1.18); background: #1e88e5; box-shadow: 0 0 0 8px rgba(255,77,109,0), 0 0 16px 4px rgba(255,77,109,.32); }
}
@keyframes pt-badge-blink-insp-dep-atrasada {
    0%, 100% { transform: scale(1); background: #90caf9; box-shadow: 0 0 0 0 rgba(255,77,109,.9), 0 0 8px 2px rgba(255,77,109,.45); }
    50% { transform: scale(1.14); background: #90caf9; box-shadow: 0 0 0 8px rgba(255,77,109,0), 0 0 16px 4px rgba(255,77,109,.32); }
}
.pt-msgs-ov { position: fixed; inset: 0; z-index: 10050; background: rgba(10,31,61,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pt-msgs-box { width: min(420px, 94vw); background: #fff; color: #122033; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.pt-msgs-box h3 { margin: 0; padding: 12px 14px 4px; font-size: 16px; color: #0d2344; }
.pt-msgs-box p { margin: 0; padding: 0 14px 10px; font-size: 12px; color: #5a6b82; }
.pt-msgs-item {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    border: 0; border-top: 1px solid #e8edf4; background: #fff; padding: 10px 14px; cursor: pointer; font: inherit;
}
.pt-msgs-item:hover { background: #fff8f0; }
.pt-msgs-item b { display: block; font-size: 13px; color: #0d2344; }
.pt-msgs-item small { display: block; font-size: 11px; color: #5a6b82; }
.pt-msgs-qtd {
    margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px;
    background: #ff9100; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
    animation: pt-badge-blink-dlg 0.85s ease-in-out infinite;
}
.pt-msgs-f { padding: 10px 14px; background: #eef2f7; display: flex; justify-content: flex-end; }
.pt-user-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: #d7e3f4; text-decoration: none; white-space: nowrap;
    padding: 2px 6px; border-radius: 999px; line-height: 1.25;
}
.pt-user-link:hover { background: rgba(255,255,255,.12); }
/* Ativo no /perfil: destaque sem escurecer o nome (senão some no navy) */
.pt-user-link.is-on {
    background: rgba(196,163,90,.28);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(232,198,87,.55);
}
.pt-user-link.is-on .pt-user-nome { color: #ffe9a8; }
.pt-gcal {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px;
    text-decoration: none; cursor: default; pointer-events: none; user-select: none;
}
.pt-gcal svg { width: 22px; height: 22px; display: block; }
.pt-gcal.off svg { filter: grayscale(1) opacity(.55); }
.pt-gcal:hover { background: transparent; }
.pt-gcal-mark {
    position: absolute; right: -3px; bottom: -3px;
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid #0a1f3d; background: #2e7d32;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}
.pt-gcal-mark.check {
    background: #2e7d32;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.2' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 10px 10px; background-position: center; background-repeat: no-repeat;
}
.pt-gcal-mark.x {
    background: #c62828;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 10px 10px; background-position: center; background-repeat: no-repeat;
}
.pt-user-nome {
    color: #e8c657; font-weight: 600; font-size: 13px;
    max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pt-user {
    display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 4px; min-width: 0;
}
.pt-sair { flex-shrink: 0; white-space: nowrap; }
.pt-ico-user {
    display: inline-block; width: 12px; height: 12px; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e8c657'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") no-repeat center/contain;
}
#pt-user-foto, img.pt-user-foto {
    width: 22px !important; height: 22px !important;
    max-width: 22px !important; max-height: 22px !important;
    object-fit: cover; border-radius: 50%;
}
.pt-sair, .ghost-nav, .ghost {
    background: transparent; color: #dce8f5; border: 1px solid rgba(255,255,255,.28);
    border-radius: 6px; padding: 2px 8px; cursor: pointer; font-size: 12px; font-weight: 600;
}
.nav-out { display: inline-flex; margin: 0; flex-shrink: 0; }
.nav-mais {
    width: 28px; height: 28px; padding: 0; border-radius: 50%;
    border: 1px solid rgba(196,163,90,.7); background: #c4a35a;
    color: #0a1f3d; font-size: 20px; font-weight: 800; line-height: 26px; cursor: pointer;
}
.nav-mais:hover { filter: brightness(1.08); }
.nav-mais-backdrop { position: fixed; inset: 0; z-index: 1190; background: transparent; }
.nav-mais-pop {
    position: fixed; transform: translateX(-50%); z-index: 1200;
    min-width: 248px; padding: 10px 12px; border-radius: 12px;
    background: linear-gradient(180deg, rgba(14,34,60,.96), rgba(7,21,39,.98));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(196,163,90,.32); border-top: 2px solid var(--gold);
    box-shadow: 0 12px 34px rgba(7,21,39,.45), inset 0 1px 0 rgba(255,255,255,.06);
    display: grid; gap: 7px;
}
.nav-mais-pop .dock-b { text-align: left; width: 100%; font-size: 16px; padding: 10px 14px; }
.nav-mais-pop .dock-ckp { font-size: 17.5px; }
.who { font-size: 12px; color: #9fb4c8; }
.brand-p, .brand-mark span { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 28px; color: #dce8f5; }
.brand-t, .brand-mark em { font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--gold); font-size: 28px; }
.stage { padding: 10px 28px 96px; flex: 1; background: #e8edf3; }
.pt-err { max-width: 420px; padding: 8px 0 24px; }
.pt-err p { margin: 0 0 12px; font-size: 16px; font-weight: 650; color: #1a2430; }
.pt-err .btn-save { width: auto; min-width: 140px; }
.stage-login {
    position: relative; z-index: 1; min-height: 100vh;
    display: flex; align-items: safe center; justify-content: center;
    padding: 28px 16px; overflow: auto;
    color-scheme: light only;
}
.stage-login::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 50% 42%, transparent 28%, #040b14cc 100%);
}

.login-wrap { width: min(356px, 90vw); position: relative; z-index: 1; }
.bv-wrap { width: min(520px, 94vw); position: relative; z-index: 1; }
.bv-card {
    color: #142033; text-align: center; padding: 28px 26px 22px; border-radius: 18px;
    color-scheme: only light;
    background-color: #fffefb;
    background-image: linear-gradient(#fffefb, #f4efe6);
    border: 1px solid rgba(196, 163, 90, .45);
    box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset, 0 22px 50px rgba(0,0,0,.42);
}
.bv-card, .bv-card * { color-scheme: only light; }
.bv-card img { width: min(220px, 68%); height: auto; }
.bv-sub { margin: 2px 0 0; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: #33415c; }
.bv-kicker { margin: 14px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #8a6a22; }
.bv-card h1 { margin: 2px 0 8px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 36px; line-height: 1.15; color: #0a1f3d; }
.bv-rule { display: block; width: 48px; height: 1px; margin: 0 auto 14px; background: #c4a35a; }
.bv-lead { margin: 0 0 6px; font-size: 16.5px; line-height: 1.45; }
.bv-papel { margin: 0 0 14px; font-size: 15px; font-weight: 650; letter-spacing: 0; line-height: 1.4; color: #5e4510; }
.bv-aviso {
    margin: 0 0 12px; text-align: left; background: rgba(255,255,255,.82);
    border: 1px solid rgba(196,163,90,.45); border-radius: 12px; padding: 12px 14px;
    font-size: 15.5px; line-height: 1.45; color: #142033; font-weight: 600;
}
.bv-passos { list-style: none; counter-reset: bv; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; text-align: left; }
.bv-passos li {
    counter-increment: bv; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; align-items: start;
    background: rgba(255,255,255,.78); border: 1px solid rgba(196,163,90,.34); border-radius: 12px; padding: 10px 12px 10px 10px;
}
.bv-passos li::before {
    content: counter(bv); grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #0a1f3d;
    background: linear-gradient(180deg, #f3e2b0, #c4a35a); box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.bv-passos b { font-size: 13.5px; letter-spacing: .02em; color: #0a1f3d; }
.bv-passos span { font-size: 14.5px; line-height: 1.4; color: #243044; font-weight: 500; }
.bv-card .btn-entrar, .bv-card .btn-cancel { display: block; width: 100%; text-align: center; text-decoration: none; margin-top: 8px; }
.bv-card .login-form { text-align: left; margin-top: 4px; }
.bv-card .login-erro, .bv-card .login-vinho { color: #8a1c2b; font-size: 14px; font-weight: 650; }
.login-card {
    position: relative;
    color: #0a1f3d;
    color-scheme: light only;
    text-align: center;
    padding: 30px 26px 22px;
    border-radius: 16px;
    background: linear-gradient(#fffefb, #f4efe6);
    border: 1px solid rgba(196, 163, 90, .38);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.55) inset,
        0 1px 0 rgba(255,248,230,.7) inset,
        0 22px 50px rgba(0,0,0,.42);
}
.login-card.com-grao {
    background-color: #e3d5bd;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-.6'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-.6'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-.6'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        linear-gradient(#f1e7d7, #e3d5bd);
    background-size: 128px 128px, auto;
    background-blend-mode: overlay, normal;
}
.login-card::before {
    content: "";
    position: absolute; inset: 8px;
    border: 1px solid rgba(196, 163, 90, .22);
    border-radius: 11px;
    pointer-events: none;
}
.login-crest { margin: 2px 0 2px; }
.login-crest img {
    display: block; margin: 0 auto;
    width: 86%; max-width: 268px; height: auto;
    filter: drop-shadow(0 6px 10px rgba(10, 31, 61, .18));
}
.login-sub {
    margin: 8px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-size: 15px;
    letter-spacing: .06em;
    color: #5a4a2e;
}
.login-iso {
    margin: 5px 0 0;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #9a7a32;
}
.login-rule {
    display: block; width: 42px; height: 1px; margin: 16px auto 20px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.login-form { position: relative; }
.fld { display: block; text-align: left; font-size: 14px; font-weight: 700; letter-spacing: .03em; color: #1c2836; margin-bottom: 13px; }
.fld input, .sheet-b input, .sheet-b select, .sheet-b textarea, .cal-bar select {
    width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #c3ccd9; border-radius: 8px;
    background: #f7f9fc; color: #0a1f3d; font: inherit;
}
.login-form .fld input {
    color-scheme: light only;
    background-color: #fff;
    background: #fff;
    color: #0a1f3d;
    border: 1px solid #d5cbb8;
    border-radius: 7px;
    padding: 11px 12px;
    font-size: 17px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.login-form .fld input:focus {
    outline: none;
    background: #fff;
    border-color: #b38d3c;
    box-shadow: 0 0 0 3px rgba(196, 163, 90, .22);
}
.login-card .login-form .fld input {
    background: #fff;
    box-shadow: 0 0 0 1000px #fff inset;
}
.login-card .login-form .fld input:focus {
    background: #fff;
    box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(196, 163, 90, .22);
}
.login-card .login-form .fld input:-webkit-autofill,
.login-card .login-form .fld input:-webkit-autofill:hover,
.login-card .login-form .fld input:-webkit-autofill:focus {
    -webkit-text-fill-color: #0a1f3d;
    caret-color: #0a1f3d;
    box-shadow: 0 0 0 1000px #fff inset;
    transition: background-color 9999s ease-out;
}
.fld small { display: block; font-weight: 550; color: #243044; margin-top: 8px; letter-spacing: 0; font-size: 15.5px; line-height: 1.45; }
.btn-entrar, .btn-save {
    width: 100%; padding: 12px; border: 0; border-radius: 10px; cursor: pointer;
    background: linear-gradient(135deg, #0a1f3d, #123a6b); color: #fff; font-weight: 700;
}
.btn-entrar {
    position: relative;
    margin-top: 4px;
    padding: 11px 12px;
    border-radius: 8px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
    background:
        linear-gradient(#1a3a66, #0a1f3d);
    box-shadow: 0 1px 0 rgba(196, 163, 90, .45);
    transition: box-shadow .2s, filter .2s, transform .2s;
}
.btn-entrar:hover, .btn-save:hover { filter: brightness(1.1); }
.btn-entrar:hover {
    box-shadow: 0 1px 0 rgba(196, 163, 90, .7), 0 0 0 3px rgba(196, 163, 90, .18);
}
.btn-entrar-txt { display: inline-block; transition: opacity .25s; }
.btn-entrar-wait {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.btn-entrar-wait i {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold); display: block;
    animation: pt-pulse-dot 1s ease-in-out infinite;
}
.btn-entrar-wait i:nth-child(2) { animation-delay: .15s; }
.btn-entrar-wait i:nth-child(3) { animation-delay: .3s; }
.login-card.entrando .login-crest img {
    animation: login-crest 1.7s ease-in-out;
}
.login-card.entrando .login-iso { animation: login-iso-glow 1.7s ease-in-out; }
.login-card.entrando .login-rule {
    width: 120px;
    transition: width 1.2s ease;
    background: linear-gradient(90deg, transparent, #e8d08a, var(--gold), #e8d08a, transparent);
}
.login-card.entrando .btn-entrar { cursor: wait; }
.login-card.entrando .btn-entrar:disabled { opacity: 1; filter: none; }
.login-card.entrando .btn-entrar-txt { opacity: 0; }
.login-card.entrando .btn-entrar-wait { opacity: 1; }
@keyframes login-crest {
    0% { transform: scale(1); filter: drop-shadow(0 6px 10px rgba(10, 31, 61, .18)); }
    45% { transform: scale(1.04); filter: drop-shadow(0 8px 18px rgba(196, 163, 90, .45)); }
    100% { transform: scale(1.02); filter: drop-shadow(0 6px 14px rgba(196, 163, 90, .28)); }
}
@keyframes login-iso-glow {
    0%, 100% { color: #9a7a32; letter-spacing: .16em; }
    50% { color: #c4a35a; letter-spacing: .2em; }
}
.btn-save:disabled { opacity: .4; cursor: not-allowed; }
.btn-cancel { background: #b42318; color: #fff; border: 0; border-radius: 10px; padding: 12px 18px; cursor: pointer; font-weight: 700; }
.login-erro { color: #9a1b2f; font-size: 15.5px; margin: 0 0 12px; line-height: 1.45; }
.login-aviso {
    background: #f7edd8; border: 1px solid rgba(196, 163, 90, .45); color: #1c2836;
    border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.45; margin: 0 0 12px;
    text-align: left;
}
.login-aviso p { margin: 0; }
.login-aviso p + p { margin-top: 4px; }
.login-sub.convite { font-size: 22px; letter-spacing: .02em; line-height: 1.25; }
.login-miolo { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: #1c2836; }
.login-vinho {
    background: #f6e4e6; border: 1px solid #9a1b2f; color: #6e1220;
    border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.45;
    margin: 0 0 14px; text-align: left;
}
a.btn-entrar { display: block; text-decoration: none; text-align: center; color: #fff; box-sizing: border-box; }
a.btn-cancel.login-fechar { display: block; width: 100%; text-decoration: none; text-align: center; box-sizing: border-box; }
.login-outra { margin: 10px 0 0; font-size: 15.5px; text-align: center; }
.login-outra a { color: #123a6b; font-weight: 700; text-decoration: none; }
.login-foot {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(196, 163, 90, .22);
    font-size: 15px;
    color: #3a4658;
    line-height: 1.5;
}
.login-foot p { margin: 0 0 8px; }
.login-foot a { color: #123a6b; font-weight: 700; text-decoration: none; }
.login-foot a:hover { text-decoration: underline; }
.login-about { display: inline-block; font-size: 13px; }

.login-card.com-grao:not(.esqueci) { padding: 18px 20px 12px; }
.login-card.com-grao:not(.esqueci)::before { inset: 6px; }
.login-card.com-grao:not(.esqueci) .login-crest { margin: 0; }
.login-card.com-grao:not(.esqueci) .login-crest img { width: 78%; max-width: 228px; }
.login-card.com-grao:not(.esqueci) .login-sub { margin: 4px 0 0; font-size: 17px; }
.login-card.com-grao:not(.esqueci) .login-iso { margin: 2px 0 0; font-size: 12px; }
.login-card.com-grao:not(.esqueci) .login-rule { margin: 8px auto 10px; }
.login-card.com-grao:not(.esqueci) .fld { margin-bottom: 8px; font-size: 16px; }
.login-card.com-grao:not(.esqueci) .login-form .fld input { margin-top: 3px; padding: 8px 12px; font-size: 20px; }
.login-card.com-grao:not(.esqueci) .fld small { margin-top: 4px; font-size: 18px; line-height: 1.28; }
.login-card.com-grao:not(.esqueci) .login-erro { font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.login-card.com-grao:not(.esqueci) .btn-entrar { margin-top: 2px; padding: 10px 12px; font-size: 14px; }
.login-card.com-grao:not(.esqueci) .login-foot {
    margin-top: 14px; padding-top: 12px; font-size: 17px; line-height: 1.3;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.login-card.com-grao:not(.esqueci) .login-foot p { margin: 0; }
.login-card.com-grao:not(.esqueci) .login-foot a { font-weight: 500; }
.login-card.com-grao:not(.esqueci) .login-foot .login-esqueci { margin: 0; padding: 8px 12px; font-size: 17px; }
.login-card.com-grao:not(.esqueci) .login-conta {
    display: flex; flex-direction: column; align-items: center; gap: 1px;
    margin-top: 8px; font-size: 15px; line-height: 1.25;
}
.login-card.com-grao:not(.esqueci) .login-conta span { color: #9aa3ac; font-weight: 500; }
.login-card.com-grao:not(.esqueci) .login-conta a { display: block; padding: 0 8px; color: #123a6b; }
.login-card.com-grao:not(.esqueci) .login-about { font-size: 16.5px; padding: 8px 12px; }
@media (max-width: 700px) {
    .stage-login:has(.login-card.com-grao:not(.esqueci)) { padding: 8px 8px; }
    .login-wrap:has(.login-card.com-grao:not(.esqueci)) { width: min(320px, 78vw); }
    .login-card.com-grao:not(.esqueci) { padding: 12px 14px 8px; }
    .login-card.com-grao:not(.esqueci) .login-crest img { width: 68%; max-width: 196px; }
    .login-card.com-grao:not(.esqueci) .login-sub { margin-top: 2px; }
    .login-card.com-grao:not(.esqueci) .login-rule { margin: 6px auto 8px; }
    .login-card.com-grao:not(.esqueci) .fld { margin-bottom: 6px; }
    .login-card.com-grao:not(.esqueci) .login-form .fld input { padding: 7px 10px; }
    .login-card.com-grao:not(.esqueci) .fld small { margin-top: 3px; line-height: 1.22; }
    .login-card.com-grao:not(.esqueci) .btn-entrar { padding: 9px 10px; }
    .login-card.com-grao:not(.esqueci) .login-foot { margin-top: 12px; padding-top: 10px; gap: 20px; }
    .login-card.com-grao:not(.esqueci) .login-foot .login-esqueci,
    .login-card.com-grao:not(.esqueci) .login-about { padding: 12px 14px; }
    .login-card.com-grao:not(.esqueci) .login-conta { margin-top: 10px; }
    .login-card.com-grao:not(.esqueci) .login-conta a { padding: 0 10px; }
}

.login-wrap.esqueci { width: min(440px, 94vw); }
.login-card.esqueci .login-sub {
    font-size: 28px; font-style: normal; letter-spacing: .01em; color: #1c2836; line-height: 1.15;
}
.login-card.esqueci .fld { font-size: 16px; color: #1c2836; }
.login-card.esqueci .login-form .fld input { font-size: 18px; padding: 12px 14px; }
.login-card.esqueci .fld small {
    font-size: 17px; font-weight: 650; color: #1c2836; line-height: 1.45;
    margin-top: 12px; margin-bottom: 22px;
}
.login-card.esqueci .login-erro,
.login-card.esqueci .login-aviso,
.login-card.esqueci .login-vinho { font-size: 17px; }
.login-card.esqueci .login-aviso p + p { margin-top: 8px; }
.login-card.esqueci .login-aviso a,
.login-card.esqueci .login-vinho a { color: #123a6b; font-weight: 700; }
.login-card.esqueci .login-vinho p { margin: 0; }
.login-card.esqueci .login-vinho p + p { margin-top: 6px; }
.login-card.esqueci .login-outra { font-size: 16px; }
.login-card.esqueci .btn-entrar {
    font-size: 17px; letter-spacing: .04em; text-transform: none !important;
    padding: 14px 12px; margin-top: 6px;
}
.login-foot .login-esqueci { display: inline-block; margin: 4px 0 14px; font-size: 17px; }

.login-wrap.redefinir { width: min(440px, 94vw); }
.login-card.redefinir .login-sub {
    font-size: 17px; font-style: italic; letter-spacing: .02em; color: #1c2836; line-height: 1.3;
}
.login-card.redefinir .fld { font-size: 17px; color: #1c2836; }
.login-card.redefinir .login-form .fld input { font-size: 17px; padding: 12px 14px; }
.login-card.redefinir .login-erro,
.login-card.redefinir .login-outra { font-size: 17px; }
.login-card.redefinir .btn-entrar {
    font-size: 17px; letter-spacing: .04em; text-transform: none;
    padding: 14px 12px; margin-top: 6px;
}

.oi-ov {
    position: fixed; inset: 0; z-index: 80;
    display: grid; place-items: center;
    background: rgba(7, 14, 24, .48);
    padding: 20px;
}
.oi-card {
    width: min(420px, 92vw);
    padding: 26px 26px 22px;
    border-radius: 18px;
    background-color: #8e8f8d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    border: 1px solid rgba(26, 22, 12, .22);
    box-shadow: 0 28px 64px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.28);
    text-align: left;
    color: #1a160c;
    animation: oi-in .35s ease;
}
.oi-kicker {
    margin: 0 0 6px;
    font-size: 11px; font-weight: 750; letter-spacing: .14em;
    text-transform: uppercase; color: #3d3420;
}
.oi-tit {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px; font-weight: 600; letter-spacing: .01em;
    color: #1a160c;
}
.oi-txt {
    margin: 14px 0 0;
    font-size: 16.5px; line-height: 1.5;
    color: #241e14;
}
.oi-nome { font-style: italic; font-weight: 400; color: #1a160c; }
.oi-n { font-style: italic; font-weight: 800; color: #5c3d0a; }
.oi-nudge {
    margin: 16px 0 0; padding: 12px 14px 12px 16px;
    font-size: 14.5px; line-height: 1.45; color: #241e14;
    background: rgba(255,248,230,.42);
    border-radius: 10px;
    border-left: 3px solid #c4a35a;
}
.oi-nudge .oi-n { color: #4a3008; }
.oi-ok {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 132px; min-height: 40px; margin: 20px 0 0; padding: 0 18px;
    border: 0; border-radius: 10px; cursor: pointer;
    font: inherit; font-weight: 750;
    background: linear-gradient(180deg, #c4a35a, #a8873e); color: #1a160c;
}
.oi-ok:hover { background: linear-gradient(180deg, #d0b06a, #b49446); }
@keyframes oi-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
    .oi-card { width: 100%; border-radius: 14px; padding: 22px 18px 18px; }
    .oi-tit { font-size: 26px; }
    .oi-ok { width: 100%; }
}

.lista.tl-wrap {
    color: #102033;
    --pt-wrap-max: 720px;
    --pt-task-w: 32%;
    --pt-font-task: 11px;
    --pt-font-comp: 13px;
    --pt-col-agenda: 42px;
    --pt-pill-h: 17px;
    --pt-row-h: 17px;
    --pt-row-extra: 0px;
    --pt-row-pad: 0px;
    --pt-row-scale: 1;
    --pt-cat: 100;
    width: var(--pt-wrap-max, 760px);
    max-width: 100%;
    margin: 0 auto;
}
.cal-bar {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    background: #efe7d6; padding: 6px 8px; border-radius: 8px; margin-bottom: 6px;
}
.cal-bar select { width: auto; min-width: 120px; margin: 0; padding: 5px 8px; }
.tl-filtros {
    --tl-filtro-bg: #e8dfd0;
    --tl-filtro-bd: #c4b49a;
    --tl-filtro-fg: #2a241c;
    --tl-filtro-muted: #5a5040;
    background: var(--tl-filtro-bg);
    border: 1px solid var(--tl-filtro-bd);
    border-radius: 8px;
    padding: 4px 6px 3px;
    margin-bottom: 6px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 1px 2px rgba(10,31,61,0.05), inset 0 1px 0 rgba(255,255,255,.35);
    position: relative;
}
/* Cores do tema vêm inline (TemaFiltros.Estilo): --tl-filtro-bg/-bd/-fg/-muted/-acc/-chip. Aqui só o que depende de claro/escuro e textura. */
.tl-filtros { background-color: var(--tl-filtro-bg); }
.tl-filtros[data-tex="linen"] {
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px),
        repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px);
}
.tl-filtros[data-tex="grain"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
}
.tl-filtros[data-tex="paper"] {
    background-image:
        radial-gradient(ellipse at 18% 12%, rgba(255,255,255,.28), transparent 55%),
        radial-gradient(ellipse at 85% 95%, rgba(0,0,0,.14), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tl-filtros[data-tex="brushed"] {
    background-image:
        repeating-linear-gradient(0deg,
            rgba(255,255,255,.14) 0px,
            rgba(220,224,228,.04) 0.35px,
            rgba(0,0,0,.05) 0.55px,
            rgba(255,255,255,.08) 0.75px),
        linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%, rgba(0,0,0,.08));
}
.tl-filtros[data-tex="marble"] {
    background-image:
        linear-gradient(118deg, transparent 28%, rgba(255,255,255,.42) 31%, transparent 34%, rgba(70,62,58,.16) 52%, transparent 56%, rgba(255,255,255,.28) 72%, transparent 76%),
        linear-gradient(72deg, transparent 18%, rgba(255,255,255,.18) 22%, transparent 26%, rgba(40,36,34,.12) 61%, transparent 66%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.011 .038' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .78 0 0 0 0 .76 0 0 0 0 .74 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='360' height='360' filter='url(%23v)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.007 .022' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .12 0 0 0 0 .11 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='360' height='360' filter='url(%23w)'/%3E%3C/svg%3E");
    background-size: auto, auto, 360px 360px, 360px 360px;
    background-blend-mode: soft-light, normal, multiply, multiply;
}
.tl-filtros .tl-contagem { color: var(--tl-filtro-fg) !important; }
.tl-filtros .tl-contagem .tl-cont-l2 { color: var(--tl-filtro-muted) !important; }
.tl-filtros .tl-chk-agrupar { color: var(--tl-filtro-fg) !important; }
.tl-filtros[data-dark="1"] .tl-zoom-grp-layout { background: rgba(255,255,255,0.12); }
.tl-filtros[data-dark="1"] .tl-zoom-grp-inner { background: rgba(120,160,220,0.22); border-color: rgba(180,200,230,0.35); }
.tl-filtros[data-dark="1"] .tl-zoom-ico,
.tl-filtros[data-dark="1"] .tl-zoom-lbl { color: #e8eef8; text-shadow: none; }
.tl-filtros[data-dark="1"] .tl-vista-btn { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.tl-filtros-campos, .tl-filtros-barra {
    display: flex; flex-wrap: wrap; gap: 2px 4px; align-items: center; width: 100%;
}
.tl-filtros-campos select,
.tl-filtros-campos input[type=text].tl-filtro-busca {
    height: 20px; line-height: 18px; padding: 0 16px 0 5px; box-sizing: border-box;
    border: 1px solid #b7c4d6; border-radius: 4px; background-color: #fff;
    box-shadow: 0 1px 1px rgba(10,31,61,0.04); color: #1a2b42;
    max-width: 138px; flex: 1 1 110px; min-width: 0; width: 100%;
    -webkit-appearance: none; appearance: none; margin: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23123a6b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 2px center; background-size: 12px 12px;
    font-size: 11px; font-weight: 700;
}
.tl-filtros-campos select.pt-ddl-periodo {
    background-color: #9ec8f0; border-color: #6ea4d4; color: #0d2f55;
    flex: 0 1 132px; max-width: 132px; min-width: 118px;
}
.tl-filtros-campos input[type=text].tl-filtro-busca {
    font-size: 12px; font-weight: normal; padding: 0 5px 0 22px; flex: 1 1 120px; max-width: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a93a3'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    background-position: 5px center; background-size: 13px 13px;
}
.tl-filtros-campos select:focus, .tl-filtros-campos input.tl-filtro-busca:focus {
    outline: none; border-color: #123a6b; box-shadow: 0 0 0 2px rgba(18,58,107,0.15);
}
.tl-filtro-proj-grp, .tl-filtro-resp-grp {
    display: inline-flex; align-items: stretch; min-width: 0; max-width: 148px; flex: 1 1 118px;
}
.tl-btn-filtro-proj, .pt-ddl-projeto {
    flex: 1; min-width: 0; width: 100%; height: 20px; line-height: 18px; padding: 0 16px 0 5px;
    border: 1px solid #b89a7d; border-radius: 4px; font-size: 11px; font-weight: 700;
    text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    cursor: pointer; margin: 0; color: #563b25; background-color: #edd9c4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23855e3b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 3px center; background-size: 14px 14px;
}
.tl-btn-filtro-resp {
    flex: 1; min-width: 0; width: 100%; height: 20px; line-height: 18px; padding: 0 16px 0 5px;
    border: 1px solid #81c784; border-radius: 4px; font-size: 11px; font-weight: 700;
    text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    cursor: pointer; margin: 0; color: #1b5e20; background-color: #c8e6c9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d32'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 3px center; background-size: 14px 14px;
}
.tl-filtro-busca-cont {
    display: inline-flex; align-items: center; gap: 6px; min-width: 0;
    flex: 1 1 100%; width: 100%;
}
.tl-filtro-busca-cont .tl-filtro-busca { flex: 1 1 auto; min-width: 0; max-width: none !important; width: auto !important; }
.tl-contagem {
    display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center;
    margin: 0; line-height: 1.15; flex: 0 0 auto; min-width: 0; max-width: 46%;
    font-weight: 700; text-align: right;
}
.tl-cont-l1, .tl-cont-l2 { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tl-chk-agrupar { font-size: 9.6px; white-space: nowrap; color: #000; font-weight: 600; margin: 0 6px 0 0; cursor: pointer; }
.tl-chk-agrupar input { margin: 0 2px 0 0; vertical-align: -1px; cursor: pointer; }
.tl-filtros-tools { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 2px; flex: 0 1 auto; min-width: 0; }
.tl-zoom { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; white-space: nowrap; flex-wrap: nowrap; }
.tl-zoom-grp { display: inline-flex; align-items: center; gap: 3px; flex-wrap: nowrap; border-radius: 5px; padding: 2px 5px; }
.tl-zoom-grp-layout { background: #d8dde6; gap: 4px; }
.tl-zoom-grp-inner { background: #c5d6eb; border: 1px solid #9eb4d0; }
.tl-zoom-lbl { min-width: 14px; font-size: 9px; font-weight: bold; color: #0e2e55; }
.tl-zoom-ico {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 16px; line-height: 1; color: #123a6b; font-size: 15px; font-weight: 900;
    user-select: none;
}
.tl-zoom-cat-ico { font-size: 12px !important; min-width: 12px; }
.tl-zoom input[type=range] {
    width: 42px; height: 14px; margin: 0; padding: 0; vertical-align: middle; cursor: pointer;
    accent-color: #5b8fc7; touch-action: none;
}
.tl-zoom-grp-inner input[type=range] { accent-color: #2f6fb0; }
.tl-zoom-grp-inner input#ptZoomCat { width: 36px; accent-color: #5a6a80; }
.tl-vista-wrap, .tl-tema-wrap { display: inline-flex; align-items: center; margin-left: 2px; position: relative; }
.tl-vista-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; padding: 0; border: 1px solid #9eb0c8;
    border-radius: 50%; background: #f4f7fb; color: #123a6b; cursor: pointer;
    font-size: 13px; font-weight: 700; line-height: 1;
}
.tl-tema-bola {
    width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(18,58,107,0.45), 0 1px 2px rgba(0,0,0,0.18);
    cursor: pointer; padding: 0;
}
.tl-tema-pop {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 40;
    background: #fff; border: 1px solid #c8d4e4; border-radius: 10px;
    padding: 8px 9px 7px; box-shadow: 0 8px 24px rgba(10,31,61,0.22);
    min-width: 220px;
}
.tl-tema-backdrop { position: fixed; inset: 0; z-index: 39; }
.tl-tema-pop { min-width: 250px; background: #0f1d33; border-color: rgba(196,163,90,.45); box-shadow: 0 16px 44px rgba(7,21,39,.45); color: #e8eef8; }
.tl-tema-pop-tit { font-size: 10px; font-weight: 700; color: var(--gold); margin: 0 0 8px; letter-spacing: .12em; text-transform: uppercase; }
.tl-tema-pop-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 6px; }
.tl-tema-opt {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
    box-shadow: 0 2px 6px rgba(0,0,0,.35); cursor: pointer; padding: 0; margin: 0 auto; display: block;
    transition: transform .1s;
}
.tl-tema-opt:hover { transform: scale(1.08); }
.tl-tema-opt.tl-tema-on { box-shadow: 0 0 0 2px #0f1d33, 0 0 0 4px var(--gold); }
.tl-tema-nome { text-align: center; font-size: 11px; font-weight: 700; margin: 8px 0 6px; color: #fff; }
.tl-tema-tom { display: flex; align-items: center; gap: 6px; padding: 4px 2px; }
.tl-tema-tom input[type=range] { flex: 1; height: 16px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.tl-tema-tom-lbl { font-size: 13px; color: #cfd8e6; line-height: 1; user-select: none; }
.tl-tema-tom-reset { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #cfd8e6; cursor: pointer; font-size: 12px; line-height: 1; padding: 0; }
.tl-tema-tex { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tl-tema-tex-opt {
    display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
    color: #dfe6f0; border-radius: 999px; padding: 3px 8px 3px 4px; font-size: 10px; font-weight: 600; cursor: pointer;
}
.tl-tema-tex-opt.on { border-color: var(--gold); color: #fff; background: rgba(196,163,90,.18); }
.tl-tema-tex-opt i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: #8a7a5a; border: 1px solid rgba(255,255,255,.4); }
.tl-tema-tex-opt[data-tex="linen"] i { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.3) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); }
.tl-tema-tex-opt[data-tex="grain"] i { background-image: radial-gradient(rgba(0,0,0,.45) 0.6px, transparent 0.8px); background-size: 3px 3px; }
.tl-tema-tex-opt[data-tex="paper"] i { background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), transparent 60%); }
.tl-tema-tex-opt[data-tex="brushed"] i {
    background-color: #8d9196;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.35) 0 0.35px, rgba(0,0,0,.12) 0.35px 0.6px),
        linear-gradient(180deg, rgba(255,255,255,.28), transparent 55%);
}
.tl-tema-tex-opt[data-tex="marble"] i {
    background-color: #c8c4be;
    background-image:
        radial-gradient(ellipse at 28% 22%, rgba(255,255,255,.7), transparent 46%),
        radial-gradient(ellipse at 78% 78%, rgba(80,70,60,.28), transparent 48%),
        linear-gradient(122deg, transparent 40%, rgba(255,255,255,.45) 44%, transparent 48%, rgba(0,0,0,.12) 62%, transparent 66%);
}
.tl-tema-pop-hint { font-size: 9px; color: #9aa8bd; margin: 8px 0 0; line-height: 1.25; }

/* Painéis premium: Projetos / Responsáveis (abrem abaixo dos filtros) */
.tl-painel {
    margin: -2px 0 6px; padding: 8px 10px 8px; border-radius: 10px;
    background: linear-gradient(180deg, #14233b, #0c182c);
    border: 1px solid rgba(196,163,90,.35); border-top: 2px solid var(--gold);
    box-shadow: 0 12px 30px rgba(7,21,39,.30), inset 0 1px 0 rgba(255,255,255,.05);
    color: #e6edf7; font-size: 12px;
}
.tl-painel-hdr { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; margin-bottom: 7px; }
.tl-painel-tit { font-weight: 800; letter-spacing: .04em; color: #fff; font-size: 12px; text-transform: uppercase; }
.tl-painel-proj .tl-painel-tit::before { content: "📁 "; }
.tl-painel-resp .tl-painel-tit::before { content: "👤 "; }
.tl-painel-modo { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; overflow: hidden; }
.tl-painel-modo button { border: 0; background: transparent; color: #b9c6d8; padding: 3px 10px; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.tl-painel-modo button.on { background: var(--gold); color: #0a1f3d; }
.tl-painel-acoes { display: inline-flex; gap: 4px; margin-left: auto; }
.tl-painel-acoes button {
    border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #e6edf7;
    border-radius: 6px; padding: 3px 9px; font-size: 10.5px; font-weight: 700; cursor: pointer;
}
.tl-painel-acoes button:hover { background: rgba(255,255,255,.14); }
.tl-painel-acoes button.on { background: #2e7d32; border-color: #2e7d32; color: #fff; }
.tl-painel-x { border: 0; background: rgba(255,255,255,.08); color: #fff; width: 22px; height: 22px; border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1; }
.tl-painel-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tl-chip {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #d6dfec;
    border-radius: 999px; padding: 3px 10px 3px 5px; font-size: 11.5px; font-weight: 600; cursor: pointer;
    transition: background .12s, border-color .12s, transform .08s;
}
.tl-chip:hover { background: rgba(255,255,255,.12); }
.tl-chip:active { transform: scale(.98); }
.tl-chip.on { background: rgba(196,163,90,.20); border-color: var(--gold); color: #fff; }
.tl-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.tl-chip em { font-style: normal; font-size: 9px; color: #9fb0c6; text-transform: uppercase; letter-spacing: .06em; }
.tl-chip-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.tl-chip.on .tl-chip-dot { box-shadow: 0 0 0 2px rgba(196,163,90,.6); }
.tl-chip-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #2e7d32; }
.tl-chip-ini { display: inline-grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; }
.tl-chip-pessoa.eu .tl-chip-av { box-shadow: 0 0 0 2px #7ed491; }
.tl-painel-rodape { margin-top: 7px; font-size: 10.5px; color: #9fb0c6; }
.tl-painel-proj .tl-painel-hdr .tl-painel-tit { color: #f3dfc8; }
.tl-painel-resp .tl-painel-hdr .tl-painel-tit { color: #c8f0cf; }
.tl-filtro-ordem-grp { display: inline-flex; align-items: center; gap: 1px; margin-left: 1px; }
.tl-filtro-fav-btn {
    width: auto; height: auto; padding: 0; margin: 0; border: 0; background: transparent;
    cursor: pointer; display: inline-flex; line-height: 0;
}
.tl-filtro-fav-ico { width: 28px; height: 28px; object-fit: contain; display: block; }
.tl-ordem-btn.tl-ordem-ativo { filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.85)); }
.tl-multi {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    background: #fff; border: 1px solid #c8d4e4; border-radius: 8px;
    padding: 8px; margin: 0 0 6px; font-size: 12px; color: #243044;
}
.tl-multi label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.grid-wrap { background: #fff; border-radius: 4px; overflow: auto; box-shadow: 0 2px 8px #0001; }
.tl-tabela { width: 100%; border-collapse: collapse; background: #fff; font-size: var(--pt-font-body, 11px); table-layout: fixed; }
.tl-tabela th {
    background: #9f9f9f; color: #000; font-weight: normal; font-size: 12px;
    padding: 2px; text-align: left; white-space: nowrap; overflow: hidden;
}
.tl-tabela td {
    padding: var(--pt-row-pad, 0px) 2px; border-bottom: 1px solid #e4e7ec; vertical-align: middle;
    height: calc((var(--pt-row-h) + var(--pt-row-extra, 0px)) * var(--pt-row-scale, 1));
    max-height: calc((var(--pt-row-h) + var(--pt-row-extra, 0px) + 2px) * var(--pt-row-scale, 1));
    overflow: hidden; line-height: 1;
}
.tl-tabela tr.tl-ln td { background: #fff; }
.tl-tabela tr.tl-ln-evento td { background: #cfcfcf; }
.tl-tabela tr.tl-ln-comemorativa td { background: #e4e4e4; }
.tl-tabela tr.tl-ln-atrasada td { background: #fff0f3 !important; color: #5a1020 !important; }
.tl-tabela tr.tl-ln-critica td { background: #e6e8ee !important; }
/* Crítica: pílula preta, texto branco negrito — imune ao slider de intensidade; textura via background-image */
.tl-tabela tr.tl-ln-critica .tl-task,
.tl-task.tl-task-critica,
.pt-pred-pill.tl-task-critica,
.pt-pred-atual.tl-task-critica {
    background-color: #111 !important;
    background-repeat: repeat;
    color: #fff !important;
    font-weight: 700 !important;
}
.tl-tabela th.tl-th-c { text-align: center; padding-left: 0; padding-right: 0; }
.tl-tabela th.tl-th-fim { padding-left: 5px; }
.tl-col-ed { width: 22px; }
.tl-col-mtx { width: 19px; }
.tl-col-task { width: var(--pt-task-w); }
.tl-col-fim { width: var(--pt-col-agenda); }
.tl-col-e { width: 36px; }
.tl-col-dep { width: 18px; }
.tl-col-cl { width: 34px; }
.tl-col-dlg { width: 26px; }
.tl-col-ob { width: 24px; }
.tl-col-pr { width: 22px; }
.tl-col-ok { width: 16px; }
.tl-td-task { overflow: hidden; padding: 0 0 0 2px !important; }
.tl-task, .tl-acao, .tl-acao-ok, .tl-cl-ck-btn, .tl-dlg-btn, .tl-agenda-link {
    background: none; border: 0; color: inherit; cursor: pointer; font: inherit; text-align: left; padding: 0;
}
.tl-task {
    display: block; width: 100%;
    height: calc(var(--pt-pill-h) * var(--pt-row-scale, 1));
    max-height: calc(var(--pt-pill-h) * var(--pt-row-scale, 1));
    line-height: calc(var(--pt-pill-h) * var(--pt-row-scale, 1));
    font-size: var(--pt-font-task); padding: 0 4px; border-radius: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: var(--cat-fg, #1a2434);
    background: color-mix(in srgb, var(--cat-bg, #eee) calc(var(--pt-cat, 100) * 1%), #fff);
    background-repeat: repeat;
}
.tl-wrap[data-tasktex="linen"] .tl-task:not(.tl-task-critica):not([data-tasktex]),
.tl-apar-prev[data-tasktex="linen"] .tl-task-cat:not([data-tasktex]),
[data-tasktex="linen"] .pt-pred-pill:not(.tl-task-critica),
[data-tasktex="linen"] .pt-pred-atual:not(.tl-task-critica),
.tl-task:not(.tl-task-critica)[data-tasktex="linen"] {
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 3px),
        repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px);
}
.tl-wrap[data-tasktex="grain"] .tl-task:not(.tl-task-critica):not([data-tasktex]),
.tl-apar-prev[data-tasktex="grain"] .tl-task-cat:not([data-tasktex]),
[data-tasktex="grain"] .pt-pred-pill:not(.tl-task-critica),
[data-tasktex="grain"] .pt-pred-atual:not(.tl-task-critica),
.tl-task:not(.tl-task-critica)[data-tasktex="grain"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.tl-wrap[data-tasktex="paper"] .tl-task:not(.tl-task-critica):not([data-tasktex]),
.tl-apar-prev[data-tasktex="paper"] .tl-task-cat:not([data-tasktex]),
[data-tasktex="paper"] .pt-pred-pill:not(.tl-task-critica),
[data-tasktex="paper"] .pt-pred-atual:not(.tl-task-critica),
.tl-task:not(.tl-task-critica)[data-tasktex="paper"] {
    background-image: radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.35), transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tl-wrap[data-tasktex="brushed"] .tl-task:not(.tl-task-critica):not([data-tasktex]),
.tl-apar-prev[data-tasktex="brushed"] .tl-task-cat:not([data-tasktex]),
[data-tasktex="brushed"] .pt-pred-pill:not(.tl-task-critica),
[data-tasktex="brushed"] .pt-pred-atual:not(.tl-task-critica),
.tl-task:not(.tl-task-critica)[data-tasktex="brushed"] {
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.2) 0 .35px, rgba(0,0,0,.06) .35px .7px);
}
.tl-wrap[data-tasktex="marble"] .tl-task:not(.tl-task-critica):not([data-tasktex]),
.tl-apar-prev[data-tasktex="marble"] .tl-task-cat:not([data-tasktex]),
[data-tasktex="marble"] .pt-pred-pill:not(.tl-task-critica),
[data-tasktex="marble"] .pt-pred-atual:not(.tl-task-critica),
.tl-task:not(.tl-task-critica)[data-tasktex="marble"] {
    background-image:
        linear-gradient(118deg, transparent 28%, rgba(255,255,255,.4) 32%, transparent 36%, rgba(60,52,48,.14) 58%, transparent 64%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.02 .06' numOctaves='4' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .78 0 0 0 0 .76 0 0 0 .4 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23v)'/%3E%3C/svg%3E");
    background-size: auto, 200px 200px;
}
/* Texturas das críticas — independentes; mais visíveis no fundo preto */
.tl-wrap[data-crittex="linen"] .tl-task-critica,
.tl-apar-prev[data-crittex="linen"] .tl-task-critica,
[data-crittex="linen"] .pt-pred-pill.tl-task-critica,
[data-crittex="linen"] .pt-pred-atual.tl-task-critica {
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.24) 0 1px, transparent 1px 3px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 3px);
}
.tl-wrap[data-crittex="grain"] .tl-task-critica,
.tl-apar-prev[data-crittex="grain"] .tl-task-critica,
[data-crittex="grain"] .pt-pred-pill.tl-task-critica,
[data-crittex="grain"] .pt-pred-atual.tl-task-critica {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .42 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.tl-wrap[data-crittex="paper"] .tl-task-critica,
.tl-apar-prev[data-crittex="paper"] .tl-task-critica,
[data-crittex="paper"] .pt-pred-pill.tl-task-critica,
[data-crittex="paper"] .pt-pred-atual.tl-task-critica {
    background-image: radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.28), transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tl-wrap[data-crittex="brushed"] .tl-task-critica,
.tl-apar-prev[data-crittex="brushed"] .tl-task-critica,
[data-crittex="brushed"] .pt-pred-pill.tl-task-critica,
[data-crittex="brushed"] .pt-pred-atual.tl-task-critica {
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.32) 0 .35px, rgba(255,255,255,.08) .35px .7px);
}
.tl-wrap[data-crittex="marble"] .tl-task-critica,
.tl-apar-prev[data-crittex="marble"] .tl-task-critica,
[data-crittex="marble"] .pt-pred-pill.tl-task-critica,
[data-crittex="marble"] .pt-pred-atual.tl-task-critica {
    background-image:
        linear-gradient(118deg, transparent 28%, rgba(255,255,255,.32) 32%, transparent 36%, rgba(255,255,255,.12) 58%, transparent 64%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.02 .06' numOctaves='4' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9 0 0 0 0 .88 0 0 0 0 .86 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23v)'/%3E%3C/svg%3E");
    background-size: auto, 200px 200px;
}
/* Legado: mensagem nova → título sublinhado e em negrito (além da bolinha laranja) */
.tl-task.tl-task-novo { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; font-weight: 700 !important; }
.tl-task.tl-task-novo:not(.tl-task-critica) { color: #000 !important; }
/* Ícone da crítica (tarefacritica.png) antes do nome */
.tl-task .tl-ico-critica { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; display: inline-block; }
/* (hh:mm) / (dia inteiro) / (vários dias): sem negrito nem itálico, herdando a cor */
.tl-task .tl-ev-hora { font-weight: 400 !important; font-style: normal !important; opacity: .9; }
.tl-task .tl-rec-pref { font-style: normal; }
/* Envelope do título: barra de % e pílula de departamento sem mexer na altura da linha */
.tl-task-wrap { position: relative; display: block; width: 100%; }
.tl-pct-bar {
    position: absolute; left: 4px; right: 4px; bottom: 0; height: 2px;
    background: rgba(0,0,0,.08); border-radius: 1px; overflow: hidden; pointer-events: none;
}
.tl-pct-fill { height: 100%; background: #2e7d32; border-radius: 2px; min-width: 0; }
.tl-tabela tr.tl-ln-atrasada .tl-pct-bar { background: #f5d0d8; }
.tl-tabela tr.tl-ln-atrasada .tl-pct-fill { background: #c47a7a; }
.tl-tabela tr.tl-ln-critica .tl-pct-bar { background: rgba(255,255,255,.18); }
.tl-tabela tr.tl-ln-critica .tl-pct-fill { background: #f5d76e; }
.tl-task-wrap .tl-depto-pills {
    position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    display: inline-flex; flex-wrap: nowrap; gap: 2px; align-items: center;
    max-width: 42%; z-index: 2; pointer-events: none;
}
.tl-depto-pill {
    display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: .02em;
    padding: 0 5px; border-radius: 999px; border: 1px solid #c9d7ea;
    line-height: 1.3; max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
/* Coluna ✔ quando há procedimento: 📋 pendente, ▶ laranja em andamento, 🔎 ver inspeção concluída */
.tl-td-ok .tl-acao-proc {
    display: inline-grid; place-items: center; text-decoration: none; font-size: 12px; line-height: 1;
    min-width: 16px; min-height: 16px; border-radius: 4px; color: #123a6b;
}
.tl-td-ok .tl-acao-proc:hover { background: #e8eef5; }
.tl-td-ok .tl-acao-proc-run {
    min-width: 18px; min-height: 18px; width: 18px; height: 18px; border-radius: 50%;
    background: linear-gradient(160deg, #f0a020 0%, #e07a12 55%, #c9650a 100%) !important;
    color: #fff !important; font-size: 9px !important; font-weight: 800;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.tl-td-ok .tl-acao-proc-run:hover { filter: brightness(1.08); }
.tl-td-ok .tl-acao-proc-ver { font-size: 11px; margin-right: 1px; }
.tl-proj-suf { font-style: normal; font-weight: inherit; opacity: 0.95; margin-left: 3px; color: inherit; }
.tl-proj-suf b { font-weight: inherit; color: inherit; letter-spacing: 0; }
.tl-periodo-tit { font-weight: 800 !important; font-style: normal !important; margin-left: 4px; letter-spacing: 0; }
.tl-td-fim { font-size: var(--pt-font-comp); white-space: nowrap; color: #123a6b; padding: 0 2px 0 5px !important; overflow: visible !important; position: relative; z-index: 1; }
.tl-ag-cell { display: inline-flex; align-items: baseline; gap: 2px; flex-shrink: 0; max-width: 100%; }
.tl-ag-periodo, .tl-ag-p {
    flex: none; flex-shrink: 0;
    font-size: 13px; color: #000; font-weight: 700; font-style: normal;
    margin-left: 1px; line-height: 1; vertical-align: baseline;
}
.tl-ob-mid { display: inline-flex; align-items: center; justify-content: center; gap: 1px; min-width: 18px; }
.tl-ob-mid .n { font-size: 9px; font-weight: 800; color: #123a6b; }
@media (max-width: 720px) {
    .tl-col-fim { width: 46px; }
    .tl-td-fim { padding: 0 1px 0 3px !important; }
    .tl-ag-periodo, .tl-ag-p { font-size: 12px; margin-left: 0; }
}
.tl-cl-ck-btn { display: inline-block; min-width: 26px; text-align: center; border-radius: 4px; padding: 0 2px; }
.tl-cl-ck-btn:hover, .tl-cl-ck-on { background: #e6eef9; }
/* Subtarefas inline (linha expandida sob a tarefa) */
.tl-sub-row td { padding: 0 !important; height: auto !important; max-height: none !important; background: #f4f7fb !important; }
.tl-sub {
    margin: 2px 6px 4px 28px; padding: 4px 6px 5px; border-radius: 6px;
    background: #f4f5f7; border: 1px solid #cfd4dc; font-size: 12px; color: #1a2434;
    max-width: calc(100% - 34px); overflow: hidden; box-sizing: border-box;
}
.tl-sub-hdr { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tl-sub-tit { font-weight: 700; color: #374151; font-size: 12px; letter-spacing: .02em; }
.tl-sub-cont { color: #6b7280; font-size: 11px; }
.tl-sub-x { margin-left: auto; border: 0; background: #e5e7eb; width: 22px; height: 22px; border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1; color: #243044; }
.tl-sub-vazio { margin: 0 0 6px; color: #6b7280; font-size: 11px; }
.tl-sub-lista { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 1px; }
.tl-sub-lista li { display: flex; align-items: center; gap: 6px; padding: 2px 4px; border-radius: 4px; }
.tl-sub-lista li:hover { background: #eceef1; }
.tl-sub-lista li.amp { flex-wrap: wrap; align-items: flex-start; background: #e8eaee; border: 1px solid #c5ccd6; padding: 6px; margin: 3px 0; }
.tl-sub-lista li label { display: flex; align-items: center; gap: 7px; flex: 1; cursor: pointer; min-width: 0; }
.tl-sub-lista li label span { word-break: break-word; }
.tl-sub-lista li.feito label span { text-decoration: line-through; color: #8a97a8; }
.tl-sub-lista input[type=checkbox] { width: 15px; height: 15px; margin: 0; accent-color: #4b5563; flex-shrink: 0; }
.tl-ck-num {
    flex-shrink: 0; box-sizing: border-box;
    width: 16px; min-width: 16px; height: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 8px; font-weight: 700; color: #6b7280; font-variant-numeric: tabular-nums;
    background: #e5e7eb; border: 1px solid #d1d5db; border-radius: 3px;
}
.tl-ck-txt {
    flex: 1 1 auto; min-width: 0; border: 0; background: none; padding: 0; margin: 0;
    font: inherit; color: inherit; text-align: left; cursor: pointer; line-height: 1.25;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
    overflow: hidden; word-break: break-word;
}
.tl-sub-lista li.feito .tl-ck-txt { text-decoration: line-through; color: #8a97a8; }

/* Subtarefas — padrão legado (listagem) */
.tl-ck-font-bar {
    display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
    padding: 2px 4px; margin-bottom: 2px;
    background: linear-gradient(135deg, #e8f0fa 0%, #f6f9fc 100%);
    border: 1px solid #b8c9de; border-radius: 4px;
}
.tl-ck-font-ico { font-size: 11px; font-weight: 800; color: #123a6b; flex-shrink: 0; min-width: 18px; text-align: center; }
.tl-ck-font-slider { flex: 1; min-width: 80px; height: 12px; margin: 0; accent-color: #123a6b; cursor: pointer; }
.tl-ck-font-val { font-size: 11px; font-weight: 700; color: #5a6a7e; min-width: 38px; text-align: right; flex-shrink: 0; }
.tl-ck-addbar { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; flex-shrink: 0; }
.tl-ck-addbar-btn {
    flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 34px; min-height: 30px; padding: 3px 0 2px; border: 1px solid #8ec4e8; border-radius: 8px; cursor: pointer;
    background: linear-gradient(180deg, #c8e9fb 0%, #8fd0f2 45%, #6bb8e8 100%);
    color: #0a4a78; font-size: 18px; font-weight: 800; line-height: 1;
    box-shadow: 0 1px 0 rgba(255,255,255,.65) inset, 0 2px 6px rgba(80,160,210,.28);
}
.tl-ck-addbar-first::before, .tl-ck-addbar-last::after { content: ''; display: block; width: 14px; height: 2px; background: #0a4a78; border-radius: 1px; opacity: .88; }
.tl-ck-addbar-first::after { display: none; }
.tl-ck-addbar-last::before { display: none; }
.tl-ck-mvbar { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; }
.tl-ck-mvbtn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 32px; min-height: 28px; padding: 0 5px; border-radius: 5px;
    background: #fff; border: 1.5px solid #b9c6d8; font-size: 17px; font-weight: 900; line-height: 1; cursor: pointer;
}
.tl-ck-mvbtn-up { color: #123a6b !important; border-color: #123a6b; }
.tl-ck-mvbtn-dn { color: #c62828 !important; border-color: #c62828; }
.tl-ck-mvbtn:disabled { opacity: .35; cursor: default; }
.tl-ck-lista { display: grid; gap: 0; overflow: hidden; }
.tl-ck-linha {
    display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 2px;
    padding: 0; min-height: 16px; margin: 0;
    font-size: var(--pt-ck-font, 12px); line-height: 1.05;
}
.tl-ck-linha.sel { background: #dbeafe; border-radius: 4px; box-shadow: inset -4px 0 0 #1565c0; }
.tl-ck-num {
    flex-shrink: 0; width: 14px; min-width: 14px; height: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 8px; font-weight: 600; color: #8a93a3;
    background: #eef1f5; border: 1px solid #dde3ea; border-radius: 3px;
}
.tl-ck-lbl {
    flex: 1 1 auto; min-width: 0; text-align: left; cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    border: 0; background: transparent; font: inherit; padding: 0 3px; border-radius: 3px;
    line-height: 1.05;
}
.tl-ck-lbl:hover { background: #eef3fa; }
.tl-ck-lbl.feito { text-decoration: line-through; color: #8a97a8 !important; }
.tl-ck-acoes-dir {
    display: inline-flex; align-items: center; gap: 1px; padding-left: 3px;
    flex: 0 0 auto; border-left: 1px solid #d8e0ea;
}
.tl-ck-midia-btn {
    flex: 0 0 26px; width: 26px; min-width: 26px; height: 22px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; border-radius: 4px; background: transparent; cursor: pointer;
    font-size: 11px; color: #123a6b;
}
.tl-ck-midia-btn.tl-ck-midia-vazio { opacity: .25; }
.tl-ck-corbtn {
    flex-shrink: 0; border: 1px solid #c8d4e4; background: #fff; color: #111 !important;
    font-size: 9px; font-weight: 800; font-style: italic; border-radius: 4px;
    min-width: 20px; min-height: 18px; padding: 0 2px; cursor: pointer;
}
.tl-ck-marc { width: 14px; height: 14px; margin: 0; accent-color: #123a6b; flex-shrink: 0; }
.tl-ck-del {
    flex-shrink: 0; border: none; background: none; color: #8a93a3 !important; cursor: pointer;
    font-size: 16px; font-weight: 800; padding: 0 2px; min-width: 20px; min-height: 20px;
    display: inline-flex; align-items: center; justify-content: center; border-radius: 4px;
}
.tl-ck-del:hover { color: #c62828 !important; background: #fdeaea; }
.tl-ck-sel-hit {
    flex: 0 0 24px; width: 24px; min-width: 24px; height: 20px; margin: 0; padding: 0;
    border: none; border-radius: 0 4px 4px 0; cursor: pointer;
    background: #fff3cd; color: #5c4300; font-size: 11px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: inset 3px 0 0 #e3c05c;
}
.tl-ck-sel-hit.on, .tl-ck-linha.sel .tl-ck-sel-hit {
    background: #ffe082; box-shadow: inset 4px 0 0 #c9a227;
    color: #3e2f00; font-weight: 800;
}
.tl-ck-amp-ov {
    display: none; position: fixed; inset: 0; z-index: 10060;
    background: rgba(10,31,61,0.55); align-items: center; justify-content: center; padding: 16px;
}
.tl-ck-amp-ov.open { display: flex; }
.tl-ck-amp-box {
    background: #fff; border-radius: 14px; box-shadow: 0 20px 56px rgba(0,0,0,0.42);
    width: min(520px, 96vw); max-height: 92vh; overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid #c5d4e6;
}
.tl-ck-amp-hdr {
    padding: 9px 12px 8px;
    background: linear-gradient(145deg, #0a1f3d 0%, #123a6b 100%); color: #fff;
}
.tl-ck-amp-hdr-top { display: flex; align-items: center; gap: 8px; }
.tl-ck-amp-tit { font-size: 14px; font-weight: 700; flex: 1; }
.tl-ck-amp-x { border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; border-radius: 8px; min-width: 30px; min-height: 30px; }
.tl-ck-amp-font-bar { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.tl-ck-amp-font-bar input[type=range] { flex: 1; accent-color: #fff; }
.tl-ck-amp-body { padding: 14px 16px; display: grid; gap: 10px; overflow: auto; }
.tl-ck-amp-body textarea { width: 100%; min-height: 120px; border: 1px solid #9eb4d0; border-radius: 10px; padding: 10px; font-family: inherit; }
.tl-ck-amp-cores { display: none; flex-wrap: wrap; gap: 6px; padding: 6px 8px; background: #f4f7fb; border-radius: 8px; }
.tl-ck-amp-cores.open { display: flex; }
.tl-ck-cor-sw { width: 22px; height: 22px; border-radius: 4px; border: 1px solid #ccc; cursor: pointer; padding: 0; }
.tl-ck-cor-sw.on { box-shadow: 0 0 0 2px #123a6b; }
.tl-ck-cor-sw.off { background: #fff; font-size: 10px; font-weight: 800; }
.tl-ck-amp-acoes { display: flex; justify-content: flex-end; gap: 8px; }
.tl-ck-amp-cancela { border: none; border-radius: 10px; padding: 8px 16px; background: #e3e8ef; cursor: pointer; font-weight: 700; }
.tl-ck-amp-grava { border: none; border-radius: 10px; padding: 8px 16px; background: linear-gradient(180deg, #1a4f8c 0%, #123a6b 100%); color: #fff; cursor: pointer; font-weight: 700; }
.tl-ck-amp-box-lg { width: min(520px, 96vw); max-height: 92vh; overflow: auto; }
.tl-ck-amp-sub { margin: 0; padding: 0 0 4px; font-size: 11px; color: rgba(255,255,255,.82); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-ck-amp-ta { width: 100%; min-height: 88px; border: 1px solid #9eb4d0; border-radius: 10px; padding: 8px 10px; font-family: inherit; box-sizing: border-box; resize: vertical; }
.tl-ck-amp-midia { display: grid; gap: 6px; padding-top: 2px; border-top: 1px solid #e2e8f0; }
.tl-ck-media-menu { display: flex; flex-wrap: wrap; gap: 4px; }
.tl-ck-media-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px;
    border: 1px solid #b8c9de; border-radius: 8px; background: #f4f8fc; font-size: 11px; font-weight: 700; color: #123a6b; cursor: pointer;
}
.tl-ck-mico { font-size: 13px; line-height: 1; }
.tl-ck-aud-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tl-ck-aud-btn { border: 1px solid #b8c9de; border-radius: 8px; padding: 5px 10px; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.tl-ck-aud-stop { color: #b42318; border-color: #e8b4b0; }
.tl-ck-amp-midia-msg { margin: 0; font-size: 11px; color: #5a6a80; }
.tl-ck-anexos-exist { margin: 0; padding: 0; list-style: none; }
.tl-ck-cor-sw.on { box-shadow: 0 0 0 2px #123a6b; }
.tl-ck-cor-sw.off.on { box-shadow: 0 0 0 2px #123a6b; background: #fff !important; color: #123a6b; }
.ml-ck-lista { margin-top: 4px; }
.tl-ck-edit {
    flex: 1 1 100%; width: 100%; min-height: 64px; resize: vertical;
    font: inherit; line-height: 1.35; padding: 5px 7px;
    border: 1px solid #9ca3af; border-radius: 5px; background: #fff; box-sizing: border-box;
}
.tl-ck-tools { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tl-ck-tools button { border: 1px solid #c5ccd6; background: #fff; color: #374151; border-radius: 4px; min-width: 22px; height: 20px; padding: 0 5px; cursor: pointer; font-size: 11px; font-weight: 700; }
.tl-ck-cor { width: 16px !important; min-width: 16px !important; height: 16px !important; padding: 0 !important; border-radius: 3px !important; border: 1px solid #0004 !important; }
.tl-ck-cor.off { background: #fff !important; color: #111 !important; font-style: italic; font-size: 10px !important; width: auto !important; min-width: 20px !important; }
.tl-sub-del { border: 0; background: none; color: #a0acbd; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 4px; border-radius: 4px; }
.tl-sub-del:hover { color: #b3261e; background: #fdecea; }
.tl-sub-add { display: flex; gap: 6px; }
.tl-sub-add input { flex: 1; margin: 0; padding: 6px 8px; font-size: 12px; border: 1px solid #c8d4e4; border-radius: 6px; }
.tl-sub-btn { border: 0; background: #123a6b; color: #fff; font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.tl-sub-btn:hover { background: #1a4b86; }
.tl-td-e { text-align: center; padding: 0 0 0 7px !important; }
.tl-td-dep, .tl-td-cl, .tl-td-dlg, .tl-td-ob, .tl-td-ok, .tl-td-acoes, .tl-td-mtx, .tl-td-pr { text-align: center; padding: 0 !important; }
.tl-td-dep .tl-pred-btn {
    display: inline-block; padding: 0; margin: 0; line-height: 1;
    border: none; background: none; color: inherit; cursor: pointer; vertical-align: middle;
}
.tl-td-dep .tl-pred-ico {
    display: block; font-size: 12px; line-height: 12px; font-weight: 700;
}
.tl-td-dep .tl-pred-btn-on .tl-pred-ico {
    color: #0a1f3d;
    text-shadow: 0.35px 0 0 #0a1f3d, -0.35px 0 0 #0a1f3d;
}
.tl-td-dep .tl-pred-btn-off .tl-pred-ico {
    color: #c5ced9; text-shadow: none; opacity: .85;
}
.tl-td-dep .tl-pred-btn:hover .tl-pred-ico { color: #b00020; opacity: 1; }
.tl-cl-ck { color: #123a6b; font-weight: 700; font-size: var(--pt-font-comp); }
.tl-cl-ck-vazio { color: #b8c2d0; font-weight: 400; }
.tl-dlg-vazio {
    display: block; width: 13px; height: 13px; margin: 0 auto; opacity: .45;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123a6b' stroke-width='2.2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tl-acao-ok { font-size: 12px; font-weight: 700; color: #123a6b; min-width: 16px; min-height: 16px; }
.mx { display: inline-grid; place-items: center; width: 16px; height: 14px; border: 1px solid #9aa6b8; border-radius: 3px; font-size: 10px; background: #fff; }
.est { display: inline-block; min-width: 0; text-align: center; border-radius: 3px; padding: 0; font-weight: 650; font-size: 10px; line-height: 13px; }
.est.ok { background: #d7eadc; color: #2a4a34; padding: 0 2px; }
.est.plain { background: none; color: #123a6b; font-weight: 600; }
.est.late, .est.hot {
    background: #c47a7a; color: #fff; font-weight: 700;
    min-width: 22px; padding: 0 2px; border-radius: 4px;
}
.est.cont { background: none; color: #c9a24a; font-weight: 800; font-size: 18px; line-height: 18px; }
.est.cont.idle {
    background: #0a1f3d; color: #f3e2b6; font-weight: 800; font-size: 10px; line-height: 13px;
    min-width: 22px; padding: 0 2px; border-radius: 4px;
}
.av {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; min-width: 16px; height: 14px; border-radius: 3px;
    background: #2f7a3c; color: #fff; font-size: 9px; font-weight: 700;
    padding: 0; border: 0; margin: 0 auto; line-height: 1; box-sizing: border-box;
    cursor: pointer;
}
.tl-dlg-btn b {
    display: inline-grid; place-items: center;
    min-width: 15px; height: 15px; padding: 0 3px;
    background: #123a6b; color: #fff; border-radius: 99px;
    font-size: 9px; font-weight: 800; line-height: 1;
}
.tl-dlg-btn.tl-dlg-novo b {
    background: #ff9100; color: #fff;
    animation: ptDlgBadgeBlink 1.05s ease-in-out infinite;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
@keyframes ptDlgBadgeBlink {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,145,0,.75); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 5px rgba(255,145,0,0); }
}
.tl-dlg-btn.pulse-ckp b {
    background: #ff9100; animation: ptDlgBadgeBlink 1.05s ease-in-out infinite;
}
@keyframes ckp-bola-pulse {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 #123a6b); }
    50% { opacity: .55; filter: drop-shadow(0 0 5px #123a6b); }
}
.tl-grp-hdr { cursor: pointer; }
.tl-grp-hdr td {
    font-weight: 700; font-size: 12px; color: #243044;
    padding: 2px 8px !important; height: 18px !important; max-height: 20px !important;
    border-top: 1px solid #d5dde6; line-height: 1.15;
}
.tl-grp-hdr.tl-grp-evento td { background: #ececec !important; color: #333 !important; border-bottom: 0; }
.tl-grp-hdr.tl-grp-comemorativa td { background: #f4f4f4 !important; color: #444 !important; border-bottom: 0; }
.tl-grp-hdr.tl-grp-critica td { background: #111 !important; color: #fff !important; border-bottom: 0; }
.tl-grp-hdr.tl-grp-atrasada td { background: #ffe4ea !important; color: #7a1024 !important; border-bottom: 0; }
.tl-grp-hdr.tl-grp-cat td {
    background: #fff !important;
    color: var(--grp-fg, #243044) !important;
    border-bottom: 0;
}
.tl-grp-seta { display: inline-block; width: 14px; font-size: 11px; font-style: normal; color: inherit; opacity: .7; }
.tl-grp-hdr.tl-grp-fechada .tl-grp-seta { transform: rotate(-90deg); }
.tl-grp-n { color: inherit; }
.tl-grp-tipo {
    margin-right: 8px; font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic; font-weight: 500; font-size: 13.5px; letter-spacing: .03em;
    opacity: .92;
}
.empty { padding: 28px; text-align: center; color: #607089; }
/* Dock de ações: mesma largura da listagem (segue o slider ↔), centralizado; fixo em desktop/tablet */
.dock {
    position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 5;
    width: var(--pt-wrap-max, 720px); max-width: calc(100vw - 16px); box-sizing: border-box;
    display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center;
    padding: 7px 10px; border-radius: 12px;
    background: linear-gradient(180deg, rgba(14,34,60,.94), rgba(7,21,39,.96));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(196,163,90,.32); border-top: 2px solid var(--gold);
    box-shadow: 0 12px 34px rgba(7,21,39,.38), inset 0 1px 0 rgba(255,255,255,.06);
}
.dock-b {
    background: #123a6b; color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 8px;
    padding: 7px 12px; cursor: pointer; font-weight: 700; font-size: 12px; line-height: 1.2;
    transition: background .12s, transform .08s;
}
.dock .dock-b { font-size: 14px; }
.dock-b:hover { background: #1a4b86; }
.dock-b:active { transform: translateY(1px); }
.dock-voz { outline: 2px solid var(--gold); outline-offset: -1px; }
.dock-b.ghost { background: transparent; border: 1px solid rgba(255,255,255,.22); text-decoration: none; }
.dock-b.ghost:hover { background: rgba(255,255,255,.08); }
.dock-gok { color: #8fd4a0; font-size: 11px; font-weight: 700; padding: 0 6px; white-space: nowrap; }
.flash { background: #fff3cd; color: #5c4300; padding: 8px 12px; border-radius: 8px; }

.tl-ico-share-svg {
    --tl-share-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='12' r='3' fill='none' stroke='%230a1f3d' stroke-width='2.8'/%3E%3Ccircle cx='17' cy='6' r='2.6' fill='none' stroke='%230a1f3d' stroke-width='2.8'/%3E%3Ccircle cx='17' cy='18' r='2.6' fill='none' stroke='%230a1f3d' stroke-width='2.8'/%3E%3Cline x1='8.6' y1='11' x2='14.8' y2='7.2' stroke='%230a1f3d' stroke-width='2.8' stroke-linecap='round'/%3E%3Cline x1='8.6' y1='13' x2='14.8' y2='16.8' stroke='%230a1f3d' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.tl-acao-share {
    display: inline-block; width: 13px; height: 13px; padding: 0; margin: 0;
    background: var(--tl-share-svg) center / 13px 13px no-repeat;
    border: none; cursor: pointer; vertical-align: middle;
}
.tl-mtx-hit { display: inline-block; vertical-align: middle; line-height: 0; cursor: pointer; border: 0; background: none; padding: 0; }
.tl-mtx-img { width: 17px; height: 17px; display: block; margin: 0 auto; }
.pt-mtx-fly { position: absolute; z-index: 30; left: 22px; top: 0; }
.tl-td-mtx { position: relative; overflow: visible !important; }
.pt-mtx-fly-card {
    background: #fff; border: 1px solid #c8d4e4; border-radius: 12px;
    box-shadow: 0 14px 40px rgba(10,31,61,0.22); padding: 10px 12px;
    min-width: 200px;
}
.pt-mtx-fly-hdr { font-size: 11px; font-weight: 700; color: #5a6a7e; text-align: center; margin-bottom: 8px; }
.pt-mtx-fly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-mtx-opt {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    border: 1px solid #d5deea; border-radius: 8px; background: #f7f9fc;
    padding: 6px 4px; cursor: pointer; font: inherit;
}
.pt-mtx-opt span { font-size: 9px; font-weight: 600; color: #33415c; text-align: center; }
.pt-mtx-opt.pt-mtx-sel { border-color: #123a6b; background: #e3ecf7; }
.tl-mud-tit { font-weight: 700; margin: 0 0 6px; }
.tl-mud-sugs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tl-mud-sug {
    border: 1px solid #c8d4e4; background: #f4f7fb; border-radius: 8px;
    padding: 6px 8px; cursor: pointer; display: flex; flex-direction: column; min-width: 72px;
}
.tl-mud-sug b { font-size: 11px; color: #123a6b; }
.overlay {
    position: fixed; inset: 0; z-index: 1000; background: #04101ccc;
    display: grid; place-items: center; padding: 20px;
}
.sheet {
    width: min(720px, 96vw); max-height: 92vh; overflow: auto;
    background: #fff; color: #102033; border-radius: 16px; box-shadow: 0 24px 80px #0008;
}
.sheet-sm { width: min(520px, 96vw); }
.sheet-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e6eaf0; }
.sheet-h h2 { margin: 0; flex: 1; color: #123a6b; }
.brand-mini { margin: 0; }
.brand-mini span { font-family: "Cormorant Garamond", serif; font-weight: 700; color: #0a1f3d; }
.brand-mini em { font-family: "Cormorant Garamond", serif; color: var(--gold); }
.x { width: 36px; height: 36px; border: 0; background: #f1f4f8; border-radius: 8px; font-size: 22px; cursor: pointer; }
.sheet-b { padding: 16px 18px 8px; display: grid; gap: 10px; }
.sheet-f { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 18px 18px; }
.row2, .row3, .row4 { display: grid; gap: 10px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 80px 80px 1fr; }
.row4 { grid-template-columns: repeat(4, 1fr); }
.chk, .hint, .muted { font-size: 13px; color: #4a5c74; }
.evt-box { background: #eef6fb; padding: 12px; border-radius: 10px; display: grid; gap: 8px; }
.previa { background: #e8f4ff; padding: 10px; border-radius: 8px; }
.tipo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tipo-btn { border: 1px solid #d5deea; background: #fff; border-radius: 10px; padding: 8px 4px; cursor: pointer; }
.tipo-btn.on { border-color: #123a6b; box-shadow: 0 0 0 2px #123a6b33; }
.ord { display: flex; gap: 10px; padding: 8px; border-radius: 8px; }
.ord.on { background: #fff4cc; }
.preset-list { list-style: none; padding: 0; margin: 0; }
.preset { width: 100%; text-align: left; background: #f6f8fb; border: 0; border-radius: 8px; padding: 10px; cursor: pointer; margin-bottom: 6px; }
.tabs button { border: 0; background: #eef2f7; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.tabs button.on { background: #123a6b; color: #fff; }

.sheet-voz, .sheet-voz .sheet-b, .sheet-voz .sheet-f, .sheet-h.dark { background: #071527; color: #fff; }
.sheet-voz h2 { color: #fff; }
.eyebrow { color: var(--gold); letter-spacing: .16em; font-size: 11px; }
.mic {
    width: 88px; height: 88px; margin: 12px auto; display: grid; place-items: center;
    border-radius: 50%; border: 0; background: var(--gold); font-size: 36px; cursor: pointer;
    box-shadow: 0 0 30px #c4a35a88;
}
.caps { text-align: center; color: var(--gold); letter-spacing: .12em; font-weight: 700; }
.ex { background: #0e2238; padding: 10px; border-radius: 8px; }

.cal {
    --ag-bg: #e8f0fa;
    --ag-surface: #f4f8fd;
    --ag-cell: #fff;
    --ag-text: #0a2540;
    --ag-muted: #4a6278;
    --ag-accent: #0e5c9e;
    --ag-border: #b8cce0;
    --ag-border-light: #d4e4f2;
    --ag-weekend: #d5dee8;
    --ag-today: rgba(14, 92, 158, .14);
    color: var(--ag-text);
    background: var(--ag-bg);
    border: 1px solid var(--ag-border);
    border-radius: 8px;
    padding: 8px;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}
.cal-toolbar { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.cal-toolbar.cal-filtros { padding: 8px 10px; color: var(--tl-filtro-fg); }
.cal-toolbar.cal-filtros .cal-nav h2 { color: var(--tl-filtro-fg); }
.cal-toolbar.cal-filtros .so-eu { color: var(--tl-filtro-fg); }
.cal-toolbar.cal-filtros .cal-acoes { align-items: center; }
.cal-toolbar.cal-filtros .cal-acoes .tl-tema-wrap { margin-right: auto; }
.cal-toolbar.cal-filtros[data-dark="1"] .cal-vistas button:not(.on):not(.cal-hoje) { background: rgba(255,255,255,.10); color: #eef3fa; border-color: rgba(255,255,255,.3); }
.cal-toolbar.cal-filtros[data-dark="1"] .cal-novo.ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.4); }
.cal-linha1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-linha1 select { flex: 0 1 220px; max-width: 100%; min-width: 0; margin: 0; padding: 5px 8px; font-size: 12px; height: 28px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav h2 {
    flex: 1; margin: 0; text-align: center;
    color: var(--ag-accent); font-size: 18px; line-height: 36px;
}
.cal-arrow {
    width: 40px; height: 36px; border: 0; border-radius: 6px; cursor: pointer;
    background: var(--ag-accent); color: #fff; font-size: 22px; line-height: 1; flex-shrink: 0;
}
.cal-vistas { display: flex; flex-wrap: wrap; gap: 4px; }
.cal-vistas button {
    border: 1px solid var(--ag-border); background: #fff; color: var(--ag-text);
    padding: 5px 8px; border-radius: 999px; cursor: pointer; font-size: 11px; font-weight: 700; min-height: 30px;
}
.cal-vistas button.on { background: #0a3a6b; color: #fff; border-color: #0a3a6b; }
.cal-hoje-ir {
    flex-shrink: 0; border: 1px solid var(--ag-accent, #0a3a6b); background: transparent;
    color: var(--ag-accent, #0a3a6b); border-radius: 6px; padding: 0 10px; height: 36px;
    font-size: 12px; font-weight: 800; cursor: pointer; letter-spacing: .04em; text-transform: uppercase;
}
.cal-toolbar.cal-filtros .cal-hoje-ir { color: var(--tl-filtro-acc, #0a3a6b); border-color: currentColor; }
.cal-dia-pop { width: min(420px, 94vw); }
.cal-dia-pop .sheet-b { display: grid; gap: 6px; max-height: 50vh; overflow: auto; }
.cal-dia-item {
    display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
    border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 13px;
}
.cal-dia-item b { flex: none; font-size: 12px; }
.cal-dia-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-acoes { display: flex; justify-content: flex-end; gap: 6px; }
.cal-novo {
    border: 0; background: #0a3a6b; color: #fff; border-radius: 6px;
    padding: 6px 10px; font-weight: 700; font-size: 12px; cursor: pointer;
}
.cal-novo.ghost { background: #fff; color: #0a3a6b; border: 1px solid #0a3a6b; }
.cal-board { position: relative; background: var(--ag-surface); border: 1px solid var(--ag-border); border-radius: 8px; overflow: hidden; max-width: 100%; touch-action: pan-y; }
.cal-board.is-busy { opacity: .78; }
.cal-busy {
    position: absolute; top: 8px; right: 10px; z-index: 4;
    font-size: 11px; font-weight: 700; letter-spacing: .04em;
    background: rgba(10, 31, 61, .86); color: #fff;
    padding: 3px 9px; border-radius: 999px; pointer-events: none;
}
.cal-nav h2.cal-tit-busy,
.cal-toolbar .cal-nav h2.cal-tit-busy { opacity: .55; }

.ag-mes-hdr, .ag-mes-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; }
.cal { --cal-zoom: 1; }
.cal-zoom .cal-dia .slot b { font-size: calc(14px * var(--cal-zoom)); }
.cal-zoom .chip-ev { font-size: calc(11px * var(--cal-zoom)); }
.cal-zoom .ag-sem-dia small, .cal-zoom .ag-sem-dia b { font-size: calc(13px * var(--cal-zoom)); }
.cal-zoom .ag-sem-hora { font-size: calc(13px * var(--cal-zoom)); }
.cal-zoom .ag-mes-hdr span { font-size: calc(15px * var(--cal-zoom)); }
.cal-zoom .ag-mes-cel b { font-size: calc(16px * var(--cal-zoom)); }
.cal-zoom .ag-mes-cel b em, .cal-zoom .ag-mes-cel small { font-size: calc(11px * var(--cal-zoom)); }
.cal-fonte-slider { margin-top: 12px; }
.cal-fonte-nota { margin: 4px 0 0; font-size: 10.5px; color: #e8eef6; opacity: .85; }

.ag-mes-hdr span {
    text-align: center; font-size: 14px; font-weight: 700; color: var(--ag-muted);
    padding: 6px 2px; background: var(--ag-cell); border-bottom: 1px solid var(--ag-border);
}
.ag-mes-hdr span.fds { background: var(--ag-weekend); }
.ag-mes-cel {
    min-height: 72px; min-width: 0; overflow: hidden; padding: 3px;
    border-right: 1px solid var(--ag-border-light); border-bottom: 1px solid var(--ag-border-light);
    background: var(--ag-cell); cursor: pointer; position: relative;
}
.ag-mes-cel.fds { background: var(--ag-weekend); }
.ag-mes-cel.out { opacity: .42; }
.ag-mes-cel.hoje { background: var(--ag-today) !important; box-shadow: inset 0 0 0 2px var(--ag-accent); }
.ag-mes-cel b { display: block; font-size: 15px; font-weight: 600; }
.ag-mes-cel b em { font-style: normal; font-size: 10px; margin-left: 3px; color: var(--ag-accent); }
.chip-ev {
    display: block; width: 100%; border: 0; border-radius: 4px; margin-top: 2px; padding: 2px 4px;
    font-size: 10px; text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ag-mes-cel small { color: var(--ag-muted); font-size: 10px; }

.ag-pano { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 6px; padding: 4px 6px 8px; }
.ag-pano-mes, .ag-ano-mes { scroll-margin-top: calc(var(--pt-topbar-h, 52px) + 8px); }
.ag-pano-mes { border: 1px solid var(--ag-border); border-radius: 6px; background: var(--ag-cell); min-width: 0; overflow: hidden; }
.ag-pano-mes.is-now { outline: 1px solid var(--ag-accent); outline-offset: -1px; }
.ag-pano-tit {
    width: 100%; border: 0; background: transparent; color: var(--ag-text);
    font-size: 11px; font-weight: 700; padding: 3px 4px 1px; text-align: left; cursor: pointer; text-transform: lowercase;
}
.ag-pano-atual { font-size: 8px; color: var(--ag-accent); margin-left: 3px; font-weight: 700; text-transform: none; }
.ag-pano-mini { padding: 0 3px 4px; }
.ag-pano-dow, .ag-pano-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.ag-pano-dow { margin-bottom: 1px; }
.ag-pano-dow span { text-align: center; font-size: 8px; font-weight: 700; color: var(--ag-muted); padding: 0; line-height: 1.2; }
.ag-pano-dow span.fds { color: #56697c; }
.ag-pano-dia {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    min-height: 16px; padding: 0; border: 0; border-radius: 2px;
    background: transparent; color: var(--ag-text); cursor: pointer; font-size: 10px; font-weight: 500; min-width: 0; line-height: 1.15;
}
.ag-pano-dia.fds { background: transparent; }
.ag-pano-dia.out { opacity: .28; }
.ag-pano-dia.hoje { font-weight: 800; color: var(--ag-accent); background: var(--ag-today); border-radius: 999px; }
.ag-pano-dia .dots { display: flex; flex-wrap: wrap; gap: 1px; justify-content: center; margin-top: 0; font-style: normal; line-height: 0; }
.ag-pano-dia .dots em { width: 3px; height: 3px; border-radius: 50%; display: inline-block; }
.ag-pano-dia .dots b { font-size: 7px; color: var(--ag-muted); line-height: 1; }

.ag-ano { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 8px; }
.ag-ano-mes {
    border: 1px solid var(--ag-border); border-radius: 8px; background: var(--ag-cell);
    display: flex; flex-direction: column; min-height: 0; overflow: hidden;
}
.ag-ano-mes.is-now { outline: 2px solid var(--ag-accent); outline-offset: -2px; }
.ag-ano-tit {
    width: 100%; border: 0; border-bottom: 1px solid var(--ag-border-light);
    background: var(--ag-surface); color: var(--ag-text); font-size: 14px; font-weight: 700;
    padding: 8px 10px; text-align: left; cursor: pointer;
}
.ag-ano-atual { font-size: 10px; font-weight: 600; color: var(--ag-accent); margin-left: 6px; }
.ag-ano-body { padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 4px; }
.ag-ano-qtd { font-size: 11px; font-weight: 600; color: var(--ag-muted); }
.ag-ano-vazio { font-size: 11px; color: var(--ag-muted); font-style: italic; }
.ag-ano-evts { display: flex; flex-direction: column; gap: 2px; max-height: 160px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ag-ano-ev {
    display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline;
    border: 0; border-radius: 4px; padding: 3px 6px; cursor: pointer; text-align: left; width: 100%;
    font-size: 11px; line-height: 1.25;
}
.ag-ano-ev-data { font-weight: 800; flex-shrink: 0; min-width: 34px; }
.ag-ano-ev-hora { flex-shrink: 0; }
.ag-ano-ev-tit { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-ano-ver {
    margin-top: 4px; padding: 4px 6px; border: 1px solid var(--ag-border); border-radius: 5px;
    background: var(--ag-surface); color: var(--ag-accent); font-size: 11px; font-weight: 600;
    cursor: pointer; width: 100%; text-align: center;
}
@media (min-width: 700px) {
    .ag-ano { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .ag-pano { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ag-sem-hdr, .ag-sem-allday, .ag-sem-row { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); width: 100%; }
.ag-sem-hdr { background: var(--ag-cell); border-bottom: 1px solid var(--ag-border); }
.ag-sem-dia {
    border: 0; border-left: 1px solid var(--ag-border-light); background: transparent;
    padding: 4px 1px; cursor: default; min-width: 0;
}
.ag-sem-dia.fds { background: var(--ag-weekend); }
.ag-sem-dia.hoje { background: var(--ag-today); color: var(--ag-accent); }
.ag-sem-dia small, .ag-sem-dia b { display: block; text-align: center; font-size: 12.5px; }
.ag-sem-allday { border-bottom: 1px solid var(--ag-border); background: var(--ag-surface); }
.ag-sem-allday > * { min-width: 0; padding: 2px; border-left: 1px solid var(--ag-border-light); }
.ag-sem-body { max-height: min(62vh, 560px); overflow: auto; touch-action: pan-y; }
.ag-sem { touch-action: pan-y; }
.ag-sem-hora { font-size: 12.5px; color: var(--ag-muted); text-align: right; padding: 2px 4px; background: var(--ag-surface); }
.ag-sem-cel {
    min-height: 24px; min-width: 0; overflow: hidden; padding: 1px;
    border-top: 1px solid var(--ag-border-light); border-left: 1px solid var(--ag-border-light);
    background: var(--ag-cell); cursor: pointer;
}
.ag-sem-cel.fds { background: var(--ag-weekend); }
.ag-sem-cel.hoje { background: var(--ag-today); }

.cal-dia { padding: 8px; }
.allday { min-height: 24px; margin-bottom: 6px; }
.cal-dia .slots { display: grid; gap: 0; }
.cal-dia .slot { display: grid; grid-template-columns: 48px 1fr; gap: 6px; padding: 4px 0; border-top: 1px dashed var(--ag-border-light); cursor: pointer; min-width: 0; }
.cal-dia .slot b { font-size: 14px; color: var(--ag-muted); }

.chat { list-style: none; padding: 0; max-height: 240px; overflow: auto; }
.chat li { padding: 8px 0; border-bottom: 1px solid #eef2f7; }
.link { color: #123a6b; font-weight: 700; }
.contacts { list-style: none; padding: 0; }
.contacts button { width: 100%; text-align: left; border: 0; background: #eef6fb; margin: 3px 0; padding: 6px; border-radius: 6px; cursor: pointer; }
.reconnect { position: fixed; inset: auto 16px 16px auto; background: #123a6b; color: #fff; padding: 8px 12px; border-radius: 8px; display: none; }
#components-reconnect-modal.components-reconnect-show { display: block; }
.reconnect-msg { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }

@media (max-width: 800px) {
    .pt-topbar { padding-left: 0; padding-right: 0; }
    .pt-linha2, .pt-linha3 {
        display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
        gap: 2px; padding: 1px 2px; overflow: visible; width: 100%;
    }
    .pt-linha2 { padding-top: 4px; padding-bottom: 1px; }
    .pt-linha2-scroll, .pt-linha3-centro {
        display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
        gap: 2px; min-width: 0; max-width: 100%; overflow: visible;
    }
    .pt-linha2-scroll { flex: 1 1 auto; width: auto; }
    .pt-linha3-centro { width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 2px; }
    .pt-linha3-hub {
        display: inline-flex; flex: 0 0 auto; justify-content: center; align-items: center;
        gap: 10px; max-width: 100%;
    }
    .pt-linha3-centro > .pt-nav-item,
    .pt-linha3-centro > .pt-user,
    .pt-linha3-hub { flex-shrink: 0; }
    .nav-mais-wrap { position: static; margin: 0 0 0 2px; flex-shrink: 0; }
    .nav-mais { width: 22px; height: 22px; font-size: 16px; line-height: 20px; }
    .pt-linha3 { overflow: visible; padding-bottom: 3px; }
    .pt-nav-item { font-size: 12px; padding: 1px 3px; flex-shrink: 1; }
    .pt-user { flex-shrink: 0; gap: 4px; }
    .pt-user, .pt-user-nome { font-size: 11px; }
    .pt-user-nome { max-width: 140px; }
    .pt-sair { padding: 1px 6px; font-size: 11px; }
    .pt-gcal { width: 22px; height: 22px; }
    .pt-gcal svg { width: 16px; height: 16px; }
    .pt-nav-ico { width: 16px; height: 16px; margin-right: 2px; }
    .pt-nav-ico-wrap { width: auto; height: 16px; margin-right: 6px; gap: 6px; }
    .pt-nav-ico-wrap .pt-nav-ico { width: 16px; height: 16px; }
    header.pt-topbar .pt-linha2-scroll,
    header.pt-topbar .pt-linha3-centro { gap: 10px; }
    .pt-brand img { height: 22px; }
    .stage { padding: 8px 10px 16px; }
    .dock {
        position: static; transform: none; width: 100%; max-width: 100%;
        margin-top: auto; border-radius: 8px; padding: 6px 8px; gap: 5px;
        background: #0a1f3d; backdrop-filter: none;
        display: grid; grid-template-columns: 1fr 1fr;
    }
    .dock-b { padding: 6px 6px; font-size: 11px; line-height: 1.15; border-radius: 6px; }
    .dock .dock-b { font-size: 13px; }
    .dock-ckp { grid-column: 1 / -1; font-size: 13px; }
    .lista.tl-wrap {
        min-height: calc(100dvh - var(--pt-topbar-h, 52px) - 16px);
        display: flex; flex-direction: column;
    }
    .row4, .tipo-grid { grid-template-columns: 1fr 1fr; }
    .lista.tl-wrap { width: 100%; --pt-wrap-max: 100%; }
    .tl-filtros-campos select, .tl-btn-filtro-proj, .tl-btn-filtro-resp { flex: 1 1 calc(50% - 4px); max-width: none; }
    .tl-filtros-campos select.pt-ddl-periodo { max-width: none; flex: 1 1 calc(50% - 4px); }
    .tl-filtros-tools { flex: 1 1 100%; overflow-x: auto; }
    .tl-zoom input[type=range] { width: 30px; }
    .cal { padding: 4px; }
    .cal-toolbar { gap: 6px; }
    .cal-linha1 { flex-wrap: nowrap; gap: 6px; }
    .cal-linha1 select { flex: 1 1 auto; min-width: 0; }
    .cal-nav { width: 100%; }
    .cal-nav h2 { font-size: 15px; line-height: 32px; }
    .cal-toolbar.cal-filtros .cal-nav h2.cal-tit-ano { font-size: 22px; line-height: 32px; }
    .cal-arrow { width: 36px; height: 32px; font-size: 20px; }
    .cal-hoje-ir { height: 32px; font-size: 11px; padding: 0 8px; }
    .cal-vistas {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px; width: 100%;
    }
    .cal-vistas button {
        width: 100%; font-size: 11px; padding: 6px 4px; min-height: 32px;
        text-align: center; box-sizing: border-box;
    }
    .cal-acoes { width: 100%; justify-content: space-between; }
    .ag-pano { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px 4px; padding: 4px; }
    .ag-pano-dia { min-height: 15px; font-size: 9px; }
    .ag-ano { grid-template-columns: 1fr; }
    .ag-mes-cel { min-height: 58px; }
    .ag-sem-hdr, .ag-sem-allday, .ag-sem-row { grid-template-columns: 42px repeat(7, minmax(0, 1fr)); }
    .ag-sem-cel { min-height: 22px; }
}

/* ── ModalLinha: tarefa / evento (formulário único) ─────────────────────────── */
.ml-sheet { width: min(760px, 96vw); background: #f4f6fa; border: 1px solid rgba(196,163,90,.35); }
.ml-h { background: linear-gradient(135deg, #061426, #0f2f5a); color: #fff; border-bottom: 1px solid var(--gold); padding: 8px 14px; position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; }
.ml-logo { height: 30px; width: auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)) drop-shadow(0 0 6px rgba(196,163,90,.25)); }
.ml-h-txt { flex: 1; display: grid; line-height: 1.1; min-width: 0; }
.ml-h h2 { margin: 0; color: #fff; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-h .x { background: rgba(255,255,255,.12); color: #fff; }
.ml-tipo { display: inline-flex; gap: 4px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.ml-tipo .ml-pill { border-color: transparent; background: transparent; color: #cfdcef; padding: 4px 11px; font-size: 12px; }
.ml-tipo .ml-pill.on { background: linear-gradient(135deg, #b8944a, var(--gold)); color: #0a1f3d; box-shadow: none; }
.ml-b { padding: 6px 10px 3px; gap: 5px; }
.ml-b label { display: block; font-size: 11.5px; font-weight: 700; color: #33465e; letter-spacing: .02em; min-width: 0; }
.ml-b label i { color: #b42318; font-style: normal; }
.ml-b label small { font-weight: 500; color: #6a7c93; }
.ml-b input:not([type=checkbox]):not([type=radio]), .ml-b select, .ml-b textarea { margin-top: 1px; padding: 4px 6px; background: #fff; width: 100%; box-sizing: border-box; }
.ml-b input:focus, .ml-b select:focus, .ml-b textarea:focus { outline: 2px solid rgba(196,163,90,.55); border-color: var(--gold); }
.ml-b input.pt-req, .ml-b select.pt-req {
    background: #2878c4 !important; color: #041428 !important; border-color: #1a66ad !important; font-weight: 700;
}
.ml-b input.pt-req.pt-req-tit:not(.ok) {
    background: #85bce8 !important; color: #041428 !important; border-color: #5a9fd4 !important;
}
.ml-b input.pt-req.ok, .ml-b select.pt-req.ok {
    background: #123a6b !important; color: #eaf2ff !important; border-color: #123a6b !important;
}
.ml-b input.pt-req.pt-req-tit.ok { background: #123a6b !important; color: #eaf2ff !important; border-color: #123a6b !important; }
.ml-b select.pt-req option { background: #fff; color: #0a1f3d; }
.ml-b input.pt-req:disabled:not(.ok), .ml-b select.pt-req:disabled:not(.ok) {
    background: #d4e6f6 !important; color: #5a7a9a !important; border-color: #b8cfe4 !important;
    opacity: 1; cursor: not-allowed;
}
.ml-b input.pt-req.pt-req-tit:disabled:not(.ok) {
    background: #e2eef8 !important; color: #6a8aab !important; border-color: #c5d9ec !important;
}

/* Seções (cards) — recolhíveis */
.ml-sec { background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; padding: 7px 11px 8px; display: grid; gap: 6px; box-shadow: 0 1px 2px rgba(10,31,61,.04); }
.ml-sec-pane {
    background: linear-gradient(180deg, #e8ecf2 0%, #dfe5ee 100%);
    border-color: rgba(196,163,90,.45);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(10,31,61,.04);
}
.ml-sec-principal { gap: 3px; padding: 5px 9px 6px; }
.ml-sec-principal .ml-sec-hd { margin-bottom: 3px; }
.ml-sec-principal .ml-g2 { gap: 3px 6px; align-items: end; }
.ml-sec-principal .ml-tit-tools { gap: 4px; margin-top: 0; }
.ml-sec-principal .ml-hit { width: 34px; height: 30px; }
.ml-sec-sub {
    display: flex; align-items: center; gap: 6px;
    margin: 3px 0 2px; padding-top: 3px;
    border-top: 1px solid rgba(196,163,90,.25);
    font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: #5c4300; font-weight: 800;
}
.ml-sec-sub.quando { margin-top: 2px; padding-top: 2px; }
.ml-sec-sub::after {
    content: ""; flex: 1; height: 2px;
    background: linear-gradient(90deg, rgba(196,163,90,.75), rgba(196,163,90,.15), transparent);
}
.ml-obs-inline { display: block; margin: 0; }
.ml-obs-inline textarea {
    margin-top: 0 !important; padding: 4px 6px !important;
    min-height: 34px; max-height: 64px; resize: vertical; font-size: 12px; line-height: 1.25;
}
.ml-sec-hd, .ml-sec h3 {
    margin: -7px -11px 6px; padding: 6px 11px 7px;
    background: linear-gradient(180deg, #d0d8e4 0%, #c4cedc 100%);
    border-bottom: 1px solid rgba(196,163,90,.28);
    font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold); font-weight: 800;
    display: flex; align-items: center; gap: 8px; cursor: default; user-select: none;
}
.ml-sec-hd.oque { font-size: 12.1px; }
.ml-sec-hd.quando span, .ml-sec-hd.quando { color: #5c4300; }
.ml-sec-hd::after, .ml-sec h3::after {
    content: ""; flex: 1; height: 2px;
    background: linear-gradient(90deg, rgba(196,163,90,.88), rgba(196,163,90,.25), transparent);
}
.ml-sec h3 small { letter-spacing: 0; text-transform: none; color: #6a7c93; font-weight: 600; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; margin-left: auto; }
.ml-sec h3:has(.ml-chev) { cursor: pointer; }
.ml-sec h3:has(.ml-chev)::before { content: none; }
.ml-sec h3 .ml-chev { margin-right: 0; }
.ml-chev { width: 7px; height: 7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); margin: -3px 2px 0 1px; transition: transform .15s; flex: none; }
.ml-sec.fechada .ml-chev { transform: rotate(-45deg); margin-top: 0; }
.ml-sec.fechada .ml-sec-body { display: none; }
.ml-sec.fechada { padding-bottom: 7px; }
.ml-sec-body { display: grid; gap: 6px; }
.ml-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; align-items: end; }
.ml-l2 { display: grid; gap: 2px; }
.ml-l2 .ml-meta-strip { padding-top: 0; }
.ml-tit-tools { display: flex; align-items: flex-end; gap: 5px; flex-wrap: wrap; }
.ml-tit-prev { width: 100%; margin: 6px 0 2px; }
.ml-tit-grow { flex: 1 1 140px; min-width: 0; margin: 0; }
/* barra compacta: rótulos | % | cancelar+gravar numa linha */
.ml-meta-bar {
    display: flex; align-items: stretch; gap: 5px; flex-wrap: nowrap;
    margin: 1px 0 2px; min-width: 0;
}
.ml-meta-bar.ev .ml-meta-center { display: none; }
.ml-meta-left {
    display: flex; gap: 4px; align-items: stretch; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap;
}
.ml-meta-center { flex: 0 0 auto; }
.ml-meta-right {
    display: flex; gap: 4px; flex: 0 0 auto; align-items: stretch;
}
.ml-quick-ac { display: contents; }
.ml-quick-ac .btn-cancel,
.ml-quick-ac .btn-save {
    flex: 0 0 auto; min-width: 0; max-width: none; width: auto;
    padding: 4px 8px; font-size: 10.5px; border-radius: 7px; min-height: 30px; line-height: 1.1;
    white-space: nowrap;
}
.ml-quick-ac .btn-save { background: linear-gradient(135deg, #0a1f3d, #164a85); border: 1px solid rgba(196,163,90,.55); }
.ml-quick-ac .btn-cancel { border: 0; }
.btn-cancel.xs, .btn-save.xs { padding: 4px 8px; font-size: 10.5px; border-radius: 7px; min-height: 30px; }
.ml-flag.compact {
    min-height: 30px; padding: 3px 7px; font-size: 10.5px; border-radius: 7px; gap: 3px;
    white-space: nowrap; flex-shrink: 1; min-width: 0;
}
.ml-flag.compact i { font-size: 12px; flex: none; }
.ml-flag.compact .ml-meta-txt { overflow: hidden; text-overflow: ellipsis; }
.ml-flag.crit.compact { padding: 3px 6px; }
.ml-hit {
    flex: none; width: 38px; height: 34px; padding: 0;
    border: 1px solid #b8bfc9; border-radius: 7px; background: #f6f8fb;
    display: inline-grid; place-items: center; cursor: pointer; font-size: 18px; line-height: 1;
}
.ml-hit.vazio { font-size: 12px; color: #9aa3b2; background: #eef1f5; }
.ml-mtx-hit img { display: block; }
.ml-pct-hit {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: auto; min-width: 62px; max-width: 72px; height: 30px; padding: 1px 5px;
    border: 1px solid #b8bfc9; border-radius: 7px; background: #f6f8fb;
    font-weight: 700; color: #123a6b; cursor: pointer; box-sizing: border-box; gap: 0;
}
.ml-pct-hit.ml-pct-labeled .ml-pct-lbl { font-size: 7.5px; font-weight: 700; color: #5a6a80; line-height: 1; letter-spacing: 0; }
.ml-pct-hit.ml-pct-labeled .ml-pct-val { font-size: 12px; font-weight: 800; line-height: 1.05; }
.ml-pct-hit:hover, .ml-pct-hit.open { border-color: #123a6b; background: #eef3fa; }
.ml-pct-hit:disabled { opacity: .55; cursor: not-allowed; border-color: #c5ccd6; color: #33465e; }
.ml-pct-fly {
    position: absolute; top: calc(100% + 3px); left: 0; z-index: 10080;
    width: 84px; padding: 4px;
    background: #fff; border: 1px solid rgba(18,58,107,.15);
    border-radius: 10px; box-shadow: 0 12px 32px rgba(10,31,61,.22);
    box-sizing: border-box;
}
.ml-pct-opt {
    display: block; width: 100%; padding: 7px 6px; margin: 0;
    border: none; border-radius: 6px; background: transparent;
    font-size: 13px; font-weight: 700; color: #1c2a3a; cursor: pointer; text-align: center;
}
.ml-pct-opt:hover { background: #eef3fa; }
.ml-pct-opt.sel { background: #e3ecf7; color: #123a6b; box-shadow: 0 0 0 1px #123a6b inset; }
.ml-flag.crit.big {
    background: #111 !important; border-color: #333 !important; color: #fff !important;
}
.ml-flag.crit.big i { color: #e3c05c !important; }
.ml-flag.crit.big.on { box-shadow: 0 0 0 2px rgba(227,192,92,.55) !important; }
.ml-flag.rot .ico-tag { color: #e3c05c; filter: saturate(1.35); }
.ml-flag.rot.on { background: linear-gradient(135deg, #0a1f3d, #123a6b); color: #fff; border-color: var(--gold); }
.ml-flag.rot.on .ico-tag { color: #ffe082; }
.ml-mini-ov {
    position: fixed; inset: 0; z-index: 10070;
    background: rgba(10,31,61,.45); display: flex; align-items: center; justify-content: center; padding: 12px;
}
.ml-mini-pop {
    background: #fff; border-radius: 12px; border: 1px solid #c5d4e6;
    box-shadow: 0 16px 48px rgba(0,0,0,.35); width: min(420px, 96vw); max-height: 72vh; overflow: auto;
}
.ml-mini-pop header {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 8px 12px; background: linear-gradient(145deg, #0a1f3d, #123a6b); color: #fff;
}
.ml-mini-pop header b { font-size: 14px; }
.ml-mini-pop header .x.sm {
    color: #fff; background: rgba(255,255,255,.15); border: 0; width: 28px; height: 28px;
    border-radius: 6px; cursor: pointer; font-size: 18px; line-height: 1;
}
.ml-mtx-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.ml-mtx-pick button {
    border: 1px solid #c3ccd9; border-radius: 8px; padding: 8px 4px; background: #f7f9fc;
    cursor: pointer; display: grid; gap: 4px; place-items: center; font-size: 11px; font-weight: 700; color: #33465e;
}
.ml-mtx-pick button.on { border-color: var(--gold); background: #fff8e6; box-shadow: 0 0 0 2px rgba(196,163,90,.3); }
.ml-ico-grid { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px; max-height: min(60vh, 480px); overflow: auto; }
.ml-ico-grid button {
    font-size: 21px; width: 35px; height: 35px; border: 1px solid transparent; background: #f2f4f7;
    border-radius: 7px; cursor: pointer; padding: 0; line-height: 35px; text-align: center;
}
.ml-ico-grid button.on { border-color: #123a6b; background: #dbe7f7; }
.ml-ico-grid button.sem { font-size: 10px; font-weight: 700; color: #6a7c93; }
.ml-rot-pop .ml-rotulos { padding: 10px 12px 12px; }
.ml-tit-full { display: block; margin: 0; }
.ml-tit-full input { margin-top: 3px; }
.ml-meta-strip {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px;
    padding: 4px 0 2px; min-height: 0;
}
.ml-ico-in {
    width: 38px; min-width: 38px; flex: none; text-align: center; font-size: 14px;
    padding: 5px 4px !important; border-radius: 7px;
}
.ml-chip.sm { padding: 3px 8px 3px 6px; font-size: 11px; gap: 4px; }
.ml-chip.sm i { width: 7px; height: 7px; }
.ml-flag.sm { padding: 3px 8px; font-size: 11px; min-height: 28px; border-radius: 999px; }
.ml-flag.sm i { font-size: 12px; }
.ml-pct-in {
    display: inline-flex; align-items: center; gap: 3px; flex: none;
    font-size: 11px; font-weight: 700; color: #33465e;
}
.ml-pct-in b { font-size: 10px; opacity: .85; }
.ml-pct-in input {
    width: 38px; min-width: 38px; text-align: center; padding: 4px 2px !important;
    font-size: 12px; font-weight: 700; margin: 0 !important;
}
.ml-mtx-wrap.inline { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.ml-mtx-wrap.inline .ml-mtx-opt { width: 28px; height: 28px; }
.ml-mtx-wrap.inline .ml-mtx-opt img { width: 16px; height: 16px; }
.ml-flags-quando { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin-top: 0; }
.ml-flag.cont.on { background: #0a1f3d; color: #f3e2b6; border-color: #c9a24a; }
.ml-cont-dica { margin: 4px 0 0; font-size: 11px; font-weight: 650; color: #0a1f3d; }
.ml-flag.big {
    justify-content: center; min-height: 30px; padding: 4px 8px;
    font-size: 11.5px; border-radius: 8px; gap: 4px;
}
.ml-flag.big i { font-size: 13px; }
.ml-obs-full { display: block; margin: 0; font-size: 11.5px; font-weight: 700; color: #33465e; }
.ml-obs-full textarea { margin-top: 3px; width: 100%; box-sizing: border-box; }
.ml-subh span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #6a7c93; font-weight: 800; }
.ml-subh::after { content: ""; flex: 1; height: 1px; background: #e6ebf2; }
.ml-subh-quando { margin-top: 10px; margin-bottom: 4px; }
.ml-subh-quando span { color: #5c4300; }
.ml-subh-quando::after { background: var(--gold); height: 2px; }
.ml-oque-extra { grid-template-columns: .8fr auto 58px; margin-top: 4px; }
.ml-flags-top { margin-top: 2px; }

.ml-b label { font-size: 10.5px; margin-bottom: 0; line-height: 1.15; }
.ml-b label input, .ml-b label select { margin-top: 1px; padding: 4px 6px !important; font-size: 12.5px; }
.ml-sec-principal label input, .ml-sec-principal label select { padding: 4px 6px !important; }
.ml-sec-pane .ml-g2 { gap: 3px 6px; }
.ml-sec-principal .ml-g2.ml-resp-row { margin-top: 0; }
.ml-pct-wrap { position: relative; min-width: 0; }
.ml-resp .ml-av { width: 26px; height: 26px; }

.ml-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ml-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; }
.ml-tit-row { display: grid; grid-template-columns: 1fr 64px; gap: 8px; align-items: end; }
.ml-ico input { text-align: center; font-size: 15px; padding: 4px 6px !important; }
.ml-inline { display: flex; gap: 8px; align-items: center; margin-top: 3px; }
.ml-inline input { margin-top: 0 !important; flex: 1; }
.ml-b .ghost { color: #0a3a6b; border-color: #0a3a6b; background: #fff; padding: 6px 11px; border-radius: 8px; white-space: nowrap; text-decoration: none; font-size: 12px; }
.ml-b .ghost:hover { background: #eef3fa; }
.ml-pill { border: 1px solid #c3ccd9; background: #fff; color: #33465e; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.ml-pill.sm { padding: 4px 10px; font-size: 12px; }
.ml-pill.on { background: linear-gradient(135deg, #0a1f3d, #123a6b); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,163,90,.25); }
.ml-pill:disabled { opacity: .55; cursor: default; }
.ml-modo { display: flex; gap: 4px; align-items: end; flex-wrap: wrap; padding-bottom: 2px; }
.ml-resp { display: flex; gap: 6px; align-items: center; margin-top: 3px; }
.ml-resp select { margin-top: 0 !important; flex: 1; }
.ml-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex: none; }
.ml-av-ini { display: grid; place-items: center; background: #0a1f3d; color: #fff; font-size: 11px; font-weight: 800; }
.ml-chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; color: #33465e; cursor: pointer; }
.ml-chk input { width: 15px; height: 15px; accent-color: #0a3a6b; margin: 0; }

/* Quando: agenda · hora · matrix · % em uma linha */
.ml-quando-row { display: grid; grid-template-columns: 1.15fr .7fr auto 58px; gap: 8px; align-items: end; }
.ml-quando-row.ev { grid-template-columns: 1fr auto auto; }
.ml-lbl { display: block; font-size: 11.5px; font-weight: 700; color: #33465e; letter-spacing: .02em; }
.ml-mtx-wrap { display: grid; gap: 3px; }
.ml-mtx { display: inline-flex; gap: 3px; }
.ml-mtx-opt { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #c3ccd9; background: #fff; border-radius: 7px; padding: 0; cursor: pointer; transition: transform .1s, border-color .1s; }
.ml-mtx-opt img { width: 20px; height: 20px; display: block; opacity: .8; }
.ml-mtx-opt:hover { border-color: #8aa8c8; transform: translateY(-1px); }
.ml-mtx-opt.on { border-color: var(--gold); background: #fff8e6; box-shadow: 0 0 0 2px rgba(196,163,90,.3); }
.ml-mtx-opt.on img { opacity: 1; }
.ml-pct input { text-align: center; padding: 6px 4px !important; }
.ml-pct input:disabled { background: #eef2f7; color: #33465e; font-weight: 700; }

/* Flags: período · repetir · crítica · lembretes */
.ml-flags { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.ml-flags-lbl { font-size: 11.5px; font-weight: 700; color: #33465e; margin-right: 2px; }
.ml-flag { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #c3ccd9; background: #fff; color: #33465e; border-radius: 999px; padding: 4px 11px 4px 8px; font-size: 12px; font-weight: 700; cursor: pointer; line-height: 1.2; }
.ml-flag i { font-style: normal; font-size: 14px; line-height: 1; }
.ml-flag:hover { border-color: #8aa8c8; }
.ml-flag.on { background: linear-gradient(135deg, #0a1f3d, #123a6b); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,163,90,.25); }
.ml-flag.crit.on { background: #111; border-color: #111; box-shadow: 0 0 0 2px rgba(0,0,0,.18); }
.ml-flag.info { cursor: default; background: #fff8e6; border-color: #f1dfa8; color: #5c4300; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-confirm { font-size: 12.5px; background: #fff3cd; color: #5c4300; border-radius: 8px; padding: 7px 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ml-confirm .btn-save.sm { padding: 5px 11px; font-size: 12px; border-radius: 8px; }
.ml-rec { background: #f7f9fc; border: 1px dashed #c3ccd9; border-radius: 10px; padding: 8px 10px; display: grid; gap: 8px; }
.ml-dias { display: flex; gap: 5px; flex-wrap: wrap; }
.ml-dia { width: 42px; height: 28px; border-radius: 8px; border: 1px solid #c3ccd9; background: #fff; font-weight: 700; font-size: 12px; cursor: pointer; color: #33465e; }
.ml-dia.on { background: #0a1f3d; color: #fff; border-color: var(--gold); }
.ml-diames { max-width: 140px; }
.ml-rec-prev { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; color: #33465e; }
.ml-datas { display: flex; flex-wrap: wrap; gap: 4px; max-height: 140px; overflow: auto; }
.ml-datas i {
    font-style: normal; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums;
    padding: 2px 7px; border-radius: 6px; background: #fff; color: #1e2226;
    border: 1px solid #c3ccd9;
}
.ml-datas i.fim { background: #0a1f3d; color: #fff; border-color: var(--gold); }

/* Evento: local / meet / convidados */
.ml-meet { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.ml-aviso { margin: 0; font-size: 12px; color: #5c4300; background: #fff8e6; border: 1px solid #f1dfa8; border-radius: 8px; padding: 6px 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ml-aviso a { color: #0a3a6b; font-weight: 700; }
.ml-b .contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; max-height: 160px; overflow: auto; }
.ml-b .contacts button { width: 100%; text-align: left; border: 1px solid #dfe5ee; background: #f7f9fc; border-radius: 7px; padding: 5px 9px; cursor: pointer; font-size: 12px; color: #33465e; display: flex; gap: 8px; align-items: baseline; }
.ml-b .contacts button:hover { background: #eef3fa; border-color: #8aa8c8; }
.ml-b .contacts button b { color: #0a1f3d; }
.ml-b .contacts button span { color: #6a7c93; font-size: 11px; overflow: hidden; text-overflow: ellipsis; }

/* Regras e vínculos — duas colunas */
.ml-rv { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ml-rv-col { display: grid; gap: 5px; align-content: start; min-width: 0; }
.ml-rv-col h4 { margin: 0; font-size: 12px; font-weight: 800; color: #0a1f3d; letter-spacing: .04em; padding-bottom: 3px; border-bottom: 1px solid #e6ebf2; }
.ml-rv-sub { font-size: 11px; font-weight: 700; color: #6a7c93; }
.ml-exigir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 8px; background: #f7f9fc; border-radius: 8px; padding: 7px 10px; }
.ml-exigir .ml-chk { font-size: 11.5px; white-space: nowrap; }
.ml-rotulos { display: flex; gap: 5px; flex-wrap: wrap; }
.ml-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.ml-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c3ccd9; background: #fff; color: #33465e; border-radius: 999px; padding: 3px 10px 3px 8px; font-size: 12px; font-weight: 600; cursor: pointer; max-width: 100%; }
.ml-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--rc, #888); display: inline-block; flex: none; }
.ml-chip.on { background: #0a1f3d; color: #fff; border-color: var(--rc, var(--gold)); }
.ml-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 0 0 2px; opacity: .8; }

/* Subtarefas — padrão do editor legado (número · texto · A · mídia · mover · ×) */
.ml-ck-add { display: flex; gap: 5px; align-items: center; }
.ml-ck-add input { margin-top: 0 !important; flex: 1; }
.ml-ck-add button { border: 1px solid #c3ccd9; background: #fff; color: #0a1f3d; border-radius: 7px; min-width: 34px; height: 32px; padding: 0 8px; cursor: pointer; font-size: 13px; font-weight: 800; flex: none; }
.ml-ck-add button:hover { border-color: var(--gold); background: #fff8e6; }
.ml-subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ml-subs li { display: flex; align-items: center; gap: 4px; padding: 2px 4px 2px 2px; border-radius: 6px; border-left: 3px solid transparent; position: relative; }
.ml-subs li:hover { background: #f7f9fc; }
.ml-subs li.sel { background: #dbeafe; border-left-color: #1565c0; }
.ml-subs li input[type=checkbox] { width: 15px; height: 15px; accent-color: #0a3a6b; flex: none; margin: 0; }
.ml-subs li .ck-txt { margin-top: 0 !important; padding: 3px 6px !important; flex: 1; min-width: 0; font-size: 13px; line-height: 1.2; border: 1px solid #c8ced8; border-radius: 3px; background: #fff; }
.ml-subs li.ok .ck-txt { text-decoration: line-through; color: #888 !important; }
.ck-num { flex: none; box-sizing: border-box; width: 18px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 8.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: #8a93a3; background: #eef1f5; border: 1px solid #dde3ea; border-radius: 3px; }
.ck-corwrap { position: relative; flex: none; display: inline-flex; }
.ck-cor { border: 1px solid #c8d4e4; background: #fff; color: #111; font-size: 11px; font-weight: 800; font-style: italic; border-radius: 4px; width: 24px; height: 22px; padding: 0; cursor: pointer; line-height: 1; }
.ck-cor:hover { background: #eef3fa; border-color: #8aa8c8; }
.ck-pal { position: absolute; top: calc(100% + 4px); right: 0; z-index: 5; display: flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid #c8d4e4; border-radius: 8px; box-shadow: 0 8px 22px rgba(10,31,61,.22); }
.ck-pal button { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); padding: 0; cursor: pointer; }
.ck-pal button.off { background: #fff; color: #33465e; font-size: 10px; font-weight: 800; font-style: italic; border-radius: 4px; }
.ck-mid { flex: none; display: inline-flex; align-items: center; gap: 2px; width: auto; min-width: 26px; height: 22px; padding: 0 4px; border: 1px solid #c8d4e4; background: #fff; color: #6a7c93; border-radius: 4px; cursor: pointer; font-size: 10px; font-weight: 800; }
.ck-mid .ml-svg { width: 13px; height: 13px; }
.ck-mid:hover, .ck-mid.open { border-color: #8aa8c8; background: #eef3fa; color: #0a1f3d; }
.ck-mid.on { color: #0a3a6b; border-color: #0a3a6b; }
.ck-mv { flex: none; display: inline-flex; gap: 2px; }
.ck-mv button { border: 1px solid #c8d4e4; background: #fff; color: #0a1f3d; border-radius: 4px; width: 20px; height: 22px; padding: 0; cursor: pointer; font-size: 9px; }
.ck-mv button:disabled { opacity: .35; cursor: default; }
.ck-del { flex: none; border: 0; background: transparent; color: #b42318; font-size: 18px; line-height: 1; width: 22px; height: 22px; padding: 0; cursor: pointer; border-radius: 4px; }
.ck-del:hover { background: #fde8e6; }
.ml-ck-midia { display: grid; gap: 6px; padding: 8px; background: #f7f9fc; border-radius: 8px; border: 1px dashed #c3ccd9; }
.ml-ck-midia > b { font-size: 11px; color: #33465e; }

/* Mídia — 4 cards; verde = captura agora, índigo = escolher existente */
.ml-svg { width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex: none; }
.ml-mbox4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ml-mbox { border: 1px solid #d4dce8; border-radius: 9px; padding: 7px 8px 8px; background: #eef2f8; display: grid; gap: 5px; min-width: 0; align-content: start; }
.ml-mbox-h { display: flex; align-items: center; gap: 6px; color: #123a6b; }
.ml-mbox-h .ml-svg { width: 18px; height: 18px; }
.ml-mbox-h b { font-size: 12px; }
.ml-mbox small { font-size: 9.5px; color: #6a7c93; line-height: 1.25; font-weight: 600; }
.ml-mbox-btns { display: flex; flex-wrap: wrap; gap: 4px; }
.ml-mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; flex: 1; border: 0; border-radius: 7px; padding: 7px 6px; cursor: pointer; font-size: 11.5px; font-weight: 700; color: #fff; background: #123a6b; box-shadow: inset 0 -1px 0 rgba(0,0,0,.18); transition: filter .1s, transform .1s; }
.ml-mbtn .ml-svg { width: 15px; height: 15px; }
.ml-mbtn span { color: inherit; white-space: nowrap; }
.ml-mbtn:hover { filter: brightness(1.08); }
.ml-mbtn:active { transform: translateY(1px); }
.ml-mbtn.cap { background: linear-gradient(180deg, #34893a, #2e7d32); }
.ml-mbtn.pick { background: linear-gradient(180deg, #6272c6, #5c6bc0); }
.ml-mbtn.stop { background: #8a93a3; }
.ml-mbtn.rec { background: linear-gradient(180deg, #c62828, #8a1710); animation: ml-pulse 1.2s infinite; }
@keyframes ml-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(180,35,24,.5);} 50% { box-shadow: 0 0 0 6px rgba(180,35,24,0);} }
.ml-mbox .ml-qual { display: flex; gap: 6px; flex-wrap: wrap; font-size: 10px; font-weight: 700; color: #33465e; }
.ml-mbox .ml-qual label { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; margin: 0; font-weight: 700; }
.ml-mbox .ml-qual input { accent-color: #123a6b; margin: 0; }
.ml-seg { display: inline-flex; border: 1px solid #d0dae8; border-radius: 6px; overflow: hidden; background: #fff; width: 100%; }
.ml-seg button { flex: 1; border: 0; background: transparent; padding: 3px 0; font-size: 10.5px; font-weight: 700; color: #5a6a7e; cursor: pointer; }
.ml-seg button + button { border-left: 1px solid #e3e9f2; }
.ml-seg button.on { background: #123a6b; color: #fff; }
.ml-midia-msg { margin: 0; font-size: 12px; color: #0a3a6b; font-weight: 600; }
.ml-anexos { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ml-anexos li { display: flex; align-items: center; gap: 8px; background: #f7f9fc; border-radius: 8px; padding: 4px 8px; }
.ml-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid #c3ccd9; display: block; }
.ml-file { width: 40px; height: 40px; display: grid; place-items: center; color: #123a6b; background: #fff; border: 1px solid #c3ccd9; border-radius: 6px; text-decoration: none; }
.ml-file .ml-svg { width: 20px; height: 20px; }
.ml-anexo-nome { flex: 1; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #33465e; }
.ml-anexos small { color: #6a7c93; font-size: 11px; }
.ml-obs textarea { resize: vertical; min-height: 44px; }

/* Rodapé */
.ml-f { flex-direction: column; align-items: stretch; gap: 8px; background: #f4f6fa; border-top: 1px solid #dfe5ee; position: sticky; bottom: 0; padding: 8px 12px; }
.ml-f .login-erro { margin: 0; }
.ml-dup { margin: 0; font-size: 13px; background: #fff3cd; color: #5c4300; border-radius: 8px; padding: 8px 10px; }
.ml-f-btns { display: flex; gap: 10px; justify-content: flex-end; }
.ml-f .btn-save { background: linear-gradient(135deg, #0a1f3d, #164a85); border: 1px solid rgba(196,163,90,.6); border-radius: 10px; padding: 9px 20px; letter-spacing: .04em; }
.ml-f .btn-cancel { background: linear-gradient(135deg, #7a1531, #b42318); border: 1px solid rgba(255,255,255,.15); }

@media (max-width: 720px) {
    .ml-sheet { width: 100vw; max-height: 100vh; border-radius: 0; }
    .overlay:has(.ml-sheet) { padding: 0; }
    .ml-h { flex-wrap: wrap; gap: 4px 8px; padding: 8px 10px 6px; }
    .ml-h .ml-tipo { order: 3; width: 100%; justify-content: center; }
    .ml-h h2 { font-size: 15px; }
    .ml-h .ml-logo { height: 22px; }
    .ml-b { padding: 5px 8px 4px; gap: 5px; }
    .ml-sec { padding: 5px 8px 6px; gap: 5px; }
    .ml-sec-principal { padding: 4px 7px 5px; gap: 2px; }
    .ml-meta-bar { gap: 3px; }
    .ml-flag.compact { padding: 2px 5px; font-size: 10px; min-height: 28px; }
    .ml-flag.compact .ml-meta-txt { max-width: 52px; }
    .ml-pct-hit { min-width: 56px; max-width: 64px; height: 28px; }
    .ml-quick-ac .btn-cancel, .ml-quick-ac .btn-save { padding: 3px 6px; font-size: 10px; min-height: 28px; }
    .ml-sec h3 { font-size: 9.5px; margin-bottom: 1px; }
    .ml-grid3, .ml-rv, .ml-quando-row.ev { grid-template-columns: 1fr; }
    .ml-quando-row { grid-template-columns: 1fr 1fr; }
    .ml-quando-row .ml-pct { justify-self: start; width: 64px; }
    .ml-mbox4 { grid-template-columns: 1fr 1fr; }
    .ml-tit-row { grid-template-columns: 1fr 56px; }
    .ml-f-btns .btn-save, .ml-f-btns .btn-cancel { flex: 1; }
    .ml-sec h3 small { max-width: 45%; }
    /* g2 e meta-strip mantêm 2 colunas / faixa compacta no celular */
    .ml-g2 { grid-template-columns: 1fr 1fr; gap: 5px 6px; }
    .ml-meta-strip { gap: 3px 4px; }
    .ml-flags-quando { gap: 5px; }
    .ml-flag.big { min-height: 32px; font-size: 12px; padding: 4px 8px; }
    .ml-exigir { grid-template-columns: repeat(3, 1fr); gap: 3px 6px; }
}
@media (max-width: 420px) {
    .ml-grid2:not(.ml-g2) { grid-template-columns: 1fr; gap: 6px; }
    .ml-mbox4 { grid-template-columns: 1fr; }
    .ml-chip.sm { font-size: 10px; padding: 2px 6px 2px 5px; }
    .ml-exigir { grid-template-columns: repeat(2, 1fr); }
}

/* ── Páginas de conta: /perfil, /rotulos, /convidar ──────────────────────────── */
.pg { max-width: 760px; margin: 12px auto 0; display: grid; gap: 14px; }
.pg-membros { max-width: 980px; }
.pg-h { display: grid; gap: 2px; padding: 4px 2px; }
.pg-h h1 { margin: 0; font-size: 24px; color: #0a1f3d; font-family: "Cormorant Garamond", serif; }
.pg-h .muted { margin: 4px 0 0; font-size: 13px; }
.pg-card { background: #fff; border: 1px solid #dfe5ee; border-radius: 14px; padding: 16px 18px; display: grid; gap: 12px; box-shadow: 0 1px 2px rgba(10,31,61,.05), 0 8px 24px -18px rgba(10,31,61,.35); }
.pg-card h3 { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pg-card h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(196,163,90,.5), transparent); }
.pg-card h3 small { letter-spacing: 0; text-transform: none; color: #6a7c93; font-weight: 600; }
.pg-card h4 { margin: 6px 0 0; font-size: 13px; color: #0a1f3d; }
.pg-card label { display: block; font-size: 12px; font-weight: 700; color: #33465e; }
.pg-card label i { color: #b42318; font-style: normal; }
.pg-card label small { font-weight: 500; color: #6a7c93; }
.pg-card input:not([type=checkbox]):not([type=color]), .pg-card select, .pg-card textarea { width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #c3ccd9; border-radius: 8px; background: #fff; color: #0a1f3d; font: inherit; }
.pg-card input:focus, .pg-card select:focus { outline: 2px solid rgba(196,163,90,.55); border-color: var(--gold); }
.pg-card .ghost { color: #0a3a6b; border-color: #0a3a6b; background: #fff; padding: 6px 12px; border-radius: 8px; white-space: nowrap; text-decoration: none; font-size: 12px; }
.pg-card .ghost:hover { background: #eef3fa; }
.pg-card-dark { background: linear-gradient(135deg, #061426, #0f2f5a); color: #fff; border-color: rgba(196,163,90,.4); }
.pg-card-dark label, .pg-card-dark .muted { color: #dce8f5; }
.pg-card-dark select { background: #fff; }
.pg-acoes { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.pg-acoes .btn-save { background: linear-gradient(135deg, #0a1f3d, #164a85); border: 1px solid rgba(196,163,90,.6); border-radius: 10px; padding: 10px 18px; }
.pg-msg { font-size: 13px; font-weight: 600; margin-right: auto; }
.pg-msg.ok { color: #1b7a3a; }
.pg-msg.erro { color: #9a1b2f; }
.pg-confirma {
    width: min(420px, 94vw);
    background: #f6f3ec;
    color: #141c26;
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.pg-confirma-kicker {
    margin: 0 0 4px;
    font-size: 11px; font-weight: 750; letter-spacing: .16em;
    text-transform: uppercase; color: #8a6a28;
}
.pg-confirma h2 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px; font-weight: 650; line-height: 1.1; color: #0a1f3d;
}
.pg-confirma h2 + p { margin: 0 0 18px; font-size: 15px; line-height: 1.45; color: #2c3642; }
.pg-confirma-acoes { display: flex; gap: 10px; }
.pg-confirma-sim, .pg-confirma-nao {
    flex: 1; min-height: 44px; border: 0; border-radius: 9px; cursor: pointer;
    color: #fff; font-size: 15px; font-weight: 750; letter-spacing: .02em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.pg-confirma-sim { background-color: #123a6b; }
.pg-confirma-sim:hover { background-color: #0e315c; }
.pg-confirma-nao { background-color: #8a3a38; }
.pg-confirma-nao:hover { background-color: #7a3331; }
.pg-confirma-sim:disabled, .pg-confirma-nao:disabled { opacity: .55; cursor: wait; }
.pg-aviso { margin: 0; background: #fff3cd; color: #5c4300; border: 1px solid #f1dfa8; border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 600; }
.btn-save.sm, .btn-cancel.sm { padding: 7px 14px; font-size: 12px; border-radius: 8px; text-decoration: none; display: inline-block; }
.pf-topo { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: start; }
.pf-foto { display: grid; justify-items: center; gap: 8px; }
.pf-foto img, .pf-foto-vazia { width: 120px; height: 120px; max-width: 120px; max-height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 6px 18px -8px rgba(10,31,61,.6); }
.pf-foto-vazia { display: grid; place-items: center; background: #0a1f3d; color: #fff; font-size: 36px; font-weight: 800; font-family: "Cormorant Garamond", serif; }
.pf-foto-btns { display: flex; gap: 6px; }
.pf-msg { font-size: 11px; color: #33465e; text-align: center; }
.pf-ids { display: grid; gap: 6px; align-content: start; padding-top: 6px; }
.pf-ro { display: flex; gap: 8px; font-size: 13px; }
.pf-ro span { color: #6a7c93; min-width: 52px; }
.pf-ro b { color: #0a1f3d; word-break: break-all; }
.pf-wa { display: grid; grid-template-columns: 220px 1fr; gap: 8px; margin-top: 4px; }
.pf-wa select, .pf-wa input { margin-top: 0 !important; }
.pg-card.pf-conexao, .pg-card.pf-bloco { padding: 10px 12px; gap: 8px; }
.pg-card.pf-conexao h3, .pg-card.pf-bloco h3 { color: #1a2740; font-size: 12px; letter-spacing: .12em; }
.pg-card.pf-conexao h3::after, .pg-card.pf-bloco h3::after { background: linear-gradient(90deg, rgba(26,39,64,.4), transparent); }
.pf-nota { color: #1e2c42; }
.pg-card.pf-conexao { background: #f4e4b0; border-color: #d7c07a; }
.pf-google { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; background: transparent; border: 0; padding: 0; }
.pf-google.on { background: transparent; border: 0; }
.pf-gcal-badge { grid-row: 1 / span 2; }
.pf-google-txt { min-width: 0; }
.pf-google p { margin: 2px 0 0; font-size: 14px; line-height: 1.35; color: #1a2740; overflow-wrap: anywhere; }
.pf-google .btn-cancel, .pf-google .btn-save { width: auto; grid-row: 1 / span 2; justify-self: end; }
.pf-gcal-badge { position: relative; width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(10,31,61,.16); }
.pf-gcal-badge svg { width: 28px !important; height: 28px !important; display: block; }
.pf-gcal-badge .pt-gcal-mark { border-color: #fff; right: -2px; bottom: -2px; }
.pf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-kpi { display: grid; gap: 2px; text-align: left; background: #f7f9fc; border: 1px solid #dfe5ee; border-radius: 10px; padding: 10px 12px; font: inherit; cursor: pointer; color: #0a1f3d; }
.pf-kpi b { font-size: 22px; font-family: "Cormorant Garamond", serif; }
.pf-kpi span { font-size: 12px; font-weight: 700; color: #33465e; }
.pf-kpi small { font-size: 11px; color: #6a7c93; }
.pf-lista { display: grid; gap: 4px; background: #f7f9fc; border-radius: 10px; padding: 10px 12px; }
.pf-pessoa { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 12px; padding: 4px 0; border-bottom: 1px dashed #dfe5ee; }
.pf-pessoa b { color: #0a1f3d; }
.pf-pessoa small { color: #6a7c93; grid-column: 1; }
.pf-pessoa span { grid-column: 2; grid-row: 1 / span 2; color: #33465e; text-align: right; }
.pf-projetos { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-cliente { border-top: 1px solid #dfe5ee; padding-top: 10px; display: grid; gap: 8px; }
.rt-linha { display: grid; grid-template-columns: 1fr 120px 120px 140px; gap: 10px; align-items: end; }
.rt-cor { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.rt-cor input[type=color] { width: 38px; height: 36px; padding: 0; border: 1px solid #c3ccd9; border-radius: 8px; background: #fff; cursor: pointer; }
.rt-cor .rt-hex { margin-top: 0 !important; text-transform: uppercase; font-size: 12px; padding: 8px 6px; }
.rt-previa { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #33465e; }
.rt-tag { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 6.5rem; width: max-content; max-width: 12rem; height: 1.55rem; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid rgba(0,0,0,.08); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-paleta { display: flex; gap: 6px; flex-wrap: wrap; }
.rt-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c3ccd9; cursor: pointer; }
.rt-sw.on { box-shadow: 0 0 0 2px var(--gold); transform: scale(1.12); }
.rt-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rt-lista li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f7f9fc; }
.rt-lista li.edit { outline: 2px solid rgba(196,163,90,.55); }
.rt-uso { color: #6a7c93; font-size: 12px; white-space: nowrap; }
.rt-acoes { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.rt-confirm { font-size: 12px; color: #5c4300; background: #fff3cd; padding: 4px 8px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.cv-wa { background: linear-gradient(135deg, #128c7e, #25d366) !important; border-color: #0b6b60 !important; }
.cv-link { display: flex; gap: 8px; align-items: center; }
.cv-link input { margin-top: 0 !important; font-size: 12px; color: #33465e; }
.cv-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cv-lista li { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #f7f9fc; border-left: 4px solid #c3ccd9; }
.cv-lista li.cv-p { border-left-color: var(--gold); }
.cv-lista li.cv-a { border-left-color: #2e7d32; }
.cv-lista li.cv-x { border-left-color: #b42318; opacity: .75; }
.cv-topo { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.cv-topo b { color: #0a1f3d; word-break: break-all; }
.cv-status { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #33465e; background: #fff; border: 1px solid #dfe5ee; border-radius: 999px; padding: 2px 8px; }
.cv-acoes { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 720px) {
    .pf-topo, .pf-wa, .rt-linha, .pf-kpis, .ml-grid2 { grid-template-columns: 1fr; }
    .pf-google { grid-template-columns: 46px minmax(0, 1fr); }
    .pf-google .btn-cancel, .pf-google .btn-save { grid-column: 2; grid-row: auto; justify-self: end; margin-top: 6px; }
    .rt-lista li { grid-template-columns: 1fr; }
    .pg-msg { margin-right: 0; width: 100%; }
}
.pg-acoes .btn-save, .pg-acoes .btn-cancel { width: auto; }
.pg-card.pf-bloco.senha { background: #f3ddb4; border-color: #d4b56a; }
.pg-card.pf-bloco.pin { background: #d5e3f2; border-color: #a9c3dc; }
.pf-bloco p, .pf-rotulos p { margin: 0; font-size: 13.5px; line-height: 1.35; color: #1a2740; }
.pf-par { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.pf-pin-linha { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 8px 10px; }
.pf-bloco label { display: block; font-size: 12px; font-weight: 750; color: #142033; }
.pg-card.pf-bloco input {
    width: 100%; box-sizing: border-box; margin-top: 3px; padding: 7px 10px;
    background: #fffef8; color: #0a1f3d; -webkit-text-fill-color: #0a1f3d; caret-color: #0a1f3d;
    border: 1.5px solid #6b5424; border-radius: 8px;
}
.pg-card.pf-bloco.pin input { background: #f8fbff; border-color: #3d628c; }
.pf-pin { text-align: center; letter-spacing: .22em; font-variant-numeric: tabular-nums; }
.pf-nota { margin-right: auto; font-size: 13px; line-height: 1.4; color: #3e4a5c; max-width: 46ch; }
.pf-nota a { color: #123a6b; font-weight: 750; }
.pf-rotulos { background: #d5dbe3; border-color: #b7c0cc; }
.pf-rotulos h3 { color: #2c3848; }
.pf-rotulos h3::after { background: linear-gradient(90deg, rgba(44,56,72,.35), transparent); }
.pf-rotulos p { color: #2a3340; }
.pf-google-tit { font-weight: 800; color: #1a2740; font-size: 16px; }
.pf-sub { background: #b7c0cc; border-radius: 12px; padding: 10px; }
.pg-card.pf-bloco.senha { padding-bottom: 14px; }
.pg-card.pf-bloco.senha p, .pg-card.pf-bloco.pin > p, .pf-pin-tema > p { color: #142033; font-size: 14.5px; font-weight: 650; }
.pf-google > .pt-gcal { grid-row: 1 / span 2; width: 40px; height: 40px; pointer-events: none; }
.pf-google > .pt-gcal svg { width: 30px !important; height: 30px !important; }
.pf-google > .pt-gcal .pt-gcal-mark { border-color: #f4e4b0; }
.pf-pin-tema { display: grid; gap: 8px; background: #d5dbe3; border-radius: 12px; padding: 10px; }
.pf-pin-modos, .pf-pin-pers { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.pf-pin-pers label { display: grid; gap: 4px; font-size: 12px; font-weight: 750; color: #142033; }
.pf-pin-pers label span { display: flex; align-items: center; gap: 8px; }
.pf-pin-prev {
    min-height: 92px; border-radius: 16px; padding: 12px; display: grid; justify-items: center; gap: 8px;
    background: #061426; color: #f4efe4;
}
.pf-pin-prev b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-style: italic; }
.pf-pin-prev span { width: 36px; height: 28px; border-radius: 8px; display: inline-block; }
.pf-pin-prev { grid-template-columns: repeat(3, 36px); }
.pf-pin-prev b { grid-column: 1 / -1; }
.pf-pin-prev.pin-classica span { background: linear-gradient(180deg, #f8e7b0, #c49a3c); }
.pf-pin-prev.pin-light { background: #eef2f7; color: #142033; }
.pf-pin-prev.pin-light span { background: #fff; border: 1px solid #d5dbe3; }
.pf-pin-prev.pin-personal {
    background-color: color-mix(in srgb, var(--pin-bg, #1a3a68) calc(var(--pin-int, 100) * 1%), #fff);
    color: var(--pin-fg, #f4efe4);
}
.pf-pin-prev.pin-personal span { background: rgba(255,255,255,.82); }
@media (max-width: 720px) {
    .pf-par, .pf-pin-linha { grid-template-columns: 1fr 1fr; }
    .pf-pin-linha { grid-template-columns: .8fr 1fr 1fr; }
    .pj-apar-grade { grid-template-columns: 1fr; }
}

/* ── Acabamento premium ──────────────────────────────────────────────────────── */
.pt-topbar { border-bottom: 1px solid rgba(196,163,90,.85); box-shadow: 0 2px 6px rgba(0,0,0,.25), 0 3px 0 -2px rgba(196,163,90,.25); }
.pt-nav-item.is-on { border-radius: 999px; padding: 2px 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.tl-filtros { border-radius: 12px; box-shadow: 0 1px 2px rgba(10,31,61,.06), 0 10px 26px -20px rgba(10,31,61,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.grid-wrap { overflow: visible; border-radius: 10px; box-shadow: 0 1px 2px rgba(10,31,61,.05), 0 12px 28px -22px rgba(10,31,61,.45); }
.tl-tabela th:first-child { border-top-left-radius: 10px; }
.tl-tabela th:last-child { border-top-right-radius: 10px; }
@media (max-width: 800px) { .grid-wrap { overflow: auto; } }
.tl-tabela th {
    position: sticky; top: var(--pt-topbar-h, 50px); z-index: 5;
    background: linear-gradient(#f7f8fb, #e6ebf2); color: #0a1f3d; font-weight: 700; letter-spacing: .02em;
    border-bottom: 1px solid rgba(196,163,90,.75); box-shadow: 0 1px 0 rgba(10,31,61,.06);
}
.tl-tabela tr.tl-ln:nth-child(even):not(.tl-ln-evento):not(.tl-ln-comemorativa):not(.tl-ln-atrasada):not(.tl-ln-critica) td { background: #f8fafd; }
.tl-tabela tr.tl-ln:hover:not(.tl-ln-atrasada):not(.tl-ln-critica) td { background: #eef3fb; }
.tl-tabela tr.tl-ln:hover .tl-task { filter: brightness(1.04); }
.est { border-radius: 6px; }
.tl-sub-row td { background: #fbfcfe !important; }
.rt-tag { justify-self: start; }
@media (max-width: 800px) { .tl-tabela th { position: static; } }

/* ── Barra de filtros compacta: "Filtro atual" + Agrupar + sliders ─────────── */
.tl-resumo { display: flex; align-items: center; gap: 4px 6px; width: 100%; min-height: 0; }
.tl-resumo-lbl {
    border: 0; background: transparent; color: var(--tl-filtro-muted); font-size: 9px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 0 2px; white-space: nowrap; font-variant: small-caps;
}
.tl-resumo-lbl.on, .tl-resumo-lbl:hover { color: var(--tl-filtro-fg); }
.tl-resumo-chips { display: flex; flex-wrap: wrap; gap: 3px 4px; flex: 1 1 auto; min-width: 0; align-items: center; }
.tl-res {
    border: 1px solid rgba(0,0,0,.14); background: rgba(255,255,255,.62); color: var(--tl-filtro-fg);
    border-radius: 999px; padding: 1px 9px; font-size: 10.5px; font-weight: 700; line-height: 16px; cursor: pointer;
    white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 1px rgba(10,31,61,.06);
    display: inline-flex; align-items: center; gap: 4px;
}
.tl-res:hover { border-color: rgba(196,163,90,.9); }
.tl-res.def { background: rgba(255,255,255,.28); color: var(--tl-filtro-muted); font-weight: 600; border-color: rgba(0,0,0,.08); box-shadow: none; }
.tl-res-periodo { background: #9ec8f0; border-color: #6ea4d4; color: #0d2f55; }
.tl-res-proj:not(.def) { background: #edd9c4; border-color: #b89a7d; color: #563b25; }
.tl-res-resp:not(.def) { background: #c8e6c9; border-color: #81c784; color: #1b5e20; }
.tl-res-ordem { background: rgba(196,163,90,.25); border-color: rgba(196,163,90,.7); }
.tl-res-x { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: rgba(0,0,0,.12); font-size: 11px; line-height: 1; margin-left: 2px; }
.tl-res-x:hover { background: #b42318; color: #fff; }
.tl-filtros[data-dark="1"] .tl-res { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: #fff; }
.tl-filtros[data-dark="1"] .tl-res.def { background: rgba(255,255,255,.06); color: var(--tl-filtro-muted); }
.tl-filtros[data-dark="1"] .tl-res-periodo { background: #9ec8f0; color: #0d2f55; border-color: #6ea4d4; }
.tl-filtros[data-dark="1"] .tl-res-proj:not(.def) { background: #edd9c4; color: #563b25; border-color: #b89a7d; }
.tl-filtros[data-dark="1"] .tl-res-resp:not(.def) { background: #c8e6c9; color: #1b5e20; border-color: #81c784; }
.tl-resumo .tl-contagem { margin-left: auto; max-width: 40%; }
.tl-resumo .tl-cont-l1 { font-size: 11px; }
.tl-resumo .tl-cont-l2 { font-size: 9.5px; font-weight: 600; }
.tl-filtros-barra { justify-content: space-between; }
.tl-filtro-fav-btn.tl-ordem-ativo { filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.85)); }
@media (max-width: 800px) {
    .tl-res.def { display: none; }
    .tl-resumo .tl-contagem { max-width: 100%; }
    .tl-resumo .tl-cont-l2 { display: none; }
}

/* Sliders mais elegantes */
.tl-zoom input[type=range], .tl-tema-tom input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; }
.tl-zoom input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: rgba(18,58,107,.35); }
.tl-zoom input[type=range]::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(18,58,107,.35); }
.tl-tema-tom input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(255,255,255,.85)); }
.tl-tema-tom input[type=range]::-moz-range-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(255,255,255,.85)); }
.tl-zoom input[type=range]::-webkit-slider-thumb, .tl-tema-tom input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4px; border-radius: 50%;
    background: linear-gradient(135deg, #fff2c9, var(--gold)); border: 1px solid rgba(10,31,61,.45); box-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.tl-zoom input[type=range]::-moz-range-thumb, .tl-tema-tom input[type=range]::-moz-range-thumb {
    width: 11px; height: 11px; border-radius: 50%;
    background: linear-gradient(135deg, #fff2c9, var(--gold)); border: 1px solid rgba(10,31,61,.45); box-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.tl-zoom-grp { background: rgba(255,255,255,.35) !important; border: 1px solid rgba(0,0,0,.08) !important; border-radius: 999px; padding: 2px 7px; }
.tl-filtros[data-dark="1"] .tl-zoom-grp { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.18) !important; }
.tl-filtros[data-dark="1"] .tl-zoom input[type=range]::-webkit-slider-runnable-track { background: rgba(255,255,255,.35); }
.tl-filtros[data-dark="1"] .tl-zoom input[type=range]::-moz-range-track { background: rgba(255,255,255,.35); }
.tl-zoom-ico, .tl-zoom-lbl { color: var(--tl-filtro-fg); }

/* Painéis inline: cinza médio (contraste melhor que o navy) */
.tl-painel {
    background: linear-gradient(180deg, #7d8592, #666e7b);
    border: 1px solid rgba(255,255,255,.18); border-top: 2px solid var(--gold);
    box-shadow: 0 10px 26px rgba(7,21,39,.25), inset 0 1px 0 rgba(255,255,255,.12);
    color: #f5f7fa;
}
.tl-painel-tit { color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.tl-painel-proj .tl-painel-hdr .tl-painel-tit, .tl-painel-resp .tl-painel-hdr .tl-painel-tit { color: #fff; }
.tl-painel-sub { font-size: 11px; color: #e3e8ef; opacity: .9; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-painel-modo { border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.12); }
.tl-painel-modo button { color: #eef2f7; }
.tl-painel-acoes button { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.tl-painel-acoes button:hover { background: rgba(255,255,255,.26); }
.tl-painel-x { background: rgba(0,0,0,.18); }
.tl-chip { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); color: #fff; }
.tl-chip:hover { background: rgba(255,255,255,.28); }
.tl-chip.on { background: #fff; border-color: var(--gold); color: #0a1f3d; box-shadow: 0 0 0 2px rgba(196,163,90,.45); }
.tl-chip em { color: #dfe5ee; }
.tl-chip.on em { color: #6a7c93; }
.tl-chip-ini { background: #123a6b; }
.tl-painel-rodape { color: #e3e8ef; }

/* Painel Filtros: 2/3 controles, 1/3 filtros salvos */
.tl-pf-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; align-items: start; }
.tl-pf-esq { display: grid; gap: 6px; }
.tl-painel-filtro .tl-filtros-campos { gap: 5px 6px; }
.tl-painel-filtro .tl-filtros-campos select,
.tl-painel-filtro .tl-filtros-campos .tl-btn-filtro-proj,
.tl-painel-filtro .tl-filtros-campos .tl-btn-filtro-resp,
.tl-painel-filtro .tl-filtros-campos input.tl-filtro-busca { height: 26px; line-height: 24px; font-size: 11.5px; border-radius: 6px; }
.tl-painel-filtro .tl-filtros-campos select { max-width: none; flex: 1 1 150px; }
.tl-painel-filtro .tl-filtros-campos select.pt-ddl-periodo { max-width: none; flex: 1 1 170px; }
.tl-painel-filtro .tl-filtro-proj-grp, .tl-painel-filtro .tl-filtro-resp-grp { max-width: none; flex: 1 1 170px; }
.tl-painel-filtro .tl-btn-filtro-proj.on, .tl-painel-filtro .tl-btn-filtro-resp.on { box-shadow: 0 0 0 2px rgba(196,163,90,.7); }
.tl-pf-linha3 { align-items: center; }
.tl-painel-filtro .tl-filtros-campos input.tl-filtro-busca { flex: 1 1 220px; max-width: none; }
.tl-pf-chk {
    display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.14);
    color: #fff; border-radius: 999px; padding: 3px 10px 3px 7px; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.tl-pf-chk.on { background: #fff; color: #0a1f3d; border-color: var(--gold); }
.tl-pf-chk input { margin: 0; accent-color: var(--gold); }
.tl-pf-dir { display: grid; gap: 6px; border-left: 1px solid rgba(255,255,255,.22); padding-left: 12px; }
.tl-pf-salvar { display: flex; gap: 5px; }
.tl-pf-salvar input { flex: 1; min-width: 0; height: 26px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 0 8px; font-size: 11.5px; background: rgba(255,255,255,.92); color: #1a2b42; }
.tl-pf-salvar button { border: 1px solid rgba(196,163,90,.8); background: linear-gradient(135deg, #0a1f3d, #164a85); color: #fff; border-radius: 6px; padding: 0 10px; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tl-pf-dir-tit { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff3d6; margin-top: 2px; }
.tl-presets { display: grid; gap: 4px; max-height: 190px; overflow: auto; padding-right: 2px; }
.tl-preset {
    position: relative; text-align: left; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff;
    border-radius: 8px; padding: 5px 24px 5px 9px; cursor: pointer; display: grid; gap: 1px; line-height: 1.2;
}
.tl-preset:hover { background: rgba(255,255,255,.22); }
.tl-preset.on { background: #fff; color: #0a1f3d; border-color: var(--gold); }
.tl-preset strong { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-preset small { font-size: 10px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-preset.fav strong::before { content: "★ "; color: var(--gold); }
.tl-preset-x { position: absolute; right: 5px; top: 5px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.18); font-size: 12px; line-height: 1; }
.tl-preset-x:hover { background: #b42318; color: #fff; }
.tl-pf-vazio { font-size: 10.5px; color: #e3e8ef; font-style: italic; }
@media (max-width: 800px) {
    .tl-pf-cols { grid-template-columns: 1fr; }
    .tl-pf-dir { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 8px; }
}

/* Painel Ordenar */
.tl-ordens { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.tl-ordem-opt {
    text-align: left; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff;
    border-radius: 8px; padding: 6px 10px; cursor: pointer; display: grid; gap: 1px; line-height: 1.2;
}
.tl-ordem-opt:hover { background: rgba(255,255,255,.22); }
.tl-ordem-opt.on { background: #fff; color: #0a1f3d; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,163,90,.45); }
.tl-ordem-opt strong { font-size: 11.5px; }
.tl-ordem-opt small { font-size: 10px; opacity: .85; }
@media (max-width: 800px) {
    .tl-ordens { grid-template-columns: 1fr; gap: 4px; }
    .tl-ordem-opt { padding: 5px 8px; min-height: 0; align-content: center; }
    .tl-ordem-opt strong { font-size: 12px; }
    .tl-ordem-opt small { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Calendário: pop de tema como janela centralizada */
.cal-toolbar .tl-tema-pop { position: fixed; left: 50%; top: 50%; right: auto; transform: translate(-50%, -50%); z-index: 1001; min-width: 280px; }
.cal-toolbar .tl-tema-backdrop { z-index: 1000; background: rgba(6,20,38,.35); }

/* Data comemorativa: compacta e no mesmo padrão do ModalLinha */
.cm-sheet { width: min(480px, 96vw); }
.cm-sheet .ml-b { padding: 10px 14px 4px; }
.cm-tipos { display: flex; flex-wrap: wrap; gap: 5px; }
.cm-tipo { border: 1px solid #c3ccd9; background: #fff; color: #33465e; border-radius: 999px; padding: 4px 10px 4px 7px; font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.cm-tipo.on { background: linear-gradient(135deg, #0a1f3d, #123a6b); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,163,90,.25); }
.cm-data { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 8px; }
.cm-previa { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #fff8e6, #fdf1d2); border: 1px solid rgba(196,163,90,.5); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: #3b2f14; }
.cm-previa b { font-size: 20px; line-height: 1; }
.cm-previa small { color: #7a6a45; font-weight: 600; }
.cm-hint { font-size: 11px; color: #6a7c93; margin: 0; }
@media (max-width: 800px) {
    .tl-filtros-tools { flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
    .tl-zoom { flex-wrap: wrap; }
}

/* ══ Barra: só os 4 ícones no centro; resumo miúdo no branco ══════════════════ */
.tl-filtros { flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 0; padding: 9px 12px; margin-bottom: 0; overflow: visible; }
.tl-resumo {
    position: relative; display: flex; flex-wrap: nowrap; align-items: baseline; justify-content: center;
    gap: 0 4px; width: 100%; min-width: 0; min-height: 0; padding: 1px 8px 5px;
    color: #737b82; font-size: 10.4px; font-weight: 400; letter-spacing: .01em; line-height: 1.25;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    overflow: visible;
}
.tl-resumo i { font-style: normal; font-weight: 400; opacity: .45; flex-shrink: 0; }
.tl-resumo-hit {
    border: 0; background: transparent; color: inherit; font: inherit; font-weight: 400;
    padding: 0; margin: 0; cursor: pointer; white-space: nowrap; min-width: 0;
    overflow: hidden; text-overflow: ellipsis;
}
.tl-resumo-hit:hover { color: #5c646c; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #b4bbc2; }
.tl-resumo-hit.tem-nomes { text-decoration: underline dotted; text-underline-offset: 2px; text-decoration-color: #c5ccd4; }
.tl-resumo-linha {
    display: block; width: 100%; min-width: 0; min-height: 22px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    border: 0; background: transparent; padding: 2px 0; margin: 0;
    color: inherit; font: inherit; font-weight: 400; text-align: left; cursor: pointer;
}
.tl-resumo-favtxt {
    font: inherit; font-weight: 800; color: #3a4046;
}

.tl-nomes-back, .tl-agrupar-back { position: fixed; inset: 0; z-index: 40; background: transparent; }
.tl-nomes-pop, .tl-agrupar-pop {
    position: absolute; z-index: 80; min-width: 188px; max-width: min(320px, 92vw);
    padding: 8px; border-radius: 10px; background: #fff; border: 1px solid #c8d4e4;
    box-shadow: 0 12px 32px rgba(10,31,61,.28); color: #123a6b;
}
.tl-nomes-pop { left: 0; top: calc(100% + 6px); }
.tl-nomes-pop p {
    margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #6a7c93;
}
.tl-nomes-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tl-nomes-pop li { background: #f4f7fb; border-radius: 7px; padding: 5px 9px; font-size: 12px; font-weight: 600; }

.tl-barra-acoes { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; flex: 0 0 auto; min-height: 30px; overflow: visible; }
.tl-agrupar { position: relative; display: inline-flex; align-items: flex-start; gap: 6px; flex: 0 0 auto; overflow: visible; user-select: none; }
.tl-agrupar .tl-ico-btn img { height: 32px; width: auto; object-fit: contain; }
.tl-agrupar-nome {
    border: 0; background: transparent; padding: 0; margin: 8px 0 0; cursor: pointer;
    flex: 0 0 auto; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500;
    font-size: 16px; letter-spacing: .03em; line-height: 1; white-space: nowrap;
    color: var(--tl-filtro-fg);
}
.tl-filtros[data-dark="1"] .tl-agrupar-nome { color: #f3eee6; }
.tl-agrupar-pop { right: 0; top: calc(100% + 6px); display: grid; gap: 4px; }
.tl-agrupar-pop button {
    text-align: left; border: 0; background: #f4f7fb; color: #123a6b;
    border-radius: 7px; padding: 7px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.tl-agrupar-pop button:hover { background: #e8eef7; }
.tl-agrupar-pop button.on { background: linear-gradient(135deg, #b8944a, var(--gold)); color: #0a1f3d; }
.tl-switch { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 11px; font-weight: 600; color: var(--tl-filtro-fg); user-select: none; }
.tl-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.tl-switch i { width: 28px; height: 15px; border-radius: 999px; background: rgba(0,0,0,.22); border: 1px solid rgba(0,0,0,.18); position: relative; transition: background .15s; box-sizing: border-box; }
.tl-switch i::after { content: ""; position: absolute; top: 1px; left: 1px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.35); transition: left .15s; }
.tl-switch input:checked + i { background: linear-gradient(135deg, #b8944a, var(--gold)); border-color: rgba(0,0,0,.1); }
.tl-switch input:checked + i::after { left: 14px; }
.tl-filtros[data-dark="1"] .tl-switch i { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.25); }
.tl-ico-btn {
    position: relative; display: inline-grid; place-items: center; align-content: start; width: 36px; height: 40px; padding: 3px 0 12px; margin: 0;
    border: 0; background: transparent; cursor: pointer; transition: transform .12s; box-sizing: border-box;
}
.tl-ico-btn img { height: 24px; width: auto; display: block; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.35)); }
.tl-ico-btn:hover { transform: translateY(-1px); }
.tl-ico-btn:hover img { filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)) brightness(1.06); }
.tl-ico-btn::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 0; border-radius: 99px;
    background: #f5c84a; transform: translateX(-50%); transition: width .15s, height .15s, opacity .15s;
    opacity: 0; box-shadow: none; pointer-events: none;
}
.tl-ico-btn.on::after {
    width: 16px; height: 3px; opacity: 1;
    box-shadow: 0 0 0 1.5px #2a1f06, 0 1px 2px rgba(0,0,0,.28);
}
.tl-ico-btn.marca:not(.on)::after {
    width: 6px; height: 6px; bottom: 3px; border-radius: 50%; opacity: 1;
    box-shadow: 0 0 0 1.5px #2a1f06, 0 1px 2px rgba(0,0,0,.28);
}
.tl-filtros[data-dark="1"] .tl-ico-btn.on::after,
.tl-filtros[data-dark="1"] .tl-ico-btn.marca:not(.on)::after {
    background: #ffd666;
    box-shadow: 0 0 0 1.5px #fff, 0 1px 2px rgba(0,0,0,.45);
}
.tl-ico-tema .tl-tema-bola { width: 28px; height: 28px; box-sizing: border-box; display: block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 1px 3px rgba(0,0,0,.3); }
.tl-filtros[data-dark="1"] .tl-ico-tema .tl-tema-bola { border-color: rgba(255,255,255,.85); }
@media (max-width: 800px) {
    .tl-filtros { padding: 9px 8px; }
    .tl-resumo { font-size: 9.8px; padding: 2px 4px 4px; flex-wrap: nowrap; overflow: visible; }
    .tl-barra-acoes { gap: 16px; min-height: 48px; align-items: center; }
    .tl-ico-btn { width: 44px; height: 48px; padding: 4px 0 14px; }
    .tl-estat-btn, .rt-ico-rotina { width: 44px; height: 48px; padding: 4px 0 14px; }
    .tl-ico-btn img { height: 30px; }
    .tl-agrupar .tl-ico-btn img { height: 34px; }
    .tl-agrupar-nome { font-size: 15px; margin-top: 11px; }
    .tl-ico-tema .tl-tema-bola { width: 34px; height: 34px; }
    .tl-estat-pizza { width: 34px; height: 34px; }
    .rt-ico-disc { width: 34px; height: 34px; }
    .rt-ico-rotina img { width: 34px; height: 34px; }
}

/* ══ Painéis: base mais enxuta ═══════════════════════════════════════════════ */
.tl-painel { padding: 7px 10px 8px; margin-top: -1px; }
.tl-painel-hdr { margin-bottom: 6px; gap: 6px 8px; }
.tl-painel-tit { font-size: 11px; }
.tl-painel-sub { font-size: 10.5px; }
.tl-pf-dir-tit { font-size: 9px; letter-spacing: .14em; color: #ffe9b8; margin: 0 0 3px; }
.tl-pf-link { border: 0; background: transparent; color: #ffe9b8; font-size: 10.5px; font-weight: 600; cursor: pointer; padding: 0; justify-self: start; text-decoration: underline dotted rgba(255,233,184,.6); text-underline-offset: 3px; }
.tl-pf-link:hover { color: #fff; }

/* Aparência */
.tl-apar-cols { display: grid; grid-template-columns: minmax(230px, 1fr) 1.4fr; gap: 10px 18px; align-items: start; }
.tl-apar-fundo .tl-tema-pop-grid { grid-template-columns: repeat(9, 1fr); gap: 5px 4px; }
.tl-apar-fundo .tl-tema-opt { width: 22px; height: 22px; border-width: 2px; }
.tl-apar-fundo .tl-tema-opt.tl-tema-on { box-shadow: 0 0 0 2px #6e7683, 0 0 0 4px var(--gold); }
.tl-apar-fundo .tl-tema-nome { margin: 5px 0 0; font-size: 10.5px; text-align: left; }
.tl-apar-fundo .tl-tema-tom { padding: 10px 0 4px; margin-top: 6px; }
.tl-apar-fundo .tl-tema-tex { margin-top: 3px; gap: 4px; }
.tl-apar-fundo .tl-tema-tex-opt { font-size: 9.5px; padding: 1px 6px 1px 2px; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.14); }
.tl-apar-fundo .tl-tema-tex-opt i { width: 12px; height: 12px; }
.tl-apar-slider { grid-template-columns: 104px 1fr; }
.tl-apar-grid { gap: 5px 22px; }
.tl-apar-fundo .tl-tema-tex-opt.on { background: #fff; color: #0a1f3d; }
.tl-apar-lista { display: grid; gap: 6px; }
.tl-apar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.tl-apar-slider { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; color: #f5f7fa; }
.tl-apar-slider span { white-space: nowrap; }
.tl-apar-slider b { display: inline-block; min-width: 18px; text-align: center; color: #ffe9b8; font-weight: 800; }
.tl-apar-slider input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; width: 100%; height: 16px; margin: 0; cursor: pointer; }
.tl-apar-slider input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); }
.tl-apar-slider input[type=range]::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); }
.tl-apar-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: linear-gradient(135deg, #fff2c9, var(--gold)); border: 1px solid rgba(10,31,61,.45); box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.tl-apar-slider input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #fff2c9, var(--gold)); border: 1px solid rgba(10,31,61,.45); box-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* Filtros compacto */
.tl-pf-cols { gap: 8px 14px; }
.tl-pf-esq { gap: 6px; align-content: start; }
.tl-pf-linhaA { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-pf-toggles { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; overflow: hidden; background: rgba(0,0,0,.10); }
.tl-pf-toggle { border: 0; background: transparent; color: #eef2f7; padding: 3px 11px; font-size: 10.5px; font-weight: 700; cursor: pointer; white-space: nowrap; line-height: 1.3; }
.tl-pf-toggle + .tl-pf-toggle { border-left: 1px solid rgba(255,255,255,.22); }
.tl-pf-toggle.on { background: #fff; color: #0a1f3d; }
.tl-pf-busca {
    flex: 1 1 200px; min-width: 0; height: 24px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 0 10px 0 26px; font-size: 11px;
    background: rgba(255,255,255,.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a93a3'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") 9px center / 12px 12px no-repeat;
    color: #1a2b42;
}
.tl-pf-busca:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,163,90,.35); }
.tl-pf-grid3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 6px; }
.tl-painel-filtro .tl-pf-grid3 select,
.tl-painel-filtro .tl-pf-grid3 .tl-btn-filtro-proj,
.tl-painel-filtro .tl-pf-grid3 .tl-btn-filtro-resp { height: 22px; line-height: 20px; font-size: 10.5px; border-radius: 5px; width: 100%; max-width: none; flex: none; padding: 0 16px 0 6px; }
.tl-pf-dir { gap: 4px; padding-left: 12px; align-content: start; }
.tl-pf-atual { font-size: 10.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.tl-pf-salvar { margin: 2px 0 4px; }
.tl-pf-salvar input { height: 22px; font-size: 10.5px; border-radius: 5px; }
.tl-pf-salvar button { font-size: 10.5px; border-radius: 5px; padding: 0 9px; }
.tl-presets { gap: 2px; max-height: none; overflow: visible; }
.tl-preset-row { display: flex; align-items: center; height: 21px; border-radius: 5px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.10); min-width: 0; }
.tl-preset-row:hover { background: rgba(255,255,255,.20); }
.tl-preset-row.on { background: #fff; border-color: var(--gold); }
.tl-preset-row button { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font-size: 10.5px; font-weight: 600; text-align: left; padding: 0 8px; height: 100%; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-preset-row.on button { color: #0a1f3d; }
.tl-preset-row.fav button::before { content: "★ "; color: var(--gold); }
.tl-preset-row .tl-preset-x { position: static; margin-right: 4px; width: 15px; height: 15px; cursor: pointer; }
.tl-preset-row.on .tl-preset-x { background: rgba(10,31,61,.12); color: #0a1f3d; }

/* Ordenar compacto */
.tl-ordens { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.tl-ordem-opt { padding: 4px 8px; border-radius: 6px; }
.tl-ordem-opt strong { font-size: 11px; line-height: 1.25; }
.tl-ordem-opt small { font-size: 9.5px; }

@media (max-width: 800px) {
    .tl-apar-cols { grid-template-columns: 1fr; }
    .tl-apar-grid { grid-template-columns: 1fr; }
    .tl-pf-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tl-pf-dir { padding-left: 0; }
    .tl-ordens { grid-template-columns: 1fr; gap: 4px; }
    .tl-ordem-opt { padding: 5px 8px; min-height: 0; align-content: center; }
    .tl-ordem-opt strong { font-size: 12px; }
    .tl-ordem-opt small { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ══ Painéis claros (cinza ~20% mais claro, texto escuro, tons padrão) ═══════════ */
.tl-painel {
    --pn-fg: #1b2536; --pn-muted: #3e4a5c; --pn-tit: #5e4510; --pn-line: rgba(27,37,54,.18); --pn-fill: rgba(255,255,255,.38);
    background: linear-gradient(180deg, #b3bac3, #a0a8b3);
    border: 1px solid rgba(255,255,255,.45); border-top: 2px solid var(--gold);
    box-shadow: 0 8px 22px rgba(7,21,39,.18), inset 0 1px 0 rgba(255,255,255,.35);
    color: var(--pn-fg);
}
.tl-painel-tit, .tl-painel-proj .tl-painel-hdr .tl-painel-tit, .tl-painel-resp .tl-painel-hdr .tl-painel-tit { color: var(--pn-tit); text-shadow: none; }
.tl-painel-sub { color: var(--pn-muted); opacity: 1; }
.tl-painel-x { background: rgba(27,37,54,.12); color: var(--pn-fg); }
.tl-painel-x:hover { background: rgba(27,37,54,.22); }
.tl-pf-dir-tit, .tl-pf-col-tit { color: var(--pn-tit); }
.tl-pf-link { color: #2b4a7a; text-decoration-color: rgba(43,74,122,.5); }
.tl-pf-link:hover { color: #0a1f3d; }
.tl-pf-vazio { color: var(--pn-muted); }
.tl-painel .tl-switch { color: var(--pn-fg); }
.tl-painel .tl-switch i { background: rgba(27,37,54,.28); border-color: rgba(27,37,54,.15); }
.tl-painel .tl-switch input:checked + i { background: linear-gradient(135deg, #b8944a, var(--gold)); }
.tl-painel-modo { border-color: var(--pn-line); background: rgba(255,255,255,.25); }
.tl-painel-modo button { color: var(--pn-fg); }
.tl-painel-acoes button { background: var(--pn-fill); border-color: var(--pn-line); color: var(--pn-fg); }
.tl-chip { background: var(--pn-fill); border-color: var(--pn-line); color: var(--pn-fg); }
.tl-chip:hover { background: rgba(255,255,255,.6); }
.tl-chip em { color: var(--pn-muted); }
.tl-painel-rodape { color: var(--pn-muted); }
/* Aparência em fundo claro */
.tl-apar-slider { color: var(--pn-fg); }
.tl-apar-slider b { color: var(--pn-tit); }
.tl-apar-slider input[type=range]::-webkit-slider-runnable-track { background: rgba(27,37,54,.28); }
.tl-apar-slider input[type=range]::-moz-range-track { background: rgba(27,37,54,.28); }
.tl-apar-fundo .tl-tema-nome, .tl-apar-fundo .tl-tema-tom-lbl { color: var(--pn-fg); }
.tl-apar-fundo .tl-tema-tom-reset { border-color: var(--pn-line); color: var(--pn-fg); }
.tl-apar-fundo .tl-tema-tex-opt { border-color: var(--pn-line); background: var(--pn-fill); color: var(--pn-fg); }
.tl-apar-fundo .tl-tema-tex-opt.on { background: #fff; color: #0a1f3d; border-color: var(--gold); }
.tl-apar-fundo .tl-tema-opt.tl-tema-on { box-shadow: 0 0 0 2px #a7aeb8, 0 0 0 4px var(--gold); }
/* Ordenar em fundo claro */
.tl-ordem-opt { background: var(--pn-fill); border-color: var(--pn-line); color: var(--pn-fg); }
.tl-ordem-opt:hover { background: rgba(255,255,255,.6); }
.tl-ordem-opt.on { background: #fff; color: #0a1f3d; border-color: var(--gold); }
.tl-ordem-opt small { color: var(--pn-muted); }
.tl-ordem-opt.on small { color: #4d5d75; }

/* ══ Painel Filtros: campos · projetos · resp · favoritos · recentes ═══════════ */
.tl-pf-link-hdr { margin-left: auto; margin-right: 8px; font-size: 10.5px; }
.tl-pf4 { display: grid; grid-template-columns: 170px 1.1fr 1.1fr 1fr 1fr; gap: 0 14px; align-items: start; }
.tl-pf4-col { display: grid; gap: 4px; align-content: start; min-width: 0; }
.tl-pf4-col + .tl-pf4-col { border-left: 1px solid var(--pn-line); padding-left: 12px; }
.tl-pf-col-tit { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; min-height: 18px; }
.tl-pf4-campos select { height: 22px !important; line-height: 20px; font-size: 10.5px; border-radius: 5px; width: 100%; max-width: none; padding: 0 16px 0 6px; }
.tl-switch-pf { font-size: 10.5px; padding: 1px 0; }
.tl-switch-pf i { width: 26px; height: 14px; }
.tl-switch-pf i::after { width: 10px; height: 10px; }
.tl-switch-pf input:checked + i::after { left: 13px; }
.tl-pf4-campos .tl-pf-busca { height: 22px; font-size: 10.5px; padding-left: 24px; background-position: 8px center; background-size: 11px 11px; border-color: var(--pn-line); }
.tl-pf-modo { display: inline-flex; border: 1px solid var(--pn-line); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.25); letter-spacing: 0; text-transform: none; }
.tl-pf-modo button { border: 0; background: transparent; color: var(--pn-fg); font-size: 9.5px; font-weight: 700; padding: 1px 7px; cursor: pointer; line-height: 1.4; }
.tl-pf-modo button.on { background: #fff; color: #0a1f3d; }
.tl-pf-links { display: flex; gap: 10px; font-size: 10px; min-height: 16px; }
.tl-pf-links button { border: 0; background: transparent; padding: 0; color: #2b4a7a; font-size: 10px; font-weight: 700; cursor: pointer; text-decoration: underline dotted rgba(43,74,122,.5); text-underline-offset: 2px; }
.tl-pf-links button.on { color: var(--pn-tit); text-decoration: none; }
.tl-pf-check { display: grid; gap: 1px; max-height: 176px; overflow: auto; padding-right: 3px; scrollbar-width: thin; }
.tl-pf-check label { display: flex; align-items: center; gap: 6px; height: 21px; padding: 0 5px; border-radius: 4px; font-size: 10.5px; font-weight: 600; color: var(--pn-fg); cursor: pointer; white-space: nowrap; min-width: 0; }
.tl-pf-check label:hover { background: rgba(255,255,255,.35); }
.tl-pf-check label.on { background: rgba(255,255,255,.5); }
.tl-pf-check label span { overflow: hidden; text-overflow: ellipsis; flex: 1; }
.tl-pf-check label em { font-size: 9px; font-style: normal; color: var(--pn-muted); }
.tl-pf-check label.eu span { font-weight: 800; }
.tl-pf-check input[type=checkbox] { width: 13px; height: 13px; margin: 0; accent-color: #0a1f3d; flex: none; cursor: pointer; }
.tl-pf-check.excl label.on span { text-decoration: line-through; text-decoration-color: rgba(180,35,24,.7); }
.tl-pf-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.tl-pf-av { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex: none; }
.tl-pf-ini { display: grid; place-items: center; background: #123a6b; color: #fff; font-size: 8.5px; font-weight: 800; font-style: normal; }
.tl-pf-col-rod { font-size: 9.5px; color: var(--pn-muted); padding-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Salvos: abas */
.tl-pf-abas { display: flex; gap: 2px; border-bottom: 1px solid var(--pn-line); margin-bottom: 4px; }
.tl-pf-abas button { border: 0; background: transparent; padding: 2px 8px 4px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pn-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tl-pf-abas button.on { color: var(--pn-tit); border-bottom-color: var(--gold); }
.tl-pf4-salvos .tl-pf-salvar { margin: 0 0 4px; }
.tl-pf4-salvos .tl-pf-salvar input { height: 22px; font-size: 10.5px; border-color: var(--pn-line); }
.tl-pf4-salvos .tl-pf-salvar button { font-size: 10px; height: 22px; }
.tl-pf4-salvos .tl-presets { gap: 2px; max-height: 190px; overflow: auto; }
.tl-preset-row { height: auto; min-height: 21px; border-color: var(--pn-line); background: var(--pn-fill); }
.tl-preset-row:hover { background: rgba(255,255,255,.6); }
.tl-preset-row.on { background: #fff; border-color: var(--gold); }
.tl-preset-row button { color: var(--pn-fg); display: grid; gap: 0; padding: 2px 7px; line-height: 1.15; }
.tl-preset-row button b { font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-preset-row button small { font-size: 8.5px; color: var(--pn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-preset-row.on button b { color: #0a1f3d; }
.tl-preset-row.fav button b::before { content: "★ "; color: var(--gold); }
.tl-preset-row .tl-preset-x { background: rgba(27,37,54,.12); color: var(--pn-fg); }
/* Nota de rodapé só nos presets do painel (a barra não lista mais os nomes). */
.tl-resumo-nota { display: none; }
@media (max-width: 800px) {
    .tl-pf4 { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
    .tl-pf4-col + .tl-pf4-col { border-left: 0; padding-left: 0; }
    .tl-pf4-campos { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .tl-pf4-campos .tl-pf-col-tit, .tl-pf4-campos .tl-pf-busca { grid-column: 1 / -1; }
    .tl-pf4-fav, .tl-pf4-recent { border-top: 1px solid var(--pn-line); padding-top: 6px; }
    .tl-pf4-recent { border-left: 1px solid var(--pn-line); padding-left: 10px; }
    .tl-pf-check { max-height: 140px; }
}
.tl-pf4 { grid-template-columns: 150px 1fr 1fr 1fr 1fr; }
.tl-pf-modo button { white-space: nowrap; padding: 1px 6px; }
.tl-pf-abas button { white-space: nowrap; padding: 2px 6px 4px; letter-spacing: .06em; }
.tl-preset-row { height: auto; }
.tl-preset-row button { height: auto; display: grid; gap: 1px; padding: 2px 7px 3px; line-height: 1.15; }
.tl-preset-row button small { line-height: 1.1; }
.tl-pf-col-tit > span:first-child { white-space: nowrap; }
.tl-preset-row.fav button::before { content: none; }

/* ══ Filtros: proporções finais e compactação ═══════════════════════════════════ */
.tl-pf4 { grid-template-columns: 128px 1.05fr 0.95fr 1fr 1fr; gap: 0 12px; }
.tl-pf4-col { gap: 3px; }
.tl-pf4-col + .tl-pf4-col { padding-left: 10px; }
.tl-pf4-campos select { height: 20px !important; line-height: 18px; font-size: 10px; padding: 0 14px 0 5px; }
.tl-pf4-campos .tl-pf-busca { height: 20px; font-size: 10px; }
.tl-switch-pf { font-size: 10px; padding: 0; }
.tl-pf-col-tit { min-height: 16px; font-size: 9px; }
.tl-pf-links { gap: 7px; min-height: 0; }
.tl-pf-links button { font-size: 9px; letter-spacing: 0; text-transform: none; white-space: nowrap; }
/* Modo: segmentado, largura total, texto do legado */
.tl-pf-modo { display: flex; width: 100%; border: 1px solid var(--pn-line); border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.3); margin: 1px 0 3px; }
.tl-pf-modo button { flex: 1 1 0; min-width: 0; font-size: 9px; font-weight: 700; padding: 2px 4px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--pn-fg); }
.tl-pf-modo button + button { border-left: 1px solid var(--pn-line); }
.tl-pf-modo button.on { background: linear-gradient(135deg, #0a1f3d, #164a85); color: #fff; }
.tl-pf-modo button.on::before { content: "✓ "; color: var(--gold); }
/* Linhas de checkbox: 17 px, cabem 12 sem rolagem */
.tl-pf-check { gap: 0; max-height: 204px; }
.tl-pf-check label { height: 17px; gap: 5px; padding: 0 4px; font-size: 10px; border-radius: 3px; }
.tl-pf-check label em { font-size: 8.5px; }
.tl-pf-check input[type=checkbox] { width: 12px; height: 12px; }
.tl-pf-dot { width: 7px; height: 7px; }
.tl-pf-av { width: 14px; height: 14px; }
.tl-pf-ini { font-size: 8px; }
.tl-pf-col-rod { font-size: 9px; padding-top: 1px; }
/* Salvos: coluna maior, texto menor */
.tl-pf-abas { margin-bottom: 3px; }
.tl-pf-abas button { font-size: 9.5px; padding: 1px 6px 3px; }
.tl-pf4-salvos .tl-presets { gap: 2px; max-height: 214px; }
.tl-preset-row { min-height: 18px; }
.tl-preset-row button { padding: 1px 6px 2px; gap: 0; line-height: 1.15; }
.tl-preset-row button b { font-size: 10px; }
.tl-preset-row button small { font-size: 8.5px; }
.tl-pf4-salvos .tl-pf-salvar { margin-bottom: 3px; }
.tl-pf4-salvos .tl-pf-salvar input { height: 20px; font-size: 10px; }
.tl-pf4-salvos .tl-pf-salvar button { height: 20px; font-size: 9.5px; }

/* Valorizar fonte dos painéis Filtros / Ordenar (~12%) */
.tl-painel-filtro .tl-painel-tit,
.tl-painel-ordem .tl-painel-tit,
.tl-painel-apar .tl-painel-tit { font-size: 13.5px; }
.tl-painel-filtro .tl-painel-sub,
.tl-painel-ordem .tl-painel-sub,
.tl-painel-apar .tl-painel-sub { font-size: 12px; }
.tl-painel-filtro .tl-pf-col-tit { font-size: 11px; }
.tl-painel-filtro .tl-pf4-campos select,
.tl-painel-filtro .tl-pf4-campos .tl-pf-busca { font-size: 12px !important; height: 24px !important; line-height: 22px; }
.tl-painel-filtro .tl-pf-chk { font-size: 12.5px; padding: 4px 11px 4px 8px; }
.tl-painel-filtro .tl-preset-row button b { font-size: 12px; }
.tl-painel-filtro .tl-preset-row button small { font-size: 9.5px; }
.tl-painel-filtro .tl-pf4-salvos .tl-pf-salvar input,
.tl-painel-filtro .tl-pf4-salvos .tl-pf-salvar button { font-size: 11.5px; height: 24px; }
.tl-painel-ordem .tl-ordem-opt strong { font-size: 12px; }
.tl-painel-ordem .tl-ordem-opt small { font-size: 10px; }
.tl-ordem-predef-tit { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--pn-line); }
.tl-ordem-custom { margin-bottom: 4px; }
.tl-ordem-custom-toggle { display: none; }
@media (max-width: 800px) {
    .tl-pf4 { grid-template-columns: 1fr 1fr; }
    .tl-pf4-col + .tl-pf4-col { padding-left: 0; }
    .tl-pf-modo { flex-direction: column; }
    .tl-pf-modo button + button { border-left: 0; border-top: 1px solid var(--pn-line); }
    .tl-pf-check { max-height: 170px; }
}
/* Modo em duas linhas: cabe em qualquer largura sem cortar o texto */
.tl-pf-modo { flex-direction: column; }
.tl-pf-modo button { text-align: left; padding: 1px 6px; height: auto; min-height: 16px; white-space: normal; }
.tl-pf-modo button + button { border-left: 0; border-top: 1px solid var(--pn-line); }
.tl-pf-modo button:not(.on)::before { content: "○ "; opacity: .55; }
.tl-pf-modo button.on::before { content: "✓ "; }
.tl-pf-modo button { flex: 0 0 auto; }
.tl-pf-col-tit { flex-wrap: wrap; row-gap: 0; }
.tl-pf-col-tit .tl-pf-links { flex-wrap: wrap; justify-content: flex-end; }
.tl-pf-col-tit .tl-pf-links { flex-basis: 100%; justify-content: flex-start; margin-top: -2px; }
.tl-pf4 {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
    grid-template-areas:
        "fav recent campos campos"
        "fav recent proj resp"
        "rot rot proj resp";
    gap: 8px 10px;
    align-items: start;
}
.tl-pf4-fav { grid-area: fav; }
.tl-pf4-recent { grid-area: recent; }
.tl-pf4-campos { grid-area: campos; }
.tl-pf4-proj { grid-area: proj; }
.tl-pf4-resp { grid-area: resp; }
.tl-pf4-rot { grid-area: rot; overflow: visible; }
.tl-pf4-col { overflow: hidden; min-width: 0; }
.tl-pf4-recent { overflow: hidden; }
.tl-pf4-fav { overflow: visible; }
.tl-pf4-fav, .tl-pf4-recent, .tl-pf4-rot {
    border: 1px solid var(--pn-line);
    border-radius: 8px;
    padding: 8px;
    background: var(--pn-fill);
}
.tl-pf4 .tl-pf4-col + .tl-pf4-col { border-left: 0; padding-left: 0; }
.tl-pf-salvar { overflow: visible; min-width: 0; display: flex; }
.tl-pf-salvar input { flex: 1 1 0; min-width: 0; }
.tl-pf-salvar button { flex: none; }
.tl-pf-rot-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tl-pf-rot-chips button {
    border: 1px solid var(--pn-line); background: var(--pn-fill); color: var(--pn-fg);
    border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.tl-pf-rot-chips button.on { background: var(--rt, var(--gold)); color: #0a1f3d; border-color: var(--gold); }
.tl-ordem-custom { margin-top: 0; padding-top: 0; border-top: 0; }
.tl-ordem-criar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
}
.tl-ordem-ddl {
    height: 26px; min-width: 0; width: 100%;
    font-size: 11px; font-weight: 650;
    border: 1px solid var(--pn-line); border-radius: 6px;
    background: var(--pn-fill); color: var(--pn-fg); padding: 0 4px;
}
.tl-ordem-ddl:disabled { opacity: .4; }
.tl-ordem-criar-btn {
    height: 26px; padding: 0 10px; border: 0; border-radius: 6px;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .01em;
    white-space: nowrap; cursor: pointer;
}
.tl-ordem-criar-btn:disabled { opacity: .38; cursor: default; filter: grayscale(.25); }
.tl-ordem-ja { margin: 4px 0 0; font-size: 11px; font-weight: 700; color: #8a3b12; }
.tl-ordem-card { position: relative; display: grid; }
.tl-ordem-card .tl-ordem-opt { padding-right: 44px; width: 100%; }
.tl-ordem-card-acoes {
    position: absolute; top: 4px; right: 4px; display: flex; gap: 2px; z-index: 1;
}
.tl-ordem-card-ed, .tl-ordem-card-x {
    width: 18px; height: 18px; border: 0; border-radius: 4px;
    background: rgba(10,31,61,.12); color: #123a6b; font-size: 11px; line-height: 1; cursor: pointer;
}
.tl-ordem-card-x:hover { background: #b42318; color: #fff; }
.tl-ordem-card-ed:hover { background: #0d47a1; color: #fff; }
.tl-ordem-chaves { display: none; }
@media (max-width: 800px) {
    .tl-pf4 {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "fav recent"
            "campos campos"
            "proj resp"
            "rot rot";
    }
    .tl-pf4-campos { grid-column: auto; }
    .tl-pf4-fav, .tl-pf4-recent { border-top: 0; }
}
.tl-pf4-col + .tl-pf4-col { padding-left: 8px; }
.tl-pf-check { max-height: 170px; }
.tl-pf4-salvos .tl-presets { max-height: 200px; overflow: auto; }
.tl-preset-row { min-height: auto; overflow: hidden; }
.tl-preset-row button { min-width: 0; overflow: hidden; gap: 1px; padding: 2px 6px 3px; }
.tl-preset-row button b, .tl-preset-row button small { min-width: 0; line-height: 1.2; }
.tl-presets { grid-auto-rows: max-content; }
.tl-preset-row.fav button b { display: flex; align-items: center; gap: 4px; }
.tl-preset-row.fav button b::before {
    content: "★";
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    flex: none;
}
@media (max-width: 800px) {
    .tl-pf4 { grid-template-columns: 1fr 1fr; }
    .tl-pf4-col + .tl-pf4-col { padding-left: 0; border-left: 0; }
    .tl-pf4-fav { overflow: visible; }
}

/* ══ Ajustes de leitura: títulos +20%, switches antes dos selects ═══════════════ */
.tl-painel-tit { font-size: 13.5px; }
.tl-pf-col-tit { font-size: 11.5px; letter-spacing: .1em; }
.tl-pf-abas button { font-size: 11.5px; }
.tl-pf4-campos { gap: 3px; }
.tl-pf4-campos .tl-switch-pf + .tl-switch-pf { margin-bottom: 10px; }
.tl-pf4-campos select + select { margin-top: 0; }
.tl-pf4-campos .pt-ddl-periodo { margin-top: 2px; }
.tl-pf4-campos .tl-pf-busca { margin-top: 0; }

/* ══ Hold: não pintar filtro/lista vazia enquanto o circuito carrega ═══════════ */
.tl-hold {
    margin: 36px auto 20px; text-align: center; font-size: 14px; font-weight: 650;
    color: #5a6b82; letter-spacing: .02em;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.pt-pulse { display: inline-flex; align-items: center; gap: 5px; }
.pt-pulse i {
    width: 6px; height: 6px; border-radius: 50%;
    background: #c4a35a; display: block;
    animation: pt-pulse-dot 1s ease-in-out infinite;
}
.pt-pulse i:nth-child(2) { animation-delay: .16s; }
.pt-pulse i:nth-child(3) { animation-delay: .32s; }
.pt-pulse-claro i { background: #e8d08a; }
@keyframes pt-pulse-dot {
    0%, 80%, 100% { transform: translateY(0); opacity: .35; }
    40% { transform: translateY(-4px); opacity: 1; }
}

/* ══ Adiar compacto (cinza médio) ═════════════════════════════════════════════ */
.sheet.tl-mud { background: #e8eaee; color: #1f2937; }
.tl-mud .sheet-h { padding: 8px 12px; border-bottom-color: #cfd4dc; gap: 8px; }
.tl-mud .sheet-h h2 { font-size: 15px; color: #1f2937; }
.tl-mud .x { width: 28px; height: 28px; font-size: 18px; background: #d1d5db; }
.tl-mud .sheet-b { padding: 8px 12px 10px; gap: 6px; }
.tl-mud-tit { font-weight: 700; margin: 0; font-size: 13.5px; color: #111827; }
.tl-mud .hint { font-size: 11.5px; color: #4b5563; margin: 0; }
.tl-mud .hint b { color: #111827; }
.tl-mud .row2 { gap: 6px; }
.tl-mud .row2 label, .tl-mud label { font-size: 11px; font-weight: 700; color: #374151; display: grid; gap: 3px; }
.tl-mud input[type=date] { height: 28px; padding: 2px 6px; font-size: 12px; border-color: #9ca3af; background: #fff; }
.tl-mud-sugs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.tl-mud-sug {
    border: 1px solid #b8bfc8; background: #f3f4f6; border-radius: 6px;
    padding: 3px 7px; cursor: pointer; display: flex; flex-direction: column; min-width: 64px;
}
.tl-mud-sug span { font-size: 10px; color: #4b5563; }
.tl-mud-sug b { font-size: 11px; color: #111827; }
.tl-mud-go, .tl-mud button.ghost {
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #6b7280 !important; background: #4b5563 !important; color: #fff !important;
    font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 6px; cursor: pointer; width: fit-content;
}
.tl-mud-go:hover, .tl-mud button.ghost:hover { background: #374151 !important; }
.tl-mud-go:disabled, .tl-mud button.ghost:disabled { opacity: .4; cursor: not-allowed; }
.tl-mud .pt-mtx-fly-grid { gap: 4px; }
.tl-mud .pt-mtx-opt { padding: 4px 3px; background: #f3f4f6; border-color: #c5ccd6; }
.tl-mud .pt-mtx-opt.pt-mtx-sel { border-color: #374151; background: #d1d5db; }

.sheet.adiar {
    width: min(428px, 94vw);
    background: #f3efe6;
    color: #1a2430;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 28px 72px rgba(4, 16, 28, .48), 0 0 0 1px rgba(196, 163, 90, .22);
}
.adiar-h {
    position: relative;
    text-align: center;
    padding: 14px 32px 10px 14px;
    background:
        radial-gradient(120% 80% at 10% 0%, rgba(196,163,90,.18), transparent 52%),
        linear-gradient(180deg, #163a68 0%, #0d2748 100%);
    color: #fff;
}
.adiar-h .x {
    position: absolute; top: 8px; right: 8px;
    width: 26px; height: 26px; font-size: 16px; line-height: 1;
    background: rgba(255,255,255,.12); color: #fff;
}
.adiar-h .x:hover { background: rgba(255,255,255,.22); }
.adiar-pill {
    display: inline-block; max-width: 100%;
    margin: 0; padding: 3px 12px;
    background: #7eb8dc; color: #0a2744;
    border-radius: 99px;
    font-size: 11.5px; font-weight: 750; line-height: 1.25;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adiar-h h2 {
    margin: 8px 0 2px; flex: none;
    font-size: 17px; font-weight: 750; letter-spacing: .01em;
    color: #fff; text-transform: none;
}
.adiar-sub {
    margin: 0 0 8px;
    font-size: 11px; color: #c9d6e6;
}
.adiar-sub b {
    color: #e8c76a; font-weight: 750;
}
.adiar-agora {
    margin: 0;
    padding: 5px 10px;
    background: rgba(0,0,0,.28);
    border-radius: 6px;
    font-size: 11.5px; color: #e8c76a; font-weight: 650;
}
.adiar-agora em { color: #fff; font-style: normal; font-weight: 800; }
.adiar-b { padding: 10px 10px 12px; }
.adiar-lbl {
    margin: 0 0 7px;
    text-align: center;
    font-size: 10.5px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    color: #5a6573;
}
.adiar-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    align-items: start;
}
.adiar-col { display: grid; gap: 4px; }
.adiar-sug {
    display: flex; align-items: baseline; justify-content: space-between; gap: 4px;
    width: 100%; margin: 0; padding: 5px 6px;
    border: 1px solid #c8c2b4; border-radius: 6px;
    background: #fffdf8; color: inherit;
    cursor: pointer; font: inherit; text-align: left;
    transition: border-color .1s, background .1s, box-shadow .1s;
}
.adiar-sug:hover { border-color: #8fa3bc; background: #fff; }
.adiar-sug span { font-size: 9.5px; font-weight: 650; color: #6a7380; }
.adiar-sug b { font-size: 11px; font-weight: 800; color: #123a6b; white-space: nowrap; }
.adiar-sug.on {
    border-color: #123a6b;
    background: #e4edf7;
    box-shadow: inset 0 0 0 1px #123a6b;
}
.adiar-sug.on span { color: #3a5068; }
.adiar-sug.outra {
    justify-content: center; align-items: center; gap: 6px;
    border: 1px solid #e0a86a;
    background: #f4d4a8;
    color: #7a4a12;
    font-size: 11px; font-weight: 750;
    min-height: 28px;
}
.adiar-sug.outra:hover { background: #f0c890; border-color: #d4893a; }
.adiar-sug.outra.on { background: #edc07a; border-style: solid; border-color: #d4893a; color: #5c360c; }
.adiar-cal { width: 14px; height: 14px; flex-shrink: 0; }
.adiar-sug.cancelar {
    justify-content: center;
    border: 0;
    background: #b42318; color: #fff;
    font-size: 11.5px; font-weight: 750;
    min-height: 28px;
}
.adiar-sug.cancelar:hover { background: #9a1c13; border-color: transparent; }
.adiar-outra {
    display: flex; justify-content: center;
    margin: 8px 0 2px;
}
.adiar-outra input[type=date] {
    width: 148px; height: 28px;
    padding: 0 6px; font-size: 12px;
    border: 1px solid #8fa3bc; border-radius: 6px; background: #fff;
}
@media (max-width: 420px) {
    .sheet.adiar { width: min(100%, 96vw); }
    .adiar-sug { padding: 5px 5px; }
    .adiar-sug span { font-size: 9px; }
    .adiar-sug b { font-size: 10.5px; }
}

/* ══ Baixar / mensagens compactos ═════════════════════════════════════════════ */
.sheet.tl-bx, .sheet.tl-msg { background: #e8eaee; color: #1f2937; }
.tl-bx .sheet-h, .tl-msg .sheet-h { padding: 8px 12px; border-bottom-color: #cfd4dc; gap: 8px; }
.tl-bx .sheet-h h2, .tl-msg .sheet-h h2 { font-size: 15px; color: #1f2937; }
.tl-bx .x, .tl-msg .x { width: 28px; height: 28px; font-size: 18px; background: #d1d5db; }
.tl-bx .sheet-b, .tl-msg .sheet-b { padding: 8px 12px 8px; gap: 6px; }
.tl-bx .sheet-f, .tl-msg .sheet-f { padding: 8px 12px 10px; }
.tl-bx-tit { font-weight: 700; margin: 0; font-size: 13.5px; color: #111827; }
.tl-bx-meta { margin: 0; font-size: 11.5px; color: #4b5563; }
.tl-bx-hint { margin: 0; font-size: 12px; color: #374151; }
.tl-bx-just { display: grid; gap: 3px; }
.tl-bx-just span { font-size: 11px; font-weight: 700; color: #374151; }
.tl-bx-just span i { font-style: normal; font-weight: 500; color: #6b7280; }
.tl-bx-just textarea { min-height: 48px; resize: vertical; font-size: 13px; }
.tl-msg-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 42vh; overflow: auto; }
.tl-msg-lista li { background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 6px; padding: 6px 8px; }
.tl-msg-lista li p { margin: 4px 0 0; font-size: 13px; white-space: pre-wrap; }
.tl-msg-vazio { color: #6b7280; font-size: 12px; text-align: center; padding: 12px 4px; background: none !important; border: 0 !important; }
.tl-msg-meta { display: flex; align-items: baseline; gap: 8px; font-size: 12px; }
.tl-msg-meta small { color: #6b7280; }
.tl-msg-x { margin-left: auto; border: 0; background: #e5e7eb; width: 20px; height: 20px; border-radius: 4px; cursor: pointer; color: #4b5563; }
.tl-msg-x:hover { background: #fecaca; color: #991b1b; }
.tl-msg-img { max-width: 100%; max-height: 180px; border-radius: 6px; display: block; margin-top: 4px; }
.tl-msg-vid, .tl-msg-aud { width: 100%; max-height: 200px; margin-top: 4px; }
.tl-msg-doc { display: inline-block; margin-top: 4px; color: #1f2937; font-weight: 700; }
.tl-msg textarea { min-height: 52px; font-size: 13px; }
.tl-msg-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tl-msg-bar button {
    border: 1px solid #9ca3af; background: #d1d5db; color: #111827;
    border-radius: 6px; padding: 3px 7px; font-size: 12px; font-weight: 650; cursor: pointer;
}
.tl-msg-bar button:hover { background: #c5c9d0; }
.tl-msg-bar button.on { background: #b91c1c; color: #fff; border-color: #7f1d1d; }
.tl-msg-st { font-size: 11px; color: #4b5563; min-width: 0; }

/* ══ Aparência: títulos, sliders e nome da cor mais legíveis ═══════════════════ */
.tl-painel-apar .tl-painel-tit { font-size: 18px; }
.tl-painel-apar .tl-painel-sub { font-size: 14px; font-weight: 600; }
.tl-painel-apar .tl-pf-dir-tit {
    font-size: 14px; letter-spacing: .08em; margin: 0 0 6px;
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .35em;
}
.tl-painel-apar .tl-apar-cor {
    font-size: 21px; font-weight: 800; letter-spacing: 0; text-transform: none;
    color: var(--pn-fg); line-height: 1.1;
}
.tl-apar-fundo .tl-tema-nome { display: none; }
.tl-painel-apar .tl-apar-grid { grid-template-columns: 1fr; gap: 8px; }
.tl-painel-apar .tl-apar-slider {
    font-size: 13px; font-weight: 650;
    grid-template-columns: 168px minmax(90px, 1fr);
    gap: 10px;
}
.tl-painel-apar .tl-apar-slider span { display: inline-flex; align-items: center; gap: 6px; }
.tl-painel-apar .tl-apar-slider b {
    font-size: 16px; min-width: 20px; line-height: 1; font-weight: 800;
}
.tl-painel-apar .tl-apar-slider input[type=range] { height: 22px; min-width: 90px; width: 100%; }
.tl-painel-apar .tl-apar-slider input[type=range]::-webkit-slider-runnable-track { height: 5px; }
.tl-painel-apar .tl-apar-slider input[type=range]::-moz-range-track { height: 5px; }
.tl-painel-apar .tl-apar-slider input[type=range]::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -4.5px; }
.tl-painel-apar .tl-apar-slider input[type=range]::-moz-range-thumb { width: 14px; height: 14px; }
.tl-painel-apar .tl-apar-slider-2l { align-items: center; }
.tl-painel-apar .tl-apar-slider-2l span { align-items: flex-start; white-space: normal; }
.tl-painel-apar .tl-apar-slider-txt {
    display: flex; flex-direction: column; gap: 0; line-height: 1.15;
    font-style: normal; font-weight: 650;
}
.tl-painel-apar .tl-apar-slider-txt small { font-size: 11px; font-weight: 650; opacity: .92; }
.tl-painel-hdr-acoes {
    margin-left: auto; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 8px;
}
.tl-apar-reset-hdr {
    border: 2px solid #123a6b; background: #d4e4f5; color: #123a6b;
    font-size: 13px; font-weight: 700; line-height: 1;
    padding: 7px 12px; border-radius: 8px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.tl-apar-reset-hdr span { font-size: 15px; line-height: 1; }
.tl-apar-reset-hdr:hover { background: #c5d8ee; }
.tl-painel-hdr-acoes .tl-painel-fechar { margin-left: 0; }
.tl-apar-fundo .tl-tema-tom input[type=range] { height: 22px; }
.tl-apar-fundo .tl-tema-tom input[type=range]::-webkit-slider-runnable-track { height: 6px; }
.tl-apar-fundo .tl-tema-tom input[type=range]::-moz-range-track { height: 6px; }
.tl-apar-fundo .tl-tema-tom input[type=range]::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -4px; }
.tl-apar-fundo .tl-tema-tom input[type=range]::-moz-range-thumb { width: 14px; height: 14px; }

/* Fechar dos painéis Aparência / Filtros / Ordenar */
.tl-painel-fechar {
    margin-left: auto; flex-shrink: 0;
    border: 0; background: #c62828; color: #fff;
    font-size: 16px; font-weight: 800; letter-spacing: .04em;
    padding: 8px 18px; border-radius: 8px; cursor: pointer; line-height: 1.1;
    box-shadow: 0 2px 6px rgba(120, 16, 16, .35);
}
.tl-painel-fechar:hover { background: #9b1c1c; }
.tl-painel-fechar:active { transform: translateY(1px); }

/* ══ Calendário: cabeçalho em colunas (não herda a barra de 4 ícones) + sticky ══ */
.cal-head {
    position: sticky; top: var(--pt-topbar-h, 50px); z-index: 40;
    background: var(--ag-bg); padding-bottom: 6px; margin-bottom: 2px;
}
.cal-toolbar.tl-filtros,
.cal-toolbar.cal-filtros {
    display: flex; flex-direction: column; flex-wrap: nowrap;
    align-items: stretch; justify-content: flex-start;
    gap: 7px; width: 100%; padding: 8px 10px 9px; margin: 0;
    overflow: visible; min-height: 0;
}
.cal-linha1 {
    display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; width: 100%; min-width: 0;
}
.cal-brand {
    display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
    font-size: 13px; font-weight: 700; letter-spacing: .01em;
    color: var(--tl-filtro-fg); white-space: nowrap;
}
.cal-brand-ico { display: block; flex-shrink: 0; }
.cal-linha1 select {
    flex: 1 1 auto; min-width: 0; max-width: none; width: auto;
    margin: 0; padding: 5px 8px; font-size: 12px; height: 28px;
    border: 1px solid var(--tl-filtro-bd); border-radius: 6px;
    background: rgba(255,255,255,.88); color: #1a2b42;
}
.cal-filtros[data-dark="1"] .cal-linha1 select { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.cal-linha1 .so-eu { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.cal-nav { display: flex; align-items: center; gap: 8px; width: 100%; }
.cal-toolbar.cal-filtros .cal-nav h2 {
    flex: 1; margin: 0; text-align: center;
    color: var(--tl-filtro-acc, var(--ag-accent)); font-size: 18px; line-height: 36px;
    font-weight: 800; text-transform: capitalize;
}
.cal-toolbar.cal-filtros .cal-nav h2.cal-tit-ano { font-size: 26px; line-height: 36px; }
.cal-vistas {
    display: flex; flex-wrap: wrap; gap: 4px; width: 100%;
}
.cal-acoes {
    display: flex; align-items: center; justify-content: flex-end; gap: 6px; width: 100%;
}
.cal-acoes .tl-ico-tema { margin-right: auto; width: 36px; height: 32px; }
.cal-apar-painel { margin: 0; border-radius: 0 0 12px 12px; }
.cal-apar-painel .tl-apar-fundo .tl-tema-tom { display: none; }
@media (max-width: 800px) {
    .cal-toolbar.tl-filtros,
    .cal-toolbar.cal-filtros { padding: 7px 8px 8px; gap: 6px; }
    .cal-brand { font-size: 12px; }
    .cal-linha1 { gap: 6px; }
    .cal-linha1 select { height: 26px; font-size: 11.5px; padding: 3px 6px; }
    .cal-nav h2 { font-size: 15px; line-height: 32px; }
    .cal-toolbar.cal-filtros .cal-nav h2.cal-tit-ano { font-size: 22px; line-height: 32px; }
    .cal-vistas {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px; width: 100%;
    }
    .cal-vistas button { width: 100%; }
}

/* ══ Família de overlays da listagem ══════════════════════════════════════════ */
.pt-ov.sheet { width: min(560px, 96vw); background: #f4f6f9; color: #122033; border-radius: 18px; overflow: hidden; }
.pt-ov.sheet-wide { width: min(680px, 96vw); }
.pt-ov.pt-ov-dlg {
    width: min(520px, 96vw); max-height: min(90vh, 720px);
    display: flex; flex-direction: column; padding: 0; background: #fff;
}
.pt-ov.pt-ov-dlg .sheet-h.pt-dlg-h {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 10px 12px 8px; border-bottom: 0;
    background: linear-gradient(145deg, #0a1f3d 0%, #123a6b 100%); color: #fff;
}
.pt-dlg-hdr-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pt-dlg-hdr-ico { font-size: 18px; line-height: 1; flex-shrink: 0; }
.pt-dlg-hdr-main { flex: 1; min-width: 0; }
.pt-dlg-hdr-lbl {
    display: block; font-size: 10px; opacity: .85; text-transform: uppercase;
    letter-spacing: .04em; font-weight: 700;
}
.pt-dlg-hdr-task {
    display: block; font-size: 15px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px;
}
.pt-dlg-hdr-badge {
    flex-shrink: 0; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px;
    background: rgba(255,255,255,.22); font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.pt-dlg-font-bar {
    display: flex; align-items: center; gap: 8px;
    width: 100%; margin: 0; padding: 0 2px 0 28px; box-sizing: border-box;
}
.pt-dlg-font-ico { font-size: 11px; font-weight: 800; color: #fff; opacity: .9; line-height: 1; min-width: 14px; text-align: center; }
.pt-dlg-font-ico-lg { font-size: 15px; }
.pt-dlg-font-bar input[type=range] {
    flex: 1; min-width: 80px; height: 16px; margin: 0; accent-color: #fff; cursor: pointer;
}
.pt-dlg-font-val { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.9); min-width: 32px; text-align: right; }
.pt-ov.pt-ov-dlg .sheet-b.pt-dlg-body {
    padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column;
    gap: 8px; min-height: 0; overflow: hidden; background: #fff;
}
.pt-ov.pt-ov-dlg .pt-dlg-thread {
    flex: 1; overflow-y: auto; max-height: 38vh; margin: 0; padding: 8px;
    background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0;
    display: flex; flex-direction: column; gap: 10px; list-style: none;
}
.pt-dlg-vazio { margin: 12px 8px; font-size: 13px; color: #5a6b82; text-align: center; }
.pt-dlg-msg { display: flex; gap: 8px; align-items: flex-start; }
.pt-dlg-avatar {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-size: 12px; font-weight: 800; font-style: normal;
}
.pt-dlg-corpo { flex: 1; min-width: 0; }
.pt-dlg-meta { font-size: calc(var(--tl-dlg-fs, 14px) * .82); color: #5a6b82; margin-bottom: 2px; }
.pt-dlg-meta b { color: #123a6b; }
.pt-dlg-texto { font-size: var(--tl-dlg-fs, 14px); color: #1a1a1a; line-height: 1.4; word-break: break-word; }
.pt-dlg-texto p { margin: 0; }
.pt-dlg-texto a { color: #123a6b; font-weight: 650; }
.pt-dlg-excluir {
    border: 0; background: none; padding: 0; margin-top: 2px; cursor: pointer;
    font-size: 11px; font-weight: 700; color: #b42318; text-decoration: underline;
}
.pt-dlg-input-wrap {
    border: 1px solid #b8c4d6; border-radius: 8px; background: #fff; padding: 8px;
    box-shadow: inset 0 1px 2px rgba(10,31,61,.04);
}
.pt-dlg-input-wrap textarea {
    width: 100%; min-height: 48px; border: none; resize: vertical;
    font-size: var(--tl-dlg-fs, 14px); font-family: inherit; outline: none;
    background: transparent; color: #122033; box-sizing: border-box;
}
.pt-dlg-toolbar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 6px; }
.pt-dlg-tool {
    font-size: 16px; cursor: pointer; border: none; background: none;
    padding: 2px 4px; border-radius: 4px; color: #123a6b; font-weight: 650;
}
.pt-dlg-tool:hover { background: #e8eef5; }
.pt-dlg-tool.on { background: #b42318; color: #fff; }
.pt-dlg-tool:disabled { opacity: .4; cursor: default; }
.pt-dlg-st { font-size: 11px; color: #4a5c74; flex: 1; min-width: 100px; }
.pt-dlg-emojis {
    display: flex; flex-wrap: wrap; gap: 2px; max-width: 280px;
    padding: 4px; margin-top: 4px; background: #fff; border: 1px solid #ccc; border-radius: 6px;
}
.pt-dlg-emojis button {
    border: 0; background: none; cursor: pointer; font-size: 18px; padding: 2px; border-radius: 4px;
}
.pt-dlg-emojis button:hover { background: #e8eef5; }
.pt-ov.pt-ov-dlg .sheet-f.pt-dlg-acoes {
    padding: 8px 12px 10px; background: #f8fafc; border-top: 1px solid #e8ecf2;
    display: flex; gap: 8px; justify-content: flex-end;
}
.pt-ov.pt-ov-dlg .sheet-f .btn-cancel,
.pt-ov.pt-ov-dlg .btn-cancel {
    background: #b42318; color: #fff; border: 0;
}
.pt-ov.pt-ov-dlg .btn-save.pt-dlg-gravar:disabled,
.pt-ov.pt-ov-dlg .btn-save:disabled {
    background: #c5ccd6; color: #f4f6f8; cursor: not-allowed; opacity: .72;
}
.pt-dlg-obs { font-size: calc(var(--tl-dlg-fs, 14px) * .92); color: #555; background: #fffde7; border: 1px solid #ffe082; border-radius: 6px; padding: 6px 8px; }
.pt-dlg-obs b { display: block; margin-bottom: 2px; }
.pt-dlg-obs p { margin: 0; white-space: pre-wrap; }
.pt-dlg-texto .tl-msg-img { max-width: 180px; max-height: 140px; border-radius: 6px; border: 1px solid #ccc; display: block; margin-top: 2px; }
.pt-dlg-texto .tl-msg-vid { max-width: 240px; max-height: 180px; margin-top: 2px; }
.pt-dlg-texto .tl-msg-aud { max-width: 220px; margin-top: 2px; }
.pt-dlg-texto .tl-msg-doc { color: #123a6b; font-weight: 750; }
@media (max-width: 520px) {
    .pt-dlg-font-bar { padding-left: 26px; gap: 6px; }
    .pt-dlg-font-bar input[type=range] { height: 20px; min-width: 0; }
}
.pt-ov .sheet-h { padding: 14px 16px 10px; border-bottom: 1px solid #d5dde8; align-items: flex-start; gap: 10px; background: #eef2f7; }
.pt-ov .sheet-h h2 { margin: 0; font-size: 13px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: #5a6b82; }
.pt-ov-hero { margin: 2px 0 0; font-size: 20px; line-height: 1.2; font-weight: 800; color: #0d2344; }
.pt-ov-meta { margin: 4px 0 0; font-size: 12.5px; color: #4a5c74; }
.pt-ov .sheet-b { padding: 12px 16px; gap: 10px; }
.pt-ov .sheet-f { padding: 10px 16px 14px; background: #eef2f7; border-top: 1px solid #d5dde8; }
.pt-ov .btn-cancel, .pt-ov .btn-save { min-height: 38px; padding: 0 16px; border-radius: 9px; font-weight: 750; }
.pt-ov .btn-cancel { background: #b42318; color: #fff; border: 0; }
.pt-ov .btn-save { background: #123a6b; color: #fff; border: 0; }

.pt-ov.pt-ov-pred { width: min(520px, 96vw); background: #eef1f5; }
.pt-ov.pt-ov-pred .sheet-h.pt-pred-h {
    background: linear-gradient(180deg, #154a86 0%, #123a6b 55%, #0d2344 100%);
    border-bottom: 0; color: #fff; padding: 10px 12px 9px; align-items: flex-start; gap: 8px;
}
.pt-ov.pt-ov-pred .sheet-h.pt-pred-h h2 {
    margin: 0; color: #fff; text-transform: none; letter-spacing: .02em;
    font-size: 13px; font-weight: 800;
}
.pt-pred-proj {
    font-weight: 600; font-size: 12px; color: #d7e6f8; letter-spacing: 0;
}
.pt-ov.pt-ov-pred .pt-pred-sub {
    margin: 3px 0 0; font-size: 11px; line-height: 1.3;
    color: #d7e6f8; font-weight: 500;
}
.pt-ov.pt-ov-pred .sheet-h.pt-pred-h .x {
    color: #fff; background: rgba(255,255,255,.16); border-radius: 7px;
    width: 26px; height: 26px; font-size: 16px;
}
.pt-pred-atual {
    margin: 7px 0 0; padding: 5px 9px; border-radius: 6px;
    font-size: 13px; font-weight: 800; line-height: 1.2;
    color: var(--cat-fg, #0d2344);
    background: color-mix(in srgb, var(--cat-bg, #c5d8ee) 78%, #fff);
    background-repeat: repeat;
    border: 1px solid color-mix(in srgb, var(--cat-bg, #b8cce0) 45%, #8aa0b8);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pt-ov.pt-ov-pred .sheet-b { background: #eef1f5; padding: 8px 12px 10px; gap: 6px; }
.pt-pred-hint { margin: 0; font-size: 11px; line-height: 1.35; color: #3a4d64; font-weight: 500; }
.pt-pred-vazio { margin: 4px 0 0; font-size: 12px; color: #5a6b82; }
.pt-pred-pills {
    display: flex; flex-wrap: wrap; gap: 5px;
    max-height: min(42vh, 360px); overflow: auto; align-content: flex-start;
    padding: 1px 0 2px;
}
.pt-pred-pill {
    display: inline-flex; align-items: center; gap: 5px; text-align: left;
    max-width: 100%; cursor: pointer; font: inherit;
    box-sizing: border-box;
    border-radius: 999px; padding: 3px 8px 3px 3px;
    border: 1px solid color-mix(in srgb, var(--cat-bg, #b8cce0) 50%, #8aa0b8);
    background: color-mix(in srgb, var(--cat-bg, #c5d8ee) 72%, #fff);
    background-repeat: repeat;
    color: var(--cat-fg, #0d2344);
    font-size: 11px; font-weight: 750; line-height: 1.15;
    overflow: hidden;
}
.pt-pred-pill:hover { filter: brightness(1.04); }
.pt-pred-pill.on {
    border-color: #123a6b;
    box-shadow: inset 0 0 0 3px #123a6b;
}
.pt-pred-seta { font-weight: 800; letter-spacing: 0; margin: 0 2px; opacity: .9; }
.pt-pred-pill img, .pt-pred-pill i {
    width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    background: color-mix(in srgb, var(--cat-fg, #123a6b) 18%, #fff);
    display: grid; place-items: center; font-weight: 800; font-size: 10px; font-style: normal;
    color: var(--cat-fg, #123a6b);
}
.pt-pred-pill.tl-task-critica i {
    color: #fff;
    background: rgba(255,255,255,.18);
}
.pt-pred-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.pt-pred-pill em {
    font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .02em;
    color: #123a6b; opacity: .8; flex-shrink: 0;
}
.pt-ov.pt-ov-pred .sheet-f { background: #e4e9f0; border-top: 1px solid #d0d8e4; padding: 8px 12px 10px; }
.pt-ov.pt-ov-pred .btn-cancel,
.pt-ov.pt-ov-pred .btn-save { min-height: 30px; padding: 0 12px; font-size: 12.5px; }
.pt-ov.pt-ov-pred .btn-cancel { background: #b42318; color: #fff; border: 0; }
.pt-ov.pt-ov-pred .btn-save { background: #123a6b; color: #fff; border: 0; }
.pt-ov .btn-save:disabled { opacity: .4; }
.pt-ov.pt-ov-pred .btn-save:disabled,
.pt-ov.pt-ov-pred .btn-save:disabled:hover {
    background: #8b93a0;
    color: #eef1f5;
    opacity: 1;
    filter: none;
    pointer-events: none;
    cursor: default;
}
.pt-ov-font { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4a5c74; }
.pt-ov-font input[type=range] { flex: 1; accent-color: #123a6b; }
.pt-ov-font b { min-width: 36px; text-align: right; color: #123a6b; }
.pt-ov-hint { margin: 0; font-size: 12px; color: #4a5c74; }
.pt-ov-faltas { margin: 0; padding: 8px 10px; border-radius: 8px; background: #fff3f0; color: #8a2018; font-size: 13px; font-weight: 650; }
.pt-ov-faltas li { margin: 0 0 2px; }

.pt-share-card { background: #fff; border: 1px solid #d5dde8; border-radius: 12px; padding: 14px 14px 12px; }
.pt-share-card h3 { margin: 0 0 4px; font-size: 18px; color: #0d2344; }
.pt-share-kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 13px; margin: 8px 0; }
.pt-share-kv dt { color: #6b7a8d; font-weight: 650; }
.pt-share-kv dd { margin: 0; color: #122033; }
.pt-share-bar { height: 6px; border-radius: 99px; background: #e4eaf2; overflow: hidden; margin: 4px 0 8px; }
.pt-share-bar i { display: block; height: 100%; background: #123a6b; }
.pt-share-thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.pt-share-thumbs img, .pt-share-thumbs span { width: 44px; height: 44px; object-fit: cover; border-radius: 7px; background: #e8edf4; display: grid; place-items: center; font-size: 16px; }
.pt-share-fala { margin: 0; padding: 6px 8px; background: #f4f7fb; border-radius: 8px; font-size: 12.5px; }
.pt-share-fala b { color: #123a6b; }
.pt-share-acoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pt-share-acoes button, .pt-share-acoes a {
    display: grid; place-items: center; min-height: 40px; border-radius: 9px; font-weight: 750; font-size: 13px;
    border: 0; cursor: pointer; text-decoration: none; color: #fff;
}
.pt-share-acoes .copiar { background: #3d4f68; }
.pt-share-acoes .wa { background: #128c7e; }
.pt-share-acoes .em { background: #123a6b; }
.pt-share-acoes .pr { background: #6b5344; }
.pt-share-dest { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-share-dest button { display: flex; align-items: center; gap: 6px; border: 1px solid #c8d4e4; background: #fff; border-radius: 99px; padding: 4px 10px 4px 4px; cursor: pointer; font-size: 12px; }
.pt-share-dest button.on { border-color: #123a6b; background: #e3ecf7; }
.pt-share-dest img, .pt-share-dest i { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: #c5d0de; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
@media print {
    .overlay { position: static; background: #fff; padding: 0; }
    .pt-ov .sheet-h button, .pt-ov .sheet-f, .pt-share-acoes, .pt-share-dest, .pt-ov-font, .ml-mbox4 { display: none !important; }
    .pt-ov.sheet { box-shadow: none; width: 100%; max-height: none; }
}

.pt-ck-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 6px; }
.pt-ck-bar button {
    min-width: 34px; height: 32px; border: 0; border-radius: 8px; cursor: pointer;
    font-weight: 800; font-size: 15px; color: #fff;
}
.pt-ck-add { background: #123a6b !important; }
.pt-ck-up { background: #1b6b3a !important; }
.pt-ck-up2 { background: #1565c0 !important; }
.pt-ck-dn { background: #b3261e !important; }
.pt-ck-bar .tl-ck-cor { width: 18px !important; height: 18px !important; min-width: 18px !important; border-radius: 4px !important; }
.tl-sub-lista li.sel { background: #dce8f6; outline: 1px solid #123a6b55; }
.pt-sub-ta { width: 100%; min-height: 140px; resize: vertical; font: inherit; border: 1px solid #c5d0de; border-radius: 10px; padding: 10px; }

.pt-dlg-thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 38vh; overflow: auto; }
.pt-dlg-thread li { max-width: 88%; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid #d5dde8; }
.pt-dlg-thread li.eu { margin-left: auto; background: #e3ecf7; border-color: #b7c9e0; }
.pt-dlg-thread .meta { display: flex; gap: 8px; font-size: 11px; color: #6b7a8d; }
.pt-dlg-obs { background: #fff8e8; border: 1px solid #ead9a8; border-radius: 10px; padding: 8px 10px; font-size: 13px; }

.pt-gal { display: grid; gap: 8px; }
.pt-gal-palco { position: relative; min-height: 220px; background: #0d1624; border-radius: 12px; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.pt-gal-slide {
    grid-area: 1 / 1; width: 100%; min-height: 220px;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; z-index: 0; pointer-events: none;
}
.pt-gal-slide.on { opacity: 1; visibility: visible; z-index: 1; }
.pt-gal-palco img, .pt-gal-palco video { max-width: 100%; max-height: 52vh; }
.pt-gal-palco img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.pt-visor {
    position: fixed; inset: 0; z-index: 10200;
    background: rgba(6, 10, 18, .9);
    display: grid; place-items: center; padding: 12px;
}
.pt-visor-stage {
    position: relative; width: min(96vw, 1100px); height: min(88vh, 920px);
    display: grid; place-items: center; touch-action: none;
}
.pt-visor-slide {
    grid-area: 1 / 1; width: 100%; height: 100%;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; z-index: 0; pointer-events: none;
}
.pt-visor-slide.on { opacity: 1; visibility: visible; z-index: 1; }
.pt-visor-stage img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.pt-visor-stage img.g90, .pt-visor-stage img.g270 { transform: rotate(90deg) scale(.75); }
.pt-visor-stage img.g270 { transform: rotate(270deg) scale(.75); }
.pt-visor-stage img.g180 { transform: rotate(180deg); }
.pt-visor-gir {
    position: absolute; bottom: 8px; z-index: 6;
    width: 44px; height: 44px; border: 0; border-radius: 10px; cursor: pointer;
    background: rgba(10, 31, 61, .82); color: #fff; font-size: 22px; line-height: 1;
}
.pt-visor-gir.esq { left: 8px; }
.pt-visor-gir.dir { right: 8px; }
.pv-thumb img.g90, .rf-fotos img.g90 { transform: rotate(90deg) scale(.72); }
.pv-thumb img.g270, .rf-fotos img.g270 { transform: rotate(270deg) scale(.72); }
.pv-thumb img.g180, .rf-fotos img.g180 { transform: rotate(180deg); }
.pt-visor-x {
    position: absolute; top: 0; right: 0; z-index: 2;
    width: 36px; height: 36px; border: 0; border-radius: 8px; cursor: pointer;
    background: rgba(10, 31, 61, .82); color: #fff; font-size: 22px; line-height: 1;
}
.pt-visor-n {
    position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
    margin: 0; padding: 2px 8px; border-radius: 999px;
    background: rgba(10, 31, 61, .72); color: #f6edd4; font-size: 12px; font-weight: 700;
}
.pt-visor-leg {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2;
    margin: 0; max-width: calc(100% - 108px); padding: 6px 12px; border-radius: 999px;
    background: rgba(10, 31, 61, .82); color: #fff; font-size: 15px; font-weight: 800;
    text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rf-visor-grande .pt-visor-stage { width: min(96vw, 1600px); height: min(92vh, 1200px); }
.rf-visor-grande .pt-visor-x { width: 44px; height: 44px; font-size: 28px; }
.rf-visor-grande .pt-visor-leg {
    padding: 10px 22px; font-size: 30px; line-height: 1.2; max-width: calc(100% - 120px);
}
.pt-visor-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; pointer-events: auto;
    width: 42px; height: 64px; border: 0; border-radius: 8px; cursor: pointer;
    background: rgba(10, 31, 61, .78); color: #fff; font-size: 28px; font-weight: 700; line-height: 1;
}
.pt-visor-nav.ant { left: 6px; }
.pt-visor-nav.pos { right: 6px; }
.pt-visor-nav.pri, .pt-visor-nav.ult {
    top: auto; bottom: 10px; transform: none; height: 36px; width: 44px; font-size: 18px;
}
.pt-visor-nav.pri { left: 6px; }
.pt-visor-nav.ult { right: 6px; }
.pt-visor-nav.off, .pt-visor-nav:disabled { opacity: .35; cursor: default; }
.ml-thumb-btn, .tl-msg-img-btn {
    border: 0; padding: 0; background: transparent; cursor: pointer; line-height: 0;
}
.pt-gal-palco audio, .pt-gal-doc { width: 90%; }
.pt-gal-meta { font-size: 12px; color: #4a5c74; }
.pt-gal-film { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.pt-gal-film button { flex: none; width: 56px; height: 56px; border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden; background: #e8edf4; cursor: pointer; }
.pt-gal-film button.on { border-color: #123a6b; }
.pt-gal-film img { width: 100%; height: 100%; object-fit: cover; }

.pt-resp-cards { display: flex; flex-wrap: wrap; gap: 6px; max-height: 46vh; overflow: auto; align-content: flex-start; padding: 2px 0; }
.pt-resp-pill {
    display: inline-flex; align-items: center; gap: 5px; text-align: left;
    border: 1px solid var(--pill-bd, #c8d4e4); background: var(--pill-bg, #fff); color: var(--pill-fg, #0a1f3d);
    border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font: inherit;
    font-size: 12px; font-weight: 800; max-width: 100%;
}
.pt-resp-pill.on { border-color: var(--pill-fg, #123a6b); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pill-fg, #123a6b) 25%, transparent); background: var(--pill-bg, #e8f0fa); color: var(--pill-fg, #123a6b); }
.pt-resp-pill img, .pt-resp-pill i {
    width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    background: #c5d0de; display: grid; place-items: center; font-weight: 800; font-size: 11px; font-style: normal;
}
.pt-resp-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.pt-resp-hoje { font-size: 15px; font-weight: 750; color: #123a6b; margin: 0; }

.tl-estat-btn {
    width: 36px; height: 40px; padding: 3px 0 12px; border: 0; background: transparent; cursor: pointer;
    border-radius: 8px; display: grid; place-items: start center; box-sizing: border-box;
    overflow: visible;
}
.tl-estat-btn.on, .tl-estat-btn:hover { background: rgba(18,58,107,.1); }
.tl-estat-pizza {
    width: 28px; height: 28px; border-radius: 50%;
    background: conic-gradient(#e3c05c 0 40%, #123a6b 40% 72%, #8a93a3 72% 100%);
    box-shadow: inset 0 0 0 2px #0d2344, 0 0 0 1px rgba(0,0,0,.2);
}
/* Dash da lista: uma faixa baixa, três cartões lado a lado, legenda em chips clicáveis */
.tl-dash { padding: 6px 8px 7px; background: #f4f6f9; border: 1px solid #d5dde8; border-radius: 0 0 12px 12px; display: grid; gap: 5px; }
.tl-painel-filtro .tl-dash-filtro {
    margin: 0 0 8px; padding: 8px 10px 7px;
    background: #e7edf4; border: 1px solid #c5d0de; border-radius: 10px;
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(10, 31, 61, .06);
}
.tl-dash-hdr { margin-bottom: 2px; }
.tl-dash-hdr .tl-painel-fechar { margin-left: auto; }
.tl-dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tl-dash-card {
    background: #fff; border: 1px solid #d5dde8; border-radius: 10px; padding: 5px 7px 6px;
    display: grid; gap: 4px; min-width: 0; transition: border-color .12s, box-shadow .12s;
}
.tl-dash-card.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,163,90,.22); }
.tl-dash-head {
    display: flex; align-items: center; gap: 7px; border: 0; background: none; padding: 0; cursor: pointer;
    text-align: left; color: #33465e; min-width: 0;
}
.tl-dash-head:hover .tl-dash-tit { color: #123a6b; }
.tl-dash-donut { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(10,31,61,.08); position: relative; }
.tl-dash-donut::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.tl-dash-tit { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4a5c74; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-dash-tot { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1; color: #123a6b; margin-left: auto; flex: none; }
.tl-dash-leg { display: flex; flex-wrap: wrap; gap: 3px; }
.tl-dash-chip {
    display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
    border: 1px solid #dfe5ee; background: #f7f9fc; color: #33465e; border-radius: 999px;
    padding: 1px 7px 1px 5px; font-size: 10.5px; font-weight: 600; cursor: pointer; line-height: 1.5;
}
.tl-dash-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 11em; }
.tl-dash-chip b { font-weight: 800; color: #123a6b; }
.tl-dash-chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tl-dash-chip:hover { border-color: #b9c6d8; background: #fff; }
.tl-dash-chip.on { background: #123a6b; border-color: var(--gold); color: #fff; }
.tl-dash-chip.on b { color: #ffe9b8; }
.tl-dash-chip:disabled { cursor: default; opacity: .8; }
.tl-dash-limpar {
    justify-self: center; border: 0; background: transparent; color: #123a6b; font-size: 10.5px; font-weight: 700;
    cursor: pointer; padding: 0 4px; text-decoration: underline dotted rgba(18,58,107,.5); text-underline-offset: 3px;
}
.tl-dash-limpar:hover { color: #0a1f3d; }
@media (max-width: 720px) {
    .tl-dash-grid { grid-template-columns: 1fr; }
    .tl-dash-card { padding: 5px 8px; }
    .pt-share-acoes { grid-template-columns: 1fr 1fr; }
}

.tl-apar-tex-box {
    margin-top: 10px; padding: 7px 8px 8px; border-radius: 6px;
    border: 1px solid var(--pn-line, rgba(255,255,255,.22));
    background: rgba(255,255,255,.22);
}
.tl-apar-tex-box .tl-pf-dir-tit { margin-bottom: 4px; }
.tl-painel-apar .tl-tema-tex-compact {
    display: flex; flex-wrap: nowrap; gap: 3px; margin: 0 0 6px;
}
.tl-painel-apar .tl-tema-tex-compact .tl-tema-tex-opt {
    flex: 1 1 0; min-width: 0; justify-content: center;
    padding: 2px 1px; font-size: 8px; gap: 0; border-radius: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    border-color: var(--pn-line, rgba(255,255,255,.18));
    background: var(--pn-fill, rgba(255,255,255,.06));
    color: var(--pn-fg, #dfe6f0);
}
.tl-painel-apar .tl-tema-tex-compact .tl-tema-tex-opt.on {
    background: #fff; color: #0a1f3d; border-color: var(--gold);
}
.tl-painel-apar .tl-tema-tex-compact .tl-tema-tex-opt i { display: none; }
.tl-apar-prev .tl-task {
    display: block; width: 100%; max-width: 100%;
    height: 22px; max-height: 22px; line-height: 22px; font-size: 12px;
    padding: 0 6px; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background-repeat: repeat;
}
.tl-apar-prev .tl-task-cat {
    color: #1a2434 !important; font-weight: 600;
    background: color-mix(in srgb, var(--cat-bg, #b8cfe8) calc(var(--pt-cat, 100) * 1%), #fff);
}
.tl-apar-prev .tl-task-critica {
    background-color: #111 !important; color: #fff !important; font-weight: 700 !important;
}
@media (max-width: 800px) {
    .tl-painel-apar .tl-tema-tex-compact { flex-wrap: wrap; }
    .tl-painel-apar .tl-tema-tex-compact .tl-tema-tex-opt { flex: 1 1 calc(33.33% - 3px); font-size: 9px; }
}

.dock-ckp {
    background: #146c2e; border-color: rgba(255, 255, 255, .16);
    font-size: 13.5px; font-weight: 800;
}
.dock-ckp:hover { background: #1a8338; }
.dock-ckp-arq {
    background: #3d4a28; border-color: rgba(196, 163, 90, .4);
}
.dock-ckp-arq:hover { background: #4e5c32; }
.dock-ckp-arq.on { outline: 2px solid #c4a35a; outline-offset: -1px; }
.tl-ln-ckp .tl-task { outline: 1px solid rgba(196,163,90,.45); }
.tl-ckp-ico {
    width: 22px; height: 22px; padding: 0; border: 0; cursor: pointer; vertical-align: middle;
    background: center / 20px 20px no-repeat; background-color: transparent;
}
.tl-ckp-ico.iniciar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23c4a35a' stroke-width='2'/%3E%3Cpath d='M10 8.2l6.5 3.8L10 15.8z' fill='%23c4a35a'/%3E%3C/svg%3E");
}
.tl-ckp-ico.andamento {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23123a6b' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4.2' fill='%23e2b13a'/%3E%3C/svg%3E");
    animation: ckp-pulse 1.4s ease-in-out infinite;
}
.tl-ckp-ico.fechar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23123a6b'/%3E%3Cpath d='M7.2 12.4l3.1 3.1 6.5-6.6' fill='none' stroke='%23f3e6b8' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tl-ckp-ico.encerrado {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='11' width='18' height='10' rx='2' fill='%233d4a28'/%3E%3Cpath d='M12 4v9' fill='none' stroke='%23d4c48a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M8.4 9.6L12 13.2l3.6-3.6' fill='none' stroke='%23d4c48a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 16h10' fill='none' stroke='%23e8d9a0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.tl-ckp-ico.ata {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5' width='16' height='14' rx='2' fill='none' stroke='%238a6a28' stroke-width='2'/%3E%3Cpath d='M8 9h8M8 12h8M8 15h5' fill='none' stroke='%238a6a28' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
@keyframes ckp-pulse {
    0%, 100% { transform: scale(1); filter: none; }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 4px rgba(226,177,58,.7)); }
}

.sheet.ckp-criar {
    width: min(780px, 96vw);
    background: linear-gradient(180deg, #a4a5a3 0%, #949593 42%, #868785 100%);
    color: #1e2226;
    border: 1px solid rgba(90,85,70,.28);
    box-shadow: 0 28px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.28);
}
.ckp-criar-h {
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px 14px;
    background: linear-gradient(180deg, #b2b3b1, #a2a3a1);
    border-bottom: 1px solid rgba(90,85,70,.22);
}
.ckp-logo {
    width: 90px; height: 70px; flex: none;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.4), 0 0 0 1px rgba(196,163,90,.35);
    background: #050505;
}
.ckp-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ckp-criar-tit { flex: 1; min-width: 0; }
.ckp-criar-h h2.ckp-eyebrow {
    margin: 0; flex: none; font-size: 26px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #146c2e;
    font-family: Verdana, Geneva, sans-serif;
}
.ckp-criar-sub {
    margin: 2px 0 0; font-size: 15px; font-weight: 650; letter-spacing: .01em;
    color: #2a2e32;
}
.ckp-criar-meta { margin: 4px 0 0; font-size: 12.5px; color: #3a3f44; line-height: 1.35; }
.ckp-x { background: rgba(0,0,0,.08); color: #2a2e32; }
.ckp-x:hover { background: rgba(0,0,0,.16); }
.ckp-criar .ckp-criar-b { display: grid; gap: 12px; padding: 14px 18px 10px; }
.ckp-fld { display: grid; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: #2a2416; }
.ckp-criar .sheet-b input:not([type=checkbox]),
.ckp-criar .sheet-b select,
.ckp-periodo,
.ckp-meet-link {
    width: 100%; margin-top: 0; height: 34px; padding: 0 10px;
    border: 1px solid #7a7d7a;
    border-radius: 8px; background: #cfd0ce;
    color: #1a1c1e; font: inherit;
}
.ckp-criar .sheet-b input:focus,
.ckp-criar .sheet-b select:focus {
    outline: none; border-color: rgba(196,163,90,.55);
    box-shadow: 0 0 0 2px rgba(196,163,90,.18);
}
.ckp-criar-quando, .ckp-criar-topo { display: grid; grid-template-columns: 1.55fr 1.05fr .72fr .72fr; gap: 8px; align-items: end; }
.ckp-rec-btn {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    width: 100%; height: 34px; padding: 0 10px;
    border: 1px solid #7a7d7a; border-radius: 8px;
    background: #cfd0ce; color: #1a1c1e; font: inherit; font-weight: 650; cursor: pointer; text-align: left;
}
.ckp-rec-btn.on, .ckp-rec-btn:hover { border-color: rgba(196,163,90,.7); }
.ckp-rec-btn i {
    width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid #5a5e62; flex: none;
}
.ckp-rec {
    display: grid; gap: 10px;
    padding: 10px 12px; border-radius: 12px;
    background: #e4f0e8;
    border: 1px solid #b7cfc0;
}
.ckp-rec-tit { font-size: 15px; color: #1a3d28; }
.ckp-rec-grid { display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 8px; }
.ckp-rec-grid.sozinha { grid-template-columns: minmax(180px, 280px); }
.ckp-dias { display: flex; gap: 5px; flex-wrap: wrap; }
.ckp-dia {
    min-width: 42px; height: 28px; padding: 0 8px; border-radius: 8px;
    border: 1px solid #7a7d7a; background: #cfd0ce;
    color: #2a2e32; font-weight: 700; font-size: 12px; cursor: pointer;
}
.ckp-dia.on { background: rgba(196,163,90,.28); border-color: var(--gold); color: #1a160c; }
.ckp-diames { max-width: 140px; }
.ckp-rec-prev {
    display: flex; flex-direction: column; gap: 2px; margin: 2px 0 0;
    color: #1a160c; line-height: 1.15;
}
.ckp-rec-prev b {
    font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: #1a160c;
    font-family: "Cormorant Garamond", serif;
}
.ckp-rec-prev span { font-size: 16px; font-weight: 650; color: #2a2416; }
.ckp-rec-prev-vazia { font-size: 15px; font-weight: 650; color: #5c4300; }
.ckp-rec-limite { color: #6a5728; }
.ckp-rec-mini { margin: -4px 0 0; font-size: 12px; color: #4e5358; }
.ckp-datas {
    display: flex; flex-wrap: wrap; gap: 4px; max-height: 168px; overflow: auto;
    padding: 2px 0 0;
}
.ckp-datas i {
    font-style: normal; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums;
    padding: 2px 7px; border-radius: 6px; background: #cfd0ce; color: #1e2226;
    border: 1px solid #7a7d7a;
}
.ckp-datas i.fim { background: rgba(196,163,90,.32); border-color: var(--gold); color: #1a160c; }
.ckp-ghost {
    border: 1px solid rgba(196,163,90,.55); background: transparent; color: #6a5728;
    border-radius: 8px; padding: 5px 11px; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer;
}
.ckp-ghost:hover { background: rgba(196,163,90,.18); }
.ckp-sec { display: grid; gap: 8px; }
.ckp-sec-tit {
    margin: 2px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: #1a160c;
}
.ckp-hint { margin: 0; font-size: 12px; color: #2e3338; }
.ckp-meet { display: flex; gap: 6px; flex-wrap: wrap; }
.ckp-pill {
    border: 1px solid #7a7d7a; background: #cfd0ce;
    color: #2a2e32; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 12px; cursor: pointer;
}
.ckp-pill.on { background: linear-gradient(135deg, #c4a35a, #b8944a); color: #1a160c; border-color: var(--gold); }
.ckp-pill:disabled { opacity: .45; cursor: default; }
.ckp-busca { display: flex; gap: 6px; }
.ckp-busca input { flex: 1; }
.ckp-aviso {
    margin: 0; font-size: 12px; color: #5c4300; background: #f4ead0;
    border: 1px solid rgba(196,163,90,.45); border-radius: 8px; padding: 6px 10px;
}
.ckp-aviso a { color: var(--gold); font-weight: 700; }
.ckp-contatos { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; max-height: 140px; overflow: auto; }
.ckp-contatos button {
    width: 100%; text-align: left;     border: 1px solid #7a7d7a;
    background: #cfd0ce; border-radius: 7px; padding: 5px 9px; cursor: pointer;
    font-size: 12px; color: #4e5358; display: flex; gap: 8px; align-items: baseline;
}
.ckp-contatos button:hover { border-color: rgba(196,163,90,.6); }
.ckp-contatos b { color: #1a1c1e; }
.ckp-invites { display: flex; gap: 6px; flex-wrap: wrap; }
.ckp-invite {
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    border: 1px solid rgba(196,163,90,.55); background: rgba(196,163,90,.22);
    color: #1a160c; border-radius: 999px; padding: 3px 8px 3px 10px; font-size: 12px; font-weight: 600;
}
.ckp-invite button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.ckp-escopo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ckp-box {
    border-radius: 12px; padding: 8px 10px 10px; min-width: 0;
}
.ckp-box-proj { background: #e4eef8; }
.ckp-box-resp { background: #f6ead9; }
.ckp-obriga { display: flex; gap: 6px; margin: 0 0 6px; }
.ckp-obriga button {
    flex: 1; border: 1px solid #c5b48a; background: #f3efe6; color: #3a3220;
    border-radius: 8px; padding: 6px 8px; font-size: 12px; font-weight: 750; cursor: pointer;
}
.ckp-obriga button.on { background: #c4a35a; color: #1a160c; border-color: #a8883e; }
.ckp-col-tit {
    display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
    font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1a160c; margin-bottom: 6px;
}
.ckp-col-tit.ckp-rec-tit { font-size: 15px; color: #1a3d28; }
.ckp-col-links { display: flex; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.ckp-col-links button {
    border: 0; background: none; color: #1a160c; cursor: pointer; font: inherit;
    font-size: 13px; font-weight: 750; padding: 0; text-decoration: underline;
    text-underline-offset: 2px;
}
.ckp-col-links button:hover { color: #3d3420; }
.ckp-chips {
    display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px;
    max-height: 168px; overflow: auto; padding: 2px 2px 4px 0;
    scrollbar-width: thin;
}
.ckp-chip {
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap; flex: none; height: 28px; max-width: 100%;
    padding: 0 10px 0 8px; border-radius: 999px; cursor: pointer;
    border: 1px solid #c3c8ce; background: #fff;
    color: #1e2226; font-size: 12px; font-weight: 600;
}
.ckp-box-proj .ckp-chip.on { background: #c5d8ee; border-color: #7a9cc0; color: #12324f; }
.ckp-box-resp .ckp-chip.on { background: #edd7b0; border-color: #c4a35a; color: #3d2e12; }
.ckp-chip input[type=checkbox] {
    width: 13px !important; height: 13px !important; margin: 0 !important; padding: 0 !important;
    flex: none; accent-color: var(--gold); cursor: pointer;
}
.ckp-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex: none; }
.ckp-chip span { overflow: hidden; text-overflow: ellipsis; }
.ckp-erro { margin: 0; color: #f0b4a8; font-size: 13px; font-weight: 650; }
.ckp-criar-f {
    padding: 12px 18px 16px; background: rgba(0,0,0,.05);
    border-top: 1px solid rgba(140,130,100,.22); justify-content: space-between;
}
.ckp-cancel, .ckp-save { min-height: 38px; padding: 0 18px; border-radius: 9px; font-weight: 750; border: 0; cursor: pointer; }
.ckp-cancel { background: #c42b2b; color: #fff; }
.ckp-cancel:hover { background: #a82424; }
.ckp-save { background: linear-gradient(180deg, #c4a35a, #a8873e); color: #1a160c; }
.ckp-criar-f .ckp-save { color: #146c2e; font-family: Verdana, Geneva, sans-serif; font-weight: 700; }
.ckp-board .ckp-save { display: inline-flex; align-items: baseline; gap: 6px; }
.ckp-save:disabled { opacity: .4; cursor: default; }

.ckp-board {
    width: min(760px, 96vw) !important; max-height: 92vh;
    --pt-pill-h: 18px; --pt-font-task: 12px; --pt-row-scale: 1; --pt-cat: 100;
    display: flex; flex-direction: column; overflow: hidden;
    background-color: #8e8f8d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    color: #1e2226;
    border: 1px solid rgba(90,85,70,.28);
    box-shadow: 0 28px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.28);
}
.ckp-board-h h2.ckp-eyebrow,
.sheet.ckp-board .sheet-h h2 {
    color: #b42318; flex: none; margin: 0;
    font-size: 26px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; font-family: "Cormorant Garamond", serif;
    line-height: 1;
}
.ckp-board-h {
    align-items: center; gap: 10px; flex: none;
    padding: 6px 14px 5px;
    background: linear-gradient(180deg, #8a8b89, #7a7b79);
    border-bottom: 1px solid rgba(90,85,70,.22);
}
.ckp-board-linha1 {
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
    min-width: 0;
}
.ckp-board-quando {
    font-size: 14px; font-weight: 650; color: #1e2226; letter-spacing: .01em;
    white-space: nowrap;
}
.ckp-board-escopo {
    margin: 3px 0 0; font-size: 12px; color: #3a3f44; line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ckp-board-h .ckp-logo { width: 48px; height: 38px; border-radius: 10px; }
.ckp-board-b { display: grid; gap: 8px; overflow: auto; flex: 1; min-height: 0; padding: 8px 12px 8px; }
.ckp-board-f {
    flex: none; padding: 10px 14px 12px; gap: 8px;
    background: rgba(0,0,0,.05);
    border-top: 1px solid rgba(140,130,100,.22);
    justify-content: flex-end;
}
.ckp-board-acoes { display: flex; gap: 8px; align-items: center; }
.ckp-board .pt-ov-hint { color: #2a2e32; margin: 0 0 6px; }
.sheet.ckp-board { overflow: hidden; }
.ckp-prog { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ckp-meter { flex: 1; min-width: 140px; height: 8px; border-radius: 99px; background: rgba(30,34,38,.18); overflow: hidden; }
.ckp-meter i { display: block; height: 100%; background: linear-gradient(90deg, #b8944a, #e2b13a); border-radius: 99px; }
.ckp-prog b { font-size: 12px; color: #1a160c; font-weight: 750; }
.ckp-andar h3 {
    margin: 0 0 6px; font-size: 13.2px; letter-spacing: .05em; text-transform: uppercase;
    color: #2a2e32; font-weight: 750;
}
.ckp-andar-2 {
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid rgba(30,34,38,.22);
}
.ckp-prog-dem { margin: 0 0 8px; }
.ckp-prog-dem .ckp-meter { height: 7px; }
.ckp-prog-dem b { font-size: 11px; }
.ckp-grp {
    margin: 7px 0 3px; font-size: 10px; font-weight: 750; letter-spacing: .04em;
    text-transform: uppercase; color: #3a3f44;
}
.ckp-ln {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px 16px 120px;
    gap: 4px 6px; align-items: center;
    padding: 2px 4px; margin: 0 0 2px;
    border-radius: 6px; background: rgba(255,255,255,.30);
    border: 1px solid transparent;
    overflow: visible; position: relative;
}
.ckp-ln.atualizada { background: rgba(232, 220, 170, .28); z-index: 1; }
.ckp-ln.fala { outline: 1px solid rgba(196,163,90,.7); }
.ckp-ln.flash { animation: ckp-ln-flash 1.6s ease; }
@keyframes ckp-ln-flash {
    0% { box-shadow: 0 0 0 0 rgba(230,122,34,.0); }
    25% { box-shadow: 0 0 0 3px rgba(230,122,34,.55); }
    100% { box-shadow: 0 0 0 0 rgba(230,122,34,.0); }
}
.ckp-ln .tl-task {
    display: flex; align-items: center; gap: 4px;
    position: relative;
    min-width: 0; width: 100%;
    height: calc(var(--pt-pill-h) * var(--pt-row-scale, 1));
    max-height: calc(var(--pt-pill-h) * var(--pt-row-scale, 1));
    line-height: calc(var(--pt-pill-h) * var(--pt-row-scale, 1));
    font-size: var(--pt-font-task);
    padding-right: 24px;
    overflow: hidden;
}
.ckp-ln .ckp-emo { flex: none; }
.ckp-ln .ckp-tit {
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    border: 0; padding: 0; margin: 0; background: none; color: inherit; font: inherit;
    text-align: left; cursor: pointer;
}
.ckp-pouso {
    position: absolute; right: 1px; top: 50%;
    width: 22px; height: 22px;
    transform: translateY(-50%);
    pointer-events: none;
}
.ckp-pouso.on { pointer-events: auto; }
.ckp-stamp-btn {
    display: grid; place-items: center;
    width: 22px; height: 22px; padding: 0; border: 0;
    background: none; cursor: pointer;
}
.ckp-stamp-btn:disabled { cursor: default; }
.ckp-stamp {
    width: 22px; height: 22px;
    object-fit: contain; background: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.ckp-tick-voo { display: block; object-fit: contain; z-index: 1200; }
.ckp-ln .est { font-size: 12px; min-width: 28px; line-height: 15px; justify-self: center; }
.ckp-ln .est.hot, .ckp-ln .est.late { min-width: 26px; padding: 0 3px; }
.ckp-ln .av { width: 16px; min-width: 16px; height: 14px; font-size: 9px; cursor: pointer; }
.overlay.ckp-pop { z-index: 1100; }
body:has(.ckp-ov) .overlay:not(.ckp-ov) { z-index: 1100; }
.ckp-icos {
    display: grid; grid-template-columns: 24px 24px 24px 24px 24px;
    align-items: center; justify-items: center;
}
.ckp-ico-mid {
    display: inline-flex; align-items: center; justify-content: center; gap: 0;
    width: 24px; height: 22px; min-width: 24px; padding: 0; border: 0;
    background: none; cursor: pointer; font: inherit; border-radius: 5px; color: #1e2226;
}
.ckp-ico-mid.novo { background: #e67a22; color: #fff; }
.ckp-icos .tl-dlg-btn, .ckp-ico-prazo, .ckp-ico-visto, .ckp-ico-baixa, .ckp-ico-slot {
    display: inline-grid; place-items: center;
    width: 24px; height: 22px; min-width: 24px; padding: 0;
    border: 0; background: none; cursor: pointer; font: inherit;
    border-radius: 5px; color: #1e2226;
}
.ckp-ico-slot { cursor: default; }
.ckp-ico-prazo.on, .ckp-ico-baixa.on { background: rgba(26,22,12,.16); }
.ckp-ico-visto img {
    width: 17px; height: 17px; object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.ckp-board .ckp-enc-preto { color: #111; font-weight: 750; font-size: 13.5px; }
.ckp-board .ckp-enc-nome {
    color: #2f3d12 !important;
    -webkit-text-fill-color: #2f3d12;
    font-family: "Cormorant Garamond", serif;
    font-weight: 800; font-style: normal;
    letter-spacing: .1em; font-size: 26px;
    text-transform: uppercase; line-height: 1;
    opacity: 1;
}
.ckp-ico-visto:disabled { cursor: default; opacity: .55; }
.ckp-ico-baixa { font-size: 12px; }
.ckp-ln-extra {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 4px 2px 2px;
}
.ckp-ln-extra input[type=date] {
    height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(30,34,38,.25);
    background: #ecece8; color: #1e2226;
}
.ckp-ln-perigo span { font-size: 12px; font-weight: 650; color: #5c1a12; }
.ckp-ln-err { grid-column: 1 / -1; margin: 0; }
.ckp-cancel.xs, .ckp-save.xs, .btn-save.xs, .ghost.xs {
    min-height: 30px; padding: 0 10px; font-size: 12px;
}
.ckp-fala-emb {
    flex: none; max-height: 42%; overflow: auto; z-index: 2;
    border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
    background: rgba(255,255,255,.55);
    border-top: 1px solid rgba(30,34,38,.16);
}
.ckp-fala-h {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    background: rgba(0,0,0,.08); border-bottom: 1px solid rgba(30,34,38,.1);
}
.ckp-fala-h b { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ckp-fala-b { padding: 8px 10px; display: grid; gap: 8px; }
.ckp-fala-thread { max-height: 180px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.ckp-fala-f {
    display: flex; justify-content: flex-end; gap: 8px; padding: 8px 10px 10px;
    border-top: 1px solid rgba(30,34,38,.1);
}
.ckp-fala-f .btn-cancel { background: #b42318; color: #fff; border: 0; }
.ckp-board .ghost {
    border: 0; background: rgba(26,22,12,.1); color: #1e2226; border-radius: 8px;
    min-height: 32px; padding: 0 12px; cursor: pointer; font: inherit; font-weight: 650;
}
@media (max-width: 800px) {
    .overlay:has(.ckp-criar) { padding: 0; align-items: stretch; }
    .sheet.ckp-criar {
        width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh;
        border-radius: 0; border: 0;
    }
    .ckp-criar-h { padding: 12px 12px 10px; gap: 10px; }
    .ckp-logo { width: 64px; height: 50px; border-radius: 12px; }
    .ckp-criar-h h2.ckp-eyebrow { font-size: 22px; letter-spacing: .08em; }
    .ckp-criar-sub { font-size: 14px; }
    .ckp-criar .ckp-criar-b { padding: 12px 12px 8px; gap: 10px; }
    .ckp-criar-topo { grid-template-columns: 1fr 1fr 1fr; }
    .ckp-fld-nome { grid-column: 1 / -1; }
    .ckp-rec-grid, .ckp-escopo { grid-template-columns: 1fr; }
    .ckp-rec-grid.sozinha { grid-template-columns: 1fr; }
    .ckp-rec-prev b { font-size: 26px; }
    .ckp-rec-prev span { font-size: 15px; }
    .ckp-meet { flex-wrap: wrap; }
    .ckp-busca { flex-wrap: wrap; }
    .ckp-busca .ckp-ghost { flex: none; }
    .ckp-criar-f { flex-wrap: wrap; padding: 10px 12px 14px; }
    .ckp-criar-f .ckp-cancel, .ckp-criar-f .ckp-save { flex: 1 1 140px; }
    .ckp-board { width: 100% !important; max-height: none; height: 100dvh; border-radius: 0; }
    .overlay:has(.ckp-board) { padding: 0; align-items: stretch; }
    .ckp-ln {
        grid-template-columns: minmax(0, 1fr) 32px;
        grid-template-areas:
            "task est"
            "av icos";
    }
    .ckp-ln .tl-task { grid-area: task; }
    .ckp-ln .est { grid-area: est; }
    .ckp-ln .av { grid-area: av; }
    .ckp-ln .ckp-icos { grid-area: icos; justify-self: end; }
}
@media (max-width: 420px) {
    .ckp-criar-topo { grid-template-columns: 1fr 1fr; }
    .ckp-fld-nome, .ckp-fld-data { grid-column: 1 / -1; }
    .ckp-criar-h h2.ckp-eyebrow { font-size: 20px; }
    .ckp-rec-prev b { font-size: 22px; }
    .ckp-dias { justify-content: space-between; }
    .ckp-dia { flex: 1 1 auto; min-width: 0; }
}

/* ── Módulo Projetos / ISO / Gantt (densidade ~40%: compacto, não minimalista) ─ */
.pj-page { max-width: 1100px; margin: 8px auto 20px; display: grid; gap: 8px; padding: 0 8px; color: #0a1f3d; }
.pj-page.wide { max-width: 1280px; }
.pj-page .muted { color: #3e4a5c !important; }
.pj-page .pg-card { padding: 10px 12px; gap: 8px; border-radius: 10px; box-shadow: 0 1px 2px rgba(10,31,61,.04); }
.pj-page .pg-card h3 { color: #5e4510; font-size: 10px; margin: 0 0 2px; }
.pj-form-compact { display: grid; gap: 6px; }
.pj-form-compact label { font-size: 12px; font-weight: 700; color: #0a1f3d; display: grid; gap: 3px; }
.pj-btn-fechar, .pj-page .btn-cancel, .pj-page button.x {
    background: #b42318; color: #fff; border: 0; border-radius: 8px; padding: 8px 14px;
    font-weight: 800; cursor: pointer; letter-spacing: .02em;
}
.pj-btn-fechar:hover, .pj-page .btn-cancel:hover { filter: brightness(1.08); }
.pj-hint { display: block; font-size: 11px; font-weight: 500; color: #3e4a5c; margin-top: 2px; line-height: 1.3; }
.pj-head { display: grid; gap: 6px; padding: 8px 10px; background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; border-top: 3px solid var(--pj-cor, #336699); }
.pj-back { font-size: 12px; font-weight: 800; color: #123a6b; text-decoration: none; width: max-content; }
.pj-back:hover { text-decoration: underline; }
.pj-head-nome { display: flex; gap: 8px; align-items: flex-start; }
.pj-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--pj-cor, #336699); margin-top: 5px; flex-shrink: 0; box-shadow: 0 0 0 2px color-mix(in srgb, var(--pj-cor) 25%, transparent); }
.pj-head-nome h1 { margin: 0; font-size: 20px; color: #0a1f3d; font-family: "Cormorant Garamond", serif; line-height: 1.15; }
.pj-head-nome .muted { margin: 1px 0 0; font-size: 12px; color: #3e4a5c; }
.pj-subnav { display: flex; flex-wrap: wrap; gap: 4px; }
.pj-sub { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 999px; background: #f4f7fb; color: #0a1f3d; text-decoration: none; font-size: 11px; font-weight: 700; border: 1px solid #d7deea; }
.pj-sub:hover { background: #e8eef8; }
.pj-sub.on { background: #0a1f3d; color: #fff; border-color: #0a1f3d; }
.pj-banner-warn { border-color: #e8b4b0; background: #fff5f4; }
.pj-banner-warn h3 { color: #8a1a12; }
.pj-banner { background: #fff6e5; border: 1px solid #f1dfa8; border-radius: 10px; padding: 8px 10px; display: grid; gap: 6px; }
.pj-banner h3 { margin: 0; color: #5c4300; font-size: 12px; }
.pj-banner-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between; background: #fff; border-radius: 8px; padding: 6px 8px; font-size: 13px; color: #0a1f3d; }
.pj-hub-list { display: flex; flex-flow: row wrap; gap: 10px; margin-top: 10px; align-items: flex-start; }
.pj-hub-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: transparent; border: 0; padding: 0; width: auto; max-width: 100%; }
.pj-hub-row { display: contents; }
.pj-pill {
    width: 100%; text-align: left; border: 0; border-radius: 22px; cursor: pointer;
    padding: 14px 18px 13px; color: #fff; display: grid; gap: 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 10px 22px -16px rgba(10,31,61,.7);
    text-shadow: 0 1px 1px rgba(0,0,0,.18);
}
.pj-pill-nome { font-size: 18px; font-weight: 800; line-height: 1.15; }
.pj-pill-sub { font-size: 13px; font-weight: 650; opacity: .94; }
.pj-pill-meta { font-size: 12px; font-weight: 700; opacity: .9; }
.pj-pill.on {
    outline: 3px solid #fff;
    box-shadow: 0 0 0 3px #0a1f3d, 0 14px 28px -16px rgba(10,31,61,.75);
}
.pj-hub-row.aberta .pj-hub-icos {
    background: #fff; border: 1px solid #dfe5ee; border-radius: 16px;
    padding: 10px 12px; margin: 0;
    box-shadow: 0 12px 26px -18px rgba(10,31,61,.55);
}
.pj-hub-row.off .pj-pill { filter: saturate(.7); opacity: .72; }
.pj-hub-main { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pj-hub-txt { flex: 1; min-width: 0; }
.pj-hub-sub {
    display: block; margin-top: 1px;
    font-size: 18px; font-weight: 600; color: #6a7c93;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pj-hub-nums {
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px;
    flex: none; max-width: 46%;
    font-size: 16px; font-weight: 750; color: #3e4a5c;
    font-variant-numeric: tabular-nums;
}
.pj-hub-icos { display: flex; flex-wrap: wrap; gap: 5px; padding-left: 18px; }
.pj-ico, .pj-ico-txt {
    display: inline-grid; place-items: center;
    width: 41px; height: 38px; padding: 0;
    border: 1px solid #d0d8e4; border-radius: 8px;
    background: #f7f9fc; color: #0a1f3d;
    text-decoration: none; font-size: 19px; line-height: 1; cursor: pointer;
}
.pj-ico:hover, .pj-ico-txt:hover { background: #e8eef8; }
.pj-ico.live { border-color: #e67a12; background: #fff4e8; }
.pj-ico-txt {
    width: auto; padding: 0 10px; font-size: 12px; font-weight: 800; color: #8a1a12;
    border-color: #f0b4b0; background: #fff5f4;
}
.pj-ico-txt.nao { color: #0a1f3d; border-color: #d0d8e4; background: #fff; }
.pj-hub-legenda {
    display: flex; flex-wrap: wrap; gap: 4px 12px;
    margin: 2px 0 0; padding: 0 2px;
    font-size: 12px; font-weight: 650; color: #6a7c93; line-height: 1.45;
}
.stage:has(.pj-hub-legenda) {
    background: linear-gradient(180deg, #e3e6ee 0%, #d2d7e1 100%);
}
@media (max-width: 720px) {
    .pj-hub-main { flex-wrap: wrap; }
    .pj-hub-nums { max-width: none; width: 100%; justify-content: flex-start; padding-left: 18px; }
}
.pj-hub-row.off { }
.pj-hub-l1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pj-hub-l1 .pj-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pj-cor, #336699); flex-shrink: 0; }
.pj-hub-nome { color: #0a1f3d; font-size: 15px; font-family: inherit; font-weight: 800; letter-spacing: .01em; }
.pj-hub-l1-desc { margin: 0; font-size: 12px; color: #3e4a5c; line-height: 1.35; padding-left: 20px; }
.pj-hub-l2 {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0;
    font-size: 11px; font-weight: 700; color: #3e4a5c; font-variant-numeric: tabular-nums;
    padding-left: 20px;
}
.pj-hub-sep { margin: 0 6px; color: #a8b4c4; font-weight: 400; }
.pj-hub-st.ativo { color: #0d6b5c; }
.pj-hub-st.enc { color: #6a7c93; }
.pj-hub-l3 { padding-left: 16px; }
.pj-hub { background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; border-top: 4px solid var(--pj-cor, #336699); padding: 10px 12px; display: grid; gap: 8px; }
.pj-hub.off { opacity: .72; }
.pj-hub-sel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pj-hub-sel label { font-size: 12px; font-weight: 800; color: #0a1f3d; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; min-width: 200px; }
.pj-hub-sel select { flex: 1; min-width: 160px; padding: 7px 10px; border: 1px solid #c3ccd9; border-radius: 8px; font: inherit; font-weight: 700; color: #0a1f3d; background: #fff; }
.pj-hub-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 12px; color: #3e4a5c; font-weight: 600; }
.pj-hub-meta b { color: #0a1f3d; font-size: 16px; font-family: "Cormorant Garamond", serif; }
.pj-hub-desc { margin: 0; font-size: 12px; color: #3e4a5c; }
.pj-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.pj-chip, .pj-selo { display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #eef3fa; color: #123a6b; line-height: 1.3; }
.pj-chip.gold, .pj-selo.gold { background: #f4ead0; color: #5e4510; }
.pj-chip.warn, .pj-selo.warn { background: #fff0e0; color: #9a4b00; }
.pj-pills { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; border: 0; }
.pj-pill { display: inline-flex; flex-direction: row; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 8px; border: 1px solid #d0d8e4; background: #f7f9fc; color: #0a1f3d; text-decoration: none; font-size: 12px; font-weight: 800; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.pj-pill small { display: none; }
.pj-hub-list .pj-pill {
    width: auto; max-width: min(440px, 100%); display: inline-grid; text-align: left; border: 0; border-radius: 999px;
    padding: 6px 14px; gap: 1px; cursor: pointer; white-space: normal;
    background-color: color-mix(in srgb, var(--pj-bg, #336699) calc(var(--pj-int, 100) * 1%), #fff);
    color: var(--pj-fg, #fff); text-shadow: none; font-size: 14px;
    box-shadow: 0 1px 2px rgba(10,31,61,.16);
}
.pj-hub-list .pj-pill .pj-pill-nome { font-size: 15px; font-weight: inherit; font-style: inherit; color: inherit; line-height: 1.15; }
.pj-hub-list .pj-pill .pj-pill-sub { font-size: 11px; font-weight: 400; font-style: normal; opacity: 1; line-height: 1.15; }
.pj-hub-list .pj-pill.on {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #e8c657, 0 14px 24px -10px rgba(10,31,61,.4);
    transform: translateY(-2px);
}
.pj-hub-list .pj-hub-icos {
    order: 2; flex: 1 0 100%;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
    gap: 10px; padding: 16px; margin: 4px 0 0; background: #e7ecf2;
    border-radius: 28px; border: 0; box-shadow: none;
}
.pj-hub-list .pj-acao {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; width: auto; height: auto; min-height: 75px; padding: 8px 6px;
    border-radius: 13px; background: #f7f8fa; border: 1px solid #d5dbe3;
    color: #1a2740; font-size: 27px; text-decoration: none; line-height: 1; cursor: pointer;
}
.pj-hub-list .pj-acao::after {
    content: attr(aria-label); font-size: 12px; font-weight: 750; line-height: 1.15; text-align: center; color: #1a2740;
}
.pj-hub-list .pj-acao.alerta { background: #fde8e8; border-color: #f0c4c6; color: #9a3b45; }
.pj-hub-list .pj-acao.alerta::after { color: #9a3b45; }
.pj-hub-list .pj-acao.live { border-color: #e67a12; background: #fff4e8; }
@media (max-width: 480px) {
    .pj-hub-escolha { padding: 10px 8px 12px; gap: 10px; }
    .pj-hub-escolha .pj-hub-icos,
    .pj-hub-list .pj-hub-icos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .pj-hub-palco .pj-acao,
    .pj-hub-list .pj-acao { min-height: 70px; padding: 6px 2px; }
    .pj-hub-palco .pj-acao::after,
    .pj-hub-list .pj-acao::after { white-space: nowrap; }
}
.pj-apar { display: grid; gap: 8px; }
.pj-apar-grade { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.pj-apar-grade label { display: grid; gap: 4px; font-size: 12px; font-weight: 750; color: #142033; }
.pj-apar-tom { display: flex; align-items: center; gap: 8px; }
.pj-apar-tom input { flex: 1; }
.pj-apar-tex, .pf-tex { display: flex; flex-wrap: wrap; gap: 6px; }
.pj-apar-tex button, .pf-tex button, .pf-pin-modos button {
    border: 1px solid #c5ced8; background: #fff; color: #142033; border-radius: 999px;
    padding: 6px 10px; font-size: 12px; font-weight: 750; cursor: pointer;
}
.pj-apar-tex button.on, .pf-tex button.on, .pf-pin-modos button.on { background: #0a1f3d; color: #fff; border-color: #0a1f3d; }
.pj-apar-prev {
    border-radius: 18px; padding: 14px 16px; display: grid; gap: 2px; min-height: 72px;
    background-color: color-mix(in srgb, var(--pj-bg, #336699) calc(var(--pj-int, 100) * 1%), #fff);
    color: var(--pj-fg, #fff);
}
.pj-apar-prev b { font-size: 18px; }
.pj-apar-prev span { font-size: 12px; opacity: .9; }
.pj-pill:hover { background: #e8eef8; }
.pj-pill.live { border-color: #e67a12; background: #fff4e8; color: #8a3d00; }
.pj-pill.danger { border-color: #f0b4b0; color: #8a1a12; }
.pj-card-foot { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: #3e4a5c; font-weight: 700; }
.pj-form { display: grid; gap: 8px; }
.pj-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pj-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 700; color: #0a1f3d; }
.pj-check input { margin-top: 3px; }
.pj-rf-box { background: #fff8e0; border: 1px solid #e8b84a; border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.pj-rf-box h4 { margin: 0; font-size: 14px; color: #0a1f3d; }
.pj-rf-box p { margin: 0; font-size: 12px; color: #3e4a5c; line-height: 1.4; }
.pj-rf-box .pj-check { background: #fff; border-radius: 8px; padding: 8px 10px; border: 1px solid #f0d48a; }
.pj-pills-dest { display: flex; flex-wrap: wrap; gap: 5px; }
.pj-pills-dest label { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; border: 1px solid #d7deea; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; color: #0a1f3d; }
.pj-pills-dest label.on { background: #0a1f3d; color: #fff; border-color: #0a1f3d; }
.pj-lista, .pj-zebra { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid #e3e9f2; border-radius: 8px; overflow: hidden; }
.pj-lista li, .pj-zebra li { display: grid; gap: 3px; padding: 6px 10px; background: #fff; border: 0; border-radius: 0; border-bottom: 1px solid #e8edf4; color: #0a1f3d; }
.pj-lista li:nth-child(even), .pj-zebra li:nth-child(even) { background: #f0f3f8; }
.pj-lista li:last-child, .pj-zebra li:last-child { border-bottom: 0; }
.pj-lista b, .pj-zebra b, .pj-lista .pj-nome { color: #0a1f3d; font-weight: 800; font-size: 13px; }
.pj-lista .muted, .pj-zebra .muted { color: #3e4a5c !important; font-size: 11px; }
.pj-lista .acoes, .pj-zebra .acoes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.pj-proc .pj-back { font-size: 24px; }
.pj-proc .pj-dot { width: 16px; height: 16px; margin-top: 18px; }
.pj-proc .pj-head-nome h1 { font-size: 50px; }
.pj-proc .pj-head-nome .muted { font-size: 24px; }
.pj-proc .pg-card h3 { font-size: 22px; }
.pj-proc .pj-lista li { gap: 6px; padding: 12px 14px; }
.pj-proc .pj-lista b { font-size: 26px; }
.pj-proc .pj-lista .muted { font-size: 22px; }
.pj-proc .pj-chip { font-size: 20px; padding: 3px 10px; }
.pj-cat-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 2px 0 10px; }
.pj-cat-toolbar .pj-cat-h { margin: 0; flex: 1 1 160px; font-size: 16px; font-weight: 800; color: #0a1f3d; font-family: "Cormorant Garamond", serif; }
.pj-cat-toolbar label { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; color: #0a1f3d; }
.pj-cat-toolbar select { min-width: 200px; padding: 7px 10px; border: 1px solid #c3ccd9; border-radius: 8px; font: inherit; font-weight: 700; color: #0a1f3d; background: #fff; }
.pj-cat-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 4px 0; }
.pj-cat-title { display: flex; align-items: center; gap: 8px; }
.pj-cat-title h1 { margin: 0; font-size: 18px; color: #0a1f3d; font-weight: 800; }
.pj-cat-wrap { background: #fff; border: 1px solid #d5dde8; border-radius: 10px; overflow: auto; }
.pj-cat-table { width: 100%; border-collapse: collapse; font-size: 13px; color: #0a1f3d; }
.pj-cat-table th { text-align: left; padding: 4px 8px; background: #eef2f7; color: #2f6b4f; font-size: 10px; font-weight: 800; letter-spacing: .04em; border-bottom: 1px solid #d0d8e4; white-space: nowrap; }
.pj-cat-table td { padding: 3px 8px; border-bottom: 1px solid #e8edf4; vertical-align: middle; }
.pj-cat-table tbody tr:nth-child(even) { background: #f7f9fc; }
.pj-cat-table tbody tr:hover { background: #eef4fb; }
.pj-cat-table tbody tr.on,
.pj-cat-table tbody tr.on:hover { background: #fff8e6; }
.pj-cat-table tbody tr.pj-cat-hit { cursor: pointer; }
.pj-cat-table tbody tr.pj-cat-editor,
.pj-cat-table tbody tr.pj-cat-editor:hover,
.pj-cat-table tbody tr.pj-cat-editor:nth-child(even) { background: #6e757e; }
.pj-cat-table tbody tr.pj-cat-editor td { padding: 0; border-bottom: 1px solid #4e555c; background: #6e757e; }
.pj-cat-table .mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 700; color: #33465e; letter-spacing: .02em; }
.pj-cat-tex-col { font-size: 12px; font-weight: 700; color: #33465e; white-space: nowrap; }
.pj-cat-table .num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.pj-cat-table .ativas { color: #123a6b; }
.pj-cat-table .baixadas { color: #b42318; }
.pj-cat-table .act { width: 72px; white-space: nowrap; text-align: right; }
.pj-cat-edit, .pj-cat-del { border: 0; background: transparent; cursor: pointer; font-size: 15px; padding: 2px 4px; line-height: 1; }
.pj-cat-edit:hover { filter: brightness(1.1); }
.pj-cat-form { background: #6e757e; border: 1px solid #4e555c; border-radius: 14px; padding: 8px 10px; display: grid; gap: 6px; color: #eef0f2; }
.pj-cat-form-inline { border: 0; border-radius: 0; }
.pj-cat-form-novo { margin-top: 8px; }
.pj-cat-nova-tit { margin: 10px 0 0; font-size: 12px; font-weight: 800; color: #0a1f3d; }
.pj-cat-form-grid { display: grid; grid-template-columns: minmax(120px, 1.3fr) minmax(110px, 1fr) minmax(110px, 1fr) auto; gap: 6px; align-items: end; }
.pj-cat-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: #d5d8dc; }
.pj-cat-form .pj-check { color: #eef0f2; font-weight: 650; }
.pj-cat-apar {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(9.5rem, .72fr);
    gap: 8px 14px; align-items: end;
    padding: 12px 14px; border-radius: 10px;
    background: #aaadb1; border: 1px solid #c9a24a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    color: #111;
}
.pj-cat-form .pj-cat-apar label,
.pj-cat-apar .pj-cat-apar-tit { color: #111; }
.pj-cat-form label.pj-cat-adotar {
    grid-column: 1 / -1; justify-self: center; align-self: center;
    display: flex; align-items: flex-start; gap: 8px;
    width: auto; max-width: 36rem; margin: 2px 0 0; padding: 0;
    border: 0; background: transparent; cursor: pointer;
    color: #111; font-size: 13px; font-weight: 750; line-height: 1.35; text-align: left;
}
.pj-cat-adotar input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #c9a24a; cursor: pointer; }
.pj-cat-adotar:has(input:disabled) { opacity: .55; cursor: default; }
.pj-cat-form .pg-msg { font-size: 17px; font-weight: 800; color: #111; }
.pj-cat-form .pg-msg.ok { color: #111; background: #f7f4ee; padding: 3px 10px; border-radius: 6px; }
.pj-cat-form .pg-msg.erro { color: #1a0508; background: #f8d0d4; padding: 3px 10px; border-radius: 6px; }
.pj-cat-apar-tit { font-size: 11px; font-weight: 700; color: #f3e2b6; }
.pj-cat-form .tl-tema-tex-opt {
    border: 1px solid #4e555c; background: #5a6169; color: #eef0f2;
    border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.pj-cat-form .tl-tema-tex-opt.on { background: #0a1f3d; color: #f3e2b6; border-color: #c9a24a; }
.pj-cat-int { display: grid; gap: 4px; }
.pj-cat-int input[type=range] { width: 100%; accent-color: #c9a24a; }
.pj-cat-previa { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: #c5c9ce; }
.cat-prev-pill {
    display: inline-block; width: auto; min-width: 8rem; max-width: 16rem;
    height: 18px !important; max-height: 18px !important; line-height: 18px !important;
    font-size: 12px; --pt-pill-h: 18px; --pt-row-scale: 1; --pt-font-task: 12px;
}
.pj-cat-form input[type=text], .pj-cat-form input:not([type]), .pj-cat-form input.mono { width: 100%; padding: 7px 9px; border: 1px solid #c3ccd9; border-radius: 7px; font: inherit; color: #0a1f3d; background: #fff; }
.pj-cat-cor { display: flex; gap: 6px; align-items: center; }
.pj-cat-cor input[type=color] { width: 36px; height: 32px; padding: 0; border: 1px solid #c3ccd9; border-radius: 6px; background: #fff; cursor: pointer; }
.pj-cat-cor input.mono { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 700; }
.pj-cat-opts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 4px; }
.pj-cat-form .pg-acoes { gap: 6px; }
.pj-cat-form .pg-acoes .btn-save { padding: 6px 12px; border-radius: 8px; }
.pj-cat-fechar {
    height: 30px; padding: 0 12px; border: 0; border-radius: 7px; cursor: pointer;
    background-color: #8a3a38; color: #f6eceb; font-size: 13px; font-weight: 750;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.pj-cat-fechar:hover { background-color: #7a3331; }
.pj-cat-form .pj-cat-nota { margin: 0; padding: 5px 8px; background: #5a6169; border: 1px solid #4e555c; border-radius: 6px; font-size: 11px; color: #d5d8dc; line-height: 1.35; }
.pj-cat-nota { margin: 0; padding: 8px 10px; background: #e8f1fb; border: 1px solid #c5d7ee; border-radius: 8px; font-size: 12px; color: #123a6b; line-height: 1.4; }
.cat-prev { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 9.5rem; height: 1.55rem; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
    .pj-cat-form-grid { grid-template-columns: 1fr 1fr; }
    .pj-cat-apar { grid-template-columns: 1fr; }
    .pj-cat-table th:nth-child(2), .pj-cat-table td:nth-child(2),
    .pj-cat-table th:nth-child(3), .pj-cat-table td:nth-child(3) { display: none; }
}
.tl-apar-didatica {
    margin: 0 0 6px; font-size: 11px; font-weight: 650; line-height: 1.35;
    color: var(--pn-fg, #eef0f2); opacity: .92;
}
.tl-apar-grid .tl-apar-didatica { margin: -2px 0 4px; }

/* Pessoas: caixas compactas no esquema do legado (azul elegante) */
.pj-box { border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; color: #fff; }
.pj-box h3 { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #f0d78c; display: flex; align-items: center; gap: 8px; }
.pj-box h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(240,215,140,.45), transparent); }
.pj-box-sub { margin: 0; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.82); font-weight: 500; }
.pj-box-navy { background: linear-gradient(160deg, #0b2748 0%, #143a66 100%); border: 1px solid #1a4a7a; }
.pj-box-alerta { background: linear-gradient(160deg, #123a5c 0%, #1a4f7a 100%); border: 1px solid #2a5f8c; }
.pj-box-invite {
    background: linear-gradient(165deg, #4a515c 0%, #323842 48%, #242930 100%);
    border: 1px solid #c4a35a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
    color: #f4f1ea;
}
.pj-box-invite h3 { color: #f0d78c; }
.pj-box-invite h3::after { background: linear-gradient(90deg, rgba(240,215,140,.85), transparent); }
.pj-box-invite .pj-box-sub { color: #f4f1ea; }
.pj-box-invite > .pj-invite-papel { color: #f4f1ea; }
.pj-invite-guia {
    display: grid; gap: 4px; margin: 0;
    padding: 10px 12px; border-radius: 10px;
    background: #fff; border: 1px solid #c4a35a;
    color: #0a1f3d;
}
.pj-invite-guia p { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 550; }
.pj-invite-guia b { color: #0a1f3d; }
.pj-box-invite .pj-convites { display: grid; gap: 6px; }
.pj-box-invite .pj-convites h4 {
    margin: 2px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    font-weight: 800; color: #f0d78c;
}
.pj-box-invite .pj-convite {
    background: #f3f5f8;
    border: 1px solid #c4a35a;
    border-radius: 10px; padding: 8px 10px; display: grid; gap: 4px;
    color: #0a1f3d; font-size: 13px;
}
.pj-box-invite .pj-convite b { color: #0a1f3d; }
.pj-box-invite .pj-convite .acoes { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.pj-box-invite .pj-convite button {
    border: 0; background: transparent; padding: 0; cursor: pointer;
    color: #0a4a8a; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline;
}
.pj-box-invite .pj-convite button.danger { color: #9b2c2c; }
.pj-box-invite .pj-convite-hora { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: #0f5c32; font-weight: 700; }
@keyframes pj-pisca {
    0%, 100% { background: #f3f5f8; }
    35% { background: #fff4d6; }
}
.pj-box-invite .pj-convite.pisca { animation: pj-pisca 1.15s ease; }
.pj-box-invite .pj-invite-note { background: #fff; border: 1px solid #c4a35a; border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.4; color: #0a1f3d; }
.pj-invite-grid { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 8px; }
.pj-invite-papel { max-width: 320px; margin: 0 0 10px; }
.pj-invite-canais { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pj-invite-canal {
    background: #f7f8fa;
    border: 1px solid #c4a35a;
    border-radius: 10px;
    padding: 12px;
    display: grid; gap: 8px; align-content: start;
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.pj-invite-canal.wa {
    background: #e3e7ee;
    border-color: #c4a35a;
}
.pj-invite-guia,
.pj-box-invite .pj-convite,
.pj-wa-lembrete { box-shadow: 0 8px 18px rgba(0,0,0,.22); }
.pj-invite-dica { margin: 0; font-size: 12px; line-height: 1.4; color: #243044; }
.pj-mail-nota { margin: 0; font-size: 12px; line-height: 1.35; font-weight: 650; color: #0a1f3d; }
.pj-wa-acao { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 10px; align-items: center; }
.pj-wa-lembrete {
    margin: 0; padding: 8px 10px; border-radius: 8px;
    background: #fff; border: 1px solid #c4a35a;
    color: #0a1f3d; font-size: 12px; line-height: 1.35; font-weight: 650;
}
.pj-invite-canal .btn-save { width: 100%; border: 1px solid #c4a35a; }
.pj-box-invite .btn-save.cv-wa {
    background: linear-gradient(135deg, #128c7e, #25d366) !important;
    border: 1px solid #0b6b60 !important;
    color: #fff;
}
.pj-box-invite label { display: grid; gap: 3px; font-size: 11px; font-weight: 800; color: #0a1f3d; }
.pj-box-invite label i { color: #8a6d2b; font-style: normal; }
.pj-box-invite label small { font-weight: 600; color: #3d4a5c; line-height: 1.35; }
.pj-box-invite input, .pj-box-invite select { width: 100%; padding: 7px 9px; border: 1px solid #b7c0cc; border-radius: 7px; font: inherit; color: #0a1f3d; background: #fff; }
.pj-mem-wrap { background: #fff; border-radius: 8px; overflow: auto; border: 1px solid #c5d3e6; }
.pj-mem-table { width: 100%; border-collapse: collapse; font-size: 12.5px; color: #0a1f3d; }
.pj-mem-table th { text-align: left; padding: 6px 8px; background: #e8eef7; color: #123a6b; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid #cfd9e8; white-space: nowrap; }
.pj-mem-table td { padding: 5px 8px; border-bottom: 1px solid #e8edf4; vertical-align: middle; white-space: nowrap; }
.pj-mem-table tbody tr:nth-child(even) { background: #f6f8fb; }
.pj-mem-table tbody tr:hover { background: #eef4fb; }
.pj-mem-table tbody tr.on { background: #fff8e6; }
.pj-mem-table .nome { font-weight: 800; }
.pj-mem-table.pj-mem-wa,
.pj-mem-table.pj-mem-al { border-collapse: separate; border-spacing: 0; }
.pj-mem-wa th:first-child,
.pj-mem-wa td:first-child,
.pj-mem-al th:first-child,
.pj-mem-al td:first-child {
    position: sticky;
    z-index: 2;
    background: #fff;
}
.pj-mem-wa th:first-child,
.pj-mem-wa td:first-child,
.pj-mem-al th:first-child,
.pj-mem-al td:first-child { left: 0; }
.pj-mem-wa th:first-child,
.pj-mem-wa td.nome,
.pj-mem-al th:first-child,
.pj-mem-al td.nome,
.pj-mem-al td:first-child {
    width: 8.5rem; min-width: 8.5rem; max-width: 8.5rem;
    overflow: hidden; text-overflow: ellipsis;
}
.pj-mem-wa td.nome.corrigindo {
    overflow: visible;
    white-space: normal;
    width: 16rem; min-width: 16rem; max-width: 16rem;
}
.pj-nome-inp { width: 100%; box-sizing: border-box; padding: 3px 6px; border: 1px solid #c3ccd9; border-radius: 6px; font: inherit; font-size: 12px; font-weight: 700; color: #0a1f3d; background: #fff; }
.pj-nome-aviso { display: block; margin: 4px 0; font-size: 11px; font-weight: 600; line-height: 1.35; color: #8a5500; white-space: normal; }
.pj-nome-acoes { display: flex; gap: 8px; }
.pj-login-selo {
    display: inline-block; margin-left: .4rem; padding: 0 .4rem; border-radius: 999px;
    border: 1px solid #d7c7a4; background: #fbf6ec; color: #6a5428;
    font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: lowercase;
    vertical-align: middle; line-height: 1.5;
}
.pj-login-user { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; color: #5e4510; }
.pj-mem-table td.mail { white-space: normal; }
.pj-mem-wa th:first-child,
.pj-mem-al th:first-child { z-index: 3; background: #e8eef7; }
.pj-mem-wa td:first-child,
.pj-mem-al td:first-child { box-shadow: 1px 0 0 #cfd9e8, 8px 0 8px -8px rgba(10, 31, 61, .45); }
.pj-mem-wa tbody tr:nth-child(even) td:first-child,
.pj-mem-al tbody tr:nth-child(even) td:first-child { background: #f6f8fb; }
.pj-mem-wa tbody tr:hover td:first-child,
.pj-mem-wa tbody tr:nth-child(even):hover td:first-child,
.pj-mem-al tbody tr:hover td:first-child,
.pj-mem-al tbody tr:nth-child(even):hover td:first-child { background: #eef4fb; }
.pj-mem-wa tbody tr.on td:first-child,
.pj-mem-wa tbody tr.on:hover td:first-child,
.pj-mem-al tbody tr.on td:first-child,
.pj-mem-al tbody tr.on:hover td:first-child { background: #fff8e6; }
.pj-mem-al td.pj-al-vazio { position: static; left: auto; width: auto; min-width: 0; max-width: none; box-shadow: none; z-index: auto; overflow: visible; }
.pj-mem-al td.nome .pj-al-inp { width: 100%; max-width: 100%; box-sizing: border-box; }
.pj-mem-table .mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; color: #33465e; }
.pj-mem-table .ctr { text-align: center; }
.pj-mem-table .act { text-align: right; white-space: nowrap; }
.pj-mem-sel { padding: 2px 6px; font-size: 12px; border: 1px solid #c3ccd9; border-radius: 6px; color: #0a1f3d; max-width: 120px; }
.pj-st { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 1.35; }
.pj-st.ok { background: #d8f5e2; color: #0f5c32; }
.pj-st.pend { background: #fff0d6; color: #8a5500; }
.pj-check-ok { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #1f9d55; color: #fff; font-size: 11px; font-weight: 900; line-height: 1; }
.pj-mem-table .lnk { border: 0; background: transparent; color: #0a4a8a; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0 4px; }
.pj-mem-table .lnk.danger { color: #b42318; }
.pj-al-tag { display: inline-flex; align-items: center; justify-content: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .02em; background: #d6e8f8; color: #123a6b; white-space: nowrap; }
.pj-al-tag.ext { background: #f0e6d0; color: #5e4510; }
.pj-al-inp { width: 100%; min-width: 0; padding: 3px 7px; border: 1px solid #c3ccd9; border-radius: 6px; font: inherit; font-size: 12.5px; color: #0a1f3d; background: #fff; }
.pj-mem-table td.obs { max-width: 220px; overflow: hidden; text-overflow: ellipsis; color: #33465e; }
.pj-al-vazio { text-align: center; color: #5a6a80; font-size: 12px; padding: 10px 8px !important; white-space: normal !important; }
.pj-al-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pj-al-btn { padding: 6px 11px; border-radius: 8px; border: 1px solid rgba(240,215,140,.65); background: rgba(8,28,52,.35); color: #f0d78c; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.pj-al-btn:hover { background: rgba(8,28,52,.55); }
.pj-al-btn.ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.pj-al-pick { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 8px 10px; display: grid; gap: 6px; }
.pj-al-pick > p { margin: 0; font-size: 12px; font-weight: 700; color: #fff; }
.pj-al-pick-list { display: grid; gap: 3px; max-height: 180px; overflow: auto; }
.pj-al-pick-list label { display: grid; grid-template-columns: auto 1fr auto auto; gap: 6px 8px; align-items: center; padding: 4px 6px; border-radius: 6px; background: rgba(255,255,255,.08); font-size: 12px; color: #fff; cursor: pointer; }
.pj-al-pick-list label.off { opacity: .55; cursor: default; }
.pj-al-pick-list label b { font-weight: 800; }
.pj-al-pick-list label span { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-al-pick-list label em { font-style: normal; font-size: 11px; opacity: .75; }
.pj-al-pick-list label small { grid-column: 2 / -1; font-size: 10px; color: #f0d78c; }
@media (max-width: 900px) {
    .pj-invite-grid, .pj-invite-canais { grid-template-columns: 1fr; }
    .pj-mem-table.pj-mem-wa th.wa, .pj-mem-table.pj-mem-wa td.wa { display: none; }
}
@media (max-width: 560px) {
    .pj-wa-acao { grid-template-columns: 1fr; }
}
.pe-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 50vh; }
.pe-col { background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; padding: 8px; display: grid; align-content: start; gap: 6px; }
.pe-bar { position: sticky; bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px; background: rgba(10,31,61,.92); color: #fff; padding: 8px 10px; border-radius: 10px; z-index: 4; }
.pe-item { border: 1px solid #dfe5ee; border-radius: 8px; padding: 6px; display: grid; gap: 4px; background: #fbfcfe; }
.pe-item.sel { border-color: var(--gold); }
.pe-prev { background: #f4f1ea; border-radius: 10px; padding: 8px; }
.pe-q { background: #fff; border-radius: 8px; padding: 8px; margin-bottom: 6px; border: 1px solid #e3e9f2; color: #0a1f3d; }

/* Editor procedimento — padrão legado (cartão + prévia + float) */
.pe-page { max-width: 1280px; margin: 8px auto 40px; padding: 0 56px 24px 8px; display: grid; gap: 10px; color: #0a1f3d; position: relative; }
.pe-page.pe-preview-off .pe-row .pe-live { display: none; }
.pe-live-exec .pe-live-q { background: #0a1f3d; color: #fff; margin: 0; padding: 8px 12px; }
.pe-live-exec .pe-live-q .req { color: #ffd4d0; }
.pe-page.pe-preview-off .pe-row { grid-template-columns: 1fr; }
.pe-head { padding: 10px 12px; }
.pe-head-flags { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.pe-empty { margin: 12px; color: #3e4a5c; font-size: 13px; }
.pe-sec { display: grid; gap: 8px; }
.pe-sec-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pe-sec-bar h2 { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; flex: 1; min-width: 200px; }
.pe-sec-num { font-size: 13px; font-weight: 800; color: #123a6b; letter-spacing: .04em; text-transform: uppercase; }
.pe-sec-nome { flex: 1; min-width: 140px; border: 0; border-bottom: 2px solid #123a6b; background: transparent; font: inherit; font-size: 22px; font-weight: 800; color: #123a6b; padding: 2px 4px; }
.pe-sec-acts { display: inline-flex; gap: 4px; align-items: center; }
.pe-ico { width: 30px; height: 30px; border-radius: 8px; border: 0; cursor: pointer; font-size: 15px; font-weight: 900; line-height: 1; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pe-ico.up { background: #1a5f9e; }
.pe-ico.down { background: #c0392b; }
.pe-ico.x { background: #1a1a1a; }
.pe-ico:disabled { opacity: .35; cursor: default; }
.pe-add-q { justify-self: center; padding: 6px 14px; border-radius: 999px; border: 1px dashed #8aa3c0; background: #f3f7fc; color: #123a6b; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.pe-sec-gap { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 2px 0 8px; }
.pe-sec-gap button { border: 0; background: transparent; color: #1a5f9e; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 2px; }
.pe-sec-gap button:hover { color: #0a1f3d; }
.pe-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 8px; align-items: stretch; }
.pe-row.sel .pe-card { outline: 2px solid #0a1f3d; box-shadow: 0 0 0 3px rgba(10,31,61,.16); }
.pe-editor-hero {
    background: linear-gradient(135deg, #123a6b 0%, #1a5a9a 55%, #2d7ab8 100%);
    color: #fff; border-radius: 18px; padding: 14px 16px 16px;
    box-shadow: 0 10px 28px rgba(18,58,107,.25); display: grid; gap: 8px;
}
.pe-editor-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pe-editor-nav a {
    display: inline-block; text-decoration: none; font-size: 12px; font-weight: 700;
    padding: 7px 12px; border-radius: 8px; line-height: 1.2;
    background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35);
}
.pe-editor-nav a.on { background: rgba(255,255,255,.32); border-color: rgba(255,255,255,.7); }
.pe-editor-nav a.pe-editor-voltar { background: #c62828; border-color: #c62828; }
.pe-editor-hero h1 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; }
.pe-editor-hero p { margin: 0; font-size: 13.5px; line-height: 1.45; max-width: 640px; color: rgba(255,255,255,.92); }
.pe-page .pe-head-card {
    padding: 0; overflow: hidden; background: #b7c1cb;
    border: 1px solid #8d9aab; border-radius: 16px;
    box-shadow: 0 8px 18px rgba(18, 42, 74, .08);
}
.pe-page .pe-head-title { margin: 0; padding: 6px 14px; background: linear-gradient(90deg, #123a6b, #1a4f8a); color: #fff; }
.pe-page .pe-head-title h3 { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.pe-page .pe-head-title span { display: block; margin-top: 0; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.84); text-transform: none; letter-spacing: 0; }
.pe-page .pe-head-body { padding: 8px 14px 8px; gap: 6px; }
.pe-page .pe-head-body > label,
.pe-page .pe-head-body .row2 > label {
    display: grid; gap: 2px; margin: 0;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #243244;
}
.pe-page .pe-head-body label i { color: #c0392b; font-style: normal; }
.pe-page .pe-head-body .row2 { gap: 10px; }
.pe-page .pe-head-body input:not([type="checkbox"]),
.pe-page .pe-head-body select,
.pe-page .pe-head-body textarea {
    width: 100%; box-sizing: border-box;
    border: 1px solid #d5deea; background: #fff; color: #0a1f3d;
    border-radius: 10px; padding: 5px 12px;
    font: inherit; font-size: 15px; font-weight: 650; letter-spacing: 0; text-transform: none; line-height: 1.25;
    box-shadow: inset 0 1px 2px rgba(16, 36, 64, .04);
}
.pe-page .pe-head-body select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23123a6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer;
}
.pe-page .pe-head-body textarea { min-height: 0; resize: vertical; font-weight: 600; line-height: 1.3; }
.pe-page .pe-head-body input:not([type="checkbox"]):focus,
.pe-page .pe-head-body select:focus,
.pe-page .pe-head-body textarea:focus {
    outline: none; border-color: #1a5f9e; box-shadow: 0 0 0 3px rgba(26, 95, 158, .16);
}
.pe-page .pe-head-flags { gap: 6px; margin-top: 2px; }
.pe-page .pe-head-flags .pj-check {
    display: inline-flex; align-items: center; gap: 6px; margin: 0;
    padding: 3px 10px 3px 6px; background: #fff; border: 1px solid #d5deea; border-radius: 999px;
    font-size: 13px; font-weight: 750; letter-spacing: 0; text-transform: none; color: #123a6b; cursor: pointer;
}
.pe-page .pe-head-flags .pj-check:has(input:checked) { background: #e7f1fb; border-color: #1a5f9e; }
.pe-page .pe-head-flags .pj-check input {
    appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; flex: 0 0 16px;
    border-radius: 6px; border: 1.5px solid #8aa0b8; background: #fff center / 12px no-repeat; cursor: pointer;
}
.pe-page .pe-head-flags .pj-check input:checked {
    background-color: #1a5f9e; border-color: #1a5f9e;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2l2.4 2.4 5.2-5.2' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pe-item-preview {
    min-width: 0; background: #d5dde8; border: 1px solid #b8c4d4; border-radius: 12px; padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.pe-live-faixa .pe-live-h,
.pe-ver-banner {
    background: #c4b392; color: #241c12; font-size: 11px; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; padding: 7px 10px;
}
.pe-live-faixa .pe-live-q { background: #c4b392; color: #241c12; margin: 0; padding: 8px 12px; }
.pe-card { background: #d9e3ef; border-radius: 14px; padding: 10px 12px; display: grid; gap: 7px; border: 1px solid #b7c6d8; }
.pe-card-top { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.pe-num { width: 28px; height: 28px; border-radius: 50%; background: #0a1f3d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.pe-q-txt { width: 100%; padding: 8px 10px; border: 1px solid #9eb0c5; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 700; color: #0a1f3d; background: #fff; }
.pe-lab { font-size: 11px; font-weight: 800; color: #33465e; letter-spacing: .02em; }
.pe-ajuda { width: 100%; padding: 7px 9px; border: 1px solid #9eb0c5; border-radius: 8px; font: inherit; font-size: 12.5px; color: #0a1f3d; background: #f7f9fc; resize: vertical; }
.pe-regras, .pe-sempre { display: grid; gap: 4px; }
.pe-regra-linha { background: #fff; border-radius: 8px; border-left: 4px solid var(--op, #2f7a3c); padding: 4px 8px; }
.pe-regra-linha summary { list-style: none; display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 12px; color: #33465e; }
.pe-regra-linha summary::-webkit-details-marker { display: none; }
.pe-regra-linha summary b { display: inline-flex; min-width: 42px; justify-content: center; padding: 2px 8px; border-radius: 999px; color: #fff; font-size: 11px; }
.pe-regra-body { padding: 6px 0 4px; display: grid; gap: 6px; }
.pe-regra-grid { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.pe-regra-grid label { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 700; color: #0a1f3d; }
.pe-mini { display: grid; gap: 3px; font-size: 11px; font-weight: 800; color: #33465e; }
.pe-mini select, .pe-regra-body input { padding: 5px 8px; border: 1px solid #c3ccd9; border-radius: 6px; font: inherit; font-size: 12px; }
.pe-card-foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.pe-tipo { padding: 5px 8px; border: 1px solid #8aa3c0; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 700; color: #0a1f3d; background: #fff; max-width: 100%; }
.pe-sec-tag { font-size: 11px; font-weight: 800; color: #123a6b; letter-spacing: .03em; margin-right: auto; }
.pe-sec-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-right: auto; min-width: 0; max-width: 100%; }
.pe-sec-pick .pe-lab { margin: 0; white-space: nowrap; }
.pe-sec-sel {
    min-width: 120px; max-width: min(280px, 100%); flex: 1 1 140px;
    padding: 5px 8px; border: 1px solid #8aa3c0; border-radius: 8px;
    font: inherit; font-size: 12px; font-weight: 700; color: #0a1f3d; background: #fff;
}
.pe-live { background: #fff; border: 1px solid #d5dde8; border-radius: 14px; overflow: hidden; display: grid; align-content: start; box-shadow: 0 1px 3px rgba(10,31,61,.06); }
.pj-page > .pe-live, .pj-page .pe-live { margin-bottom: 12px; }
.pe-live-h { background: #e8d9b8; color: #5c4300; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; }
.pe-live-q { padding: 10px 12px 4px; font-size: 14px; font-weight: 800; color: #0a1f3d; line-height: 1.3; }
.pe-live-q .req { color: #b42318; }
.pe-live-ajuda { margin: 0 12px; justify-self: start; border: 1px solid #c3ccd9; background: #f4f7fb; border-radius: 999px; padding: 5px 12px; font-size: 16.5px; font-weight: 700; color: #33465e; cursor: pointer; font-family: inherit; }
.pe-live-orient { font-size: 16px; line-height: 1.45; color: #1c2a3a; font-style: normal; padding: 8px 14px; white-space: pre-wrap; }
.pe-live-orient.is-clamp {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.pe-live-mais {
    margin: 0 14px 6px; padding: 0; border: 0; background: transparent; justify-self: start;
    color: #123a6b; font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1.2;
    cursor: pointer; text-align: left;
}
.pe-live-mais:hover { text-decoration: underline; }
.pe-live-resumo { margin: 6px 12px; padding: 6px 8px; background: #f0f3f8; border-radius: 8px; font-size: 11px; color: #3e4a5c; line-height: 1.35; }
.pe-live-ops { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 8px; }
.pe-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--c, #2f7a3c); color: var(--c, #2f7a3c); font-size: 13px; font-weight: 800; background: #fff; }
.pe-live-inp { margin: 4px 12px 8px; width: calc(100% - 24px); padding: 8px 10px; border: 1px solid #c3ccd9; border-radius: 8px; }
.pe-live-hint { padding: 4px 12px 8px; font-size: 12px; color: #3e4a5c; font-weight: 700; }
.pe-live-tools { display: flex; gap: 10px; padding: 6px 12px 10px; font-size: 11px; font-weight: 700; color: #5a6a80; border-top: 1px solid #eef2f7; }
.pe-float { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 7px; }
.pe-fab { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; display: grid; place-content: center; gap: 0; text-decoration: none; box-shadow: 0 4px 14px rgba(10,31,61,.28); font: inherit; padding: 0; }
.pe-fab span { font-size: 16px; line-height: 1; font-weight: 800; }
.pe-fab small { font-size: 9px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; opacity: .95; }
.pe-fab.navy { background: #123a6b; }
.pe-fab.green { background: #1f6b45; }
.pe-fab.tan { background: #c4a35a; color: #0a1f3d; }
.pe-fab.orange { background: #d97706; }
.pe-fab.orange.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #d97706; }
.pe-fab.save { background: #16a34a; }
.pe-fab.danger { background: #b42318; }
.pe-fab:disabled { opacity: .5; cursor: default; }
.pe-save-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pe-clock {
    min-width: 52px; min-height: 28px; padding: 2px 4px; border-radius: 8px;
    background: #fff; color: #111; text-align: center; line-height: 1.15;
    font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 8px rgba(10,31,61,.22);
}
.pe-clock b { display: block; font-size: 10px; letter-spacing: .02em; }
.pe-clock:empty::before { content: "—:—:—"; opacity: .4; }
.pe-clock.warn { color: #9a3412; }
.pe-clock.ok { color: #166534; }
.pe-autosave { position: fixed; left: 12px; bottom: 12px; z-index: 39; background: rgba(10,31,61,.92); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.pe-autosave.warn { background: rgba(146,64,14,.95); }
.pe-autosave.ok { background: rgba(22,163,74,.95); }
.pe-multi { display: inline-flex; gap: 5px; align-items: center; font-size: 11px; font-weight: 700; color: #123a6b; white-space: nowrap; }
.pe-cfg { background: #f4f7fb; border: 1px solid #b7c6d8; border-radius: 10px; padding: 8px 10px; display: grid; gap: 6px; font-size: 12px; color: #0a1f3d; }
.pe-cfg b { font-size: 12px; }
.pe-cfg-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.pe-cfg-row { display: grid; grid-template-columns: 1fr auto auto; gap: 4px; align-items: center; }
.pe-cfg-row input, .pe-cfg-row select { padding: 4px 7px; border: 1px solid #c3ccd9; border-radius: 6px; font: inherit; font-size: 12px; }
.pe-ver-ov { position: fixed; inset: 0; z-index: 80; background: rgba(6,16,32,.55); display: grid; place-items: center; padding: 16px; }
.pe-ver { width: min(920px, 96vw); max-height: 92vh; background: #fff; border-radius: 14px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.pe-ver header { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #0a1f3d; color: #fff; }
.pe-ver header h2 { margin: 0; font-size: 18px; }
.pe-ver header p { margin: 2px 0 0; font-size: 12px; opacity: .85; }
.pe-ver header .x { background: transparent; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.pe-ver-body { overflow: auto; padding: 12px 14px; display: grid; gap: 10px; }
.pe-ver-body h3 { margin: 8px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #123a6b; }
.pe-ver-q { background: #f7f9fc; border: 1px solid #e3e9f2; border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.pe-ver-q b { color: #0a1f3d; }
.pe-ver-q .req { color: #b42318; }
.pe-ver-q input, .pe-ver-q textarea { width: 100%; padding: 7px 9px; border: 1px solid #c3ccd9; border-radius: 8px; }
.pe-ver-calc { font-size: 13px; font-weight: 700; color: #123a6b; }
.pe-mx { width: 100%; border-collapse: collapse; font-size: 12px; }
.pe-mx th, .pe-mx td { border: 1px solid #d0d8e4; padding: 4px 6px; }
.pe-ver footer { padding: 10px 14px; border-top: 1px solid #e8edf4; display: flex; justify-content: flex-end; }

/* Regras por resposta — paridade legado */
.pe-pedagogico {
    margin: 0 0 8px; border-radius: 12px; overflow: hidden;
    box-shadow: 0 1px 0 rgba(255,255,255,.65) inset, 0 4px 14px rgba(15,35,55,.07);
}
.pe-pedagogico.yes { background: linear-gradient(145deg, #eefaf3 0%, #d9f0e3 55%, #cfe8db 100%); }
.pe-pedagogico.no { background: linear-gradient(145deg, #fff5f4 0%, #fce6e4 55%, #f5d6d4 100%); }
.pe-pedagogico.na { background: linear-gradient(145deg, #f4f6f8 0%, #e8ecf1 55%, #dde3ea 100%); }
.pe-ped-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 7px 10px 5px; border-bottom: 1px solid rgba(0,0,0,.06); }
.pe-ped-badge { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0f6b3c; }
.pe-pedagogico.no .pe-ped-badge { color: #a12828; }
.pe-pedagogico.na .pe-ped-badge { color: #4a5564; }
.pe-ped-for { font-size: 11px; color: #5a6675; font-weight: 600; }
.pe-ped-for b { font-weight: 800; color: #0f6b3c; }
.pe-pedagogico.no .pe-ped-for b { color: #a12828; }
.pe-ped-body { padding: 8px 10px 10px; font-size: 12.5px; line-height: 1.45; color: #3a4554; font-weight: 500; }
.pe-ped-body .pe-ped-ans { font-weight: 800; color: #0f6b3c; }
.pe-pedagogico.no .pe-ped-body .pe-ped-ans { color: #a12828; }
.pe-ped-key { color: #0a0f14; font-weight: 800; background: rgba(255,255,255,.55); padding: 0 3px; border-radius: 3px; }
.pe-op-title-sec { font-size: 11px; font-weight: 800; color: #33465e; margin: 4px 0 2px; }
.pe-acao-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0; }
.pe-acao-card { background: #f4f7fb; border: 1px solid #d0d8e4; border-radius: 10px; padding: 6px 8px; }
.pe-acao-card.on { background: #e8f1fb; border-color: #7aa0c8; }
.pe-acao-lab { display: block; font-size: 10px; font-weight: 800; color: #5a6a7a; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.pe-acao-sel { width: 100%; padding: 4px 6px; border: 1px solid #c3ccd9; border-radius: 6px; font: inherit; font-size: 12px; }
.pe-acao-hint { font-size: 10.5px; color: #889; line-height: 1.35; margin: 2px 0 6px; }
.pe-gen-box { margin: 6px 0; padding: 8px 10px; border-radius: 12px; border: 1px solid #9fd4b5; background: linear-gradient(160deg, #e8f6ee 0%, #d5ecdf 100%); display: grid; gap: 5px; }
.pe-gen-box.pe-gen-evento { background: linear-gradient(160deg, #dce8f3 0%, #c9dceb 100%); border-color: #7fa3c4; }
.pe-gen-box.pe-gen-email { background: linear-gradient(160deg, #f3ebe0 0%, #ebe0d0 100%); border-color: #c4a57f; }
.pe-gen-title { font-size: 15px; font-weight: 800; color: #1f9d5b; margin: 0 0 4px; }
.pe-gen-evento .pe-gen-title { color: #1a5a8a; }
.pe-gen-email .pe-gen-title { color: #8a5a1a; }
.pe-gen-box label { font-size: 11px; font-weight: 800; color: #33465e; display: grid; gap: 3px; }
.pe-gen-box input[type=text], .pe-gen-box select, .pe-gen-box input[type=number] { padding: 5px 8px; border: 1px solid #c3ccd9; border-radius: 6px; font: inherit; font-size: 12px; }
.pe-gen-box .pj-check { display: inline-flex; gap: 5px; align-items: center; font-size: 11px; font-weight: 700; }
.pe-mtx-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.pe-mtx-row > * { flex: 1 1 90px; }
.pe-pontos-box { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #d7e0ec; display: grid; gap: 6px; }
.pe-pontos-box .pe-op-title { color: #6a7684; font-size: 11px; font-weight: 800; }
.pe-pontos-hint { font-size: 11px; color: #667; line-height: 1.4; padding: 6px 10px; background: #f4f7fb; border-radius: 10px; border: 1px solid #e6ebf2; }
.pe-pontos-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.pe-pontos-meta input[type=number] { width: 56px; padding: 4px 6px; border: 1px solid #c3ccd9; border-radius: 6px; font: inherit; font-size: 12px; }
.pe-pontos-meta label { font-size: 10px; font-weight: 700; color: #0a1f3d; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.pe-rep-box { margin: 8px 0; padding: 8px 10px; background: linear-gradient(160deg, #e8f0f8 0%, #d8e4f0 100%); border: 1px solid #8aa8c4; border-radius: 12px; display: grid; gap: 6px; }
.pe-rep-box .pe-gen-title { color: #2a5a8a; font-size: 14px; }
.pe-rep-toggle { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; font-weight: 700; color: #234; cursor: pointer; }

/* Preview interativo */
.pe-live-body { padding: 0 0 8px; display: grid; gap: 6px; }
.pe-pv-btns { display: flex; flex-wrap: nowrap; gap: 6px; padding: 4px 12px 2px; }
.pe-pv-btn {
    flex: 1 1 0; min-width: 0; min-height: 48px; padding: 10px 4px; border-radius: 10px;
    border: 2px solid #1e7a38; color: #fff; background: #2f9e4f;
    font-family: inherit; font-size: clamp(11px, 3.1vw, 15px); font-weight: 800; line-height: 1.1;
    letter-spacing: .01em; cursor: pointer; text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.pe-pv-btn-a { background: #2f9e4f; border-color: #1e7a38; }
.pe-pv-btn-b { background: #e0a31a; border-color: #a87a08; color: #fff; }
.pe-pv-btn-c, .pe-pv-btn-n { background: #c62828; border-color: #8e1b1b; }
.pe-pv-btn-x { background: #7d8794; border-color: #5c6670; }
.pe-pv-btn.on {
    border-width: 8px; border-color: #0a1f3d;
    box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px #0a1f3d;
}
.pe-pv-btns:has(.pe-pv-btn.on) .pe-pv-btn:not(.on) { opacity: .4; }
.pe-pv-tools { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px 12px 2px; }
.pe-pv-tool {
    border: 1.5px solid #c5d0de; background: #fff; color: #123a6b; border-radius: 999px;
    padding: 9px 16px; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
    box-shadow: 0 1px 2px rgba(18,58,107,.08);
}
.pe-pv-tool.on { background: #e8f1fb; border-color: #123a6b; box-shadow: 0 0 0 2px rgba(18,58,107,.16); }
.pe-pv-panel { margin: 4px 12px 0; padding: 10px; background: #f7f9fc; border: 1px solid #e2e8f0; border-radius: 12px; display: grid; gap: 6px; }
.pe-need, .pe-pv-need {
    margin: 4px 12px 0; padding: 10px 12px; border-radius: 10px;
    background: #fff; border: 1px solid #f0e0b8; border-left: 4px solid #e0a31a;
    color: #7a5b10; font-size: 15.5px; line-height: 1.45;
    max-width: 100%; min-width: 0; box-sizing: border-box;
}
.pe-need.ok, .pe-pv-need.ok { background: #eef8f1; border: 1px solid #b8dfc4; color: #1a6b3c; }
.pe-need-lbl { font-weight: 700; margin-right: 4px; }
.pe-need-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: 100%; min-width: 0; }
.pe-need-chip {
    display: inline-flex; align-items: center; gap: 3px; font-size: 15px; font-weight: 700;
    border-radius: 999px; padding: 5px 12px; background: #ffe9b8; color: #7a5b10; border: 1px solid #f0d48a;
}
.pe-need-chip.ok { background: #dff3e6; color: #157a45; border-color: #b5dfc4; }
.pe-foto-min {
    margin: 0 2px; padding: 2px 4px; border: 1px solid #8aa3c0; border-radius: 6px;
    font: inherit; font-size: 12px; font-weight: 800; color: #0a1f3d; background: #fff;
}
.pe-foto-conta {
    margin: 8px 12px 0; font-size: 15px; font-weight: 800; color: #0a1f3d;
}
.pe-pv-media { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; max-width: 100%; min-width: 0; box-sizing: border-box; }
.pe-pv-mbtn {
    flex: 0 0 auto;
    min-width: 76px;
    max-width: 92px;
    border: 1px solid #d7e0ec;
    background: #fff;
    border-radius: 999px;
    padding: 8px 10px 7px;
    font-size: 11px;
    font-weight: 700;
    color: #123a6b;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    line-height: 1.15;
    text-align: center;
    box-sizing: border-box;
}
.pe-pv-mbtn:hover { background: #e8f1fb; border-color: #7aa0c8; }
.pe-pv-mbtn .pe-pv-mico { font-size: 17px; line-height: 1; display: block; }
.pe-pv-mbtn .pe-pv-mlab { font-size: 11px; font-weight: 800; display: block; }
.pe-pv-mbtn .pe-pv-msub { font-size: 9px; font-weight: 600; color: #6a7c93; display: block; line-height: 1.1; margin-top: 1px; }
.pe-pv-foto { justify-content: flex-start; }
.pe-pv-foto .pe-pv-mbtn { flex: 0 0 auto; width: auto; min-width: 0; max-width: 100%; min-height: 0; }
.pe-pv-mbtn.pe-pv-mbtn-inline {
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: none;
    min-width: 0;
    width: 100%;
    border-radius: 999px;
    padding: 8px 14px;
    gap: 6px;
    justify-content: center;
}
.pe-pv-panel > .pe-pv-aud-row { margin-top: 2px; }
.pe-pv-chips { display: flex; flex-wrap: wrap; gap: 5px; max-width: 100%; min-width: 0; }
.pe-pv-chips-fixos { margin: 6px 10px 0; flex-direction: column; align-items: flex-start; max-width: 100%; box-sizing: border-box; }
.pe-pv-chip { font-size: 10.5px; background: #eef3f9; color: #123a6b; border-radius: 999px; padding: 3px 8px; font-weight: 600; }
.pe-pv-chip button { border: 0; background: transparent; color: #b42318; font-weight: 800; cursor: pointer; font: inherit; font-size: 10px; }
.pe-pv-arq {
    display: flex; align-items: flex-start; gap: 4px; width: fit-content; max-width: 100%; min-width: 0;
    box-sizing: border-box; background: #eef3f9; color: #123a6b; border-radius: 10px; padding: 5px 6px 5px 8px;
}
.pe-pv-arq-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; max-width: 100%; }
.pe-pv-arq b {
    font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    width: 0; min-width: 100%;
}
.pe-pv-arq small { font-size: 14px; font-weight: 600; color: #3d5166; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pe-pv-arq button {
    flex: 0 0 auto; border: 0; background: #fff; color: #b42318; font-size: 20px; font-weight: 800;
    cursor: pointer; line-height: 1; width: 26px; height: 26px; margin-top: 0; padding: 0;
    border-radius: 999px; box-shadow: 0 0 0 1px #e4b4b0;
}
.pe-pv-aud-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.pe-pv-aud-btn {
    border: 1px solid #c5d0e0; background: #fff; border-radius: 999px; padding: 7px 12px;
    font-size: 12px; font-weight: 700; color: #123a6b; cursor: pointer; font: inherit;
}
.pe-pv-aud-btn:disabled { opacity: .45; cursor: default; }
.pe-pv-aud-stop { background: #fdeeee; border-color: #e8b4b0; color: #a33; }
.pe-pv-aud-st { font-size: 15px; color: #c0392b; font-weight: 800; }
.pe-pv-aud-st.on { animation: pe-aud-blink 0.85s ease-in-out infinite; }
.pe-pv-aud-stop.on {
    background: #c62828; color: #fff; border-color: #c62828; font-size: 15px; padding: 10px 16px;
    animation: pe-aud-blink 0.85s ease-in-out infinite;
}
@keyframes pe-aud-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pe-pv-hint-live { font-size: 10.5px; color: #889; font-style: italic; padding: 0 12px; }
.pe-pv-field { width: 100%; padding: 7px 9px; border: 1px solid #c3ccd9; border-radius: 8px; font: inherit; font-size: 13px; }
.pe-pv-nota { font-size: 26px; line-height: 1.35; padding: 10px 12px; }
.pe-pv-acao-demo { display: grid; gap: 6px; }
.pe-pv-acao-btn {
    text-align: left; border: 1px solid #e2e8f0; background: #fff; border-radius: 10px;
    padding: 10px 12px; font-size: 12.5px; font-weight: 700; color: #123a6b; cursor: pointer; font: inherit;
}
.pe-pv-acao-btn.on { border-color: #9fd4b5; background: #f0faf4; color: #157a45; }
.pe-snrep-rows { display: grid; gap: 8px; padding: 0 12px; }
.pe-snrep-row { background: #f7f9fc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; display: grid; gap: 5px; }
.pe-snrep-row-hd { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: #123a6b; }
.pe-snrep-row label { font-size: 11px; font-weight: 700; color: #33465e; display: grid; gap: 3px; }
.pe-pv-sn { display: inline-flex; gap: 4px; }
.pe-pv-sn button { padding: 4px 10px; border-radius: 999px; border: 1px solid #c3ccd9; background: #fff; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.pe-pv-sn button.on-y { background: #1f9d5b; color: #fff; border-color: #1f9d5b; }
.pe-pv-sn button.on-n { background: #c0392b; color: #fff; border-color: #c0392b; }
.pe-ver-banner { background: #c4b392; color: #241c12; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 8px 14px; }
.pe-ver .pe-live { box-shadow: none; border-radius: 10px; }
.pe-ver-q-live { background: #fff; border: 1px solid #e3e9f2; border-radius: 12px; overflow: hidden; }
@media (max-width: 560px) { .pe-acao-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
    .pe-page { padding-right: 8px; padding-bottom: 90px; }
    .pe-row { grid-template-columns: 1fr; }
    .pe-float { top: auto; bottom: 8px; right: 8px; left: 8px; transform: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: rgba(10,31,61,.88); padding: 8px; border-radius: 14px; }
    .pe-fab { width: 46px; height: 46px; }
    .pe-pv-mbtn { min-width: 0; max-width: min(82px, 100%); padding: 7px 8px 6px; }
}
.insp-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.insp-stat .pg-card { text-align: center; padding: 8px 6px; }
.insp-stat b { display: block; font-size: 20px; font-family: "Cormorant Garamond", serif; color: #0a1f3d; }
.insp-stat span { font-size: 11px; font-weight: 700; color: #3e4a5c; }
.insp-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; padding: 6px 10px; border-bottom: 1px solid #e8edf4; color: #0a1f3d; }
.insp-row:nth-child(even) { background: #f0f3f8; }
.insp-row b { color: #0a1f3d; }
.rf-map { display: grid; gap: 6px; }
.rf-map-tot { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 0; }
.rf-map-tot span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0a1f3d; }
.rf-map-tot b { font-size: 32px; line-height: 1; color: #0a1f3d; font-variant-numeric: tabular-nums; }
.pj-page .rf-ala { padding: 8px 10px; gap: 6px; }
.rf-ala-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pj-page .rf-ala h3 { margin: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #0a1f3d; }
.rf-ala h3 small { margin-left: 6px; font-size: 11px; font-weight: 650; letter-spacing: 0; text-transform: none; color: #3d4c63; }
.rf-ala-tot { font-size: 26px; font-weight: 800; line-height: 1; color: #0a1f3d; font-variant-numeric: tabular-nums; }
.rf-tiles { display: flex; flex-wrap: wrap; gap: 3px; }
.rf-tile { min-width: 34px; min-height: 26px; padding: 1px 3px; border: 0; border-radius: 4px; font-weight: 800; font-size: 12.65px; line-height: 1; cursor: pointer; color: #0a1f3d; }
.rf-tile-n { background: #e8d9c4; }
.rf-tile-a { background: #e07c12; color: #fff; }
.rf-tile-c { background: #2f9e4f; color: #fff; }
.rf-painel { display: grid; grid-template-columns: 148px 1fr; gap: 8px 22px; align-items: center; margin-top: 8px; }
.rf-pie3d { position: relative; width: 148px; height: 108px; }
.rf-pie-lado, .rf-pie-topo {
    position: absolute; left: 0; width: 148px; height: 148px; border-radius: 50%;
    transform: scaleY(.62); transform-origin: center top;
}
.rf-pie-lado { top: 16px; filter: brightness(.55); }
.rf-pie-topo {
    top: 0;
    box-shadow: inset 0 10px 14px rgba(255,255,255,.42), inset 0 -8px 10px rgba(10,31,61,.12);
}
.rf-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rf-leg li { display: flex; align-items: baseline; gap: 8px; color: #1c2836; font-size: 15px; font-weight: 650; }
.rf-leg b { min-width: 1.6rem; font-size: 18px; color: #0a1f3d; }
.rf-leg span { margin-left: 4px; font-weight: 800; color: #0a1f3d; }
.rf-camp-corpo {
    display: grid;
    grid-template-columns: 108px max-content minmax(180px, 1fr) auto;
    grid-template-areas: "pie leg ritmo acao" "barra barra ritmo acao";
    column-gap: 18px; row-gap: 8px; align-items: center;
}
.rf-camp-corpo > .rf-painel { display: contents; }
.rf-camp-corpo .rf-pie3d { grid-area: pie; width: 108px; height: 80px; }
.rf-camp-corpo .rf-pie-lado,
.rf-camp-corpo .rf-pie-topo { width: 108px; height: 108px; }
.rf-camp-corpo .rf-leg { grid-area: leg; }
.rf-camp-corpo .rf-meia { grid-area: barra; width: 100%; }
.rf-camp-corpo > .rf-ritmo { grid-area: ritmo; align-self: center; }
.rf-camp-corpo > .rf-encerrar {
    grid-area: acao; justify-self: end; align-self: center;
    flex-direction: column; align-items: flex-end; margin: 0;
}
.rf-encerrar-nota { margin: 6px 0 0; max-width: 240px; text-align: right; color: #3d4c63; font-size: 12px; font-weight: 650; }
.rf-encerrar .btn-cancel:disabled { opacity: .45; cursor: default; }
.rf-bol { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.rf-bol.n { background: #e8d9c4; }
.rf-bol.a { background: #e07c12; }
.rf-bol.c { background: #2f9e4f; }
.rf-meia { grid-column: 1 / -1; width: 50%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.rf-meia .rf-bar { grid-column: 1; grid-row: 1; }
.rf-meia > b { grid-column: 2; grid-row: 1; font-size: 22px; color: #1d4ed8; line-height: 1; }
.rf-meia small { grid-column: 1 / -1; color: #3d4c63; font-weight: 650; }
.rf-bar { height: 14px; background: #e8edf4; border-radius: 99px; overflow: hidden; }
.rf-bar i { display: block; height: 100%; background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
@media (max-width: 700px) {
    .rf-painel { grid-template-columns: 1fr; }
    .rf-meia { width: 100%; }
    .rf-camp-corpo { display: block; }
    .rf-camp-corpo > .rf-painel { display: grid; }
    .rf-camp-corpo .rf-pie3d,
    .rf-camp-corpo .rf-leg,
    .rf-camp-corpo .rf-meia,
    .rf-camp-corpo > .rf-ritmo { grid-area: auto; width: auto; }
    .rf-camp-corpo .rf-meia { width: 100%; }
    .rf-camp-corpo > .rf-ritmo { margin: 10px 0; }
    .rf-camp-corpo > .rf-encerrar { margin-top: 10px; }
    .rf-dash-logo img { height: 44px; }
    .pj-page .rf-camp-hd h3 { font-size: 20px; }
}
.rf-camp-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pj-page .rf-camp-hd h3 {
    margin: 0; font-size: 28px; letter-spacing: .03em; text-transform: uppercase;
    color: #0a1f3d; font-weight: 800; line-height: 1.1;
}
.rf-camp-hd h3::after { display: none; }
.rf-ritmo { color: #1c2836; font-size: 14px; line-height: 1.4; font-weight: 650; }
.rf-ritmo p { margin: 0 0 6px; }
.rf-ritmo p:last-child { margin-bottom: 0; }
.rf-dash-logo {
    border: 0; background: transparent; padding: 0; cursor: pointer; line-height: 0; flex: 0 0 auto;
}
.rf-dash-logo img { height: 56px; width: auto; display: block; }
.rf-dash-marca { height: 72px; width: auto; display: block; margin: 0 0 8px; }
.rf-dash-btn {
    border: 0; border-radius: 10px; padding: 8px 14px; cursor: pointer;
    background: #0a1f3d; color: #fff; font-weight: 800; letter-spacing: .04em; font-size: 13px;
}
.rf-dash-btn:disabled { opacity: .45; cursor: default; }
.rf-dash-ov {
    position: fixed; inset: 0; z-index: 10060; overflow: auto;
    background: rgba(10, 31, 61, .45); padding: 24px 16px 48px;
}
.rf-dash {
    max-width: 920px; margin: 0 auto; background: #f7f4ee; color: #0a1f3d;
    border-radius: 16px; padding: 22px 22px 28px;
}
.rf-dash-topo { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.rf-dash-topo h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 34px; line-height: 1.05; }
.rf-dash-kicker { margin: 0 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #123a6b; }
.rf-dash-sub, .rf-dash-nota, .rf-dash-rodape { margin: 4px 0 0; color: #3d4c63; font-size: 13px; }
.rf-dash-acoes { display: flex; gap: 6px; }
.rf-dash-dock {
    position: fixed; z-index: 10080;
    background: linear-gradient(90deg, #c5ccd6 0%, #a8b0bb 42%, #7d8794 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 24px rgba(30,40,55,.2);
}
.rf-dash-btn-pdf { background: #1d4ed8; }
.rf-dash-btn-fechar { background: #c0392b; }
.rf-dash-leitura { font-size: 16px; line-height: 1.45; margin: 14px 0; }
.rf-dash-erro {
    margin: 16px 0; padding: 12px 14px; border-radius: 12px;
    background: #fdecee; border: 1px solid #e7b4bc; color: #6e1220;
    font-size: 15px; line-height: 1.45; white-space: pre-line;
}
.rf-dash-espera { font-size: 16px; margin: 18px 0; }
.rf-dash-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 12px; }
.rf-dash-nums div { background: #fff; border-radius: 12px; padding: 10px 12px; }
.rf-dash-nums b { display: block; font-family: "Cormorant Garamond", serif; font-size: 32px; line-height: 1; }
.rf-dash-nums span { font-size: 12px; font-weight: 700; color: #3d4c63; }
.rf-dash h3 {
    margin: 28px 0 8px; padding-top: 12px; border-top: 1px solid #111;
    font-family: "Cormorant Garamond", Georgia, serif; font-size: 32px; font-weight: 600;
    line-height: 1.05; color: #0a1f3d;
}
.rf-legenda { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; margin: 6px 0 0; }
.rf-legenda i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.rf-legenda i.c, .rf-trilha i.c { background: #c0392b; }
.rf-legenda i.b, .rf-trilha i.b { background: #e07c12; }
.rf-legenda i.a { background: #2f9e4f; }
.rf-legenda i.x { background: #c5ced8; }
.rf-linha {
    display: grid; grid-template-columns: minmax(140px, 220px) 1fr 92px;
    grid-template-areas: "nome barra num" "onde onde onde";
    gap: 6px 12px; align-items: center; margin: 0; padding: 10px 0 12px;
    border-bottom: 1px solid #111;
}
.rf-linha-nome { grid-area: nome; }
.rf-linha > .rf-trilha, .rf-linha > .rf-comp { grid-area: barra; }
.rf-comp { display: flex; width: 100%; align-items: flex-end; gap: 3px; min-width: 0; }
.rf-comp > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.rf-comp span { display: block; font-size: 16px; font-weight: 800; line-height: 1.05; text-align: center; color: #0a1f3d; }
.rf-comp small { display: block; font-size: 14px; font-weight: 700; color: #3d4c63; }
.rf-comp i { display: block; height: 18px; width: 100%; border-radius: 4px; margin-top: 3px; }
.rf-comp > div.c i { background: #c0392b; }
.rf-comp > div.b i { background: #e07c12; }
.rf-comp > div.a i { background: #2f9e4f; }
.rf-comp > div.x i { background: #c5ced8; }
.rf-linha-num { grid-area: num; }
.rf-linha-onde { grid-area: onde; display: grid; gap: 2px; color: #1c2836; font-size: 13px; line-height: 1.35; }
.rf-linha-onde b { font-weight: 800; }
.rf-linha-nome b, .rf-linha-num b { display: block; }
.rf-linha-nome small, .rf-linha-num small { display: block; color: #3d4c63; font-size: 11px; line-height: 1.3; }
.rf-linha-num { text-align: right; }
.rf-inv { margin: 0; padding: 10px 0 12px; border-bottom: 1px solid #111; }
.rf-inv-nome { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.rf-inv-nome small, .rf-inv p { color: #1c2836; font-size: 13px; line-height: 1.4; }
.rf-inv p { margin: 4px 0 0; }
.rf-inv p span { display: inline-block; margin: 0 14px 4px 0; }
.rf-onde .rf-linha-nome b { white-space: normal; }
.rf-estica .rf-linha { grid-template-columns: fit-content(11rem) minmax(0, 1fr) auto; }
.rf-estica .rf-linha-nome { max-width: 11rem; }
.rf-estica .rf-linha-nome small,
.rf-uhs .rf-linha-nome small { font-size: 14px; }
.rf-onde .rf-linha-num b { white-space: nowrap; }
.rf-op .rf-linha { padding: 3px 0 4px; gap: 2px 8px; grid-template-columns: 11rem minmax(0, 1fr) auto; }
.rf-op .rf-trilha { height: 8px; }
.rf-op-leitura { font-size: 15px; margin: 6px 0 8px; }
.rf-uh span { font-weight: 800; font-size: .82em; }
.rf-planilha-wrap { overflow-x: auto; margin: 8px 0 4px; border: 1px solid #d9d3c6; border-radius: 12px; background: #fff; }
.rf-planilha { width: 100%; border-collapse: collapse; font-size: 13px; }
.rf-planilha th, .rf-planilha td { padding: 7px 8px; border-bottom: 1px solid #e4e0d6; text-align: right; vertical-align: top; }
.rf-planilha thead th { background: #0a1f3d; color: #fff; font-size: 12px; font-weight: 800; white-space: normal; min-width: 76px; line-height: 1.2; }
.rf-planilha tbody th, .rf-planilha tfoot th, .rf-planilha thead th:first-child { text-align: left; }
.rf-planilha tbody th { position: sticky; left: 0; background: #fff; min-width: 108px; font-size: 14px; }
.rf-planilha tbody tr:nth-child(even) td { background: #f7f4ee; }
.rf-planilha tbody tr:nth-child(even) th { background: #f7f4ee; }
.rf-planilha tbody td b, .rf-planilha tfoot td { font-size: 16px; font-variant-numeric: tabular-nums; }
.rf-planilha tfoot th, .rf-planilha tfoot td { background: #e7eef8; font-weight: 800; border-bottom: 0; }
.rf-planilha small, .rf-cel-sub { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; color: #3d4c63; line-height: 1.25; white-space: normal; }
.rf-cel-sub { color: #8a4b00; }
.rf-album { display: grid; gap: 8px; margin: 10px 0 4px; }
.rf-album-ala {
    display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 8px 12px; align-items: stretch;
    background: #fff; border: 1px solid #d5deea; border-radius: 14px; padding: 8px;
}
.rf-album-ala h4 {
    margin: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 8px 8px; border-radius: 10px; background: #0a1f3d; color: #f4efe4;
    font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15;
}
.rf-album-uhs { display: flex; flex-wrap: wrap; gap: 6px; align-content: center; min-width: 0; }
.rf-album .rf-uh {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 3px 3px 10px;
    border: 1px solid #c5d2e2; border-radius: 999px; background: #f4f7fb; color: #0a1f3d;
    font-size: 15px; font-weight: 800; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums;
}
.rf-album .rf-uh b { font-weight: 800; }
.rf-album .rf-uh span {
    display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 999px; background: #0a1f3d; color: #fff; font-size: 11px; font-weight: 800;
}
.rf-album .rf-uh:hover { background: #e7eef8; border-color: #0a1f3d; color: #0a1f3d; }
.rf-uh {
    font-weight: 800; font-size: 1.2em; line-height: 1; text-decoration: underline; text-underline-offset: 2px;
    color: #0a1f3d; background: none; border: 0; padding: 0 1px; cursor: pointer; font-family: inherit;
}
.rf-uh:hover { color: #1d4ed8; }
.rf-uh-sem { font-weight: 800; font-size: 1.2em; }
.rf-fotos-abre {
    display: inline; margin: 0 0 0 10px; border: 0; background: none; color: #1d4ed8;
    font-weight: 800; font-size: 13px; text-decoration: underline; text-underline-offset: 2px;
    padding: 0; cursor: pointer; font-family: inherit;
}
.rf-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 10px 0 6px; }
.rf-fotos figure { margin: 0; }
.rf-fotos button { display: block; width: 100%; padding: 0; border: 1px solid #111; background: #111; border-radius: 8px; overflow: hidden; cursor: pointer; }
.rf-fotos img { display: block; width: 100%; height: 240px; object-fit: contain; background: #111; }
.rf-fotos figcaption { margin-top: 4px; font-size: 12px; font-weight: 800; }
.rf-fotos figcaption.c { color: #c0392b; }
.rf-fotos figcaption.b { color: #8a5a00; }
.rf-ponto h4 { margin: 8px 0 2px; font-size: 22px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
.rf-fonte { margin: 8px 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rf-fonte-rf { color: #0a1f3d; }
.rf-fonte-op { color: #1d4ed8; }
.rf-fonte-cruz { color: #8a5a00; }
.rf-bloco-op, .rf-bloco-cruz { margin-top: 8px; padding: 10px 12px; border-radius: 10px; }
.rf-bloco-op { background: #eef3fb; }
.rf-bloco-cruz { background: #fbf6ea; }
.rf-bloco-op p, .rf-bloco-cruz p { margin: 4px 0 0; }
.rf-trilha-op { background: #e8edf4; }
.rf-trilha-op i { background: #1d4ed8; }
.rf-trilha { display: flex; height: 14px; background: #e8edf4; border-radius: 99px; overflow: hidden; }
.rf-trilha i { display: block; height: 100%; }
.rf-trilha-soma { height: 18px; margin-top: 4px; }
.rf-plano { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rf-plano li { background: #fff; border-radius: 12px; padding: 10px 12px; display: grid; gap: 3px; }
.rf-plano b { font-size: calc(15px * 1.15); }
.rf-plano span, .rf-plano small, .rf-notas { color: #3d4c63; font-size: 13px; }
.rf-plano span, .rf-plano small { font-size: calc(13px * 1.15); }
.rf-plano span b { font-weight: 800; }
.rf-notas { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 700px) {
    .rf-dash-topo { display: grid; grid-template-columns: 1fr; }
    .rf-dash-nums { grid-template-columns: 1fr 1fr; }
    .rf-linha,
    .rf-estica .rf-linha,
    .rf-op .rf-linha {
        grid-template-columns: 1fr auto;
        grid-template-areas: "nome num" "barra barra" "onde onde";
    }
    .rf-linha-num { text-align: right; }
    .rf-dash-topo h2 { font-size: 28px; }
    .rf-dash-marca { height: 56px; }
    .rf-dash h3 { font-size: 28px; }
    .rf-inv-nome { display: block; }
    .rf-album-ala { grid-template-columns: 1fr; }
    .rf-album-ala h4 { min-height: 0; justify-content: flex-start; padding: 8px 12px; }
}
@media print {
    body.rf-print .sky,
    body.rf-print .pt-topbar,
    body.rf-print .pj-page > :not(.rf-dash-ov),
    body.rf-print .rf-dash-acoes { display: none !important; }
    body.rf-print, body.rf-print .shell { background: #fff !important; }
    body.rf-print .rf-dash-ov { position: static; background: #fff; padding: 0; overflow: visible; }
    body.rf-print .rf-dash { max-width: none; }
    body.rf-print .rf-bloco-op,
    body.rf-print .rf-bloco-cruz,
    body.rf-print .rf-trilha-op i,
    body.rf-print .rf-trilha i,
    body.rf-print .rf-pie-lado,
    body.rf-print .rf-pie-topo,
    body.rf-print .rf-bol,
    body.rf-print .rf-dash-nums div,
    body.rf-print .rf-plano li,
    body.rf-print .rf-album-ala h4,
    body.rf-print .rf-album .rf-uh span { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.gt-toolbar-panel { background: #e8ecf2; border-radius: 10px; padding: 8px 10px; color: #0a1f3d; }
.gt-toolbar { display: flex; flex-direction: column; gap: 6px; }
.gt-toolbar-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gt-toolbar h3 { color: #0a1f3d; font-size: 14px; }
.gt-toolbar select, .gt-toolbar label, .gt-toolbar a, .gt-toolbar b { color: #0a1f3d; }
.gt-group { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; border-radius: 8px; padding: 4px 8px; color: #0a1f3d; }
.gt-group-agrup { background: #e4d9f5; }
.gt-group-cal { background: #c5e4f4; }
.gt-group-exibir { background: #d4e8c8; }
.gt-group-lbl { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: #0a1f3d; }
.gt-group .pj-hint { color: #3e4a5c; }
.gt-analise { background: #f4f8fc; border-left: 3px solid #4a7dc4; border-radius: 0 8px 8px 0; padding: 6px 10px; font-size: 12px; color: #0a1f3d; }
.gt-avisos { background: #fff6e5; color: #8a4500; border-radius: 8px; padding: 6px 10px; font-size: 12px; }
.gt-scroll { overflow: auto; background: #fff; border-radius: 8px; }
.gt-linha { display: flex; height: 28px; border-bottom: 1px solid #eef1f5; position: relative; }
.gt-header { height: 28px; border-bottom: 2px solid #c9d2de; }
.gt-nome { width: 145px; min-width: 145px; font-size: 11px; font-weight: 700; color: #0a1f3d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 4px 0 0; }
.gt-chart { position: relative; flex-shrink: 0; height: 100%; }
.gt-dia { font-size: 11px; font-weight: 700; color: #0a1f3d; text-align: center; border-right: 1px solid #c9d2de; display: flex; align-items: center; justify-content: center; }
.gt-grade { position: absolute; inset: 0; display: flex; pointer-events: none; }
.gt-cel { flex-shrink: 0; height: 100%; border-right: 1px solid #c9d2de; position: relative; }
.gt-naoutil, .gt-faixa-naoutil { background: #e9edf3; }
.gt-faixa-naoutil { position: absolute; top: 0; bottom: 0; left: calc(var(--gt-l) * 100%); width: calc(var(--gt-w) * 100%); }
.gt-cel-hoje { background: #dbe7f7; }
.gt-barra { position: absolute; top: 5px; height: 15px; border-radius: 4px; border: 1px solid rgba(0,0,0,.25); overflow: hidden; z-index: 3; left: calc(var(--gt-l) * 100%); width: calc(var(--gt-w) * 100%); min-width: 4px; }
.gt-derivada { border: 2px dashed rgba(10,31,61,.75); }
.gt-pct { height: 100%; background: rgba(10,31,61,.45); }
.gt-marco, .gt-losango { position: absolute; top: 3px; transform: translateX(-50%); left: calc(var(--gt-c) * 100%); z-index: 5; }
.gt-losango { color: #b00020; }
.gt-linhahoje { position: absolute; top: 0; bottom: 0; width: 2px; background: #4a7dc4; transform: translateX(-50%); left: calc(var(--gt-c) * 100%); z-index: 2; }
.gt-svg { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 6; }
.gt-legenda { font-size: 11px; color: #3e4a5c; }
.gt-eterna { color: #b00020; }
.gt-zoom { display: inline-flex; gap: 4px; align-items: center; background: #fff; border-radius: 8px; padding: 3px 8px; color: #0a1f3d; }
.uh-map { display: flex; flex-wrap: wrap; gap: 3px; flex: 1; min-width: 0; }
.uh-tile { min-width: 36px; padding: 3px 5px; border-radius: 5px; border: 1px solid #c9d2de; background: #fff; font-weight: 800; font-size: 12px; font-family: Verdana, Geneva, sans-serif; color: #123a6b; cursor: pointer; }
.uh-tile.off { opacity: .4; text-decoration: line-through; }
.alas-forms {
    display: grid;
    grid-template-columns: minmax(148px, 168px) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 6px;
    align-items: stretch;
}
.alas-box { border-radius: 8px; padding: 6px 8px; display: grid; gap: 4px; border: 1px solid #c5d3e6; background: #fff; min-width: 0; }
.alas-box h3 {
    margin: 0;
    font-size: 11.5px; /* +15% sobre 10px */
    letter-spacing: .03em;
    text-transform: none;
    font-weight: 800;
    color: #123a6b;
    line-height: 1.25;
}
.alas-box.ala { background: #c5c9cf; border-color: #9aa1ab; }
.alas-box.um { background: #c5daf0; border-color: #8fb0d4; } /* ~18% mais escuro */
.alas-box.serie { background: #c2e3d0; border-color: #8bc4a3; }
.alas-box.serie h3 { color: #1a5a3a; }
.alas-box.ala h3 { color: #3a4450; }
.alas-inline { display: flex; flex-wrap: nowrap; gap: 4px; align-items: end; min-width: 0; }
.alas-inline label {
    display: grid; gap: 2px; font-size: 10.5px; /* +15% sobre 9px */ font-weight: 800; color: #33465e;
    flex: 0 0 auto; min-width: 0;
}
.alas-inline label.w-nome { flex: 1 1 96px; max-width: 118px; }
.alas-inline label.w-ala { flex: 1 1 88px; min-width: 88px; max-width: 130px; }
.alas-inline label.w-num { flex: 0 0 42px; width: 42px; }
.alas-inline label.w-tipo { flex: 0 0 68px; width: 68px; }
.alas-inline input, .alas-inline select {
    width: 100%; padding: 2px 4px; border: 1px solid #c3ccd9; border-radius: 4px;
    font: 11px Verdana, Geneva, sans-serif; color: #0a1f3d; background: #fff;
    height: 24px; box-sizing: border-box; min-width: 0;
}
.alas-inline select { padding-right: 2px; }
.alas-btn {
    flex: 0 0 58px;
    width: 58px;
    min-width: 58px;
    height: 24px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    font: 700 10px Verdana, Geneva, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
    box-sizing: border-box;
    text-align: center;
}
.alas-btn.navy { background: #123a6b; color: #fff; border-color: #0d2d54; }
.alas-btn.navy:hover { filter: brightness(1.08); }
.alas-btn.green { background: #1f9d55; color: #fff; border-color: #178a48; }
.alas-btn.green:hover { filter: brightness(1.06); }
.alas-btn.excluir { background: #b0b7c2; color: #b42318; border-color: #9aa3b0; flex: 0 0 auto; width: auto; min-width: 88px; }
.alas-btn.excluir:hover { filter: brightness(0.97); }
.alas-btn.excluir:disabled { opacity: .45; cursor: not-allowed; }
.alas-btn.cancelar { background: #b42318; color: #fff; border-color: #8f1a12; flex: 0 0 auto; width: auto; min-width: 88px; }
.alas-btn.cancelar:hover { filter: brightness(1.08); }
.alas-mapa-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; justify-content: space-between; }
.alas-total { font: 700 13px Verdana, Geneva, sans-serif; color: #0a1f3d; white-space: nowrap; display: flex; align-items: baseline; gap: 8px; }
.alas-total b {
    font: 800 42px/1 Verdana, Geneva, sans-serif;
    color: #0a1f3d;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.alas-linha { display: grid; grid-template-columns: 100px 1fr auto; gap: 6px 10px; align-items: start; padding: 7px 0; border-bottom: 1px solid #e8edf4; }
.alas-linha.off { opacity: .55; }
.alas-nome { font-weight: 800; color: #0a1f3d; font-size: 12px; padding-top: 3px; font-family: Verdana, Geneva, sans-serif; }
.alas-linha-dir { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 88px; }
.alas-qtd { font: 800 18px Verdana, Geneva, sans-serif; color: #0a1f3d; font-variant-numeric: tabular-nums; }
.alas-linha-dir .lnk { border: 0; background: transparent; color: #0a4a8a; font: 700 11px Verdana, Geneva, sans-serif; text-decoration: underline; cursor: pointer; padding: 0; }
.alas-linha-dir .lnk.danger { color: #b42318; }
.alas-ov { position: fixed; inset: 0; z-index: 70; background: rgba(6,16,32,.5); display: grid; place-items: center; padding: 16px; }
.alas-dlg { width: min(400px, 94vw); background: #fff; border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.alas-dlg h3 { margin: 0; font-size: 16px; color: #0a1f3d; }
.alas-dlg p { margin: 0; font-size: 13px; color: #3e4a5c; line-height: 1.4; }
.alas-dlg-acts {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 6px;
    align-items: center;
    justify-content: center;
}
.alas-dlg-acts .alas-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    height: 30px;
    padding: 0 12px;
    font-size: 17px; /* +40% sobre 12px */
}
.alas-dlg-acts .alas-btn.navy {
    min-width: 101px; /* +15% sobre 88px */
}
@media (max-width: 980px) {
    /* Tablet: nova ala estreita + os dois formulários ainda em 3 colunas quando couber */
    .alas-forms { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.05fr); gap: 5px; }
    .alas-inline label.w-ala { min-width: 72px; max-width: 110px; }
    .alas-inline label.w-tipo { flex: 0 0 58px; width: 58px; }
}
@media (max-width: 780px) {
    /* Tablet estreito: nova ala + um apto na 1ª linha; série embaixo em largura total */
    .alas-forms { grid-template-columns: 140px minmax(0, 1fr); }
    .alas-box.serie { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .alas-linha { grid-template-columns: 1fr; }
    .alas-linha-dir { flex-direction: row; align-items: center; gap: 10px; }
}
@media (max-width: 520px) {
    .alas-forms { grid-template-columns: 1fr; }
    .alas-box.serie { grid-column: auto; }
    .alas-inline { flex-wrap: wrap; }
    .alas-dlg-acts { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 720px) {
    .pe-wrap, .pj-form .row2 { grid-template-columns: 1fr; }
    .insp-stat { grid-template-columns: 1fr 1fr; }
    .pj-pill { font-size: 11px; padding: 5px 8px; }
    .pj-hub-l1-desc, .pj-hub-l2, .pj-hub-l3 { padding-left: 0; }
    .pj-hub-nome { font-size: 15px; }
}

/* Overlay Estatísticas (legado) */
.est-ov { position: fixed; inset: 0; z-index: 1300; background: rgba(6,16,32,.55); display: grid; place-items: center; padding: 12px; }
.est-popup {
    width: min(520px, 96vw); max-height: 92vh;
    background: linear-gradient(180deg, #1a4f8c 0%, #123a6b 26%, #0d2b52 100%);
    border: 1px solid rgba(212,175,55,.55); color: #e8eefb; border-radius: 10px;
    box-shadow: 0 16px 50px rgba(0,0,0,.6);
    display: flex; flex-direction: column; padding: 10px 12px 8px;
}
.est-hdr { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; border-bottom: 1px solid rgba(212,175,55,.35); padding-bottom: 4px; flex-shrink: 0; }
.est-hdr-mid { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.est-logo { height: 20px; width: auto; background: #fff; border-radius: 4px; padding: 1px 6px; }
.est-hdr-tit { font-size: 14px; font-weight: 700; color: #e3c05c; letter-spacing: .03em; }
.est-x {
    flex-shrink: 0; border: 0; color: #0a1f3d; font-size: 24px; font-weight: 700; line-height: 1;
    min-width: 38px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #e9cd76, #c9a227); border-radius: 6px; cursor: pointer;
}
.est-x:hover { filter: brightness(1.1); }
.est-escopo { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.est-ddl {
    flex: 1 1 140px; min-width: 0; height: 28px; font-size: 12px; border-radius: 5px;
    border: 1px solid rgba(212,175,55,.5); background: #0a1f3d; color: #e8eefb; padding: 0 6px;
}
.est-hint { font-size: 10px; color: #9fb0c8; margin-bottom: 6px; line-height: 1.25; flex-shrink: 0; }
.est-corpo { flex: 1 1 auto; overflow-y: auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.est-kpis { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.est-kpi {
    flex: 1 1 90px; min-width: 90px; text-align: center; padding: 5px 3px;
    border: 1px solid rgba(212,175,55,.45); border-radius: 6px;
}
.est-kpi b { display: block; font-size: 18px; color: #e3c05c; line-height: 1.1; }
.est-kpi span { font-size: 9px; color: #aebdd3; }
.est-kpi.atr b { color: #ff7a6e; }
.est-kpi.prz b { color: #e3c05c; }
.est-lgd { font-size: 9px; color: #aebdd3; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.est-lg { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.est-lg.atv { background: linear-gradient(180deg, #e9cd76, #c9a227); }
.est-lg.atr { background: #e0604f; }
.est-grafico { display: flex; flex-direction: column; gap: 3px; max-height: 22vh; overflow-y: auto; }
.est-row { display: flex; align-items: center; gap: 4px; }
.est-nome {
    flex: 0 0 100px; max-width: 100px; font-size: 10px; color: #dfe8f6; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right;
}
.est-bar { flex: 1; display: flex; align-items: stretch; min-height: 14px; background: rgba(255,255,255,.07); border-radius: 3px; overflow: hidden; }
.est-seg {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700; min-width: 0; overflow: hidden;
}
.est-seg.atv { background: linear-gradient(180deg, #e9cd76, #c9a227); color: #0a1f3d; }
.est-seg.atr { background: linear-gradient(180deg, #e0604f, #c04a3a); color: #fff; }
.est-tot { flex: 0 0 26px; font-size: 11px; font-weight: 700; color: #e3c05c; text-align: left; }
.est-vazio { font-size: 12px; color: #aebdd3; padding: 10px 0; text-align: center; margin: 0; }
.est-tortas { margin-top: 8px; border-top: 1px solid rgba(212,175,55,.3); padding-top: 6px; }
.est-torta { text-align: center; }
.est-torta.g { margin-bottom: 6px; }
.est-torta-tit { font-size: 10px; font-weight: 700; color: #e3c05c; margin-bottom: 2px; }
.est-svg { display: inline-block; }
.est-svg-g { width: 100%; max-width: 420px; height: auto; }
.est-tortas-peq { display: flex; justify-content: center; align-items: flex-start; gap: 8px; }
.est-tortas-peq .est-torta { flex: 1 1 0; min-width: 0; max-width: 220px; }
.est-tortas-peq svg { width: 100%; max-width: 200px; height: auto; }
.est-torta-nada { font-size: 14px; color: #8fa1bb; padding: 12px 0; }
.est-fechar-rod {
    display: block; width: 100%; margin-top: 8px; padding: 8px 0; min-height: 36px; flex-shrink: 0;
    background: linear-gradient(180deg, #e9cd76, #c9a227); color: #0a1f3d;
    border: none; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.est-fechar-rod:hover { filter: brightness(1.1); }
@media (max-width: 560px) {
    .pt-user-nome { max-width: 120px; }
    .pt-linha2-scroll, .pt-linha3-centro { gap: 8px; }
    .pt-linha3-centro { flex-wrap: wrap; }
    .pt-nav-item { font-size: 12px; padding: 1px 3px; }
}

/* —— Ver inspeção (leitura rica) —— */
.pv-page { max-width: 820px; }
.pv-erro {
  color: #7a2e24; background: #fdf0ee; border: 1px solid #f0c4be;
  padding: 14px 16px; border-radius: 14px; font-size: 15px;
}
.pv-erro b { display: block; margin-bottom: 6px; font-size: 16px; }
.pv-erro p { margin: 6px 0 0; font-weight: 500; line-height: 1.45; color: #5c342e; }
.pv-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; align-items: stretch; }
.pv-nav a {
  font-size: 13px; font-weight: 800; text-decoration: none; color: #0a1f3d;
  background: #fff; border: 1px solid #b7c6d8; border-radius: 10px; padding: 8px 14px;
  line-height: 1.15; letter-spacing: .04em;
}
.pv-nav a.pv-nav-mapa {
  background: #0a1f3d; color: #fff; border-color: #0a1f3d;
  order: -1;
}
.pv-nav a.pv-pdf { background: linear-gradient(180deg,#2bb673,#1f9d5b); color: #fff; border-color: #1a8a50; font-size: 13px; }
.pv-dock {
  position: fixed; z-index: 40; display: flex;
  background: linear-gradient(180deg, #c5ccd6 0%, #a8b0bb 42%, #7d8794 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 24px rgba(30,40,55,.2);
}
.pv-dock a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  text-decoration: none; color: #fff; background: #0a1f3d; border-radius: 10px;
  font-weight: 800; letter-spacing: .04em; line-height: 1.15; font-size: 13px;
  padding: 8px 10px; min-height: 36px;
}
.pv-dock a.pv-dock-mapa { background: #123a6b; }
.pv-dock a.pv-dock-x { background: #c0392b; }
@media (min-width: 1000px) {
  .pv-page { padding-right: 188px; }
  .pv-dock {
    right: max(12px, env(safe-area-inset-right, 0px));
    top: 50%; left: auto; bottom: auto; transform: translateY(-50%);
    width: 168px; padding: 8px; gap: 8px;
    flex-direction: column; border-radius: 16px;
  }
  .pv-dock a { width: 100%; }
}
@media (max-width: 999px) {
  .pv-page { padding-bottom: 64px; }
  .pv-dock {
    left: 0; right: 0; bottom: 0; top: auto;
    flex-direction: row; gap: 4px; border-radius: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .pv-dock a { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 6px 4px; font-size: 12px; }
}
@media print {
  .pv-dock { display: none; }
  .pv-page { padding-right: 0; padding-bottom: 0; }
}
.pv-hero {
  background: linear-gradient(135deg, #0a1f3d 0%, #123a6b 48%, #1a5a96 100%);
  color: #fff; border-radius: 18px; padding: 20px 22px 16px;
  box-shadow: 0 14px 34px rgba(10,31,61,.28);
}
.pv-hero h1 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; }
.pv-hero p { margin: 0 0 10px; opacity: .9; font-size: 14px; }
.pv-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.pv-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; background: rgba(255,255,255,.18); }
.pv-pill.ok { background: #2bb673; }
.pv-pill.run { background: #e8a317; color: #1a1200; }
.pv-trilha { background: #fff; border: 1px solid #dce5f0; border-radius: 14px; padding: 12px 14px; }
.pv-trilha h3 { margin: 0 0 8px; font-size: 13px; color: #123a6b; }
.pv-dur { display: inline-block; background: #1a6b3c; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; margin-bottom: 8px; }
.pv-trilha ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pv-trilha-ev { display: grid; grid-template-columns: 72px 1fr 1.4fr; gap: 8px; font-size: 13px; padding: 6px 8px; border-radius: 8px; background: #f5f8fc; }
.pv-trilha-ev.open { border-left: 3px solid #2a6fbb; }
.pv-trilha-ev.done { border-left: 3px solid #1a8a50; }
.pv-score {
  background: #e8f7ee; border: 1px solid #b5dfc4; color: #157a45;
  font-weight: 800; padding: 10px 14px; border-radius: 12px;
}
.pv-score.bad { background: #fdecea; border-color: #f0c4be; color: #a12828; }
.pv-midia-hint {
  background: #eaf3fb; border: 1px solid #c5daf0; color: #1a4a7a;
  padding: 10px 14px; border-radius: 12px; font-size: 13px;
}
.pv-empty {
  border: 2px dashed #c3ccd9; border-radius: 14px; padding: 28px; text-align: center;
  color: #5a6a7a; font-weight: 600; background: #f7f9fc;
}
.pv-sec { margin: 10px 0 4px; }
.pv-sec span {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #5e4510; background: #f3e7c8; padding: 4px 10px; border-radius: 8px;
}
.pv-card {
  background: #fff; border: 1px solid #dce5f0; border-radius: 14px; padding: 12px 14px;
  display: grid; gap: 8px; box-shadow: 0 1px 2px rgba(10,31,61,.04);
}
.pv-card-note { background: #fffbeb; border-color: #f0e0a8; }
.pv-q { font-weight: 700; color: #0a1f3d; font-size: 15px; }
.pv-linhas { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: #243044; }
.pv-linhas li { margin: 2px 0; }
.pv-ans { font-size: 15px; color: #1a3a5c; background: #f4f7fb; padding: 8px 10px; border-radius: 10px; }
.pv-note { font-size: 13px; background: #f8faf0; border-radius: 10px; padding: 8px 10px; }
.pv-note span { display: block; font-size: 10px; font-weight: 800; color: #6a7a2a; text-transform: uppercase; margin-bottom: 2px; }
.pv-anx { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.pv-thumb { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #123a6b; width: 160px; max-width: 100%; min-width: 0; overflow: hidden; border: 0; background: transparent; padding: 0; text-align: left; font: inherit; cursor: pointer; }
.pv-thumb img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid #d5e0ee; background: #eee; }
.pv-vid, .pv-aud { display: flex; flex-direction: column; gap: 4px; color: #123a6b; width: 240px; max-width: 100%; min-width: 0; overflow: hidden; }
.pv-vid video { width: 100%; max-height: 180px; border-radius: 10px; background: #111; }
.pv-aud audio { width: 100%; }
.pv-doc { display: flex; flex-direction: column; gap: 4px; width: 240px; max-width: 100%; min-width: 0; color: #123a6b; text-decoration: none; }
.pv-pills { display: flex; flex-direction: column; gap: 3px; min-width: 0; max-width: 100%; }
.pv-pills span {
  display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  box-sizing: border-box; font-size: 8px; font-weight: 650; line-height: 1.2;
  padding: 2px 7px; border-radius: 999px; background: #e7eef6; color: #123a6b;
}
.pv-assin {
  background: #fff; border: 1px solid #dce5f0; border-radius: 14px; padding: 14px;
}
.pv-assin h3 { margin: 0 0 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #5a6a7a; }
.pv-assin img { max-width: 100%; max-height: 180px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; }
.pv-ass-txt { font-family: Georgia, serif; font-size: 28px; font-style: italic; color: #123a6b; margin: 0; }

/* ══ Hub de Rotinas ═══════════════════════════════════════════════════════════ */
.rt-sheet {
    width: min(400px, 96vw); max-height: 84vh; overflow: hidden;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, #dad9d5 0%, #d1d0cb 100%);
    color: #141c26; border-radius: 16px;
    border: 1px solid rgba(255,255,255,.42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 18px 44px rgba(18, 22, 28, .28);
}
.rt-h {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px 7px;
    background: linear-gradient(180deg, #b6b4ad 0%, #aaa89f 100%);
    border-bottom: 1px solid rgba(122, 98, 42, .45);
    box-shadow: inset 0 -1px 0 rgba(201, 162, 74, .35);
}
.rt-marca {
    width: 58px; height: 58px; border-radius: 0; object-fit: contain;
    flex: none; background: transparent; box-shadow: none;
}
.rt-h h2 {
    margin: 0; flex: 1; min-width: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px; font-weight: 650; letter-spacing: .01em;
    color: #141c26; line-height: 1.15;
}
.rt-h .rt-dia {
    display: block; font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 12px; font-weight: 650; letter-spacing: .04em;
    color: #6d7682; text-transform: none;
}
.rt-h-dir { display: flex; align-items: center; gap: 4px; flex: none; }
.rt-mais, .rt-ativar {
    width: 30px; height: 30px; border: 1px solid rgba(30,40,50,.12); border-radius: 7px; cursor: pointer;
    background: #d8d6cf; color: #141c26; font-size: 18px; line-height: 1;
}
.rt-mais { font-size: 20px; font-weight: 700; color: #7a5c18; }
.rt-ativar { font-size: 15px; }
.rt-fechar {
    height: 30px; padding: 0 12px; border: 0; border-radius: 7px; cursor: pointer;
    background-color: #8a3a38; color: #f6eceb; font-size: 13px; font-weight: 750;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.rt-fechar:hover { background-color: #7a3331; }
.rt-body {
    overflow: auto; display: grid; gap: 2px; padding: 5px 8px 6px;
    background: linear-gradient(180deg, #dad9d5 0%, #d1d0cb 100%);
}
.rt-calc {
    margin: 36px 12px 28px; display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 16px; font-weight: 750; color: #6b5010; letter-spacing: .03em;
}
.rt-sheet-cad { background: linear-gradient(180deg, #d7d5d1 0%, #cfcdc9 100%); }
.rt-sheet-cad .rt-body { background: linear-gradient(180deg, #d7d5d1 0%, #cfcdc9 100%); }
.rt-bar { display: grid; grid-template-columns: 1fr; gap: 5px; }
.rt-bar b { font-size: 14px; color: #6b5010; }
.rt-ln.off span { opacity: .45; }
.rt-cad-lbl { flex-direction: column !important; align-items: flex-start !important; gap: 0 !important; }
.rt-filtro {
    margin-left: auto; width: min(46%, 160px); height: 24px; padding: 0 6px;
    border: 1px solid #a09e96; border-radius: 6px; background: #d8d6cf; color: #141c26;
    font-size: 12px; font-weight: 650;
}
.rt-grp { display: grid; gap: 0; }
.rt-grp h4, .rt-dash > h4 {
    margin: 10px 0 4px; padding: 0 0 2px; font-size: 12px; font-weight: 750;
    color: #1a3358; letter-spacing: .08em; text-transform: uppercase;
    background: none; border-radius: 0;
    border-bottom: 1px solid rgba(122, 98, 42, .28);
}
.rt-grp:first-of-type h4, .rt-dash > h4:first-child { margin-top: 2px; }
.rt-ln {
    display: flex; align-items: center; gap: 5px;
    min-height: 24px; padding: 1px 0;
}
.rt-ln label {
    flex: 1; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px;
    font-size: 14px; font-weight: 650; color: #141c26; cursor: pointer; line-height: 1.15;
}
.rt-ln input[type=checkbox] { width: 15px; height: 15px; accent-color: #c9a24a; flex: none; align-self: center; }
.rt-ln span { overflow: visible; white-space: normal; color: #141c26; }
.rt-ln small { color: #61676d; font-size: 12px; font-weight: 700; flex: none; }
.rt-prox {
    font-family: Verdana, Arial, sans-serif;
    font-size: 11px; font-weight: 400; color: #61676d;
    margin-left: 4px;
}
.rt-ln .rt-saldo { display: inline; font-style: normal; font-size: 12px; font-weight: 650; color: #7a5610; }
.rt-meta-dica { margin: 0; font-size: 12px; font-weight: 650; color: #6b5010; line-height: 1.35; }
.rt-ln.ok span { opacity: .72; text-decoration: line-through; }
.rt-ln.atr span { color: #9a3030; }
.rt-naodeu {
    flex: none; height: 20px; padding: 0 6px; border: 1px solid #c4aaa6; border-radius: 5px;
    background: transparent; color: #7a403c; font-size: 11px; font-weight: 650;
    cursor: pointer; line-height: 1;
}
.rt-naodeu:hover { color: #9a3030; border-color: #8a3a38; }
.rt-ln-ed {
    width: 26px; height: 26px; padding: 0; flex: none;
    border: 0; border-radius: 7px; cursor: pointer;
    background: #0a1f3d; color: #c9a24a;
    display: grid; place-items: center;
    box-shadow: 0 0 0 1px #c9a24a;
}
.rt-ln-ed svg { width: 14px; height: 14px; display: block; }
.rt-ln-ed:hover { background: #123a6b; color: #f3e2b6; }
.rt-vazio { margin: 8px 0; font-size: 14px; color: #8b939c; }
.rt-form { display: grid; gap: 5px; }
.rt-form label, .rt-form .rt-horas {
    display: grid; gap: 2px; font-size: 12px; font-weight: 700; color: #3e4854;
}
.rt-form input, .rt-form select {
    height: 30px; padding: 0 8px; border: 1px solid #a09e96; border-radius: 6px;
    background: #e2e0d9; color: #141c26; font-weight: 600; font-size: 15px;
}
.rt-form input::placeholder { color: #7a7e78; }
.rt-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.rt-cls-row { display: grid; gap: 3px; }
.rt-modos, .rt-som { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.rt-modos button, .rt-som > button {
    border: 1px solid #a09e96; background: #e2e0d9; color: #141c26;
    border-radius: 999px; padding: 4px 9px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.rt-abas {
    display: grid; grid-template-columns: 1fr 1fr 1fr; flex: 1; min-width: 0; gap: 0;
}
.rt-abas button {
    display: flex; align-items: center; justify-content: center; width: 100%; text-align: center;
    border: 1px solid #a09e96; background: #d8d6cf; color: #141c26;
    border-radius: 8px 8px 0 0; padding: 6px 4px; font-size: 12px; font-weight: 750; cursor: pointer;
}
.rt-abas button i {
    font-style: normal; margin-left: 4px; font-weight: 800; color: #7a5610;
}
.rt-abas button.on i { color: #f3e2b6; }
.rt-aba-hoje.on { background: #0a1f3d; color: #f3e2b6; border-color: #c9a24a; }
.rt-aba-cad { background: #c8c6bf; }
.rt-aba-cad.on { background: #3a4038; color: #f3efe6; border-color: #c9a24a; }
.rt-aba-sem.on { background: #0a1f3d; color: #f3e2b6; border-color: #c9a24a; }
.rt-dash { display: grid; gap: 3px; }
.rt-dash-ln {
    display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; align-items: baseline;
}
.rt-dash-ln b { font-size: 13px; font-weight: 700; color: #141c26; }
.rt-dash-ln span { font-size: 12px; font-weight: 800; color: #7a5610; }
.rt-dash-bar { grid-column: 1 / -1; height: 5px; background: #d8d6cf; border-radius: 99px; overflow: hidden; }
.rt-dash-bar i { display: block; height: 100%; background: #c9a24a; }
.rt-dots-leg {
    display: flex; justify-content: flex-end; gap: 4px; padding-right: 0;
    font-size: 9px; font-weight: 800; color: #8b939c; letter-spacing: 0;
}
.rt-dots-leg span { width: 10px; text-align: center; }
.rt-pnl {
    display: grid; grid-template-columns: 1fr auto auto; gap: 4px 8px; align-items: center;
    min-height: 22px; padding: 1px 0;
}
.rt-pnl b { font-size: 13px; font-weight: 650; color: #141c26; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-pnl span { font-size: 11px; font-weight: 800; color: #7a5610; }
.rt-pnl .rt-dots { display: flex; justify-content: flex-end; gap: 4px; }
.rt-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c8c6bf; }
.rt-dots i.ok { background: #c9a24a; }
.rt-dots i.miss { background: #8a3a38; }
.rt-dots i.hoje { background: #8e9088; box-shadow: 0 0 0 1px #7a5c18; }
.rt-dots i.fut { background: #c8c6bf; }
.rt-dots i.off { background: transparent; box-shadow: inset 0 0 0 1px #8a887f; }
.rt-modos button.on, .rt-som > button.on, .rt-som > button:disabled {
    background: #0a1f3d; color: #f3e2b6; border-color: #c9a24a;
}
.rt-som > button:disabled { opacity: 1; cursor: default; }
.rt-dias { display: flex; flex-wrap: wrap; gap: 4px; }
.rt-dia-btn {
    min-width: 36px; height: 26px; padding: 0 5px; border-radius: 6px;
    border: 1px solid #a09e96; background: #e2e0d9; color: #141c26;
    font-size: 13px; font-weight: 700; cursor: pointer;
}
.rt-dia-btn.on { background: #0a1f3d; color: #f3e2b6; border-color: #c9a24a; }
.rt-hora-row { display: flex; gap: 4px; align-items: center; }
.rt-x { border: 0; background: #c8c6bf; color: #141c26; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 16px; }
.rt-check { display: flex !important; flex-direction: row; align-items: center; gap: 6px; font-size: 13px !important; font-weight: 650 !important; color: #141c26 !important; margin: 0 !important; }
.rt-check input { width: auto; accent-color: #c9a24a; }
.rt-nova-cls { display: flex; gap: 4px; }
.rt-mini {
    border: 0; background: #0a1f3d; color: #f3e2b6; border-radius: 6px;
    padding: 0 10px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.rt-link { border: 0; background: none; color: #6b5010; font-weight: 700; cursor: pointer; font-size: 13px; padding: 0; }
.rt-ocors { display: grid; gap: 4px; }
.rt-ocors > span { font-size: 12px; font-weight: 700; color: #6b5010; }
.rt-ocor {
    display: grid; gap: 2px; padding: 4px 6px; border-radius: 6px;
    background: #d8d6cf; border: 1px solid #a09e96;
}
.rt-ocor > b { font-size: 12px; font-weight: 700; color: #6b5010; line-height: 1.25; }
.rt-ocor .rt-som { gap: 4px; }
.rt-voz-todas { margin-top: 0 !important; }
.rt-form-acoes { display: flex; justify-content: flex-end; gap: 6px; margin-top: 0; }
.rt-btn-ghost, .rt-btn-voltar, .rt-btn-ok {
    border: 0; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 750; cursor: pointer;
}
.rt-btn-ghost { background: #8b1e1e; color: #fff; }
.rt-btn-voltar { background: #d8d6cf; color: #141c26; border: 1px solid #a09e96; }
.rt-btn-ok { background: #0a1f3d; color: #f3e2b6; }
.rt-erro { color: #9a3030; font-size: 14px; margin: 0; }
.rt-voz-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
.rt-voz-ok { font-size: 12px; font-weight: 750; color: #6b5010; }
.rt-gravar { border: 1px solid #c9a24a; background: #e2e0d9; color: #6b5010; border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.rt-ouvir {
    border: 1px solid #c9a24a; background: #0a1f3d; color: #f3e2b6;
    border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 750; cursor: pointer;
}
.rt-alarme { width: min(400px, 96vw); background: #f3f4f6; }
.rt-alarme .sheet-h { background: #f3f4f6; border-bottom-color: #e4e7ec; }
.rt-alarme .sheet-f { background: #f3f4f6; }
.rt-alarme-quando {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
    margin: 2px 0 0;
}
.rt-alarme-quando b { font-size: 22px; font-weight: 800; letter-spacing: .02em; color: #1c2836; line-height: 1; }
.rt-alarme-quando span { font-size: 16px; font-weight: 500; color: #5a6a7c; }
.rt-alarme .sheet-f { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.rt-alarme-par { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.rt-alarme-par .btn-cancel,
.rt-alarme-par .btn-save {
    width: 100%; min-height: 48px; margin: 0; padding: 12px 8px;
    font-size: 15px; font-weight: 750; border-radius: 10px;
}
.rt-alarme-adiar { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 100%; }
.rt-alarme-adiar span { width: 100%; text-align: center; font-size: 13px; font-weight: 700; color: #4a5c74; }
.rt-alarme-adiar button {
    border: 1px solid #c9a24a; background: #0a1f3d; color: #f3e2b6;
    border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 750; cursor: pointer;
}
.rt-alarme-adiar button.rt-alarme-livre {
    width: 100%; min-height: 46px; margin-top: 4px; border-radius: 12px;
    padding: 12px 14px; font-size: 15px;
}
.rt-alarme-livre-box {
    display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%;
}
.rt-alarme-livre-box input {
    height: 40px; border: 1px solid #c5d0de; border-radius: 10px; padding: 0 10px;
    background: #fff; color: #1c2836; font: inherit; font-weight: 700;
}
.rt-alarme-livre-box button {
    height: 40px; padding: 0 14px; border-radius: 10px;
}
.rt-alarme-livre-erro { width: 100%; text-align: center; color: #9a1b2f; font-size: 12px; font-weight: 700; }
.rt-alarme-adiar button:hover { filter: brightness(1.12); }
@keyframes rt-rec-blink {
    0%, 100% { background: #c9a24a; color: #071527; border-color: #c9a24a; }
    50% { background: #b42318; color: #fff; border-color: #b42318; }
}
.rt-gravar.rec { animation: rt-rec-blink .7s ease-in-out infinite; }
.rt-alarme p { margin: 0; }
.rt-alarme-tit { display: flex; align-items: center; gap: 8px; }
.rt-ico-img { object-fit: cover; border-radius: 50%; display: block; flex: none; }
.rt-ico-rotina {
    width: 36px; height: 40px; padding: 3px 0 12px; border: 0; background: transparent; cursor: pointer;
    border-radius: 8px; display: grid; place-items: start center; box-sizing: border-box; position: relative;
    overflow: visible;
}
.rt-ico-rotina:hover, .rt-ico-rotina.on { background: rgba(18,58,107,.1); }
.rt-ico-disc { position: relative; display: block; width: 28px; height: 28px; overflow: visible; }
.rt-ico-rotina img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; }
.rt-ico-badge {
    position: absolute; top: -5px; left: calc(100% - 1px); right: auto;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 999px; background: #c45c12; color: #fff; font-size: 10px; font-weight: 800;
    display: grid; place-items: center; line-height: 1;
    box-shadow: 0 0 0 1.5px #fff; z-index: 2;
}
.pt-nav-badge-rot { background: #c4a35a; color: #0a1f3d; }
.pt-nav-rotinas-ico { width: auto; height: 28px; margin-right: 6px; gap: 8px; }
.pt-nav-rotinas-ico .pt-nav-ico { width: 28px; height: 28px; border-radius: 0; object-fit: contain; background: transparent; }
@media (max-width: 900px) {
    .pt-nav-rotinas-ico { width: auto; height: 22px; gap: 6px; }
    .pt-nav-rotinas-ico .pt-nav-ico { width: 22px; height: 22px; }
}

/* ══ Cadeado (PIN) — bege do login, ouro ranhurado ═══════════════════════════ */
.pt-cadeado[hidden] { display: none !important; }
.pt-cadeado {
    position: fixed; inset: 0; z-index: 20000;
    display: grid; place-items: center; padding: 16px;
    background:
        radial-gradient(ellipse at 50% 38%, #1a3a68 0%, transparent 46%),
        #061426;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.pt-cadeado-uso { margin: 2px 0 8px; font-size: 14px; font-weight: 400; color: #8a6a22; }
.pt-cadeado-uso button {
    margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
    color: inherit; font: inherit; font-weight: 800; text-decoration: underline;
}
.pt-cadeado-card {
    position: relative;
    width: min(248px, 86vw); text-align: center; color: #0a1f3d;
    padding: 14px 14px 10px; border-radius: 16px;
    background: linear-gradient(#f0e0c8, #e2cfb0);
    border: 1px solid rgba(196, 163, 90, .38);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.55) inset,
        0 22px 50px rgba(0,0,0,.42);
}
.pt-cadeado-card::before {
    content: ""; position: absolute; inset: 7px;
    border: 1px solid rgba(196, 163, 90, .22); border-radius: 11px;
    pointer-events: none;
}
.pt-cadeado-logo { display: block; width: 78%; max-width: 180px; height: auto; margin: 2px auto 6px; }
.pt-cadeado-card.shake { animation: pt-cd-shake .28s ease; }
@keyframes pt-cd-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
.pt-cadeado-card h2 {
    margin: 0; font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px; font-weight: 650; font-style: italic; color: #0a1f3d;
}
.pt-cadeado-sub { margin: 1px 0 8px; font-size: 13px; color: #5a4a2e; }
.pt-cadeado-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
.pt-cadeado-dots i {
    width: 9px; height: 9px; border-radius: 50%;
    border: 1.5px solid #8a6a22; display: block; background: transparent;
}
.pt-cadeado-dots i.on {
    background: url("imagens/ouro-barra.png") center 18% / 160% auto no-repeat;
    box-shadow: inset 0 1px 0 rgba(255,246,216,.7), 0 0 4px rgba(166,124,42,.45);
}
.pt-cadeado-venc {
    margin: 0 0 8px; padding: 6px 8px; border-radius: 8px; text-align: left;
    background: #0a1f3d; color: #f6eceb;
}
.pt-cadeado-venc[hidden] { display: none !important; }
.pt-cadeado-venc p {
    margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: #f3e2b6;
}
.pt-cadeado-venc b { display: block; font-size: 14px; font-weight: 650; line-height: 1.35; }
.pt-cadeado-venc i { font-style: normal; color: #f3e2b6; font-weight: 700; }
.pt-cadeado-erro { margin: 0 0 6px; color: #9a1b2f; font-size: 13px; font-weight: 700; line-height: 1.3; }
.pt-cadeado-erro[hidden] { display: none !important; }
.pt-cadeado-pad[hidden] { display: none !important; }
.pt-cadeado-pad {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 auto 8px; max-width: 228px;
}
.pt-cadeado-lock { display: none !important; }
.pt-cadeado-tecla {
    height: 48px; border: 1px solid #e3e8ef; border-radius: 12px; cursor: pointer;
    background: #fff;
    background-image: none;
    color: #1a2740; font-size: 20px; font-weight: 700; line-height: 1;
    text-shadow: none;
    box-shadow: 0 1px 2px rgba(10,31,61,.06);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(1) { background-position: 10% 8%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(2) { background-position: 40% 12%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(3) { background-position: 72% 6%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(4) { background-position: 18% 22%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(5) { background-position: 50% 16%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(6) { background-position: 80% 20%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(7) { background-position: 14% 28%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(8) { background-position: 46% 24%; }
.pt-cadeado-pad .pt-cadeado-tecla:nth-child(10) { background-position: 68% 18%; }
.pt-cadeado-tecla.down, .pt-cadeado-tecla:active {
    transform: translateY(3px);
    filter: brightness(.86);
    box-shadow:
        inset 0 3px 6px rgba(50,30,6,.5),
        0 0 0 #4a340c;
}
.pt-cadeado-pad .pt-cadeado-voltar {
    display: grid; place-items: center; padding: 0;
    background-color: #0a1f3d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: 0 0;
    border: 1px solid #071527;
    color: #f6eceb;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(190, 214, 255, .22), 0 3px 0 #06101c, 0 4px 6px rgba(0,0,0,.28);
}
.pt-cadeado-voltar.down, .pt-cadeado-voltar:active {
    filter: none;
    box-shadow: inset 0 3px 6px rgba(0,0,0,.5), 0 0 0 #06101c;
}
.pt-cadeado-voltar:hover { background-color: #123a6b; }
.pt-cadeado-voltar svg { width: 26px; height: 26px; display: block; }
.pt-cadeado-fechar {
    position: relative; z-index: 1;
    width: 100%; height: 48px; margin: 0; border: 1px solid #f3c3c4; border-radius: 12px; cursor: pointer;
    background-color: #fde8e8; color: #9a3b45; font-size: 14px; font-weight: 750;
    background-image: none;
    box-shadow: none;
    touch-action: manipulation;
}
.pt-cadeado-fechar:hover { background-color: #f8d4d6; }
.pt-cadeado-reabrir {
    width: 100%; border: 0; background: none; color: inherit; cursor: pointer; padding: 4px 0 2px;
}
.pt-cadeado-sair {
    position: relative; z-index: 1;
    width: 100%; border: 0; background: none; padding: 4px 2px; cursor: pointer;
    color: #5a4a2e; font-weight: 650; font-size: 13px; opacity: .8;
}
.pt-cadeado-sair:hover { color: #9a1b2f; opacity: 1; }
.pt-cadeado.pin-classica .pt-cadeado-card,
.pt-cadeado.pin-light .pt-cadeado-card { background: #fff; }
.pt-cadeado.pin-classica .pt-cadeado-tecla:not(.pt-cadeado-voltar) {
    background-color: #c4a04a;
    background-image: url("imagens/ouro-barra.png");
    background-size: 180% auto;
    background-repeat: no-repeat;
    border: 1px solid #6a4e12; border-radius: 10px;
    color: #2a1a06; font-weight: 800;
    text-shadow: 0 1px 0 rgba(255,244,210,.55);
    box-shadow:
        inset 0 1px 0 rgba(255,248,220,.55),
        inset 0 -2px 4px rgba(50,30,6,.28),
        0 2px 0 #6a4e12,
        0 3px 5px rgba(0,0,0,.22);
}
.pt-cadeado.pin-classica .pt-cadeado-fechar { background: #6e2430; color: #fff; border-color: #4e1520; }
.pt-cadeado.pin-light .pt-cadeado-tecla:not(.pt-cadeado-voltar),
.pt-cadeado.pin-personal .pt-cadeado-tecla:not(.pt-cadeado-voltar) {
    background: #fff;
    background-image: none;
    color: #1a2740;
    border-color: #e3e8ef;
    text-shadow: none;
    box-shadow: 0 1px 2px rgba(10,31,61,.06);
}
.pt-cadeado.pin-personal .pt-cadeado-card {
    background-color: color-mix(in srgb, var(--pin-bg, #1a3a68) calc(var(--pin-int, 100) * 1%), #fff);
    background-image: none;
    color: var(--pin-fg, #0a1f3d);
}
.pt-cadeado.pin-personal .pt-cadeado-card h2,
.pt-cadeado.pin-personal .pt-cadeado-sub { color: var(--pin-fg, #0a1f3d); }
.pj-hub-list .pj-pill[data-tex="linen"],
.pj-apar-prev[data-tex="linen"],
.pt-cadeado.pin-personal[data-tex="linen"] .pt-cadeado-card,
.pf-pin-prev.pin-personal[data-tex="linen"] {
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px);
}
.pj-hub-list .pj-pill[data-tex="grain"],
.pj-apar-prev[data-tex="grain"],
.pt-cadeado.pin-personal[data-tex="grain"] .pt-cadeado-card,
.pf-pin-prev.pin-personal[data-tex="grain"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: auto, 80px 80px;
}
.pj-hub-list .pj-pill[data-tex="paper"],
.pj-apar-prev[data-tex="paper"],
.pt-cadeado.pin-personal[data-tex="paper"] .pt-cadeado-card,
.pf-pin-prev.pin-personal[data-tex="paper"] {
    background-image: radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.35), transparent 55%);
}
.pj-hub-list .pj-pill[data-tex="brushed"],
.pj-apar-prev[data-tex="brushed"],
.pt-cadeado.pin-personal[data-tex="brushed"] .pt-cadeado-card,
.pf-pin-prev.pin-personal[data-tex="brushed"] {
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.2) 0 .35px, rgba(0,0,0,.06) .35px .7px);
}
.pj-hub-list .pj-pill[data-tex="marble"],
.pj-apar-prev[data-tex="marble"],
.pt-cadeado.pin-personal[data-tex="marble"] .pt-cadeado-card,
.pf-pin-prev.pin-personal[data-tex="marble"] {
    background-image: linear-gradient(118deg, transparent 28%, rgba(255,255,255,.4) 32%, transparent 36%, rgba(60,52,48,.14) 58%, transparent 64%);
}

.pt-vid-ov {
    display: none; position: fixed; inset: 0; z-index: 10060;
    align-items: center; justify-content: center; padding: 16px;
    background: radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,.55) 0%, transparent 55%), linear-gradient(165deg, #d7e3f2 0%, #b8c9de 45%, #8fa8c4 100%);
    backdrop-filter: blur(10px);
}
.pt-vid-ov.open { display: flex; }
.pt-vid-box {
    width: min(440px, 96vw); background: #f7f9fc; color: #0a1f3d; border-radius: 22px; overflow: hidden;
    border: 1px solid rgba(10,31,61,.08); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 28px 64px rgba(10,31,61,.22);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
.pt-vid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 18px 10px; }
.pt-vid-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; color: #0a1f3d; line-height: 1.1; }
.pt-vid-badge { font-size: 11px; font-weight: 600; color: #3d5678; background: #e8eef6; border-radius: 8px; padding: 5px 9px; white-space: nowrap; }
.pt-vid-hint { margin: 0 18px 12px; font-size: 13.5px; line-height: 1.45; color: #5a6f8c; }
.pt-vid-stage { position: relative; background: #0a1424; aspect-ratio: 4 / 3; max-height: min(54vh, 380px); overflow: hidden; }
.pt-vid-stage video { width: 100%; height: 100%; min-height: 220px; max-height: min(54vh, 380px); object-fit: cover; display: block; background: #0a1424; }
.pt-vid-stage video.pt-vid-mirror { transform: scaleX(-1); }
.pt-vid-flip {
    position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 88px; height: 88px; border: 0; border-radius: 22px;
    background: #fff; color: #0a1f3d; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    box-shadow: 0 10px 28px rgba(0,0,0,.28); padding: 0; font-family: inherit;
}
.pt-vid-flip svg { width: 36px; height: 36px; display: block; }
.pt-vid-flip-lab { font-size: 11px; font-weight: 700; color: #123a6b; line-height: 1; }
.pt-vid-flip:disabled { opacity: .4; cursor: default; }
.pt-vid-flip.pt-vid-spin svg { animation: pt-vid-spin .55s ease; }
@keyframes pt-vid-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pt-vid-recdot {
    position: absolute; top: 14px; left: 14px; z-index: 3; display: none; align-items: center; gap: 7px;
    background: rgba(196,42,42,.92); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em;
    padding: 7px 12px; border-radius: 10px;
}
.pt-vid-recdot.on { display: inline-flex; }
.pt-vid-recdot i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pt-vid-blink .85s ease-in-out infinite; }
.pt-vid-foot { padding: 16px 18px 18px; background: #f7f9fc; }
.pt-vid-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.pt-vid-tools button { border: 0; border-radius: 14px; padding: 12px 18px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.pt-vid-tools button:disabled { opacity: .35; cursor: default; animation: none !important; }
.pt-vid-rec { background: #c62828; color: #fff; min-width: 128px; padding: 14px 22px; animation: pt-vid-breathe 1.8s ease-in-out infinite; }
.pt-vid-stop { background: #0a1f3d; color: #fff; min-width: 110px; animation: pt-vid-breathe 1.1s ease-in-out infinite; }
.pt-vid-ok { background: #1b7a4a; color: #fff; min-width: 128px; animation: pt-vid-breathe 1.4s ease-in-out infinite; }
.pt-vid-cancel { background: transparent; color: #5a6f8c; border: 1px solid #c5d0e0 !important; font-weight: 600; }
@keyframes pt-vid-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes pt-vid-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.pt-vid-st { width: 100%; text-align: center; font-size: 13px; color: #5a6f8c; margin-top: 12px; min-height: 18px; font-weight: 600; }
.pt-vid-st.rec { color: #b71c1c; animation: pt-vid-blink .85s ease-in-out infinite; }
@media (max-width: 420px) {
    .pt-vid-flip { width: 80px; height: 80px; border-radius: 20px; }
    .pt-vid-flip svg { width: 32px; height: 32px; }
    .pt-vid-title { font-size: 1.45rem; }
}

.pt-cam {
    position: fixed; inset: 0; z-index: 10320; display: none;
    background: #05070c; color: #fff;
}
.pt-cam.on { display: block; }
.pt-cam-flash {
    position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 5;
    transition: opacity .12s ease;
}
.pt-cam-flash.on { opacity: .85; }
.pt-cam-top {
    position: absolute; top: 0; left: 0; right: 0; z-index: 4;
    display: flex; align-items: center; justify-content: space-between;
    padding: calc(10px + env(safe-area-inset-top, 0)) 14px 0;
}
.pt-cam-x, .pt-cam-flip, .pt-cam-ratio {
    border: 0; color: #fff; background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px); cursor: pointer;
}
.pt-cam-x {
    width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1;
}
.pt-cam-flip {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0;
}
.pt-cam-flip svg { width: 22px; height: 22px; }
.pt-cam-flip:disabled, .pt-cam-ratio:disabled { opacity: .35; }
.pt-cam-ratios { display: flex; gap: 6px; align-items: center; }
.pt-cam-ratios button {
    min-width: 46px; height: 36px; border: 0; border-radius: 999px; padding: 0 8px;
    background: rgba(255,255,255,.12); color: #fff; font-weight: 800; font-size: 13px;
    letter-spacing: .02em; cursor: pointer; font-family: inherit;
}
.pt-cam-ratios button.on { background: #f4e4c4; color: #1a1408; }
.pt-cam-ratios button:disabled { opacity: .35; }
.pt-cam-palco {
    position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.pt-cam-frame {
    position: relative; overflow: hidden; border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.22);
    pointer-events: auto; touch-action: none; background: #000;
}
.pt-cam-frame video {
    width: 100%; height: 100%; object-fit: cover; display: block; background: #000;
    transform-origin: center center;
}
.pt-cam-base {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
    padding: 0 12px calc(14px + env(safe-area-inset-bottom, 0));
}
.pt-cam-rec, .pt-cam-aviso {
    min-height: 18px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.pt-cam-rec { color: #ffb4ae; }
.pt-cam-aviso { color: #f3e2b0; }
.pt-cam-zoom {
    display: flex; justify-content: center; gap: 8px; margin: 6px 0 8px;
}
.pt-cam-z {
    width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.14); color: rgba(255,255,255,.78);
    font-weight: 800; font-size: 14px;
}
.pt-cam-z.on {
    background: #f4e4c4; color: #1a1408; transform: scale(1.08);
}
.pt-cam-film {
    display: flex; gap: 8px; overflow-x: auto; min-height: 58px; padding: 2px 4px 8px;
    scrollbar-width: none;
}
.pt-cam-film::-webkit-scrollbar { display: none; }
.pt-cam-thumb { position: relative; flex: 0 0 auto; width: 52px; height: 52px; }
.pt-cam-thumb img {
    width: 52px; height: 52px; object-fit: cover; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.35); display: block;
}
.pt-cam-thumb button {
    position: absolute; top: -4px; right: -4px; width: 20px; height: 20px;
    border: 0; border-radius: 50%; background: #c0392b; color: #fff;
    font-size: 14px; line-height: 1; cursor: pointer; padding: 0;
}
.pt-cam-thumb img[data-ver] { cursor: pointer; }
.pt-cam-thumb .pt-cam-mark {
    top: auto; right: auto; left: -4px; bottom: -4px;
    background: #f4e4c4; color: #1a1408; font-size: 13px;
}
.pt-cam-bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    min-height: 86px;
}
.pt-cam-side { justify-self: start; display: flex; align-items: center; min-width: 0; }
.pt-cam-count {
    font-weight: 800; font-size: 15px; letter-spacing: .03em; color: #f4e4c4;
}
.pt-cam-pause {
    display: none; border: 0; border-radius: 999px; padding: 10px 12px; cursor: pointer;
    background: rgba(255,255,255,.16); color: #fff;
    font-weight: 800; font-size: 13px; font-family: inherit;
}
.pt-cam-pause.on { display: inline-block; }
.pt-cam-pause.hold { background: #f4e4c4; color: #1a1408; }
.pt-cam-shut {
    width: 78px; height: 78px; border-radius: 50%; border: 4px solid #fff;
    background: transparent; padding: 0; cursor: pointer;
    display: grid; place-items: center;
}
.pt-cam-shut i {
    width: 60px; height: 60px; border-radius: 50%; background: #fff; display: block;
}
.pt-cam-shut.rec i { width: 28px; height: 28px; border-radius: 7px; background: #ff3b30; }
.pt-cam-ok {
    justify-self: end; visibility: hidden;
    border: 0; border-radius: 999px; padding: 12px 16px; cursor: pointer;
    background: #f4e4c4; color: #1a1408; font-weight: 800; font-size: 14px; letter-spacing: .03em;
}
.pt-cam-ok.on { visibility: visible; }

.pt-marca {
    position: fixed; inset: 0; z-index: 10360; display: none;
    background: #05070c; color: #fff; flex-direction: column;
}
.pt-marca.on { display: flex; }
.pt-marca-top {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: calc(10px + env(safe-area-inset-top, 0)) 12px 8px;
}
.pt-marca-top button, .pt-marca-tools button {
    border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer;
    font-family: inherit; font-weight: 800; font-size: 14px;
}
.pt-marca-x { background: rgba(255,255,255,.12); color: #fff; }
.pt-marca-ok { background: #f4e4c4; color: #1a1408; }
.pt-marca-n { font-weight: 800; font-size: 14px; letter-spacing: .03em; }
.pt-marca-palco { flex: 1; display: grid; place-items: center; min-height: 0; padding: 0 12px; }
.pt-marca-cv {
    touch-action: none; border-radius: 12px; background: #000;
    box-shadow: 0 0 0 1px rgba(255,255,255,.22);
}
.pt-marca-base { padding: 8px 12px calc(12px + env(safe-area-inset-bottom, 0)); }
.pt-marca-hint { text-align: center; font-size: 13px; font-weight: 700; color: #f3e2b0; min-height: 18px; }
.pt-marca-cores { display: flex; justify-content: center; gap: 10px; margin: 8px 0; }
.pt-marca-cor {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent;
    padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
}
.pt-marca-cor.on { border-color: #fff; transform: scale(1.08); }
.pt-marca-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pt-marca-tools button { background: rgba(255,255,255,.14); color: #fff; }
.pt-marca-tools button:disabled { opacity: .35; }

/* Folha de execução / ensaio — o mesmo formulário do legado */
.pxf-pag { max-width: 880px; margin: 12px auto 96px; padding: 0 12px; }
.pxf-ov {
    position: fixed; inset: 0; z-index: 90; overflow: auto;
    background: #e8eef4; padding: 16px 16px 96px;
}
.pxf-ov .pxf-hero, .pxf-ov .pxf-aviso, .pxf-ov .pxf-sec, .pxf-ov .pxf-sign, .pxf-ov .pg-msg {
    max-width: 880px; margin-left: auto; margin-right: auto;
}
.pxf-hero {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    background: linear-gradient(118deg, #0a1f3d 0%, #123a6b 58%, #176048 100%);
    color: #fff; border-radius: 16px; padding: 12px 14px; margin: 0 0 12px;
    box-shadow: 0 8px 22px rgba(10,31,61,.2);
}
.pxf-hero-main { flex: 1; min-width: 0; }
.pxf-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; }
.pxf-kicker { font-size: 10px; letter-spacing: .11em; text-transform: uppercase; opacity: .78; font-weight: 800; }
.pxf-back {
    border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 8px;
    padding: 8px 14px; font-family: inherit; font-size: 24px; font-weight: 800; cursor: pointer;
}
.pxf-back-seta { font-size: 24px; line-height: 1; margin-right: 6px; }
.pxf-hero h1 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.25; color: #fff; }
.pxf-desc { margin-top: 6px; font-size: 13px; }
.pxf-desc summary { cursor: pointer; opacity: .85; }
.pxf-desc p { margin: 6px 0 0; white-space: pre-wrap; }
.pxf-prog { flex: 0 0 128px; background: rgba(255,255,255,.12); border-radius: 12px; padding: 8px 10px; text-align: center; }
.pxf-prog b { display: block; font-size: 14px; }
.pxf-bar { display: block; height: 6px; margin: 6px 0 4px; background: rgba(255,255,255,.25); border-radius: 99px; overflow: hidden; }
.pxf-bar i { display: block; height: 100%; background: #f3e2b6; }
.pxf-prog small { display: block; font-size: 11px; font-weight: 650; line-height: 1.3; color: #f3e2b6; }
.pxf-aviso {
    background: linear-gradient(90deg, #fff8e0, #fff3c4);
    border: 1px solid #e6c86a; color: #6a5410;
    border-radius: 12px; padding: 10px 14px; margin: 0 0 14px;
    font-size: 13px; font-weight: 700; line-height: 1.35;
}
.pxf-sec {
    margin: 0 0 16px; border-radius: 16px; overflow: hidden;
    border: 1px solid #b8c4d4; background: #d5dde8;
    box-shadow: 0 6px 18px rgba(18,58,107,.08);
}
.pxf-sec-bar { background: #123a6b; color: #fff; font-size: 15px; font-weight: 800; padding: 11px 14px; letter-spacing: .04em; text-transform: uppercase; }
.pxf-sec-body { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.pxf-sec-body .pe-live { border-radius: 10px; }
.pxf-sign {
    max-width: 880px; margin: 0 auto 16px; background: #fff; border: 1px solid #d5dde8;
    border-radius: 16px; padding: 14px;
}
.pxf-sign-t { font-weight: 800; color: #0a1f3d; margin-bottom: 6px; }
.pxf-sign p { margin: 0 0 8px; font-size: 13px; color: #5a6a7a; }
.pxf-sign canvas {
    width: 100%; height: 160px; border: 1px dashed #b8c4d4; border-radius: 10px;
    background: #fafbfd; touch-action: none; display: block;
}
.pxf-sign.is-off { background: #f7f8fa; margin-bottom: 8px; }
.pxf-sign-campo {
    width: 100%; height: 160px; border: 1px dashed #c5ced8; border-radius: 10px;
    background: #eef1f4; display: grid; place-items: center; padding: 16px 22px;
    text-align: center; color: #6e7a88; font-size: 16px; font-weight: 650; line-height: 1.45;
}
.pxf-ghost:disabled { opacity: .5; cursor: default; color: #8a96a3; background: #f4f6f8; border-color: #d5dde6; }
.pxf-sign-mais {
    max-width: 880px; margin: 0 auto 16px; padding: 4px 16px 2px; color: #3d4c63; font-size: 14px;
}
.pxf-sign-mais p { margin: 0 0 8px; font-size: 21px; font-weight: 800; line-height: 1.15; color: #0a1f3d; }
.pxf-sign-mais ul { margin: 6px 0 0; padding-left: 18px; color: #0a1f3d; font-size: 13px; font-weight: 700; }
.pxf-sign-mais li { margin: 2px 0; }
.pxf-sign-pronta { font-size: 16px; font-weight: 750; color: #0a1f3d; }
.pxf-ghost {
    margin-top: 8px; border: 1px solid #c5d0e0; background: #fff; color: #123a6b;
    border-radius: 8px; padding: 6px 10px; font: inherit; font-weight: 700; cursor: pointer;
}
.pxf-dock {
    position: sticky; bottom: 0; z-index: 6;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
    max-width: 880px; margin: 12px auto 0; padding: 8px;
    border-radius: 14px;
    background: linear-gradient(90deg, #c5ccd6 0%, #a8b0bb 42%, #7d8794 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 24px rgba(30,40,55,.2);
}
.pxf-fechar, .pxf-go, .pxf-disk, .pxf-pdf {
    border: 0; font: inherit; font-weight: 800; cursor: pointer;
}
.pxf-fechar {
    min-height: 58px; padding: 10px 14px; border-radius: 10px; color: #fff;
    font-size: 22px; line-height: 1.15;
    background-color: #8a3a38;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.pxf-fechar:hover { background-color: #7a3331; }
.pxf-uh {
    min-height: 58px; border-radius: 10px; background: #0a1f3d; color: #fff;
    display: grid; place-content: center; text-align: center; padding: 6px 4px; line-height: 1.05;
}
.pxf-uh small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .01em; opacity: .88; }
.pxf-uh b { display: block; margin-top: 2px; font-size: 20px; font-weight: 800; }
.pxf-meter {
    min-width: 64px; padding: 6px 8px; border-radius: 10px; text-align: center;
    background: #eef0f4; border: 1px solid #b4bcc8; color: #111827;
    box-shadow: inset 0 1px 2px rgba(255,255,255,.8);
}
.pxf-meter b, .pxf-meter span { display: block; font-size: 21px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pxf-save-wrap { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.pxf-disk {
    width: 52px; height: 34px; border-radius: 10px; color: #fff;
    background: linear-gradient(180deg, #2a2e36 0%, #14161c 55%, #0a0b0e 100%);
    border: 1px solid #000; display: grid; place-items: center;
    box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 3px 10px rgba(0,0,0,.25);
}
.pxf-disk svg { width: 26px; height: 26px; display: block; }
.pxf-disk:hover { background: linear-gradient(180deg, #3a404c 0%, #1a1e26 55%, #0e1014 100%); }
.pxf-clock {
    font-size: 18px; font-weight: 650; color: #111; letter-spacing: .02em; line-height: 1;
    font-variant-numeric: tabular-nums; min-height: 18px;
}
.pxf-clock:empty::before { content: "—:—:—"; opacity: .4; }
.pxf-pdf {
    width: 52px; height: 46px; border-radius: 10px;
    background: linear-gradient(180deg, #e8ebf0 0%, #c5ccd6 48%, #aeb6c2 100%);
    border: 1px solid #8e97a4; display: grid; place-items: center;
    box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 3px 10px rgba(40,50,65,.14);
}
.pxf-pdf svg { width: 32px; height: 32px; display: block; }
.pxf-pdf:hover { background: linear-gradient(180deg, #f0f2f5 0%, #d0d5dd 48%, #b8c0cc 100%); }
.pxf-go {
    border-radius: 11px; padding: 10px 14px; color: #fff; font-size: 20px;
    background: linear-gradient(180deg, #1f8f58, #0f5f38);
    box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 3px 10px rgba(8,70,40,.35);
}
.pxf-go:hover { background: linear-gradient(180deg, #249c61, #127044); }
.pxf-disk:disabled { opacity: .45; cursor: default; }
.pxf-go:disabled,
.pxf-go:disabled:hover {
    opacity: 1; cursor: default; color: #5c6b7a;
    background: #c5ced8; box-shadow: none;
}
.pxf-previa-ov {
    position: fixed; inset: 0; z-index: 40; overflow: auto;
    background: rgba(10,20,40,.45); padding: 24px 16px 40px;
}
.pxf-previa {
    width: min(720px, 96vw); margin: 0 auto; background: #fff; color: #141c26;
    border-radius: 16px; padding: 18px 18px 14px;
    box-shadow: 0 22px 50px rgba(0,0,0,.28);
}
.pxf-previa header p { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a6a28; }
.pxf-previa header h2 { margin: 4px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 32px; color: #0a1f3d; }
.pxf-previa header small { display: block; color: #5a6a7a; font-size: 13px; }
.pxf-previa h3 { margin: 16px 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #123a6b; }
.pxf-previa-q { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid #e6ebf2; }
.pxf-previa-q b { font-size: 15px; }
.pxf-previa-q span { font-size: 14px; color: #1a2433; }
.pxf-previa-q i { font-style: normal; font-size: 13px; color: #5a6a7a; }
.pxf-previa img { max-width: 100%; height: auto; background: #fafbfd; border: 1px solid #d5dde8; border-radius: 8px; }
.pxf-previa-acoes { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
@media (max-width: 999px) {
    .pxf-ov { padding-bottom: 64px; }
    .pxf-pag { margin-bottom: 64px; }
    .pxf-dock {
        flex-wrap: nowrap; align-items: center; gap: 4px;
        margin: 8px -16px 0; padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
        max-width: none; border-radius: 0;
    }
    .pxf-pag .pxf-dock { margin-left: -12px; margin-right: -12px; }
    .pxf-uh { min-height: 0; padding: 4px 6px; flex: 0 0 auto; }
    .pxf-uh small { display: none; }
    .pxf-uh b { margin-top: 0; font-size: 15px; }
    .pxf-meter { min-width: 0; padding: 4px 6px; flex: 0 0 auto; }
    .pxf-meter b { font-size: 15px; line-height: 1.1; }
    .pxf-meter span { display: none; }
    .pxf-save-wrap { position: relative; flex: 0 0 auto; gap: 0; }
    .pxf-clock {
        position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
        min-height: 0; font-size: 9px; line-height: 1; white-space: nowrap;
        pointer-events: none; background: rgba(255,255,255,.9); border-radius: 4px; padding: 0 3px;
    }
    .pxf-clock:empty { display: none; }
    .pxf-clock:empty::before { content: none; }
    .pxf-disk, .pxf-pdf { width: 40px; height: 40px; }
    .pxf-disk svg { width: 22px; height: 22px; }
    .pxf-pdf svg { width: 24px; height: 24px; }
    .pxf-go, .pxf-fechar {
        min-height: 44px; flex: 1 1 0; min-width: 0;
        padding: 6px 4px; font-size: 14px; line-height: 1.1;
    }
}
.rf-log-nota { margin: 0; color: #3d4c63; font-size: 13px; font-weight: 650; }
.rf-log { list-style: none; margin: 0; padding: 0; border: 1px solid #e3e9f2; border-radius: 8px; overflow: hidden; }
.rf-log li { display: block; padding: 5px 10px; background: #fff; border-bottom: 1px solid #e8edf4; color: #0a1f3d; font-size: 14px; font-weight: 650; line-height: 1.35; }
.rf-log li:nth-child(even) { background: #f0f3f8; }
.rf-log li:last-child { border-bottom: 0; }
.rf-log b { font-weight: 800; }
.pj-page .pg-card:has(.rf-log) h3 { font-size: 16px; margin: 0; letter-spacing: .04em; text-transform: uppercase; color: #0a1f3d; }
@media (min-width: 1000px) {
    .rf-dash-ov { padding-right: 188px; }
    .rf-dash-dock {
        right: max(12px, env(safe-area-inset-right, 0px));
        top: 50%; bottom: auto; left: auto; transform: translateY(-50%);
        width: 152px; padding: 10px 8px; gap: 8px;
        flex-direction: column; flex-wrap: nowrap; border-radius: 16px;
    }
    .rf-dash-dock .rf-dash-btn { width: 100%; }
}
@media (max-width: 999px) {
    .rf-dash-ov { padding-bottom: 76px; }
    .rf-dash-dock {
        left: 0; right: 0; bottom: 0; top: auto;
        flex-direction: row; flex-wrap: nowrap; justify-content: center;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
        border-radius: 0;
    }
    .rf-dash-dock .rf-dash-btn { flex: 1 1 0; min-width: 0; padding: 8px 4px; font-size: 12px; }
}
@media (min-width: 1000px) {
    .pxf-ov { padding-right: 156px; padding-bottom: 24px; }
    .pxf-pag { padding-right: 156px; margin-bottom: 24px; }
    .pxf-dock {
        position: fixed; right: max(10px, env(safe-area-inset-right, 0px));
        top: 50%; bottom: auto; left: auto; transform: translateY(-50%);
        width: 128px; max-width: none; margin: 0; padding: 10px 8px; gap: 8px;
        flex-direction: column; flex-wrap: nowrap; align-items: stretch;
        border-radius: 16px; z-index: 30;
    }
    .pxf-fechar { width: 100%; padding: 8px 4px; }
    .pxf-meter { width: 100%; min-height: 48px; display: grid; place-content: center; }
    .pxf-save-wrap, .pxf-disk, .pxf-pdf, .pxf-go { width: 100%; }
    .pxf-go { min-height: 58px; padding: 8px 4px; line-height: 1.2; white-space: normal; }
}
@media print {
    body.pxf-print .pt-topbar,
    body.pxf-print .pxf-dock,
    body.pxf-print .pxf-hero,
    body.pxf-print .pxf-aviso,
    body.pxf-print .pxf-sec,
    body.pxf-print .pxf-sign,
    body.pxf-print .pxf-previa-acoes,
    body.pxf-print .pg-msg { display: none !important; }
    body.pxf-print .pxf-previa-ov { position: static; background: #fff; padding: 0; }
    body.pxf-print .pxf-previa { box-shadow: none; width: 100%; }
}

/* Senha e PIN do perfil v3: caixa escura, baixa, campos curtos */
.pg.pg-perfil section.pg-card.pf-bloco.senha,
.pg.pg-perfil section.pg-card.pf-bloco.pin {
    border: 1px solid rgba(196,163,90,.5) !important;
    color: #f6efe2 !important;
    padding: 8px 10px !important;
    gap: 6px !important;
    box-shadow: 0 10px 24px -18px rgba(0,0,0,.7);
}
.pg.pg-perfil section.pg-card.pf-bloco.senha {
    background: linear-gradient(180deg, #1c2b44, #141e30) !important;
}
.pg.pg-perfil section.pg-card.pf-bloco.pin {
    background: linear-gradient(180deg, #566a85, #4e5e75) !important;
}
.pg.pg-perfil section.pg-card.pf-bloco.pin > h3 { color: #ffe7a3 !important; }
.pg.pg-perfil section.pg-card.pf-bloco.pin > p:not(.pf-pin-emuso) { color: #fff8ee !important; }
.pg.pg-perfil section.pg-card.pf-bloco h3 { color: #e8c657 !important; font-size: 11px !important; letter-spacing: .14em !important; }
.pg.pg-perfil section.pg-card.pf-bloco h3::after { background: linear-gradient(90deg, rgba(232,198,87,.55), transparent) !important; }
.pg.pg-perfil section.pg-card.pf-bloco p,
.pg.pg-perfil section.pg-card.pf-bloco .pf-nota { color: #f3ead4 !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.3 !important; }
.pg.pg-perfil .pf-sub,
.pg.pg-perfil .pf-pin-tema { background: #0e1624 !important; border-radius: 10px; padding: 8px !important; gap: 6px !important; }
.pg.pg-perfil .pf-par { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px 8px !important; }
.pg.pg-perfil .pf-pin-linha { display: grid !important; grid-template-columns: 78px 1fr 1fr !important; gap: 6px 8px !important; }
.pg.pg-perfil section.pg-card.pf-bloco label { color: #e7dcc4 !important; font-size: 11px !important; font-weight: 700 !important; }
.pg.pg-perfil section.pg-card.pf-bloco input {
    height: 30px !important; min-height: 0 !important; padding: 2px 8px !important; margin-top: 2px !important;
    font-size: 13px !important; line-height: 1.2 !important;
    background: #f7f3ea !important; color: #142033 !important; -webkit-text-fill-color: #142033 !important;
    border: 1px solid #c9b88a !important; border-radius: 7px !important;
}
.pg.pg-perfil .pf-pin-modos button,
.pg.pg-perfil .pf-tex button {
    background: transparent !important; color: #f6efe2 !important;
    border: 1px solid rgba(232,198,87,.5) !important; border-radius: 999px !important;
    padding: 3px 10px !important; font-size: 12px !important; font-weight: 750 !important; cursor: pointer;
}
.pg.pg-perfil .pf-pin-modos button.on,
.pg.pg-perfil .pf-tex button.on { background: #e8c657 !important; color: #142033 !important; border-color: #e8c657 !important; }
.pg.pg-perfil .pf-pin-pers label { color: #e7dcc4 !important; }
.pg.pg-perfil .pf-pin-prev { min-height: 58px !important; padding: 6px 8px !important; gap: 4px !important; }
.pg.pg-perfil .pf-pin-prev b { font-size: 18px !important; }
.pg.pg-perfil section.pg-card.pf-bloco .pg-acoes .btn-save { padding: 6px 12px !important; font-size: 13px !important; }

/* Onboarding — primeira impressão */
.stage-login:has(.ob-stage) { align-items: flex-start; padding: 32px 16px 56px; }
.ob-stage { width: min(980px, 100%); margin: 0 auto; position: relative; z-index: 1; }
.ob-sheet {
    position: relative;
    color: #142033;
    color-scheme: only light;
    padding: 36px 40px 32px;
    border-radius: 22px;
    background: linear-gradient(#fffefb, #f4efe6);
    border: 1px solid rgba(196, 163, 90, .48);
    box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 28px 60px rgba(0,0,0,.42);
}
.ob-sheet::before {
    content: "";
    position: absolute; inset: 10px;
    border: 1px solid rgba(196, 163, 90, .28);
    border-radius: 14px;
    pointer-events: none;
}
.ob-hero, .ob-processos, .ob-passos, .ob-foot, .ob-trio, .ob-opcoes, .ob-porque, .ob-prontas { position: relative; }
.ob-logo { display: block; width: min(280px, 72%); height: auto; margin: 0 auto 8px; filter: drop-shadow(0 8px 14px rgba(10,31,61,.16)); }
.ob-kicker {
    margin: 10px 0 0; text-align: center;
    font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #8a6a22;
}
.ob-hero h1 {
    margin: 8px 0 0; text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600; font-size: 46px; line-height: 1.02; color: #0a1f3d;
}
.ob-rule {
    display: block; width: 56px; height: 1px; margin: 14px auto 16px;
    background: linear-gradient(90deg, transparent, #c4a35a, transparent);
}
.ob-lead { margin: 0 auto; max-width: 640px; text-align: center; font-size: 17.5px; line-height: 1.5; color: #243044; }
.ob-lead strong { color: #0a1f3d; font-weight: 750; }
.ob-proj {
    margin: 14px auto 0; width: fit-content; padding: 4px 12px; border-radius: 999px;
    border: 1px solid rgba(196,163,90,.55); background: rgba(255,255,255,.7);
    font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5e4510;
}
.ob-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.ob-trio article, .ob-dois article, .ob-prontas {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(196,163,90,.34);
    border-radius: 14px;
    padding: 16px 16px 14px;
}
.ob-num { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: #8a6a22; }
.ob-trio h2, .ob-processos h2, .ob-prontas h2, .ob-dois h3 {
    margin: 4px 0 6px; font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600; font-size: 26px; line-height: 1.05; color: #0a1f3d;
}
.ob-trio p, .ob-dois p, .ob-prontas p, .ob-processos header > p {
    margin: 0; font-size: 15.5px; line-height: 1.45; color: #243044;
}
.ob-processos { margin-top: 28px; }
.ob-processos header { text-align: center; max-width: 640px; margin: 0 auto 14px; }
.ob-processos header h2 { font-size: 34px; margin-top: 2px; }
.ob-dois { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ob-selo {
    margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #8a6a22;
}
.ob-hotel { background: linear-gradient(180deg, #fff, #f7f1e4) !important; }
.ob-passos { margin-top: 28px; }
.ob-passos ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ob-passos li {
    display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; align-items: start;
    background: rgba(255,255,255,.72); border: 1px solid rgba(196,163,90,.34); border-radius: 14px; padding: 12px 14px;
}
.ob-passos li::before {
    content: counter(ob); counter-increment: ob;
    grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #0a1f3d;
    background: linear-gradient(180deg, #f3e2b0, #c4a35a);
}
.ob-passos ol { counter-reset: ob; }
.ob-passos b { font-size: 15px; color: #0a1f3d; }
.ob-passos span { font-size: 15px; line-height: 1.4; color: #243044; }
.ob-passos .ob-agora { box-shadow: 0 0 0 1px #c4a35a; background: #fff; }
.ob-foot { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ob-foot p, .ob-nota, .ob-escolha, .ob-espera { margin: 0; font-size: 14.5px; line-height: 1.45; color: #3d4c63; }
.ob-cta {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
    border: 1px solid #c4a35a; text-decoration: none;
    background: linear-gradient(180deg, #1a3a66, #0a1f3d); color: #fff;
    font: 700 13px/1 "Source Sans 3", "Segoe UI", sans-serif;
    letter-spacing: .08em; text-transform: uppercase;
    box-shadow: 0 10px 24px -16px rgba(10,31,61,.8);
}
.ob-cta.ouro { background: linear-gradient(180deg, #f6e7bf, #c4a35a); color: #0a1f3d; border-color: #a6853e; }
.ob-cta:hover { filter: brightness(1.06); }
.ob-cta:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.ob-link { color: #123a6b; font-weight: 750; font-size: 15px; }
.ob-porque { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 8px; }
.ob-porque li {
    display: grid; grid-template-columns: 8.2rem 1fr; gap: 8px; align-items: baseline;
    background: rgba(255,255,255,.72); border: 1px solid rgba(196,163,90,.3); border-radius: 12px; padding: 10px 14px;
}
.ob-porque b { color: #0a1f3d; font-size: 15px; }
.ob-porque span { color: #243044; font-size: 15px; line-height: 1.4; }
.ob-escolha { text-align: center; margin: 4px 0 14px; }
.ob-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ob-op {
    border-radius: 16px; border: 1px solid rgba(196,163,90,.4);
    background: rgba(255,255,255,.55); overflow: hidden;
}
.ob-op.on { background: #fff; box-shadow: 0 0 0 1px #c4a35a, 0 16px 30px -22px rgba(10,31,61,.7); }
.ob-op.idle { opacity: .78; }
.ob-op-head {
    display: block; width: 100%; text-align: left; cursor: pointer;
    background: transparent; border: 0; padding: 16px 16px 14px; color: inherit; font: inherit;
}
.ob-op-num { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a6a22; }
.ob-op-tit { display: block; margin-top: 2px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; line-height: 1.05; color: #0a1f3d; }
.ob-op-desc { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: #243044; }
.ob-rec {
    display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px;
    background: linear-gradient(180deg, #f6e7bf, #c4a35a); color: #0a1f3d;
    font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.ob-op-corpo { padding: 0 16px 16px; display: grid; gap: 12px; }
.ob-op-corpo label { display: grid; gap: 4px; font-size: 13px; font-weight: 750; color: #1c2836; }
.ob-op-corpo input[type="text"], .ob-cor input[type="text"] {
    width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #d5cbb8;
    background: #fbf8f2; color: #0a1f3d; font: 600 16px/1.3 "Source Sans 3", "Segoe UI", sans-serif;
}
.ob-cores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-cor { display: flex; gap: 8px; align-items: center; }
.ob-cor input[type="color"] { width: 42px; height: 42px; padding: 0; border: 1px solid #d5cbb8; border-radius: 8px; background: #fff; }
.ob-checks { display: flex; gap: 16px; font-size: 14px; font-weight: 650; }
.ob-checks label { display: flex; align-items: center; gap: 6px; }
.ob-previa { display: flex; align-items: center; gap: 10px; }
.ob-previa span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8a6a22; }
.ob-chips, .ob-lista { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; font-size: 14px; line-height: 1.2;
}
.ob-chip button {
    border: 0; background: transparent; color: inherit; cursor: pointer;
    font-size: 16px; line-height: 1; padding: 0 0 0 2px; opacity: .75;
}
.ob-erro { margin: 12px 0 0; color: #8a1c2b; font-weight: 700; font-size: 15px; text-align: center; }
.ob-nota { text-align: center; margin-top: 14px; }
.ob-espera { text-align: center; padding: 12px 0 4px; font-style: italic; }
.ob-stage-pin { width: min(560px, 100%); }
.ob-pin { position: relative; display: grid; gap: 14px; max-width: 380px; margin: 8px auto 0; }
.ob-pin label { display: grid; gap: 6px; text-align: left; font-size: 13px; font-weight: 750; letter-spacing: .04em; color: #1c2836; }
.ob-pin input {
    width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #d5cbb8;
    background: #fff; color: #0a1f3d; text-align: center; letter-spacing: .42em;
    font: 700 22px/1 "Source Sans 3", "Segoe UI", sans-serif;
}
.ob-pin input:focus { outline: none; border-color: #b38d3c; box-shadow: 0 0 0 3px rgba(196,163,90,.22); }
.ob-pin .ob-cta { width: 100%; margin-top: 4px; }
.ob-pin-regra { margin: 0; text-align: center; font-size: 14px; line-height: 1.4; color: #3d4c63; font-weight: 650; }
.ob-pin input { -webkit-text-security: disc; }
.ob-wa { display: grid; gap: 14px; max-width: 420px; margin: 8px auto 0; }
.ob-wa label { display: grid; gap: 6px; text-align: left; font-size: 13px; font-weight: 750; letter-spacing: .04em; color: #1c2836; }
.ob-wa input, .ob-wa select {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #d5cbb8;
    background: #fbf8f2; color: #0a1f3d; -webkit-text-fill-color: #0a1f3d; color-scheme: light only;
    font: 600 16px/1.3 "Source Sans 3", "Segoe UI", sans-serif;
}
.ob-wa small { color: #3d4c63; font-size: 13.5px; font-weight: 600; letter-spacing: 0; }
.ob-wa .ob-cta { width: 100%; margin-top: 4px; }
.ob-conta {
    position: relative; max-width: 440px; margin: 28px auto 0; text-align: left;
}
.ob-conta h2 {
    margin: 4px 0 8px; text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600; font-size: 32px; color: #0a1f3d;
}
.ob-conta > p { margin: 0 0 14px; text-align: center; font-size: 15.5px; line-height: 1.45; color: #243044; }
.ob-conta .fld { color: #1c2836; }
.ob-conta .login-form .fld input {
    font-size: 16px;
    background: #fbf8f2;
    color: #0a1f3d;
    -webkit-text-fill-color: #0a1f3d;
    color-scheme: light only;
}
.ob-conta .fld small { color: #3d4c63; font-size: 13.5px; font-weight: 600; }
@media (max-width: 800px) {
    .ob-sheet { padding: 26px 16px 22px; }
    .ob-hero h1 { font-size: 34px; }
    .ob-trio, .ob-dois, .ob-opcoes, .ob-cores, .ob-porque li { grid-template-columns: 1fr; }
    .ob-processos header h2, .ob-op-tit { font-size: 28px; }
    .ob-cta { width: 100%; }
}
