:root {
  --bg: #faf7f2;
  --bg-sidebar: #ffffff;
  --bg-toolbar: #ffffff;
  --surface-2: #fcfaf7;
  --fill: #f2ebe1;
  --fill-2: #f7f0e5;
  --sep: #e8e0d5;
  --sep-2: #d6cabc;
  --surface: #ffffff;
  --label: #3b2a1e;
  --label-2: #8a7b6e;
  --label-3: #8a7b6e;
  --blue: #8b6440;
  --blue-hi: #a0784c;
  --blue-dk: #6f4f31;
  --blue-tint: #f2ebe1;
  --red: #b3473b;
  --red-hi: #b3473b;
  --red-tint: #f6e7e4;
  --orange: #b7832f;
  --orange-hi: #b7832f;
  --orange-tint: #f6ecd6;
  --green: #4f7a5a;
  --green-hi: #4f7a5a;
  --green-tint: #e9f0ea;
  --indigo: #8b6440;
  --indigo-tint: #f2ebe1;
  --chart-positive: #a0784c;
  --scrim: #382d2470;
  --sh-1: 0 0 0 1px var(--sep);
  --sh-btn: 0 0 0 1px var(--sep-2);
  --heading-font: 'Cormorant Garamond', Georgia, serif;
  --fs: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --r: 12px;
}
body, h1, h2, h3, h4, button, input, select, textarea { letter-spacing: 0; }
#app { grid-template-columns: 224px minmax(0, 1fr); }
#app .sidebar { background: var(--surface); backdrop-filter: none; }
#app .brand { padding: 18px 18px 22px; }
#app #menu { flex: 1; overflow-y: auto; padding-bottom: 20px; }
#app .nav-group { padding-top: 16px; }
#app .nav-group:first-child { display: none; }
#app .nav-item { height: 42px; margin: 3px 14px; padding: 0 12px; }
#app .nav-item .label { white-space: normal; line-height: 1.25; }
#app .nav-item.on { background: var(--fill); color: var(--blue-dk); font-weight: 600; }
#app .nav-item.on .badge-n { background: var(--red); color: var(--surface); }
#app .badge-n { background: var(--red); color: var(--surface); }
#app .toolbar { position: static; background: transparent; border: 0; backdrop-filter: none; padding: 28px 32px 0; align-items: end; }
#app .toolbar h1 { font: 400 34px/1.15 var(--heading-font); }
#app .toolbar .sub { font-size: 13px; margin-top: 4px; }
#app .page { padding: 22px 32px 48px; max-width: 1500px; }
#app .tb-acts { gap: 10px; }
#app .tb-acts .btn { height: 40px; padding: 0 16px; font-weight: 500; }
#app .tb-acts .pri { order: 2; }
.dash2 { gap: 20px; }
.dcol { gap: 20px; }
.dash2 .sec { padding: 20px; border: 1px solid var(--sep); border-radius: 12px; background: var(--surface); box-shadow: none; color: var(--label); }
.dash2 .sec-h { margin: 0 0 16px; align-items: start; gap: 8px; }
.dash2 .sic { display: none; }
.dash2 .sec-h h2 { font: 400 24px/1.2 var(--heading-font); color: var(--label); }
.dash2 .sec-h .sub { color: var(--label-3); font-size: 12px; margin-top: 4px; }
.dash2 .sec-h .end { flex: none; }
.dash2 .btn.plain { font-size: 12px; padding: 0; }
.dash2 .dcs { gap: 10px; margin-bottom: 16px; }
.dash2 .dc { background: var(--surface); border: 1px solid var(--sep); border-radius: 10px; padding: 12px; min-height: 88px; }
.dash2 .dc.red { color: var(--red); }
.dash2 .dc.orange { color: var(--orange); }
.dash2 .dc.green { color: var(--green); }
.dash2 .dc .n { font-size: 30px; }
.dash2 .dc .t { font-size: 12px; color: var(--label-3); white-space: normal; line-height: 1.4; }
.dash2 .dl { border-radius: 0; box-shadow: none; border-top: 1px solid var(--sep); }
.dash2 .dl-row { padding: 12px 0; gap: 10px; min-height: 58px; }
.dash2 .dl-t { font-size: 14px; font-weight: 500; }
.dash2 .dl-d { font-size: 12px; }
.dash2 .dl-end { font-size: 13px; max-width: 42%; }
.dash2 .ped .dl-d { color: var(--red); }
.dash2 .est .mark { display: none; }
.dash2 .pill { height: auto; min-height: 24px; padding: 3px 9px; font-size: 11px; white-space: normal; }
.dash2 .kpis.k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash2 .kpi { border: 1px solid var(--sep); border-radius: 10px; box-shadow: none; padding: 12px; gap: 3px; min-height: 90px; }
.dash2 .kpi .v { font-size: 22px; overflow-wrap: anywhere; color: var(--label); }
.dash2 .kpi.red .v { color: var(--red); }
.dash2 .kpi .k, .dash2 .kpi .f { font-size: 12px; }
.dash-caption { font-size: 11px; color: var(--label-3); margin: 0 0 8px; }
.dash-number { color: var(--red); font-weight: 600; width: 42px; flex: none; font-size: 13px; }
.dash-more { border-top: 1px solid var(--sep); padding-top: 12px; color: var(--label-3); font-size: 12px; }
.dash-flow { border-top: 1px solid var(--sep); padding-top: 14px; margin-top: 16px; }
.dash-flow h3 { font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.dash-flow .chart { min-height: 150px; }
.sidebar-close { display: none; }
#app .sidebar-foot { position: relative; background: var(--surface); }
#app .whoami .p { display: none; }
#app #u-modo .pill { background: transparent; padding: 0; color: var(--blue-dk); }
@media (min-width: 1024px) {
  #app .whoami { flex-wrap: wrap; }
  #app .whoami .avatar { display: none; }
  #app .whoami [data-act="sair"] { width: 100%; height: 32px; margin-top: 28px; }
  #app #u-modo { position: absolute; top: 35px; left: 14px; margin: 0 !important; }
}
@media (max-width: 1023px) {
  #app { display: block; padding-top: 56px; }
  #app .topbar { height: 56px; background: var(--surface); border-bottom: 1px solid var(--sep); backdrop-filter: none; }
  #app .tb-logo { visibility: hidden; }
  #app .tb-title { font-size: 16px; }
  #app .toolbar { padding: 22px 16px 0; flex-wrap: wrap; gap: 16px; }
  #app .toolbar h1 { font-size: 30px; }
  #app .toolbar .sub { font-size: 13px; }
  #app .tb-acts { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #app .tb-acts .btn { height: 44px; font-size: 13px; padding: 0 8px; }
  #app .tb-acts .pri { order: 0; }
  #app .page { padding: 18px 16px 48px; }
  .dash2 { display: flex; flex-direction: column; gap: 18px; }
  .dcol { width: 100%; gap: 18px; }
  .dash2 .sec { padding: 16px; }
  .dash2 .sec-h h2 { font-size: 23px; }
  .dash2 .dc { padding: 12px 10px; }
  .dash2 .dl-row { gap: 8px; }
  .dash2 .dl-t { font-size: 13px; }
  .dash2 .kpi { padding: 10px; }
  .dash2 .kpi .v { font-size: 20px; }
  #app .sidebar { left: auto; right: 0; top: 0; bottom: 0; width: min(80vw, 360px); max-width: none; height: 100dvh; padding: 0; border-left: 1px solid var(--sep); border-right: 0; transform: translateX(100%); visibility: hidden; }
  #app.menu-aberto .sidebar { transform: none; visibility: visible; }
  #app.menu-aberto .scrim { background: var(--scrim); }
  #app .sidebar .brand { display: none; }
  #app .sidebar-close { display: flex; flex: none; align-items: center; justify-content: end; height: 56px; padding: 0 18px; border-bottom: 1px solid var(--sep); }
  #app .sidebar-close .btn { width: 40px; height: 40px; font-size: 30px; box-shadow: none; background: transparent; }
  #app #menu { padding: 18px 0; overflow-y: auto; min-height: 0; }
  #app .nav-item { margin: 3px 12px; height: 46px; font-size: 14px; }
  #app .nav-item svg { width: 20px; height: 20px; color: var(--blue); }
  #app .sidebar-foot { padding: 18px 14px; flex: none; }
  #app .whoami { align-items: start; gap: 8px; }
  #app .whoami .avatar { width: 34px; height: 34px; background: var(--fill); }
  #app .whoami .n { white-space: normal; overflow-wrap: anywhere; }
  #app .whoami .p { display: none; }
  #app .whoami [data-act="sair"] { height: 34px; }
  #app #u-modo { margin-top: 0 !important; padding-left: 42px; }
  #app #u-modo .pill { font-size: 10px; white-space: normal; }
}
/* Identidade Seven Aromas */
body, button, input, select, textarea { font-family: var(--fs); color: var(--label); }
a { color: var(--blue); }
:focus-visible { box-shadow: 0 0 0 3px #8b644033, 0 0 0 1px var(--blue) !important; }
#app .toolbar h1, .dash2 .sec-h h2, .sec-h h2, .sheet-h h3 { font-family: var(--heading-font); font-weight: 600; color: var(--label); }
#app .nav-item.on { background: var(--fill); color: var(--blue); }
#app .nav-item svg { color: var(--blue); }
.btn.pri { background: var(--blue); }
.sec, .sec.prod, .sec.fin, .sec.est, .sec.ped { --sec: var(--blue); --sec-dk: var(--label); --sec-tint: var(--surface); --sec-line: var(--sep);
  background: var(--surface); border: 1px solid var(--sep); border-top: 1px solid var(--sep); border-radius: 12px; box-shadow: none; }
.sec-h .sic { background: transparent; color: var(--blue); width: auto; height: auto; }
.kpi, .bc, .card { border-radius: 12px; box-shadow: none; border: 1px solid var(--sep); }
.kpi .v, .dc .n, .bc-top .n { font-family: var(--fs); font-weight: 600; }
.kpi .v { color: var(--label); }
.kpi.blue .v, .kpi.brand .v { color: var(--blue); }
.kpi.red .v, .dash2 .kpi.red .v { color: var(--red); }
.dash2 .kpi.brand .v { color: var(--blue); }
.kpi.green .v { color: var(--green); }
.bc.red .bc-top, .bc.orange .bc-top, .bc.green .bc-top { background: var(--surface); color: var(--label); }
.bc.red .bc-top .n { color: var(--red); }
.bc.orange .bc-top .n { color: var(--orange); }
.bc.green .bc-top .n { color: var(--green); }
.bc-top .u { color: var(--label-2); opacity: 1; }
.dash2 .dc, .dash2 .dc.red, .dash2 .dc.orange, .dash2 .dc.green { color: var(--label); background: var(--surface); }
.dash2 .dc.red .n { color: var(--red); }
.dash2 .dc.orange .n { color: var(--orange); }
.dash2 .dc.green .n { color: var(--green); }
.pill.blue, .pill.indigo { background: var(--fill); color: var(--blue); }
.note.blue { background: var(--fill); color: var(--label); }
.note.blue b { color: var(--label); }
