/* APL Negocios / Sistema central 2.12.1. Las vistas consumen, nunca redefinen estos tokens. */
[data-apl-design="negocios"], [data-apl-shell="negocios"], .an-ui {
  --an-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --an-font-editorial: Georgia, "Times New Roman", serif;
  --an-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --an-font-pdf: Inter, sans-serif;
  --an-text-xs: 11px;
  --an-text-sm: 12px;
  --an-text-md: 13px;
  --an-text-body: 14px;
  --an-text-lg: 16px;
  --an-text-title: clamp(22px, 2.2vw, 30px);
  --an-text-metric: clamp(24px, 2.3vw, 34px);
  --an-text-display: 48px;
  --an-print-title: 30px;
  --an-print-heading: 21px;
  --an-print-metric: 25px;
  --an-print-display: 27px;
  --an-print-caption: 9px;
  --an-weight-normal: 400;
  --an-weight-medium: 500;
  --an-weight-semibold: 600;
  --an-weight-bold: 700;
  --an-leading-tight: 1.15;
  --an-leading: 1.5;
  --an-canvas: #eef2eb;
  --an-page-background: radial-gradient(ellipse at 96% 4%, var(--an-warning-soft), transparent 34%), radial-gradient(ellipse at 8% 0%, var(--an-mint), transparent 52%), var(--an-canvas);
  --an-surface: #fffefa;
  --an-white: #ffffff;
  --an-surface-soft: #f5f7f2;
  --an-mint: #e3f1e9;
  --an-mint-strong: #c8e5d8;
  --an-ink: #1e302a;
  --an-muted: #68776d;
  --an-brand: #197960;
  --an-brand-hover: #115b48;
  --an-brand-ink: #0d5f4b;
  --an-border: #e3e9df;
  --an-border-strong: #bdcec2;
  --an-action-border: color-mix(in srgb, var(--an-ink) 45%, var(--an-border-strong));
  --an-table-row-highlight: #19796014;
  --an-table-row-edge: #1e302a45;
  --an-warning: #806321;
  --an-warning-soft: #f4eedc;
  --an-info: #3b5578;
  --an-info-soft: #e7edf7;
  --an-danger: #ad4444;
  --an-danger-soft: #fff0ec;
  --an-chart-1: #258a70;
  --an-chart-2: #a5ba83;
  --an-chart-3: #5a8194;
  --an-chart-4: #c1a967;
  --an-chart-5: #9b86ac;
  --an-chart-6: #699e92;
  --an-calendar-work: #e7edf7;
  --an-calendar-work-ink: #3b5578;
  --an-calendar-personal: #f8ebdf;
  --an-calendar-personal-ink: #80582d;
  --an-calendar-family: #e3f1e9;
  --an-calendar-family-ink: #0d5f4b;
  --an-calendar-study: #eee8f7;
  --an-calendar-study-ink: #65517d;
  --an-calendar-rose: #f7e8ef;
  --an-calendar-rose-ink: #804361;
  --an-calendar-teal: #e0f0ef;
  --an-calendar-teal-ink: #155d5a;
  --an-chart-fill: #258a7012;
  --an-overlay: #142f2c52;
  --an-shadow: 0 3px 6px #25463304, 0 12px 28px #25463305;
  --an-shadow-float: 0 16px 50px #12392b1f, 0 2px 8px #12392b08;
  --an-shadow-button: 0 4px 10px #19796019;
  --an-space-1: 4px;
  --an-space-2: 8px;
  --an-space-3: 12px;
  --an-space-4: 16px;
  --an-space-5: 20px;
  --an-space-6: 24px;
  --an-space-8: 32px;
  --an-space-10: 40px;
  --an-radius-sm: 8px;
  --an-radius-control: 10px;
  --an-radius-card: 18px;
  --an-radius-lg: 24px;
  --an-radius-pill: 999px;
  /* Densidad de composición: mantiene tipografía y controles cómodos. */
  --an-layout-gap: 12px;
  --an-heading-pad-block: 12px;
  --an-card-pad-block: 12px;
  --an-metric-pad-block: 10px;
  --an-text-metric-compact: clamp(24px, 2vw, 28px);
  --an-control: 38px;
  --an-control-touch: 44px;
  --an-row-actions-column: 220px;
  --an-icon: 18px;
  --an-icon-small: 15px;
  --an-rail-width: 64px;
  --an-avatar-profile: 80px;
  --an-avatar-upload: 120px;
  --an-editor-rail-width: 280px;
  --an-motion-fast: 160ms;
  --an-motion: 280ms;
  --an-motion-reveal: 550ms;
  --an-motion-expand: 220ms;
  --an-motion-state: 320ms;
  --an-motion-loop: 900ms;
  --an-motion-shift: 4px;
  --an-status-size: 44px;
  --an-chart-detail-height: 330px;
  --an-chart-detail-height-mobile: 240px;
  --an-ease: cubic-bezier(.22, 1, .36, 1);
  --an-planner-hour: 72px;
  --an-planner-day-min: 106px;
  --an-planner-gutter: 56px;
  --an-planner-height: min(72dvh, 820px);
  --an-planner-height-mobile: 65dvh;
  --an-planner-month-day: 118px;
  --an-planner-date-width: 148px;
  --an-planner-empty-art: 120px;
  --an-booking-content: 1120px;
  --an-booking-card-min: 290px;
  --an-booking-search-min: 160px;
  --an-booking-avatar: 56px;
  --an-booking-textarea: 88px;
  --an-booking-day-width: 76px;
  --an-booking-slot-width: 86px;
  --an-booking-day-card: 180px;
  --an-booking-empty-art: 120px;
  --an-z-navigation: 10;
  --an-z-overlay: 21000;
  /* Consolas: actividad legible en paralelo y detalle ampliable bajo demanda. */
  --an-codex-window-height: clamp(760px, 80vh, 880px);
  --an-codex-header-height: 104px;
  --an-codex-dialog-width: 960px;
  --an-codex-maximized-top: 0px;
  --an-codex-maximized-right: 0px;
  --an-codex-maximized-bottom: 0px;
  --an-codex-maximized-left: 0px;
  --an-shell-height: 54px;
  --an-shell-context-width: 320px;
  --an-shell-session-width: 280px;
  --an-pos-item-min: 240px;
  --an-pos-summary-width: 300px;
  --an-pos-customer-height: 360px;
  --an-select-min-width: 240px;
  --an-select-max-height: 360px;
}
@media (prefers-reduced-motion: reduce) {
  [data-apl-design="negocios"], [data-apl-shell="negocios"], .an-ui { --an-motion-fast: 0ms; --an-motion: 0ms; --an-motion-reveal: 0ms; }
}
