:root {
    --orange: #ff6a1a;
    --orange-soft: #ffe9dd;
    --navy: #0f2947;
    --ink: #1c2330;
    --muted: #6b7280;
    --card: #ffffff;
    --green: #16a34a;
    --red: #ef4444;
    --glass: rgba(18, 24, 36, .55);
    --glass-border: rgba(255, 255, 255, .14);
    --text: #f4f6fa;
    --text-dim: rgba(244, 246, 250, .62);
    --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: #0b1424;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ===== Fundo ===== */
.bg { position: fixed; inset: 0; background: linear-gradient(135deg, #0b1424 0%, #1a2540 45%, #2a1d1a 100%); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.b1 { width: 460px; height: 460px; background: #1d4e89; top: -120px; left: 8%; }
.b2 { width: 420px; height: 420px; background: var(--orange); opacity: .32; bottom: -140px; right: 14%; animation-delay: -6s; }
.b3 { width: 340px; height: 340px; background: #7c5cff; opacity: .25; top: 40%; left: 42%; animation-delay: -11s; }
@keyframes float { to { transform: translate(60px, 40px) scale(1.12); } }

/* ===== Layout ===== */
.app {
    position: relative;
    height: 100vh;
    padding: 20px 20px 72px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 340px;
    gap: 16px;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

/* ===== Sidebar ===== */
.sidebar { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; padding: 18px 0; gap: 22px; }
.side-logo { width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.side-nav { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.side-btn, .side-cta {
    position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    color: var(--text-dim); transition: background .2s, color .2s, transform .2s;
}
.side-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.side-btn.active { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 106, 26, .45); }
.side-cta { background: var(--orange); color: #fff; border-radius: 50%; }
.side-cta:hover { transform: scale(1.08); }
[data-tip]::after {
    content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(-4px);
    background: rgba(10, 14, 22, .92); color: #fff; font-size: .78rem; padding: 6px 12px; border-radius: 10px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 10;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translateY(-50%); }

/* ===== Painel principal ===== */
.main { padding: 26px 28px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.topbar h1 { font-size: 1.55rem; font-weight: 600; }
.topbar p { color: var(--text-dim); font-size: .9rem; margin-top: 2px; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.search {
    display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 44px; width: 260px; max-width: 100%;
    background: rgba(255, 255, 255, .08); border: 1px solid var(--glass-border); border-radius: 999px; color: var(--text-dim);
}
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: .88rem; }
.search:focus-within { border-color: var(--orange); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--glass-border); }
.icon-btn:hover { background: var(--orange); }

.view { animation: viewIn .4s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } }

.section-head { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 12px; gap: 12px; }
.section-head h2 { font-size: 1.1rem; font-weight: 600; }
.section-head.sm { margin-top: 18px; }
.link-btn { font-size: .8rem; color: var(--text-dim); }
.link-btn:hover { color: var(--orange); }
.pill { display: inline-block; font-size: .72rem; padding: 4px 11px; border-radius: 999px; background: var(--orange-soft); color: #c2410c; font-weight: 600; }

/* ===== Cards ===== */
.card { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); text-align: left; }
.card p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.card h2 { font-size: 1.05rem; }
button.card { width: 100%; display: block; transition: transform .2s, box-shadow .2s; }
button.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.link-btn.dark { color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis.three { grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
.kpi { position: relative; overflow: hidden; }
.kpi .ico { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; }
.kpi small { display: block; padding-right: 42px; color: var(--muted); font-size: .8rem; font-weight: 500; }
.kpi strong { display: block; font-size: 1.5rem; margin: 6px 0 4px; font-weight: 700; }
.kpi p { font-size: .75rem; line-height: 1.4; }
.kpi .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c); opacity: .85; transform-origin: left; animation: grow 1.2s .2s ease both; }
@keyframes grow { from { transform: scaleX(0); } }

.row-2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stack { display: grid; gap: 14px; }

.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-size: 11px; fill: var(--muted); font-family: inherit; }
.chart .val { fill: var(--ink); font-weight: 600; font-size: 10px; }
.chart .grid { stroke: #e9ecf1; stroke-width: 1; stroke-dasharray: 4 4; }
.chart .line { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s .1s ease forwards; }
.chart .area { fill: url(#revG); opacity: 0; animation: fadeIn 1s 1s forwards; }
.chart .dot { fill: #fff; stroke: var(--orange); stroke-width: 2.5; cursor: pointer; transition: r .15s; }
.chart .dot.cur { fill: var(--orange); }
.chart .dot:hover, .chart .dot:focus { r: 8; outline: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.badge { display: inline-block; font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: #dcfce7; color: #166534; }
.badge.bad { background: #fee2e2; color: #991b1b; }
.badge.warn { background: #ffedd5; color: #c2410c; }
.badge.info { background: #dbeafe; color: #1e40af; }
.badge.muted { background: #eceef2; color: #4b5563; }

.mini-av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-weight: 700; font-size: .9rem; }
.mini-av.lg { width: 44px; height: 44px; }
.list { list-style: none; display: grid; gap: 4px; }
.row-btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px; border-radius: 14px; transition: background .15s; }
.row-btn:hover { background: #f3f4f7; }
.row-btn strong { display: block; font-size: .88rem; }
.row-btn span:not(.mini-av):not(.a-dot) { font-size: .75rem; color: var(--muted); }
.empty { text-align: center; color: var(--text-dim); padding: 36px 12px; grid-column: 1 / -1; }
.empty.sm { color: var(--muted); padding: 20px 0; font-size: .85rem; }
.card .empty { color: var(--muted); }
.load-error { background: rgba(239, 68, 68, .18); border: 1px solid rgba(239, 68, 68, .5); padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; font-size: .88rem; }

.progress { height: 7px; border-radius: 99px; background: #e9ecf1; overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; background: var(--orange); border-radius: 99px; }

.mini-proj strong, .proj strong, .client strong { display: block; font-size: .92rem; }
.mini-proj span, .proj > span, .client .client-top > div span { font-size: .78rem; color: var(--muted); }
.mini-proj small, .proj small { font-size: .74rem; color: var(--muted); }
.mini-proj.late { box-shadow: inset 0 0 0 2px #fca5a5, 0 8px 24px rgba(0, 0, 0, .18); }

.client .client-top { display: flex; gap: 12px; align-items: center; }
.client .client-top > div { flex: 1; min-width: 0; }
.client .client-top > div strong, .client .client-top > div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.client .meta { list-style: none; margin: 14px 0 10px; display: grid; gap: 6px; font-size: .8rem; color: var(--muted); }
.client .meta i { width: 16px; color: var(--orange); margin-right: 6px; }
.client .meta li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client > small { font-size: .74rem; color: var(--muted); }

.board { display: grid; grid-template-columns: repeat(5, minmax(165px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.col h3 { font-size: .82rem; font-weight: 600; color: var(--text-dim); display: flex; justify-content: space-between; padding: 0 4px; }
.col h3 span { background: rgba(255, 255, 255, .12); border-radius: 99px; padding: 0 8px; font-size: .74rem; }
.col-empty { color: var(--text-dim); text-align: center; font-size: .8rem; padding: 10px; border: 1px dashed var(--glass-border); border-radius: 16px; }
.proj { padding: 14px; }
.proj-foot { display: flex; justify-content: space-between; gap: 6px; }
.proj .price { display: block; margin-top: 6px; font-weight: 600; color: var(--ink); }
.late-txt { color: var(--red) !important; font-weight: 600; }

.lead.new { box-shadow: inset 4px 0 0 var(--orange), 0 8px 24px rgba(0, 0, 0, .18); }
.lead-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.lead-head strong { display: block; }
.lead-head span { font-size: .8rem; color: var(--muted); }
.lead-side { display: grid; justify-items: end; gap: 4px; }
.lead-side small { font-size: .72rem; color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
.chips span { font-size: .72rem; background: #e8eef7; color: var(--navy); padding: 3px 10px; border-radius: 99px; font-weight: 600; }
.lead p { margin: 8px 0 14px; white-space: pre-line; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.table-card { padding: 6px 16px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 14px 10px 8px; }
td { padding: 12px 10px; border-top: 1px solid #eef0f4; vertical-align: middle; }
td strong { display: block; }
td span { font-size: .76rem; color: var(--muted); }
.num { text-align: right; white-space: nowrap; }
td.num { font-weight: 600; }
.tact { white-space: nowrap; text-align: right; }
.icon-sm { width: 32px; height: 32px; border-radius: 10px; background: #f1f3f7; color: var(--ink); margin-left: 4px; }
.icon-sm:hover { background: var(--orange); color: #fff; }

.hint { color: var(--text-dim); font-size: .8rem; margin-top: 16px; }

/* ===== Botões e formulários ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: transform .15s, background .2s; }
.btn.sm { padding: 7px 14px; font-size: .78rem; }
.btn.block { width: 100%; }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 26, .35); }
.btn.primary:hover { transform: translateY(-2px); background: #ff7d36; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn.ghost { border: 1.5px solid var(--glass-border); color: var(--text); }
.btn.ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn.ghost-dark { background: #f1f3f7; color: var(--ink); }
.btn.ghost-dark:hover { background: #e4e7ee; }
.btn.danger { background: rgba(239, 68, 68, .18); color: #fca5a5; }
.btn.danger:hover { background: var(--red); color: #fff; }
.danger-txt { color: var(--red) !important; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.field { margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: .78rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field label em { font-weight: 400; color: var(--text-dim); font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: .9rem; padding: 11px 14px; border: 1.5px solid var(--glass-border); border-radius: 12px;
    background: rgba(255, 255, 255, .07); color: var(--text); resize: vertical; color-scheme: dark;
}
.field select option { color: #111; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); }
.login-error { background: rgba(239, 68, 68, .18); color: #fecaca; border-radius: 12px; padding: 10px 14px; font-size: .84rem; margin: 6px 0 12px; }

/* ===== Login ===== */
.login { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: 100%; max-width: 400px; padding: 36px 32px; text-align: center; }
.login-logo { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.login-card h1 { font-size: 1.5rem; }
.login-sub { color: var(--text-dim); font-size: .88rem; margin: 6px 0 24px; }
.lf { display: block; text-align: left; font-size: .78rem; font-weight: 600; margin: 14px 0 6px; }
.lf-input { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1.5px solid var(--glass-border); color: var(--text-dim); }
.lf-input:focus-within { border-color: var(--orange); }
.lf-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: .92rem; }
.eye { color: var(--text-dim); padding: 6px; }
.login-card .login-error { text-align: left; margin-top: 16px; }
.login-card .btn.block { margin-top: 22px; padding: 14px; }
.back { display: inline-block; margin-top: 18px; font-size: .8rem; color: var(--text-dim); }
.back:hover { color: var(--orange); }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: #16a34a; color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .86rem; font-weight: 600; z-index: 50; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.toast.bad { background: var(--red); }
.grow { flex: 1; }

/* ===== Painel lateral ===== */
.side-panel { padding: 24px 22px; overflow-y: auto; scrollbar-width: none; }
.profile { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--orange); font-weight: 700; font-size: 1.1rem; }
.profile > div { min-width: 0; }
.profile strong { display: block; font-size: .95rem; }
.profile span:not(.avatar) { display: block; font-size: .76rem; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; }

.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-head strong { font-size: .95rem; }
.cal-head strong::first-letter { text-transform: uppercase; }
.cal-nav { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; color: var(--text-dim); }
.cal-nav:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-grid .dow { font-size: .68rem; color: var(--text-dim); padding-bottom: 4px; }
.cal-grid button { position: relative; height: 34px; font-size: .78rem; border-radius: 50%; display: grid; place-items: center; }
.cal-grid button:hover { background: rgba(255, 255, 255, .14); }
.cal-grid .today { box-shadow: inset 0 0 0 1.5px var(--orange); }
.cal-grid .sel { background: var(--orange); font-weight: 700; }
.dots { position: absolute; bottom: 3px; left: 0; right: 0; display: flex; justify-content: center; gap: 2px; }
.dots i, .legend, .a-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.d-proj { background: #60a5fa; }
.d-pay { background: #4ade80; }
.l-proj { background: #60a5fa; margin: 0 4px 1px 0; }
.l-pay { background: #4ade80; margin: 0 4px 1px 10px; }
.cal-hint { font-size: .7rem; color: var(--text-dim); margin-top: 10px; text-align: center; }

.agenda { list-style: none; display: grid; gap: 8px; }
.agenda .row-btn.light { background: rgba(255, 255, 255, .07); padding: 10px; }
.agenda .row-btn.light:hover { background: rgba(255, 255, 255, .13); }
.agenda .row-btn span:not(.a-dot) { color: var(--text-dim); }
.agenda strong { font-size: .82rem; }
.a-dot { width: 9px; height: 9px; flex: none; }
.agenda-empty { color: var(--text-dim); font-size: .82rem; text-align: center; padding: 14px 0; }

.dot-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--orange); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #1b2436; }

/* ===== Switcher ===== */
.switcher {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 5px;
    background: rgba(10, 14, 22, .65); border: 1px solid var(--glass-border); backdrop-filter: blur(20px); border-radius: 999px; z-index: 5;
}
.switcher span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); padding: 0 12px; }
.switcher button { padding: 8px 20px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--text-dim); }
.switcher button.active { background: var(--orange); color: #fff; }

/* ===== Modal ===== */
dialog { border: 0; background: transparent; margin: auto; max-width: min(640px, 92vw); width: 100%; color: var(--text); }
dialog::backdrop { background: rgba(4, 8, 16, .7); backdrop-filter: blur(6px); }
.dlg-body { position: relative; padding: 24px; background: rgba(20, 27, 42, .94); max-height: 90vh; overflow-y: auto; }
.dlg-body img { width: 100%; height: 260px; object-fit: cover; border-radius: 18px; margin-bottom: 16px; }
.dlg-body h2 { margin: 0 0 18px; font-size: 1.2rem; }
.dlg-body .lead { color: #fff; margin-bottom: 8px; }
.dlg-body p { color: var(--text-dim); line-height: 1.6; font-size: .92rem; }
.dlg-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-items: center; }
.dlg-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }

/* ===== Responsivo ===== */
@media (max-width: 1280px) {
    .app { grid-template-columns: 68px minmax(0, 1fr) 300px; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .row-3, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1020px) {
    body { overflow: auto; }
    .row-2 { grid-template-columns: 1fr; }
    .app { height: auto; min-height: 100vh; grid-template-columns: 1fr; padding: 14px 14px 96px; }
    .sidebar {
        position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 20; flex-direction: row; justify-content: space-around; padding: 8px 12px; border-radius: 24px;
    }
    .side-logo { display: none; }
    .side-nav { flex-direction: row; justify-content: space-around; flex: 1; }
    .side-cta { width: 40px; height: 40px; }
    [data-tip]::after { display: none; }
    .switcher { display: none; }
    .main { overflow: visible; padding: 20px 16px; }
    .side-panel { overflow: visible; }
}

@media (max-width: 640px) {
    .row-2, .form-grid, .row-3, .grid-3, .kpis.three { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .board { grid-template-columns: repeat(5, 230px); }
    .kpi strong { font-size: 1.35rem; }
    .search { width: 100%; }
    .top-actions { width: 100%; }
    .search { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .chart .line { stroke-dashoffset: 0; }
}

/* Análise de solicitações por IA */
.ai-box { margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: #f4f6fb; font-size: .84rem; }
.ai-box summary { cursor: pointer; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ai-box summary i { color: var(--orange); }
.ai-box p { margin: 8px 0 4px; }
.ai-box strong { display: block; margin-top: 10px; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ai-box .pre { white-space: pre-line; }
.chips.inline { display: inline-flex; margin: 0; }

/* Campo de senha com botão de olho */
.pw { position: relative; }
.pw input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--text-dim); }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--text); background: rgba(255, 255, 255, .08); }

/* Exportação de relatórios */
.export-bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--text-dim); }
.view > .export-bar { margin-bottom: 14px; }
.export-bar input[type=month] { font: inherit; font-size: .8rem; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--glass-border); background: rgba(255, 255, 255, .07); color: var(--text); color-scheme: dark; }
.export-bar input[type=month]:focus { outline: 0; border-color: var(--orange); }
.export-bar .btn:disabled { opacity: .6; cursor: progress; }
