/* phase 16.8 stable */
/* inline-style-1 */

   :root {
  --bg:#f5f7fb;
  --panel:#ffffff;
  --panel-2:#f8fafc;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --brand:#111827;
  --brand-2:#334155;
  --ok-bg:#dcfce7;
  --ok:#166534;
  --warn-bg:#fef3c7;
  --warn:#92400e;
  --info-bg:#dbeafe;
  --info:#1d4ed8;
  --violet-bg:#ede9fe;
  --violet:#6d28d9;
  --danger:#b91c1c;
  --danger-bg:#fee2e2;
  --shadow:0 10px 30px rgba(15,23,42,.08);
  --radius:22px;
  --app-gradient:linear-gradient(180deg,#f8fafc 0%,#eef2ff 35%,#f5f7fb 100%);
  --sidebar-bg:rgba(255,255,255,.82);
  --sidebar-border:rgba(226,232,240,.9);
  --brand-grad-1:#020617;
  --brand-grad-2:#334155;
  --nav-active-bg:#0f172a;
  --nav-active-text:#ffffff;
  --nav-hover-bg:#f1f5f9;
  --tour-grad-1:#020617;
  --tour-grad-2:#334155;
  --topbar-bg:rgba(255,255,255,.72);
  --topbar-border:rgba(226,232,240,.8);
  --ghost-bg:#ffffff;
  --button-primary-bg:#0f172a;
  --button-primary-text:#ffffff;
  --chip-bg:#f8fafc;
  --chip-text:#475569;
  --accent:#38bdf8
}
* {
  box-sizing:border-box
}
body,html {
  margin:0;
  padding:0;
  background:var(--app-gradient);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif
}
button,input,select,textarea {
  font:inherit
}
.app {
  display:grid;
  grid-template-columns:290px 1fr;
  min-height:100vh
}
.sidebar {
  background:var(--sidebar-bg);
  backdrop-filter:blur(14px);
  border-right:1px solid var(--sidebar-border);
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:18px
}
.brand {
  display:flex;
  gap:14px;
  align-items:center;
  padding-bottom:18px;
  border-bottom:1px solid var(--line)
}
.brand-badge {
  width:54px;
  height:54px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--brand-grad-1),var(--brand-grad-2));
  display:grid;
  place-items:center;
  color:var(--button-primary-text);
  font-size:24px;
  font-weight:800;
  box-shadow:var(--shadow)
}
.brand h1 {
  margin:0;
  font-size:24px;
  letter-spacing:.02em
}
.brand p {
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px
}
.nav {
  display:grid;
  gap:8px
}
.nav button {
  border:0;
  background:0 0;
  color:#334155;
  text-align:left;
  padding:14px 16px;
  border-radius:18px;
  cursor:pointer;
  font-weight:600
}
.nav button.active {
  background:var(--nav-active-bg);
  color:var(--nav-active-text);
  box-shadow:var(--shadow)
}
.nav button:hover {
  background:var(--nav-hover-bg)
}
.tour-card {
  margin-top:auto;
  background:linear-gradient(135deg,var(--tour-grad-1),var(--tour-grad-2));
  color:var(--button-primary-text);
  border-radius:24px;
  padding:18px;
  box-shadow:var(--shadow)
}
.tour-card p {
  margin:0
}
.tour-card .big {
  font-size:34px;
  font-weight:800;
  margin-top:8px
}
.progress {
  height:8px;
  background:rgba(255,255,255,.18);
  border-radius:999px;
  overflow:hidden;
  margin:14px 0 8px
}
.progress>span {
  display:block;
  height:100%;
  background:#fff;
  border-radius:999px
}
.content {
  padding:24px
}
.topbar {
  background:var(--topbar-bg);
  backdrop-filter:blur(14px);
  border:1px solid var(--topbar-border);
  border-radius:28px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  box-shadow:var(--shadow)
}
.topbar h2 {
  margin:0;
  font-size:30px
}
.topbar p {
  margin:4px 0 0;
  color:var(--muted)
}
.top-actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap
}
.search {
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:var(--ghost-bg);
  color:var(--text);
  min-width:290px
}
.ghost {
  border:1px solid var(--line);
  background:var(--ghost-bg);
  color:var(--text);
  border-radius:16px;
  padding:12px 14px;
  cursor:pointer
}
.primary {
  border:0;
  background:var(--button-primary-bg);
  color:var(--button-primary-text);
  border-radius:16px;
  padding:12px 16px;
  cursor:pointer
}
.danger {
  border:1px solid #fecaca;
  background:#fff;
  color:var(--danger);
  border-radius:16px;
  padding:10px 12px;
  cursor:pointer
}
.main {
  margin-top:22px;
  display:grid;
  gap:22px
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px
}
.card {
  background:var(--panel);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:18px;
  border:1px solid rgba(226,232,240,.6)
}
.card h3,.card h4 {
  margin:0
}
.stat-title {
  font-size:13px;
  color:var(--muted)
}
.stat-value {
  margin-top:10px;
  font-size:28px;
  font-weight:800
}
.stat-detail {
  margin-top:8px;
  color:var(--muted);
  font-size:12px
}
.grid-3 {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px
}
.grid-2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.list {
  display:grid;
  gap:12px
}
.item {
  display:flex;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--line);
  padding:14px;
  border-radius:20px;
  background:#fff
}
.item small,.muted {
  color:var(--muted)
}
.badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:700;
  border:1px solid transparent;
  white-space:nowrap
}
.badge.ativo,.badge.confirmado {
  background:var(--ok-bg);
  color:var(--ok);
  border-color:#bbf7d0
}
.badge.negociação {
  background:var(--info-bg);
  color:var(--info);
  border-color:#bfdbfe
}
.badge.pendente {
  background:var(--warn-bg);
  color:var(--warn);
  border-color:#fde68a
}
.badge.freelancer {
  background:var(--violet-bg);
  color:var(--violet);
  border-color:#ddd6fe
}
.badge.cancelado {
  background:var(--danger-bg);
  color:var(--danger);
  border-color:#fecaca
}
.toolbar {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:14px
}
.toolbar .row {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap
}
table {
  width:100%;
  border-collapse:collapse
}
td,th {
  padding:14px 10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:14px;
  vertical-align:top
}
th {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--muted)
}
tr:last-child td {
  border-bottom:0
}
.actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.small-btn {
  padding:8px 11px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer
}
.forms {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px
}
.form-card h3 {
  margin-bottom:16px
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.form-grid .full {
  grid-column:1/-1
}
label {
  display:grid;
  gap:6px;
  font-size:13px;
  font-weight:600;
  color:#334155
}
input,select,textarea {
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:12px 14px;
  min-width:0
}
textarea {
  min-height:110px;
  resize:vertical
}
.form-actions {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:14px;
  flex-wrap:wrap
}
.switch {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  padding:12px 14px;
  border-radius:16px;
  background:#fff
}
.empty {
  padding:26px;
  text-align:center;
  color:var(--muted);
  border:1px dashed var(--line);
  border-radius:18px;
  background:var(--panel-2)
}
.section-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px
}
.section-title p {
  margin:4px 0 0;
  color:var(--muted);
  font-size:14px
}
.mini-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px
}
.kpi {
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px
}
.kpi .label {
  font-size:12px;
  color:var(--muted)
}
.kpi .value {
  font-size:22px;
  font-weight:800;
  margin-top:8px
}
.footer-note {
  font-size:12px;
  color:var(--muted)
}
.agenda-layout {
  display:grid;
  grid-template-columns:1.25fr .95fr;
  gap:20px
}
.month-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:16px
}
.month-summary {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.mini-pill {
  display:inline-flex;
  align-items:center;
  border:1px solid var(--line);
  background:var(--chip-bg);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:700;
  color:var(--chip-text)
}
.calendar-grid,.week-grid {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:10px
}
.week-label {
  padding:8px 6px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em
}
.calendar-cell {
  min-height:126px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:10px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  display:flex;
  flex-direction:column;
  gap:8px
}
.calendar-cell.is-outside {
  background:#f8fafc;
  opacity:.45
}
.calendar-cell.is-active {
  border-color:#0f172a;
  box-shadow:0 0 0 2px rgba(15,23,42,.05) inset
}
.calendar-day {
  font-size:13px;
  font-weight:800;
  color:#0f172a
}
.calendar-events {
  display:grid;
  gap:6px
}
.event-pill {
  border:0;
  background:#e2e8f0;
  color:#0f172a;
  border-radius:14px;
  padding:8px 9px;
  text-align:left;
  cursor:pointer;
  display:grid;
  gap:2px;
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset
}
.event-pill span {
  font-size:11px;
  font-weight:700;
  color:#475569
}
.event-pill strong {
  font-size:12px;
  line-height:1.2
}
.event-pill.selected {
  background:#0f172a;
  color:#fff
}
.event-pill.selected span {
  color:#cbd5e1
}
.show-detail-card {
  display:grid;
  gap:16px
}
.show-detail-head {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start
}
.metric-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px
}
.detail-box,.metric-box {
  border:1px solid var(--line);
  background:#f8fafc;
  border-radius:18px;
  padding:14px
}
.detail-label,.metric-label {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px
}
.detail-value,.metric-box strong {
  font-size:18px;
  font-weight:800;
  color:#0f172a
}
.detail-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px
}
.show-detail-section {
  display:grid;
  gap:8px
}
.info-highlight {
  border-radius:16px;
  padding:12px 14px;
  font-size:13px;
  font-weight:700
}
.info-highlight.info-chip {
  background:var(--info-bg);
  color:var(--info)
}
.info-highlight.warn-chip {
  background:var(--warn-bg);
  color:var(--warn)
}
.info-highlight.danger-chip {
  background:var(--danger-bg);
  color:var(--danger)
}
.info-highlight.muted-chip {
  background:#f8fafc;
  color:#475569;
  border:1px solid var(--line)
}
.attachment-list {
  display:flex;
  flex-direction:column;
  gap:8px
}
.file-chip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:1px solid var(--line);
  background:#f8fafc;
  border-radius:14px;
  padding:10px 12px
}
.file-chip small {
  color:var(--muted);
  display:block;
  margin-top:2px
}
.file-link {
  color:#1d4ed8;
  text-decoration:none;
  font-weight:600;
  word-break:break-all
}
.file-link:hover {
  text-decoration:underline
}
.stack {
  display:grid;
  gap:12px
}
.note-box {
  padding:12px 14px;
  border:1px dashed var(--line);
  border-radius:16px;
  background:#f8fafc;
  color:var(--muted);
  font-size:12px
}
.toast {
  position:fixed;
  right:20px;
  bottom:20px;
  background:#0f172a;
  color:#fff;
  padding:14px 16px;
  border-radius:16px;
  box-shadow:var(--shadow);
  opacity:0;
  transform:translateY(12px);
  pointer-events:none;
  transition:.25s
}
.toast.show {
  opacity:1;
  transform:translateY(0)
}
canvas {
  width:100%;
  height:320px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  border:1px solid var(--line);
  border-radius:18px
}
.permission-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px
}
.check-item {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:14px;
  background:#fff
}
.check-item input {
  margin:0
}
.role-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:700;
  background:#f1f5f9;
  color:#334155;
  border:1px solid var(--line)
}
.user-head {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap
}
.user-switch {
  min-width:240px
}
.auth-root {
  min-height:100vh;
  display:none;
  place-items:center;
  padding:32px;
  background:linear-gradient(180deg,#f8fafc 0,#eef2ff 35%,#f5f7fb 100%)
}
.login-shell {
  width:100%;
  display:grid;
  place-items:center
}
.login-card {
  width:min(100%,480px);
  background:var(--topbar-bg);
  backdrop-filter:blur(16px);
  border:1px solid var(--topbar-border);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
  display:grid;
  gap:18px
}
.login-brand {
  display:flex;
  align-items:center;
  gap:14px
}
.login-copy h2 {
  margin:0 0 8px;
  font-size:28px
}
.login-copy p {
  margin:0;
  color:var(--muted);
  line-height:1.5
}
.login-form {
  display:grid;
  gap:14px
}
.login-btn {
  width:100%;
  padding:14px 16px;
  font-weight:700
}
.login-error {
  padding:12px 14px;
  border-radius:16px;
  background:var(--danger-bg);
  color:var(--danger);
  border:1px solid #fecaca;
  font-size:13px;
  font-weight:700
}
.permission-tags {
  display:flex;
  gap:6px;
  flex-wrap:wrap
}
.permission-tags .mini-pill {
  background:#fff
}
.info-box {
  padding:14px 16px;
  border-radius:18px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e3a8a;
  font-size:13px
}
.calendar-cell.can-create {
  cursor:pointer;
  transition:.2s ease
}
.calendar-cell.can-create:hover {
  border-color:#0f172a;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(15,23,42,.06)
}
.calendar-empty-action {
  margin-top:auto;
  border:1px dashed var(--line);
  border-radius:14px;
  padding:8px 10px;
  font-size:12px;
  font-weight:700;
  color:var(--text);
  background:var(--ghost-bg)
}
.calendar-hover-card {
  position:absolute;
  left:10px;
  right:10px;
  bottom:12px;
  z-index:15;
  background:#0f172a;
  color:#fff;
  border-radius:16px;
  padding:12px;
  box-shadow:0 16px 34px rgba(15,23,42,.2);
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:.18s ease;
  display:grid;
  gap:8px
}
.calendar-cell {
  position:relative
}
.calendar-cell:hover .calendar-hover-card {
  opacity:1;
  transform:translateY(0)
}
.calendar-hover-title {
  font-size:11px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#cbd5e1;
  font-weight:800
}
.calendar-hover-item {
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.12)
}
.calendar-hover-item:first-of-type {
  padding-top:0;
  border-top:0
}
.calendar-hover-item strong {
  display:block;
  font-size:13px;
  line-height:1.25
}
.calendar-hover-item small {
  display:block;
  color:#cbd5e1;
  margin-top:4px;
  line-height:1.3
}
.agenda-quick-note {
  margin-top:10px;
  padding:12px 14px;
  border-radius:16px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:700
}
.theme-swatches {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap
}
.theme-dot {
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 0 0 1px rgba(15,23,42,.08)
}
.theme-option-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}
.theme-card {
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  background:var(--panel-2)
}
.theme-card strong {
  display:block;
  margin-bottom:8px
}
.theme-card small {
  color:var(--muted);
  display:block;
  margin-top:8px;
  line-height:1.35
}
.timeline-visual {
  display:grid;
  gap:18px
}
.timeline-visual-top {
  display:grid;
  gap:14px
}
.timeline-progress-shell {
  border:1px solid rgba(59,78,106,.78);
  background:linear-gradient(180deg,#1b2a43,#15233a);
  border-radius:22px;
  padding:16px 18px;
  display:grid;
  gap:10px
}
.timeline-progress-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap
}
.timeline-progress-head strong {
  font-size:15px;
  color:#f8fbff
}
.timeline-progress-head span {
  font-size:12px;
  color:#94acd0
}
.timeline-progress-track {
  height:10px;
  border-radius:999px;
  background:rgba(7,18,35,.7);
  border:1px solid rgba(59,78,106,.58);
  overflow:hidden;
  position:relative
}
.timeline-progress-track b {
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#1d4ed8 0,#38bdf8 55%,#67e8f9 100%);
  box-shadow:0 0 22px rgba(56,189,248,.35)
}
.timeline-progress-foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  color:#90a8ca
}
.timeline-vertical {
  --timeline-progress:0%;
  position:relative;
  display:grid;
  gap:16px;
  padding-left:30px
}
.timeline-vertical::before {
  content:'';
  position:absolute;
  left:13px;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius:999px;
  background:rgba(59,78,106,.35)
}
.timeline-vertical::after {
  content:'';
  position:absolute;
  left:13px;
  top:10px;
  height:var(--timeline-progress);
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,#38bdf8,#1d4ed8);
  box-shadow:0 0 18px rgba(56,189,248,.3)
}
.timeline-step-card {
  position:relative;
  display:grid;
  gap:12px;
  padding:18px 20px;
  border-radius:24px;
  border:1px solid rgba(59,78,106,.78);
  background:linear-gradient(180deg,#18253c,#142033);
  overflow:hidden;
  box-shadow:0 14px 30px rgba(3,10,24,.22)
}
.timeline-step-card::before {
  content:'';
  position:absolute;
  left:-22px;
  top:26px;
  width:14px;
  height:14px;
  border-radius:999px;
  background:#7c93b2;
  box-shadow:0 0 0 6px #0f172a;
  border:1px solid rgba(255,255,255,.12)
}
.timeline-step-card::after {
  content:'';
  position:absolute;
  inset:0;
  border-radius:24px;
  pointer-events:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)
}
.timeline-step-card.done::before {
  background:#22c55e
}
.timeline-step-card.active::before {
  background:#38bdf8
}
.timeline-step-card.waiting::before {
  background:#f59e0b
}
.timeline-step-card.done {
  border-color:rgba(34,197,94,.42)
}
.timeline-step-card.active {
  border-color:rgba(56,189,248,.62);
  background:linear-gradient(180deg,#1d3252,#162740);
  box-shadow:0 18px 38px rgba(14,165,233,.18),0 0 0 1px rgba(56,189,248,.12)
}
.timeline-step-card.active .timeline-step-number {
  background:linear-gradient(180deg,#0f2748,#123967);
  border-color:rgba(56,189,248,.68);
  color:#f8fdff;
  box-shadow:0 0 0 4px rgba(56,189,248,.1)
}
.timeline-step-card.active .timeline-step-title strong {
  font-size:16px
}
.timeline-step-card.active .timeline-step-time {
  color:#7dd3fc
}
.timeline-step-card.active .timeline-focus {
  display:inline-flex
}
.timeline-focus {
  display:none;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(56,189,248,.14);
  border:1px solid rgba(56,189,248,.22);
  color:#dff7ff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase
}
.timeline-step-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px
}
.timeline-step-number {
  width:36px;
  height:36px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:#0b162a;
  border:1px solid rgba(59,78,106,.78);
  font-size:12px;
  font-weight:800;
  color:#dbeafe
}
.timeline-step-title {
  display:grid;
  gap:5px;
  flex:1
}
.timeline-step-title strong {
  font-size:15px;
  line-height:1.2;
  color:#f7fbff
}
.timeline-step-title small {
  font-size:12px;
  line-height:1.45;
  color:#9bb1cd
}
.timeline-step-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:2px;
  padding-top:10px;
  border-top:1px solid rgba(59,78,106,.45)
}
.timeline-step-time {
  font-weight:800;
  color:#fff;
  font-size:13px
}
.timeline-step-extra {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
.timeline-mini-box {
  border:1px solid rgba(59,78,106,.55);
  background:rgba(11,22,42,.48);
  border-radius:16px;
  padding:10px 12px;
  display:grid;
  gap:4px
}
.timeline-mini-box span {
  font-size:11px;
  color:#8fa8c8;
  text-transform:uppercase;
  letter-spacing:.04em
}
.timeline-mini-box strong {
  font-size:13px;
  color:#f8fbff
}
.timeline-highlight {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px
}
.timeline-summary-box {
  border:1px solid rgba(59,78,106,.78);
  background:linear-gradient(180deg,#1d2c46,#18263e);
  border-radius:22px;
  padding:18px;
  display:grid;
  gap:8px
}
.timeline-summary-box strong {
  font-size:22px;
  color:#fff
}
.timeline-summary-box small {
  color:#9bb1cd;
  line-height:1.4
}
.print-trigger {
  display:inline-flex;
  align-items:center;
  gap:8px
}
@media (max-width:1180px) {
  .timeline-highlight,.timeline-step-extra {
    grid-template-columns:1fr
  }
  .timeline-vertical {
    padding-left:24px
  }
  .timeline-vertical::after,.timeline-vertical::before {
    left:10px
  }
  .timeline-step-card::before {
    left:-18px
  }

}
@media print {
  body,html {
    background:#fff!important;
    color:#111827!important
  }
  .actions,.form-card,.nav,.no-print,.section-title .actions,.sidebar,.topbar,button,input,select,textarea {
    display:none!important
  }
  .main {
    padding:0!important
  }
  .card,.timeline-progress-shell,.timeline-step-card,.timeline-summary-box,.timeline-visual {
    background:#fff!important;
    color:#111827!important;
    border-color:#cbd5e1!important;
    box-shadow:none!important
  }
  .card h1,.card h2,.card h3,.detail-value,.section-title h2,.section-title h3,.timeline-mini-box strong,.timeline-step-title strong,.timeline-summary-box strong {
    color:#111827!important
  }
  .detail-label,.mini-pill,.muted,.timeline-mini-box span,.timeline-progress-foot,.timeline-progress-head span,.timeline-step-title small,.timeline-summary-box small {
    color:#475569!important
  }
  .timeline-mini-box {
    background:#f8fafc!important
  }
  .badge {
    border:1px solid #cbd5e1!important;
    background:#f8fafc!important;
    color:#111827!important
  }
  .timeline-progress-track {
    background:#e2e8f0!important;
    border-color:#cbd5e1!important
  }
  .timeline-progress-track b {
    background:#2563eb!important;
    box-shadow:none!important
  }
  .timeline-step-card.active {
    background:#eff6ff!important
  }
  .app {
    display:block!important
  }

}
@media (max-width:1180px) {
  .app {
    grid-template-columns:1fr
  }
  .sidebar {
    display:none
  }
  .agenda-layout,.detail-grid,.forms,.grid-2,.grid-3,.metric-grid,.mini-grid,.stats {
    grid-template-columns:1fr
  }
  .search {
    min-width:0;
    width:100%
  }
  .topbar {
    align-items:flex-start;
    flex-direction:column
  }

}
body,html {
  background:linear-gradient(180deg,#081326 0,#07172f 40%,#061121 100%)!important;
  color:var(--text)
}
.app {
  grid-template-columns:300px 1fr;
  background:0 0
}
.sidebar {
  background:linear-gradient(180deg,#041126 0,#07152c 100%)!important;
  border-right:1px solid rgba(53,70,96,.85)!important;
  padding:18px 14px 16px!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.02)
}
.brand {
  padding:8px 8px 18px!important;
  border-bottom:1px solid rgba(56,75,104,.65)!important
}
.brand-badge {
  width:52px!important;
  height:52px!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#2ec5ff,#1784ff)!important;
  color:#041126!important;
  box-shadow:0 12px 28px rgba(21,132,255,.32)!important
}
.brand h1 {
  color:#f5f9ff!important;
  font-size:23px!important
}
.brand p {
  color:#8ea6c6!important;
  font-size:12px!important;
  max-width:150px;
  line-height:1.35
}
.nav {
  gap:12px!important
}
.nav-section {
  background:linear-gradient(180deg,#16243b,#111e33)!important;
  border:1px solid rgba(59,78,106,.72)!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(0,0,0,.12)!important;
  padding:10px!important
}
.nav-section-head {
  color:#f1f6ff!important;
  padding:4px 4px 8px!important
}
.nav-section-title strong {
  font-size:12px!important;
  color:#ff5c76!important;
  text-transform:uppercase;
  letter-spacing:.08em
}
.nav-section-title span {
  font-size:11px!important;
  color:#7f97b8!important
}
.nav-section-arrow {
  background:#0a152a!important;
  border:1px solid rgba(61,82,114,.8)!important;
  color:#99b3d4!important;
  box-shadow:none!important
}
.nav-section.open .nav-section-arrow {
  background:#21324e!important;
  color:#fff!important;
  border-color:#3f5778!important
}
.nav-link {
  background:linear-gradient(180deg,#1d2b43,#17243a)!important;
  border:1px solid rgba(59,78,106,.72)!important;
  color:#edf4ff!important;
  border-radius:14px!important;
  padding:12px 12px!important;
  box-shadow:none!important
}
.nav-link:hover {
  transform:none!important;
  background:linear-gradient(180deg,#243451,#1b2a42)!important;
  border-color:#4c6890!important
}
.nav-link.active {
  background:linear-gradient(180deg,#3a4559,#2f3a4c)!important;
  border-color:#7b8ea8!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 20px rgba(0,0,0,.18)!important
}
.nav-link small {
  opacity:.78!important;
  color:#9ab0ce!important
}
.tour-card {
  background:linear-gradient(160deg,#111c31 0,#162845 60%,#223754 100%)!important;
  border:1px solid rgba(61,82,114,.75)!important;
  border-radius:18px!important
}
.tour-card .big {
  color:#fff!important
}
.tour-card p:not(.big) {
  color:#95adcb!important
}
.progress {
  background:rgba(255,255,255,.08)!important
}
.progress>span {
  background:linear-gradient(90deg,#2cc7ff,#4dff9c)!important
}
.content {
  padding:16px 18px 22px!important
}
.topbar {
  background:linear-gradient(180deg,#17253b,#122036)!important;
  border:1px solid rgba(59,78,106,.8)!important;
  border-radius:18px!important;
  box-shadow:0 18px 36px rgba(0,0,0,.16)!important;
  padding:18px 20px!important
}
.topbar h2 {
  color:#f7fbff!important;
  font-size:28px!important
}
.topbar p {
  color:#97afcd!important
}
.ghost,.search,input,select,textarea {
  background:#16253d!important;
  border:1px solid rgba(59,78,106,.85)!important;
  color:#eef4ff!important
}
input::placeholder,textarea::placeholder {
  color:#7890ae!important
}
.ghost {
  box-shadow:none!important
}
.primary {
  background:linear-gradient(180deg,#29a8f6,#1185d6)!important;
  color:#041126!important;
  font-weight:800!important;
  box-shadow:0 10px 24px rgba(32,148,224,.22)!important
}
.card {
  background:linear-gradient(180deg,#1a2740,#16233a)!important;
  border:1px solid rgba(59,78,106,.78)!important;
  border-radius:20px!important;
  box-shadow:0 18px 40px rgba(0,0,0,.16)!important;
  padding:18px!important
}
.card h3,.card h4,.card strong,.section-title h3,.section-title h4,.section-title strong {
  color:#f7fbff!important
}
.calendar-note,.card small,.detail-label,.field-help,.footer-note,.kpi .label,.login-copy p,.metric-label,.mini-pill,.muted,.section-title p,.stat-detail,.stat-title,label {
  color:#97afcd!important
}
.stats {
  gap:18px!important
}
.stats .card {
  position:relative;
  overflow:hidden
}
.stats .card::before {
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  border-radius:12px;
  background:#2ec5ff;
  opacity:.95
}
.stats .card:first-child::before {
  background:#22c55e
}
.stats .card:nth-child(2)::before {
  background:#f59e0b
}
.stats .card:nth-child(3)::before {
  background:#ef4444
}
.stats .card:nth-child(4)::before {
  background:#3b82f6
}
.detail-value,.kpi .value,.metric-box strong,.stat-value {
  color:#fff!important
}
.detail-box,.info-box,.item,.kpi,.login-card,.metric-box,.theme-card {
  background:linear-gradient(180deg,#1d2c46,#18263e)!important;
  border:1px solid rgba(59,78,106,.78)!important;
  color:#eef4ff!important
}
.detail-box:hover,.item:hover,.kpi:hover,.metric-box:hover {
  border-color:#6d8dba!important
}
.badge {
  box-shadow:none!important;
  border-radius:999px!important
}
.badge-info,.badge-success,.badge-violet,.badge-warning {
  filter:saturate(.95)
}
table {
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important
}
th {
  font-size:11px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  color:#9bb1cd!important;
  padding:0 12px 8px!important;
  border-bottom:0!important
}
td {
  background:#1d2b44!important;
  color:#edf4ff!important;
  border-top:1px solid rgba(59,78,106,.78)!important;
  border-bottom:1px solid rgba(59,78,106,.78)!important;
  padding:14px 12px!important
}
tr td:first-child {
  border-left:1px solid rgba(59,78,106,.78)!important;
  border-radius:12px 0 0 12px
}
tr td:last-child {
  border-right:1px solid rgba(59,78,106,.78)!important;
  border-radius:0 12px 12px 0
}
.small-btn {
  background:#142238!important;
  color:#eef4ff!important;
  border:1px solid rgba(59,78,106,.85)!important
}
.small-btn:hover {
  background:#1b2d49!important
}
.calendar-cell {
  background:linear-gradient(180deg,#16253d,#122036)!important;
  border:1px solid rgba(59,78,106,.76)!important;
  border-radius:16px!important;
  min-height:118px!important
}
.calendar-cell.is-outside {
  opacity:.35!important;
  background:#0f1a2c!important
}
.calendar-cell.is-active {
  border-color:#57b6ff!important;
  box-shadow:0 0 0 1px rgba(87,182,255,.18) inset!important
}
.calendar-day,.week-label {
  color:#a7bdd7!important
}
.event-pill {
  background:linear-gradient(180deg,#243552,#1a2840)!important;
  color:#f7fbff!important;
  border:1px solid rgba(74,104,145,.6)!important;
  box-shadow:none!important
}
.event-pill span {
  color:#9fb4d2!important
}
.event-pill.selected {
  background:linear-gradient(180deg,#2f415b,#253650)!important;
  border-color:#87a0c0!important
}
.event-hover-card,.floating-card,.tooltip {
  background:#15243a!important;
  border:1px solid rgba(74,104,145,.72)!important;
  color:#f6fbff!important;
  box-shadow:0 18px 36px rgba(0,0,0,.24)!important
}
.login-wrap {
  background:radial-gradient(circle at top,#0b1a32,#071225 60%,#06101f 100%)!important
}
.login-card {
  background:linear-gradient(180deg,#17253d,#132036)!important;
  border-radius:22px!important
}
.login-brand strong,.login-copy h2 {
  color:#fff!important
}
.login-error {
  background:#2a1320!important;
  border-color:#6b2339!important;
  color:#ffb3c1!important
}
.theme-card input[type=radio] {
  accent-color:#28aaf7
}
.theme-dot {
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:none!important
}
.theme-card strong {
  color:#fff!important
}
[data-theme-profile=syscomp-dark] .card,[data-theme-profile=syscomp-dark] .detail-box,[data-theme-profile=syscomp-dark] .item,[data-theme-profile=syscomp-dark] .kpi,[data-theme-profile=syscomp-dark] .metric-box {
  backdrop-filter:none
}
  

/* lunetta-v28-acompanhamento-dark-fix */

   .mini-stat,.rank-item,.seller-finance-box,.seller-show-card,.vendor-card,.vendor-stat {
  background:linear-gradient(180deg,var(--panel),var(--panel-2))!important;
  border:1px solid rgba(92,125,171,.28)!important;
  color:var(--text)!important;
  box-shadow:0 18px 40px rgba(1,8,24,.28)!important
}
.mini-stat .v,.rank-title,.seller-finance-box strong,.seller-show-title h5,.vendor-card h4,.vendor-card h5,.vendor-stat strong {
  color:var(--text)!important
}
.mini-stat .k,.rank-meta,.scope-pill,.seller-finance-box span,.seller-form-grid label,.seller-note,.seller-show-title p,.vendor-card label,.vendor-card p,.vendor-card small,.vendor-stat small {
  color:var(--muted)!important
}
.scope-pill,.seller-note {
  background:rgba(31,52,86,.82)!important;
  border:1px solid rgba(93,148,255,.28)!important;
  color:#dbeafe!important
}
.seller-note {
  font-weight:700!important
}
.rank-bar {
  background:rgba(148,163,184,.18)!important
}
.rank-bar>span {
  background:linear-gradient(90deg,#2563eb,#38bdf8)!important
}
.seller-show-card input,.seller-show-card select,.seller-show-card textarea,.vendor-card input,.vendor-card select,.vendor-card textarea {
  background:#10203a!important;
  border:1px solid rgba(98,132,184,.32)!important;
  color:var(--text)!important
}
.seller-show-card input::placeholder,.seller-show-card textarea::placeholder,.vendor-card input::placeholder,.vendor-card textarea::placeholder {
  color:#8ea7c9!important
}
.mini-stat .k,.seller-finance-box span,.vendor-stat .eyebrow {
  color:#a5b4fc!important
}
.vendor-grid .kpi,.vendor-grid .kpi .label,.vendor-grid .kpi .value {
  background:linear-gradient(180deg,#11203a,#15294a)!important;
  color:var(--text)!important;
  border-color:rgba(98,132,184,.32)!important
}
.vendor-grid .kpi .label {
  color:#93c5fd!important
}
  

/* lunetta-v19-style */

   .sidebar {
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,250,252,.86));
  box-shadow:inset -1px 0 0 rgba(226,232,240,.75),18px 0 40px rgba(15,23,42,.04)
}
.brand-badge {
  background:linear-gradient(135deg,#020617,#0f172a 45%,#334155);
  position:relative;
  overflow:hidden
}
.brand-badge::after {
  content:'';
  position:absolute;
  inset:auto -14px -14px auto;
  width:34px;
  height:34px;
  background:rgba(255,255,255,.12);
  border-radius:999px;
  filter:blur(2px)
}
.nav {
  display:grid;
  gap:12px
}
.nav-section {
  display:grid;
  gap:10px;
  padding:10px;
  border:1px solid rgba(226,232,240,.85);
  background:rgba(248,250,252,.88);
  border-radius:22px;
  box-shadow:0 8px 24px rgba(15,23,42,.03)
}
.nav-section-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:0;
  background:0 0;
  padding:2px 4px;
  cursor:pointer;
  color:#0f172a
}
.nav-section-title {
  display:grid;
  gap:2px
}
.nav-section-title strong {
  font-size:13px;
  letter-spacing:.02em
}
.nav-section-title span {
  font-size:11px;
  color:var(--muted)
}
.nav-section-arrow {
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(226,232,240,.85);
  font-size:12px;
  color:#334155;
  transition:.2s ease
}
.nav-section.open .nav-section-arrow {
  transform:rotate(180deg);
  background:#0f172a;
  color:#fff;
  border-color:#0f172a
}
.nav-section-body {
  display:none;
  gap:8px
}
.nav-section.open .nav-section-body {
  display:grid
}
.nav-link {
  position:relative;
  border:1px solid transparent;
  background:#fff;
  color:#334155;
  text-align:left;
  padding:13px 14px;
  border-radius:18px;
  cursor:pointer;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  transition:.18s ease;
  box-shadow:0 1px 0 rgba(255,255,255,.85) inset
}
.nav-link:hover {
  transform:translateY(-1px);
  border-color:#dbe4f0;
  background:linear-gradient(180deg,#fff,#f8fafc)
}
.nav-link.active {
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#fff;
  border-color:#0f172a;
  box-shadow:0 12px 24px rgba(15,23,42,.18)
}
.nav-link small {
  font-size:11px;
  color:inherit;
  opacity:.65;
  font-weight:600
}
.tour-card {
  background:linear-gradient(160deg,#020617 0,#111827 40%,#334155 100%);
  border:1px solid rgba(255,255,255,.08)
}
.vendor-shell {
  display:grid;
  gap:20px
}
.vendor-hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#0f172a,#172554 58%,#1e293b);
  color:#fff;
  border-radius:28px;
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow)
}
.vendor-hero::after {
  content:'';
  position:absolute;
  right:-60px;
  top:-40px;
  width:180px;
  height:180px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(255,255,255,.15),transparent 65%)
}
.vendor-hero h3 {
  font-size:28px;
  margin:0 0 8px
}
.vendor-hero p {
  margin:0;
  color:#cbd5e1;
  max-width:720px
}
.vendor-head-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px
}
.vendor-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px
}
.vendor-stat {
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  border:1px solid rgba(226,232,240,.8);
  padding:18px;
  box-shadow:var(--shadow)
}
.vendor-stat .eyebrow {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  font-weight:800
}
.vendor-stat strong {
  display:block;
  font-size:28px;
  margin-top:10px
}
.vendor-stat small {
  display:block;
  margin-top:8px;
  color:var(--muted)
}
.vendor-grid {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:20px
}
.vendor-card {
  border-radius:26px;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(226,232,240,.7);
  box-shadow:var(--shadow);
  padding:18px
}
.vendor-card-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px
}
.vendor-card-head h4 {
  margin:0;
  font-size:20px
}
.vendor-card-head p {
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px
}
.scope-pill {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1d4ed8;
  font-weight:700
}
.seller-show-list {
  display:grid;
  gap:14px
}
.seller-show-card {
  border:1px solid rgba(226,232,240,.9);
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  padding:16px;
  box-shadow:0 8px 20px rgba(15,23,42,.03)
}
.seller-show-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px
}
.seller-show-title {
  display:grid;
  gap:5px
}
.seller-show-title h5 {
  margin:0;
  font-size:18px
}
.seller-show-title p {
  margin:0;
  color:var(--muted);
  font-size:13px
}
.seller-finance-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px
}
.seller-finance-box {
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(226,232,240,.85);
  padding:12px
}
.seller-finance-box span {
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  font-weight:800
}
.seller-finance-box strong {
  display:block;
  margin-top:8px;
  font-size:16px
}
.seller-form {
  display:grid;
  gap:12px
}
.seller-form-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px
}
.seller-form-grid .full {
  grid-column:1/-1
}
.seller-note {
  padding:12px 14px;
  border-radius:16px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:700
}
@media (max-width:1180px) {
  .seller-finance-grid,.seller-form-grid,.vendor-grid,.vendor-stats {
    grid-template-columns:1fr
  }
  .nav-section-title span {
    display:none
  }

}
body,html {
  background:linear-gradient(180deg,#081326 0,#07172f 40%,#061121 100%)!important;
  color:var(--text)
}
.app {
  grid-template-columns:300px 1fr;
  background:0 0
}
.sidebar {
  background:linear-gradient(180deg,#041126 0,#07152c 100%)!important;
  border-right:1px solid rgba(53,70,96,.85)!important;
  padding:18px 14px 16px!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.02)
}
.brand {
  padding:8px 8px 18px!important;
  border-bottom:1px solid rgba(56,75,104,.65)!important
}
.brand-badge {
  width:52px!important;
  height:52px!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#2ec5ff,#1784ff)!important;
  color:#041126!important;
  box-shadow:0 12px 28px rgba(21,132,255,.32)!important
}
.brand h1 {
  color:#f5f9ff!important;
  font-size:23px!important
}
.brand p {
  color:#8ea6c6!important;
  font-size:12px!important;
  max-width:150px;
  line-height:1.35
}
.nav {
  gap:12px!important
}
.nav-section {
  background:linear-gradient(180deg,#16243b,#111e33)!important;
  border:1px solid rgba(59,78,106,.72)!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(0,0,0,.12)!important;
  padding:10px!important
}
.nav-section-head {
  color:#f1f6ff!important;
  padding:4px 4px 8px!important
}
.nav-section-title strong {
  font-size:12px!important;
  color:#ff5c76!important;
  text-transform:uppercase;
  letter-spacing:.08em
}
.nav-section-title span {
  font-size:11px!important;
  color:#7f97b8!important
}
.nav-section-arrow {
  background:#0a152a!important;
  border:1px solid rgba(61,82,114,.8)!important;
  color:#99b3d4!important;
  box-shadow:none!important
}
.nav-section.open .nav-section-arrow {
  background:#21324e!important;
  color:#fff!important;
  border-color:#3f5778!important
}
.nav-link {
  background:linear-gradient(180deg,#1d2b43,#17243a)!important;
  border:1px solid rgba(59,78,106,.72)!important;
  color:#edf4ff!important;
  border-radius:14px!important;
  padding:12px 12px!important;
  box-shadow:none!important
}
.nav-link:hover {
  transform:none!important;
  background:linear-gradient(180deg,#243451,#1b2a42)!important;
  border-color:#4c6890!important
}
.nav-link.active {
  background:linear-gradient(180deg,#3a4559,#2f3a4c)!important;
  border-color:#7b8ea8!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 20px rgba(0,0,0,.18)!important
}
.nav-link small {
  opacity:.78!important;
  color:#9ab0ce!important
}
.tour-card {
  background:linear-gradient(160deg,#111c31 0,#162845 60%,#223754 100%)!important;
  border:1px solid rgba(61,82,114,.75)!important;
  border-radius:18px!important
}
.tour-card .big {
  color:#fff!important
}
.tour-card p:not(.big) {
  color:#95adcb!important
}
.progress {
  background:rgba(255,255,255,.08)!important
}
.progress>span {
  background:linear-gradient(90deg,#2cc7ff,#4dff9c)!important
}
.content {
  padding:16px 18px 22px!important
}
.topbar {
  background:linear-gradient(180deg,#17253b,#122036)!important;
  border:1px solid rgba(59,78,106,.8)!important;
  border-radius:18px!important;
  box-shadow:0 18px 36px rgba(0,0,0,.16)!important;
  padding:18px 20px!important
}
.topbar h2 {
  color:#f7fbff!important;
  font-size:28px!important
}
.topbar p {
  color:#97afcd!important
}
.ghost,.search,input,select,textarea {
  background:#16253d!important;
  border:1px solid rgba(59,78,106,.85)!important;
  color:#eef4ff!important
}
input::placeholder,textarea::placeholder {
  color:#7890ae!important
}
.ghost {
  box-shadow:none!important
}
.primary {
  background:linear-gradient(180deg,#29a8f6,#1185d6)!important;
  color:#041126!important;
  font-weight:800!important;
  box-shadow:0 10px 24px rgba(32,148,224,.22)!important
}
.card {
  background:linear-gradient(180deg,#1a2740,#16233a)!important;
  border:1px solid rgba(59,78,106,.78)!important;
  border-radius:20px!important;
  box-shadow:0 18px 40px rgba(0,0,0,.16)!important;
  padding:18px!important
}
.card h3,.card h4,.card strong,.section-title h3,.section-title h4,.section-title strong {
  color:#f7fbff!important
}
.calendar-note,.card small,.detail-label,.field-help,.footer-note,.kpi .label,.login-copy p,.metric-label,.mini-pill,.muted,.section-title p,.stat-detail,.stat-title,label {
  color:#97afcd!important
}
.stats {
  gap:18px!important
}
.stats .card {
  position:relative;
  overflow:hidden
}
.stats .card::before {
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  border-radius:12px;
  background:#2ec5ff;
  opacity:.95
}
.stats .card:first-child::before {
  background:#22c55e
}
.stats .card:nth-child(2)::before {
  background:#f59e0b
}
.stats .card:nth-child(3)::before {
  background:#ef4444
}
.stats .card:nth-child(4)::before {
  background:#3b82f6
}
.detail-value,.kpi .value,.metric-box strong,.stat-value {
  color:#fff!important
}
.detail-box,.info-box,.item,.kpi,.login-card,.metric-box,.theme-card {
  background:linear-gradient(180deg,#1d2c46,#18263e)!important;
  border:1px solid rgba(59,78,106,.78)!important;
  color:#eef4ff!important
}
.detail-box:hover,.item:hover,.kpi:hover,.metric-box:hover {
  border-color:#6d8dba!important
}
.badge {
  box-shadow:none!important;
  border-radius:999px!important
}
.badge-info,.badge-success,.badge-violet,.badge-warning {
  filter:saturate(.95)
}
table {
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important
}
th {
  font-size:11px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  color:#9bb1cd!important;
  padding:0 12px 8px!important;
  border-bottom:0!important
}
td {
  background:#1d2b44!important;
  color:#edf4ff!important;
  border-top:1px solid rgba(59,78,106,.78)!important;
  border-bottom:1px solid rgba(59,78,106,.78)!important;
  padding:14px 12px!important
}
tr td:first-child {
  border-left:1px solid rgba(59,78,106,.78)!important;
  border-radius:12px 0 0 12px
}
tr td:last-child {
  border-right:1px solid rgba(59,78,106,.78)!important;
  border-radius:0 12px 12px 0
}
.small-btn {
  background:#142238!important;
  color:#eef4ff!important;
  border:1px solid rgba(59,78,106,.85)!important
}
.small-btn:hover {
  background:#1b2d49!important
}
.calendar-cell {
  background:linear-gradient(180deg,#16253d,#122036)!important;
  border:1px solid rgba(59,78,106,.76)!important;
  border-radius:16px!important;
  min-height:118px!important
}
.calendar-cell.is-outside {
  opacity:.35!important;
  background:#0f1a2c!important
}
.calendar-cell.is-active {
  border-color:#57b6ff!important;
  box-shadow:0 0 0 1px rgba(87,182,255,.18) inset!important
}
.calendar-day,.week-label {
  color:#a7bdd7!important
}
.event-pill {
  background:linear-gradient(180deg,#243552,#1a2840)!important;
  color:#f7fbff!important;
  border:1px solid rgba(74,104,145,.6)!important;
  box-shadow:none!important
}
.event-pill span {
  color:#9fb4d2!important
}
.event-pill.selected {
  background:linear-gradient(180deg,#2f415b,#253650)!important;
  border-color:#87a0c0!important
}
.event-hover-card,.floating-card,.tooltip {
  background:#15243a!important;
  border:1px solid rgba(74,104,145,.72)!important;
  color:#f6fbff!important;
  box-shadow:0 18px 36px rgba(0,0,0,.24)!important
}
.login-wrap {
  background:radial-gradient(circle at top,#0b1a32,#071225 60%,#06101f 100%)!important
}
.login-card {
  background:linear-gradient(180deg,#17253d,#132036)!important;
  border-radius:22px!important
}
.login-brand strong,.login-copy h2 {
  color:#fff!important
}
.login-error {
  background:#2a1320!important;
  border-color:#6b2339!important;
  color:#ffb3c1!important
}
.theme-card input[type=radio] {
  accent-color:#28aaf7
}
.theme-dot {
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:none!important
}
.theme-card strong {
  color:#fff!important
}
[data-theme-profile=syscomp-dark] .card,[data-theme-profile=syscomp-dark] .detail-box,[data-theme-profile=syscomp-dark] .item,[data-theme-profile=syscomp-dark] .kpi,[data-theme-profile=syscomp-dark] .metric-box {
  backdrop-filter:none
}
  

