/* PsiAlva — ameixa, areia e pêssego. */
:root {
  --ink: #493540;
  --muted: #877980;
  --primary: #67455e;
  --dark: #53364b;
  --paper: #faf6f1;
  --line: #e9dfd8;
  --peach: #e8ae92;
  --green: #f2e8dc;
}

/* Janelas de apresentação do PNG aprovado, sem alterar a arte original. */
.brand, .auth-story .brand, .admin-header .brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 190px;
  min-height: 60px;
  gap: 8px;
  padding: 10px;
  border-radius: 13px;
  background: #f5eadc;
}
.sidebar .brand { margin: 0 0 32px; }
.brand-symbol, .brand-wordmark {
  display: block;
  flex: 0 0 auto;
  background-image: url("assets/psialva.png");
  background-repeat: no-repeat;
}
.brand-symbol {
  width: 32px;
  height: 40px;
  background-size: 96.46px 96.46px;
  background-position: -33.23px -17.46px;
}
.brand-wordmark {
  width: 130px;
  height: 34px;
  background-size: 175.56px 175.56px;
  background-position: -23px -108.8px;
}

.sidebar { color: #f2e8dc; }
.nav-link, .local-label, .account-strip button { color: #e0cdd6; }
.workspace-label { color: #ceb2c1; }
.nav-link.active { background: #77546b; }
.nav-link.active:after { background: var(--peach); }
.profile-button { background: #66465c; color: #fff8f2; }
.profile-button small { color: #ddc6d3; }
.profile-button .avatar { background: var(--peach); color: var(--dark); }
.button:hover { background: #f8f0ea; }
.button.primary { box-shadow: 0 3px 5px #53364b12; }
.button.primary:hover { background: #53364b; }
.button.soft { background: #f1e6ec; color: #67455e; }
button:focus-visible, a:focus-visible { outline-color: #c98d71; }
input:focus, select:focus, textarea:focus { outline-color: #a77e98; }
.day-tab.active small { color: #ebdbe3; }
.day-tab.active .day-dot { background: var(--peach); }
.stat-top, .stat-foot, .finance-numbers p, .bar-group span, .legend { color: var(--muted); }
.stat-icon { background: #f3e7ec; color: #946c85; }
.stat:nth-child(3) .stat-icon { background: #f7e6dc; color: #b57d60; }
.next-card { background: #f2e8dc; border-color: #e7d7c9; }
.next-card:before, .next-card:after { border-color: #d4b7a6; }
.next-card .eyebrow, .next-card .next-meta { color: #927d73; }
.next-card .button { color: var(--dark); border-color: #dfcbbd; }
.quote-card { background: #f5e4d9; border-color: #edd5c5; }
.quote-card blockquote { color: #805968; }
.quote-card .eyebrow { color: #9b776f; }
.bar, .legend i { background: #a58198; }
.bar.pending, .legend i.gold { background: var(--peach); }
.calendar-head strong { color: var(--primary); }
.calendar-head .is-today { background: #f4e9ef; }
.calendar-event { background: #f3e5df; border-color: #c58e75; }

.auth-layout { background: var(--paper); }
.auth-story { color: #fff5ec; }
.auth-story p { color: #dfc8d5; }
.auth-story .eyebrow { color: var(--peach); }
.auth-story-footer { color: #d2b7c7; }
.auth-orbit, .auth-orbit:before { border-color: #e8ae923b; }
.auth-card>.eyebrow, .auth-subtitle, .auth-hint, .auth-bottom, .auth-footnote { color: var(--muted); }
.admin-section, .admin-header-actions>span { color: #ead5df; }
.admin-header .button { color: #fff5ec; }
.admin-main .page-heading .eyebrow, .admin-note { color: var(--muted); }
.admin-note strong { color: var(--primary); }

@media (max-width: 650px) {
  .auth-story .brand { margin-bottom: 20px; }
  .admin-header { gap: 15px 12px; }
  .admin-section { font-size: 11px; }
  .admin-header-actions { margin-left: 0; width: 100%; justify-content: flex-end; }
}
