/* Identidade Visual ZYNTH: marinho, ciano, azul e violeta */
:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #e5edf9;
  background: #07111f;
  --cyan: #29d7ee;
  --line: #22334c;
  --muted: #91a3bc;
  --nav: #081421;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 90% 0, #132640 0, transparent 48%), #07111f; min-height: 100vh; }
button, input, select { font: inherit; min-height: 40px; }
button { cursor: pointer; }
.sidebar { width: 250px; background: linear-gradient(180deg, #091827, #07111e); border-right: 1px solid #1c2e45; position: fixed; inset: 0 auto 0 0; padding: 26px 18px; display: flex; flex-direction: column; overflow-y: auto; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: inherit; text-decoration: none; padding: 0 6px; }
.brand-art { display: block; width: 185px; height: 62px; position: relative; overflow: hidden; }
.brand-art img { position: absolute; width: 245px; height: auto; left: -30px; top: -84px; }
.brand-product { display: block; letter-spacing: 5px; font-size: 9px; color: #839bb8; margin-left: 12px; font-weight: 600; }
.workspace { border: 1px solid #263d55; background: #0e2033; border-radius: 10px; margin: 22px 0; padding: 12px; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.workspace small { display: block; color: #7f97b3; font-size: 10px; margin-top: 3px; }
.workspace-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #124e65, #39326c); color: #88ecfa; font-weight: 700; }
.workspace-dot { width: 8px; height: 8px; background: #29b784; border-radius: 50%; margin-left: auto; }
.nav-caption { font-size: 9px; letter-spacing: 1.6px; color: #7f97b3; padding: 0 10px; margin: 0 0 10px; }
nav { display: grid; gap: 4px; margin-bottom: 20px; }
.nav { display: flex; align-items: center; width: 100%; padding: 10px 12px; background: transparent; border: 0; text-align: left; border-radius: 8px; font-size: 13px; color: #9cb0c9; }
.nav:hover { background: #183049; color: #e5faff; }
.nav.active { background: linear-gradient(90deg, #123447, #17263c); color: #6be9f7; box-shadow: inset 3px 0 #2bdaec; }
.sidebar-bottom { margin-top: auto; display: flex; align-items: center; gap: 10px; border-top: 1px solid #23364c; padding-top: 16px; font-size: 11px; color: #9fb2c9; }
.sidebar-bottom small { display: block; color: #7f97b3; font-size: 10px; margin-top: 3px; }
.mini-logo { border: 1px solid #2a4565; color: #43d9eb; width: 28px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-weight: 700; }
.app { margin-left: 250px; }
.topbar { height: 68px; background: #0b1829; border-bottom: 1px solid #1d3048; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; }
.breadcrumb { font-size: 12px; color: #92a7c1; }
.breadcrumb span { color: #4f6681; padding: 0 10px; }
.top-right { display: flex; gap: 14px; align-items: center; }
.version { font-size: 11px; color: #708aa8; }
main { padding: 30px 36px; max-width: 1500px; margin: auto; }
.kicker { font-size: 9px; font-weight: 800; color: #47cfe2; letter-spacing: 2px; }
h1 { font-size: 30px; margin: 8px 0; color: #e7f1ff; }
h2 { font-size: 16px; margin: 0 0 14px; color: #e7f1ff; }
p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.page-heading { margin-bottom: 22px; }
.primary { border: 1px solid #4cc7ed; border-radius: 8px; background: linear-gradient(110deg, #35d5e8, #5e89eb 72%, #8564e3); color: #071421; font-size: 12px; font-weight: 700; padding: 10px 16px; }
.primary:hover { background: linear-gradient(110deg, #63e9f6, #7da2f6 72%, #9c7aed); }
.secondary { background: #14263b; border: 1px solid #2a405d; border-radius: 7px; font-size: 11px; color: #b8cbe3; padding: 8px 12px; }
.secondary:hover { background: #1d3550; }
input, select { border: 1px solid #2a405c; background: #0c1b2d; color: #d8e6f8; border-radius: 7px; font-size: 13px; padding: 9px 12px; }
label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 6px; color: #b8cbe3; }
.card { background: #101e32; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { background: linear-gradient(125deg, #112239, #101d30); border: 1px solid #22374f; border-radius: 11px; padding: 18px; }
.stat-top { font-size: 11px; color: #99aec7; }
.stat strong { display: block; font-size: 28px; font-weight: 700; margin: 12px 0 6px; color: #eaf3ff; }
.stat small { font-size: 10px; color: #6f87a6; }
.green-text { color: #49d4b1 !important; }
.orange-text { color: #4edce8 !important; }
.blue-text { color: #9c8bf0 !important; }
.notice { border: 1px solid #233b55; border-radius: 8px; padding: 11px 14px; font-size: 12px; color: #91a8c4; margin-bottom: 16px; background: #0f2034; }
.notice[data-state="success"] { color: #83dbc1; background: #0d2b2d; border-color: #1d514b; }
.notice[data-state="error"] { color: #f3a69c; background: #31212b; border-color: #65404c; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-form input, .inline-form select { flex: 1 1 180px; }
.table-wrap { padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { font-size: 10px; letter-spacing: .7px; color: #6f8dad; background: #0c192b; padding: 13px 16px; border-bottom: 1px solid #22344c; text-transform: uppercase; }
td { font-size: 12px; color: #a3b7d0; padding: 13px 16px; border-bottom: 1px solid #1b3048; }
.badge { display: inline-block; font-size: 10px; font-weight: 650; border-radius: 20px; padding: 4px 9px; background: #133f3b; color: #73dcb9; }
.badge.warn { background: #3e293e; color: #da9bca; }
.badge.neutral { background: #1e3049; color: #9bafc9; }
.auth-only .sidebar, .auth-only .topbar { display: none !important; }
.auth-only .app { margin-left: 0; }
.auth-card form > div { margin-bottom: 14px; }
.auth-card input, .auth-card .primary { width: 100%; }
[hidden] { display: none !important; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sidebar { position: static; width: auto; } .app { margin-left: 0; } }
