/* Centro de movimientos. Estilos aislados del resto de paneles. */
#notificaciones .notifications-panel { padding: clamp(16px, 2vw, 26px); }
#notificaciones .notification-hero { align-items: center; padding-bottom: 20px; margin-bottom: 0; }
#notificaciones .notification-heading-icon { width: 46px; height: 46px; border-radius: 13px; }
#notificaciones .notification-heading h2 { font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.6px; }
#notificaciones .notification-intro { max-width: 490px; font-size: 13px; line-height: 1.6; }
#notificaciones .notification-scope { background: var(--surface-soft); box-shadow: none; }
#notificaciones .notification-filter-card { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
#notificaciones .notification-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#notificaciones .notification-filter-head h3 { margin: 0; font-size: 14px; }
#notificaciones .notification-filters { grid-template-columns: 1.15fr 1fr 1fr 1.25fr; gap: 12px; }
#notificaciones .notification-search-field { grid-column: 1 / -1; }
#notificaciones .notification-filters .input { min-height: 42px; border-radius: 7px; }
#notificaciones .notification-button,
#notificaciones .notification-segments button,
#notificaciones .notification-filter-chip,
#notificaciones .notification-read-toggle,
#notificaciones .notification-detail {
  font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#notificaciones .notification-button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 36px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.4; }
#notificaciones .notification-button:hover:enabled { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
#notificaciones button:disabled { opacity: .45; cursor: default; }
#notificaciones :is(button, input, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#notificaciones .notification-active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#notificaciones .notification-filter-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 29px; max-width: 100%; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: 6px; background: color-mix(in srgb, var(--accent) 5%, var(--surface)); color: var(--accent); font-size: 11px; overflow-wrap: anywhere; text-align: left; }
#notificaciones .notification-filter-chip > span { font-size: 16px; line-height: 1; }
#notificaciones .notification-date-error { color: var(--exit); font-size: 12px; margin: 10px 0; }
#notificaciones .notification-summary { margin: 18px 0 24px; gap: 12px; }
#notificaciones .notification-summary .metric { border-radius: 10px; padding: 14px 16px; background: var(--surface); }
#notificaciones .notification-summary .metric::before { display: none; }
#notificaciones .notification-summary .metric strong { font-size: clamp(23px, 2.8vw, 30px); letter-spacing: -.5px; }
#notificaciones .notification-summary .metric small { margin-top: 3px; font-size: 10px; }
#notificaciones .notification-workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
#notificaciones .notification-calendar-column { min-width: 0; position: static; }
#notificaciones .activity-calendar { margin: 0; padding: 22px; border-radius: 12px; }
#notificaciones .activity-calendar-header { display: flex; justify-content: space-between; gap: 20px; }
#notificaciones .activity-calendar-month-total { max-width: 45%; display: grid; gap: 4px; text-align: right; }
#notificaciones .activity-calendar-month-total strong { font-size: 28px; }
#notificaciones .activity-calendar-month-label input { width: 190px; }
#notificaciones .activity-calendar-types { width: auto; }
#notificaciones .activity-calendar-type { padding-inline: 16px; }
#notificaciones .activity-calendar-day { min-height: 84px; padding: 10px 12px; gap: 8px; }
#notificaciones .activity-calendar-day-quantity, #notificaciones .activity-calendar-dual { font-size: 14px; }
#notificaciones .notification-calendar-scope { margin: 10px 3px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
#notificaciones .notification-stream { min-width: 0; padding-top: 28px; border-top: 1px solid var(--line); }
#notificaciones .notification-stream-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
#notificaciones .notification-stream-heading .eyebrow { margin: 0 0 3px; }
#notificaciones .notification-stream-heading h3 { margin: 0; font-size: 19px; letter-spacing: -.4px; }
#notificaciones .notification-stream-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
#notificaciones .notification-segments { display: flex; flex-wrap: wrap; gap: 4px; }
#notificaciones .notification-segments button { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 7px 10px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 600; }
#notificaciones .notification-segments button > span { padding: 1px 5px; border-radius: 5px; background: var(--surface-soft); font-size: 10px; font-variant-numeric: tabular-nums; }
#notificaciones .notification-segments button[aria-pressed="true"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
#notificaciones .notification-sort-label { display: flex; min-width: 130px; }
#notificaciones .notification-sort-label .input { margin: 0; min-height: 36px; padding: 7px 10px; font-size: 11px; }
#notificaciones .notification-result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 20px; }
#notificaciones .notification-history-count { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }
#notificaciones .notification-result-toolbar .notification-button { flex-shrink: 0; }
#notificaciones .notifications-feed { display: grid; gap: 23px; max-height: none; overflow: visible; margin-top: 0; padding: 0; }
#notificaciones .notification-date-heading { border: 0; margin-bottom: 10px; padding-bottom: 0; }
#notificaciones .notification-date-heading h3 { margin: 0; font-size: 12px; color: var(--muted); font-weight: 650; }
#notificaciones .notification-document-list { display: grid; gap: 18px; }
#notificaciones .movement-notification { --movement-color: var(--entry); --movement-soft: var(--entry-soft); min-width: 0; padding: 20px; border: 1px solid var(--line); border-left: 3px solid var(--movement-color); border-radius: 10px; background: var(--surface); }
#notificaciones .movement-notification.exit { --movement-color: var(--exit); --movement-soft: var(--exit-soft); }
#notificaciones .movement-notification.is-unread { background: color-mix(in srgb, var(--movement-color) 3%, var(--surface)); }
#notificaciones .movement-notification-header { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
#notificaciones .movement-notification-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: var(--movement-color); background: var(--movement-soft); }
#notificaciones .movement-notification-icon svg { width: 19px; height: 19px; }
#notificaciones .movement-notification-label { display: flex; flex-wrap: wrap; gap: 5px 8px; align-items: center; }
#notificaciones .movement-notification-label .type-pill { margin: 0; padding: 2px 6px; font-size: 10px; }
#notificaciones .notification-read-status { color: var(--accent); font-size: 9px; font-weight: 600; white-space: nowrap; }
#notificaciones .is-read .notification-read-status { color: var(--muted); font-weight: 400; }
#notificaciones .movement-notification-header h4 { margin: 6px 0 0; color: var(--ink); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
#notificaciones .movement-notification-header h4 strong { color: var(--ink); font-size: 17px; font-weight: 700; }
#notificaciones .movement-notification-quantity { display: grid; text-align: right; gap: 2px; }
#notificaciones .movement-notification-quantity strong { font-size: 24px; font-weight: 750; line-height: 1.1; color: var(--movement-color); font-variant-numeric: tabular-nums; }
#notificaciones .movement-notification-quantity span { color: var(--muted); font-size: 9px; }
#notificaciones .movement-notification-context { display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 0 0 10px; color: var(--muted); font-size: 11px; }
#notificaciones .movement-notification-context strong { font-weight: 650; color: var(--ink); }
#notificaciones .notification-material-description { margin: 12px 0 5px; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#notificaciones .movement-notification-footer { position: static; inset: auto; max-width: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
#notificaciones .movement-notification-footer > div { display: flex; flex-wrap: wrap; gap: 5px 12px; }
#notificaciones .notification-detail { border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 650; min-height: 32px; padding: 4px 0; text-align: left; }
#notificaciones .notification-detail:hover { text-decoration: underline; text-underline-offset: 3px; }
#notificaciones .notification-read-toggle { min-height: 32px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); color: var(--muted); font-size: 10px; }
#notificaciones .notification-read-toggle:hover { color: var(--accent); border-color: var(--accent); }
#notificaciones .notification-inbox-empty { display: grid; justify-items: center; gap: 10px; padding: 35px 18px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
#notificaciones .notification-inbox-empty > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-soft); color: var(--accent); font-size: 20px; }
#notificaciones .notification-inbox-empty strong { color: var(--ink); font-size: 14px; }
#notificaciones .notification-inbox-empty p { margin: 0; color: var(--muted); font-size: 12px; }
#notificaciones .notification-more { display: flex; width: 100%; margin-top: 16px; min-height: 42px; }
#notificaciones .notification-inbox-note { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 15px 0 0; }
@media (min-width: 1180px) {
  #notificaciones .notification-filters { grid-template-columns: 1.1fr .95fr .95fr 1.15fr 1.6fr; gap: 10px; }
  #notificaciones .notification-search-field { grid-column: auto; }
}
@media (max-width: 700px) {
  #notificaciones .notification-hero { gap: 14px; }
  #notificaciones .notification-heading-icon { width: 38px; height: 38px; }
  #notificaciones .notification-intro { font-size: 12px; }
  #notificaciones .notification-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #notificaciones .notification-summary { gap: 8px; margin: 14px 0 18px; }
  #notificaciones .notification-summary .metric { padding: 12px; }
  #notificaciones .notification-summary .metric strong { font-size: 24px; }
  #notificaciones .notification-workspace { gap: 24px; }
  #notificaciones .notification-stream { padding-top: 20px; }
  #notificaciones .activity-calendar { padding: 12px; }
  #notificaciones .activity-calendar-header { display: grid; }
  #notificaciones .activity-calendar-month-total { display: flex; max-width: none; gap: 8px; text-align: left; }
  #notificaciones .activity-calendar-month-total strong { font-size: 22px; }
  #notificaciones .activity-calendar-month-control, #notificaciones .activity-calendar-month-label { flex: 1; }
  #notificaciones .activity-calendar-month-label input { width: 100%; }
  #notificaciones .activity-calendar-types { width: 100%; }
  #notificaciones .activity-calendar-type { flex: 1; padding-inline: 9px; }
  #notificaciones .activity-calendar-day { min-height: 78px; padding: 6px 3px; }
  #notificaciones .activity-calendar-day-quantity, #notificaciones .activity-calendar-dual { font-size: 10px; }
  #notificaciones .notification-stream-heading { flex-wrap: wrap; gap: 10px; }
  #notificaciones .notification-stream-heading h3 { font-size: 18px; }
  #notificaciones .notification-stream-toolbar { align-items: stretch; }
  #notificaciones .notification-segments { flex: 1; }
  #notificaciones .notification-segments button { min-height: 40px; padding-inline: 7px; }
  #notificaciones .notification-sort-label { min-width: 118px; }
  #notificaciones .notification-result-toolbar { align-items: flex-start; }
  #notificaciones .movement-notification { padding: 12px; }
  #notificaciones .movement-notification-header { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; }
  #notificaciones .movement-notification-icon { width: 28px; height: 28px; border-radius: 7px; }
  #notificaciones .movement-notification-quantity strong { font-size: 22px; }
  #notificaciones .movement-notification-quantity span { max-width: 68px; }
  #notificaciones .movement-notification-header h4 { font-size: 13px; }
  #notificaciones .movement-notification-header h4 strong { font-size: 15px; }
  #notificaciones .notification-read-toggle { min-height: 40px; }
  #notificaciones .notification-detail { min-height: 40px; }
}
@media (max-width: 380px) { #notificaciones .notification-sort-label { width: 100%; } #notificaciones .notification-sort-label select { width: 100%; } }
