/* Domínio Maestro identity. Inter is self-hosted under the accompanying OFL. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("InterVariable.2bf3d951bf9d.woff2") format("woff2");
}

.maestro-native {
  --brand-50: #eff5fc;
  --brand-100: #dce9f9;
  --brand-200: #bbd4f2;
  --brand-300: #8bb5e8;
  --brand-400: #548ed5;
  --brand-500: hsl(215 72% 38%);
  --brand-600: hsl(215 72% 32%);
  --brand-700: #12396a;
  --brand-800: #0d2b50;
  --brand-900: #09213d;
  --brand-green-100: var(--brand-100);
  --brand-green-200: var(--brand-200);
  --brand-green-500: var(--brand-500);
  --brand-green-600: var(--brand-600);
  --brand-font-body: Inter, sans-serif;
  --brand-font-display: Inter, sans-serif;
  --primary-rgb: 27, 85, 167;
  --neutral-50: #f8f9fc;
  --neutral-100: #f0f2f7;
  --neutral-200: #dde2eb;
  --neutral-300: #c6cedd;
  --neutral-400: #6b7280;
  --neutral-500: #626d80;
  --neutral-600: #4c596e;
  --neutral-700: #334155;
  --neutral-800: #263247;
  --neutral-900: #1b2335;
  --neutral-950: #141c2d;
  --surface-page: #f8f8ff;
  --text-ghost: var(--neutral-400);
  --shadow-primary: 0 2px 5px rgb(20 38 70 / 12%);
  /* Native Tailwind utilities use these palette variables. Platform logos and
     semantic error/success/warning palettes retain their own colors. */
  --color-orange-50: var(--brand-50);
  --color-orange-100: var(--brand-100);
  --color-orange-200: var(--brand-200);
  --color-orange-300: var(--brand-300);
  --color-orange-400: var(--brand-400);
  --color-orange-500: var(--brand-500);
  --color-orange-600: var(--brand-600);
  --color-orange-700: var(--brand-700);
  --color-orange-800: var(--brand-800);
  --color-orange-900: var(--brand-900);
  --color-stone-50: var(--neutral-50);
  --color-stone-100: var(--neutral-100);
  --color-stone-200: var(--neutral-200);
  --color-stone-300: var(--neutral-300);
  --color-stone-400: var(--neutral-400);
  --color-stone-500: var(--neutral-500);
  --color-stone-600: var(--neutral-600);
  --color-stone-700: var(--neutral-700);
  --color-stone-800: var(--neutral-800);
  --color-stone-900: var(--neutral-900);
  --color-gray-400: var(--neutral-400);
  --color-gray-500: var(--neutral-500);
  --color-gray-600: var(--neutral-600);
  --color-gray-700: var(--neutral-700);
  --color-gray-800: var(--neutral-800);
  --color-gray-900: var(--neutral-900);
  color-scheme: light;
  accent-color: var(--primary);
  scrollbar-color: var(--neutral-300) var(--surface-1);
}

.maestro-native body { color: var(--text-primary); }
.maestro-native :is(button, input, textarea, select, .caption-editor) { font-family: var(--font-body); }
.maestro-native ::selection { color: var(--brand-900); background: var(--brand-100); }
.maestro-native :is(input, textarea) { caret-color: var(--primary); }
.maestro-native :is(input, textarea)::placeholder { color: var(--text-ghost); opacity: 1; }
.maestro-native :is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.maestro-native a { text-underline-offset: 3px; }
.maestro-native .sidebar-nav-item { min-height: 40px; font-size: 14px; }
.maestro-native .sidebar-nav-item.active { color: var(--brand-700); background: var(--brand-100); }
.maestro-native .sidebar-logo-mark { border-radius: 8px; }
.maestro-native :is(.btn-brand, .btn-outline) { min-height: 40px; border-radius: 8px; }
.maestro-native :is(.btn-brand, .btn-outline):hover { transform: none; box-shadow: var(--shadow-sm); }
.maestro-native .acct-pill { border-radius: 8px; border-color: var(--border); }
.maestro-native .acct-pill.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: none;
}
.maestro-native .acct-pill.selected .checkmark { background: var(--primary); border-color: var(--primary); }
.maestro-native .caption-wrap { border-color: var(--border); }
.maestro-native .caption-wrap:hover { border-color: var(--border-hover); }
.maestro-native .caption-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-muted); }
.maestro-native .caption-editor { color: var(--text-primary); font-size: 14px; }
.maestro-native label.uppercase { text-transform: none; letter-spacing: normal; }
.maestro-native .panel-scroll::-webkit-scrollbar-thumb { background: var(--neutral-300); }
.maestro-native .publish-tab.active { color: var(--brand-700); border-bottom-color: var(--primary); }
.maestro-native .view-btn.active { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-200); }
.maestro-native .filter-chip { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-200); }
.maestro-native .filter-chip button { color: var(--brand-700); }
.maestro-native .cal-day.today .day-num { background: var(--primary); }
.maestro-native .cal-add-cell .cal-add-btn { background: var(--primary); box-shadow: var(--shadow-primary); }
.maestro-native .cal-add-cell .cal-add-btn:hover { background: var(--primary-hover); box-shadow: var(--shadow-sm); }
.maestro-native .cal-filter-select:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-muted); }
.maestro-native .cal-drop.cal-drop-active { background: var(--primary-soft); box-shadow: inset 0 0 0 2px var(--primary); }
.maestro-native .cal-select-box.is-checked { background: var(--primary); border-color: var(--primary); }
.maestro-native body > footer { color: var(--text-secondary); font-size: 12px; }
.maestro-native body > footer a { color: var(--brand-700); }
.maestro-native .action-bar { flex-wrap: wrap; align-items: flex-end; row-gap: 8px; }
.maestro-native .maestro-schedule-controls { display: flex; gap: 8px; align-items: flex-end; margin-left: auto; }
.maestro-native .maestro-schedule-controls label { display: grid; gap: 3px; font-size: 11px; color: var(--text-secondary); }
.maestro-native .maestro-schedule-controls input { min-width: 0; height: 38px; padding: 6px 8px; font-size: 13px; }
.maestro-native #maestro-job-date { width: 138px; }
.maestro-native #maestro-job-time { width: 94px; }
.maestro-native #preview-panel .preview-card { animation: none; }
.maestro-native .maestro-sidebar-tools { padding: 8px 0; margin-bottom: 8px; }
.maestro-native a[data-maestro-view][hidden] { display: none; }
.maestro-native:has(.maestro-sidebar-tools) body > footer { display: none; }

@media (max-width: 640px) {
  .maestro-native #maestro-job-date { width: 114px; }
  .maestro-native #maestro-job-time { width: 76px; }
  .maestro-native :is(button[name="action"], #publish-mode-btn, #publish-action-btn) {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maestro-native *, .maestro-native *::before, .maestro-native *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
