@charset "UTF-8";

/* src/styles.scss */
:root {
  --cc-color-ink: #1e1111;
  --cc-color-surface: #f8f9fc;
  --cc-color-accent: #fa3030;
  --cc-color-success: #1e1111;
  --cc-color-danger: #e15554;
  --cc-color-info: #4d9de0;
  --cc-color-warning: #ffc44a;
  --cc-color-text: #1e1111;
  --cc-color-muted: #6b6f7b;
  --cc-color-border: #e2e5ee;
  --cc-color-white: #fdfeff;
  --cc-radius: 6px;
  --cc-space-1: 0.25rem;
  --cc-space-2: 0.5rem;
  --cc-space-3: 1rem;
  --cc-space-4: 1.5rem;
  --cc-font: inherit;
  --cc-shadow: 0 8px 24px rgba(30, 17, 17, 0.08);
  --cc-control-height: 2.55rem;
}
.ui-page {
  margin-bottom: var(--cc-space-3);
  max-width: 100%;
  box-sizing: border-box;
}
.m-wrapper > .ui-page,
.m-grid__item > .ui-page {
  padding: 24px 30px 30px;
}
.ui-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cc-space-3);
  flex-wrap: wrap;
}
.ui-page__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cc-color-ink);
  line-height: 1.3;
}
.ui-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cc-space-2);
  align-items: center;
}
.ui-page__body {
  margin-top: var(--cc-space-3);
}
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cc-space-2);
  min-height: var(--cc-control-height);
  padding: 0.5rem 1.1rem;
  border-radius: var(--cc-radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.ui-btn:disabled,
.ui-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ui-btn:disabled {
  pointer-events: none;
}
.ui-btn.is-disabled {
  pointer-events: auto;
}
.ui-icon-btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.ui-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: var(--cc-radius);
  border: 1px solid transparent;
  background: var(--cc-color-surface);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  line-height: 1;
  flex-shrink: 0;
}
.ui-icon-btn i {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1;
}
.ui-icon-btn:hover:not(:disabled) {
  filter: brightness(0.97);
}
.ui-icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ui-icon-btn--info {
  color: var(--cc-color-info);
  border-color: rgba(77, 157, 224, 0.35);
  background: rgba(77, 157, 224, 0.1);
}
.ui-icon-btn--info:hover:not(:disabled) {
  background: rgba(77, 157, 224, 0.2);
}
.ui-icon-btn--success {
  color: #3d8b40;
  border-color: rgba(61, 139, 64, 0.35);
  background: rgba(61, 139, 64, 0.1);
}
.ui-icon-btn--success:hover:not(:disabled) {
  background: rgba(61, 139, 64, 0.2);
}
.ui-icon-btn--danger {
  color: var(--cc-color-danger);
  border-color: rgba(225, 85, 84, 0.35);
  background: rgba(225, 85, 84, 0.1);
}
.ui-icon-btn--danger:hover:not(:disabled) {
  background: rgba(225, 85, 84, 0.2);
}
.ui-icon-btn--accent {
  color: var(--cc-color-accent);
  border-color: rgba(250, 48, 48, 0.35);
  background: rgba(250, 48, 48, 0.08);
}
.ui-icon-btn--neutral {
  color: var(--cc-color-ink);
  border-color: var(--cc-color-border);
  background: var(--cc-color-surface);
}
app-ui-icon-button {
  display: inline-flex;
  vertical-align: middle;
}
.ui-btn--sm {
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
}
.ui-btn--lg {
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  font-size: 1.05rem;
}
.ui-btn--primary {
  background: var(--cc-color-ink);
  color: var(--cc-color-white);
  border-color: var(--cc-color-ink);
}
.ui-btn--primary:hover:not(:disabled) {
  filter: brightness(1.12);
}
.ui-btn--accent {
  background: var(--cc-color-accent);
  color: var(--cc-color-white);
  border-color: var(--cc-color-accent);
}
.ui-btn--accent:hover:not(:disabled) {
  filter: brightness(1.05);
}
.ui-btn--secondary {
  background: var(--cc-color-surface);
  color: var(--cc-color-ink);
  border-color: var(--cc-color-border);
}
.ui-btn--secondary:hover:not(:disabled) {
  border-color: var(--cc-color-ink);
}
.ui-btn--danger {
  background: var(--cc-color-danger);
  color: var(--cc-color-white);
  border-color: var(--cc-color-danger);
}
.ui-btn--ghost {
  background: transparent;
  color: var(--cc-color-ink);
  border-color: transparent;
}
.ui-btn--ghost:hover:not(:disabled) {
  background: var(--cc-color-surface);
}
.ui-btn__spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ui-spin 0.6s linear infinite;
}
@keyframes ui-spin {
  to {
    transform: rotate(360deg);
  }
}
.ui-field {
  display: flex;
  flex-direction: column;
  gap: var(--cc-space-1);
  margin-bottom: var(--cc-space-3);
}
.ui-field__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cc-color-text);
}
.ui-field__label .ui-field__required {
  color: var(--cc-color-accent);
  margin-left: 2px;
}
.ui-field__control {
  width: 100%;
}
.ui-field__hint {
  font-size: 0.8rem;
  color: var(--cc-color-muted);
}
.ui-field__error {
  font-size: 0.8rem;
  color: var(--cc-color-danger);
}
.ui-input,
.ui-select {
  display: block;
  width: 100%;
  min-height: var(--cc-control-height);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  background: var(--cc-color-white);
  color: var(--cc-color-text);
  font: inherit;
  box-sizing: border-box;
}
.ui-input:focus,
.ui-select:focus {
  outline: none;
  border-color: var(--cc-color-ink);
  box-shadow: 0 0 0 3px rgba(30, 17, 17, 0.08);
}
.ui-input:disabled,
.ui-select:disabled {
  background: var(--cc-color-surface);
  cursor: not-allowed;
}
.ui-select {
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
  cursor: pointer;
}
.ui-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cc-space-3);
  align-items: center;
  min-height: var(--cc-control-height);
}
.ui-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: var(--cc-space-1);
  margin: 0;
  cursor: pointer;
  color: var(--cc-color-text);
}
.ui-card {
  background: var(--cc-color-white);
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow);
  padding: var(--cc-space-4);
}
.ui-card__footer {
  margin-top: var(--cc-space-4);
  padding-top: var(--cc-space-3);
  border-top: 1px solid var(--cc-color-border);
  display: flex;
  gap: var(--cc-space-2);
  flex-wrap: wrap;
}
.modal-content:has(app-ui-modal),
.modal-content:has(.ui-modal) {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.modal-content > app-ui-modal,
.modal-content > .ui-modal {
  display: block;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(30, 17, 17, 0.28);
  overflow: hidden;
}
.ui-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cc-space-2);
  padding: var(--cc-space-3) var(--cc-space-4);
  border-bottom: 1px solid var(--cc-color-border);
  background: var(--cc-color-surface);
}
.ui-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cc-color-ink);
}
.ui-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cc-color-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.ui-modal__body {
  padding: var(--cc-space-4);
  max-height: min(78vh, 720px);
  overflow-y: auto;
}
.ui-modal__footer:empty {
  display: none;
  padding: 0;
  border: 0;
}
.ui-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  background: var(--cc-color-white);
}
.ui-table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.ui-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--cc-color-surface);
  color: var(--cc-color-ink);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--cc-color-border);
  white-space: nowrap;
}
.ui-table tbody td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--cc-color-border);
  color: var(--cc-color-text);
  vertical-align: middle;
}
.ui-table tbody tr:hover {
  background: rgba(248, 249, 252, 0.85);
}
.ui-table__empty,
.ui-table__loading {
  padding: var(--cc-space-4);
  text-align: center;
  color: var(--cc-color-muted);
}
.ui-table--dense thead th,
.ui-table--dense tbody td {
  padding: 0.45rem 0.65rem;
}
.ui-table thead th.ui-table__check,
.ui-table tbody td.ui-table__check {
  width: 2.75rem;
  min-width: 2.75rem;
  max-width: 2.75rem;
  padding-left: 0.75rem;
  padding-right: 0.5rem;
  text-align: center;
  vertical-align: middle;
}
.ui-table .ui-table__check .m-checkbox--single {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
  line-height: 0;
}
.ui-table .ui-table__check .m-checkbox--single > span {
  top: 0;
  left: 0;
  border: 1px solid #c4c7d0;
  background: #fff;
}
.ui-table .ui-table__check .m-checkbox--single > input:checked ~ span {
  border-color: var(--cc-color-accent, #fa3030);
  background: var(--cc-color-accent, #fa3030);
}
.ui-autocomplete .form-control.m-input,
.ui-autocomplete .ui-input {
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  min-height: var(--cc-control-height);
}
.ui-autocomplete .auto-complete-dropdown {
  z-index: 1060;
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow);
  background: var(--cc-color-white);
}
.ui-autocomplete .auto-complete-dropdown a:hover {
  background: var(--cc-color-surface);
}
.ui-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cc-space-2);
  align-items: center;
  margin-bottom: var(--cc-space-3);
}
.cc-dv-form {
  margin: 0;
}
.cc-dv-form__body {
  display: flex;
  flex-direction: column;
  gap: var(--cc-space-3);
}
.cc-dv-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--cc-space-3);
  margin: 0;
}
.cc-dv-fields > .ui-field,
.cc-dv-fields > app-ui-field {
  margin: 0;
  min-width: 0;
}
.cc-dv-fields__span,
app-ui-field.cc-dv-fields__span {
  grid-column: 1/-1;
}
.cc-date-field {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.cc-date-field .ui-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}
.cc-date-field__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-height: var(--cc-control-height);
  margin: 0;
  padding: 0;
  border: 1px solid var(--cc-color-border);
  border-radius: 0 var(--cc-radius) var(--cc-radius) 0;
  background: var(--cc-color-surface);
  color: var(--cc-color-ink);
  cursor: pointer;
  flex: 0 0 auto;
}
.cc-date-field__btn:hover {
  background: #eeeef3;
}
.cc-dv-switch {
  display: inline-flex;
  align-items: center;
  min-height: var(--cc-control-height);
}
.cc-edit-table {
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  background: var(--cc-color-white);
  overflow: hidden;
  margin-bottom: var(--cc-space-3);
}
.cc-edit-table__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cc-space-2);
  padding: 0.75rem 1rem;
  background: var(--cc-color-surface);
  border-bottom: 1px solid var(--cc-color-border);
}
.cc-edit-table__toolbar-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.cc-edit-table__toolbar-text strong {
  font-size: 0.92rem;
  color: var(--cc-color-ink);
  font-weight: 600;
}
.cc-edit-table__toolbar-text span {
  font-size: 0.78rem;
  color: var(--cc-color-muted);
}
.cc-edit-table__wrap {
  width: 100%;
  overflow-x: auto;
}
.cc-edit-table__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
.cc-edit-table__table thead th {
  padding: 0.65rem 0.75rem;
  background: #fff;
  border-bottom: 1px solid var(--cc-color-border);
  color: var(--cc-color-ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.cc-edit-table__table tbody td,
.cc-edit-table__table tfoot td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--cc-color-border);
  vertical-align: middle;
}
.cc-edit-table__table tbody tr:last-child td {
  border-bottom: 0;
}
.cc-edit-table__table tfoot td {
  background: var(--cc-color-surface);
  border-bottom: 0;
  border-top: 1px solid var(--cc-color-border);
}
.cc-edit-table__col-desc {
  width: auto;
}
.cc-edit-table__col-qty {
  width: 7.5rem;
}
.cc-edit-table__col-unit {
  width: 9rem;
}
.cc-edit-table__col-total {
  width: 8rem;
  text-align: right !important;
}
.cc-edit-table__col-actions {
  width: 4.5rem;
  text-align: center !important;
}
.cc-edit-table__table .ui-input {
  min-height: 2.25rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.9rem;
}
.cc-edit-table__input-num {
  text-align: right;
}
.cc-edit-table__total-cell {
  display: block;
  font-weight: 600;
  color: var(--cc-color-ink);
  font-variant-numeric: tabular-nums;
}
.cc-edit-table__foot-label {
  text-align: right;
  font-size: 0.85rem;
  color: var(--cc-color-muted);
}
.cc-edit-table__empty {
  padding: 1.5rem 1rem !important;
  text-align: center;
  color: var(--cc-color-muted);
  font-size: 0.9rem;
}
.cc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: var(--cc-space-2);
  padding-top: var(--cc-space-2);
  border-top: 1px solid var(--cc-color-border);
  margin-top: var(--cc-space-2);
}
.cc-embarcar {
  display: flex;
  flex-direction: column;
  gap: var(--cc-space-3);
}
.cc-embarcar__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--cc-space-2);
}
.cc-embarcar__section-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cc-embarcar__section-head strong {
  font-size: 1rem;
  color: var(--cc-color-ink);
}
.cc-embarcar__section-head span {
  font-size: 0.8rem;
  color: var(--cc-color-muted);
}
.cc-embarcar__peso-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--cc-color-border);
  border-radius: 999px;
  background: var(--cc-color-surface);
  font-size: 0.85rem;
  color: var(--cc-color-ink);
}
.cc-embarcar__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}
.cc-embarcar__table {
  table-layout: auto;
}
.cc-embarcar__table th,
.cc-embarcar__table td {
  font-size: 0.88rem;
  white-space: nowrap;
}
.cc-embarcar__table td:nth-child(2),
.cc-embarcar__table td:nth-child(3) {
  white-space: normal;
  word-break: break-word;
}
.cc-embarcar__alert {
  padding: 0.75rem 1rem;
  border-radius: var(--cc-radius);
  background: rgba(250, 48, 48, 0.1);
  color: #b91c1c;
  font-size: 0.88rem;
}
.cc-embarcar__hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cc-color-muted);
  line-height: 1.4;
}
.cc-embarcar__readonly {
  display: flex;
  align-items: center;
  min-height: var(--cc-control-height);
  padding: 0 0.75rem;
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  background: var(--cc-color-surface);
  color: var(--cc-color-ink);
  font-weight: 600;
}
.cc-embarcar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--cc-radius);
  background: var(--cc-color-surface);
  border: 1px solid var(--cc-color-border);
  font-size: 0.78rem;
  color: var(--cc-color-muted);
}
.cc-embarcar__confirm {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cc-color-ink);
}
.cc-section-title {
  margin: 0.25rem 0 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--cc-color-border);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cc-color-ink);
}
.cc-textarea {
  min-height: 5rem;
  resize: vertical;
  line-height: 1.4;
}
.cc-entrega__thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--cc-color-surface);
  border: 1px solid var(--cc-color-border);
}
.cc-confirm__text {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--cc-color-ink);
  line-height: 1.45;
}
.cc-confirm__warn {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b91c1c;
}
.cc-modal-plain {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cc-color-ink);
  line-height: 1.5;
  white-space: pre-wrap;
}
.cc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--cc-space-3);
}
.cc-gallery__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--cc-radius);
  border: 1px solid var(--cc-color-border);
  background: var(--cc-color-surface);
}
.cc-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cc-news-item {
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  background: var(--cc-color-white);
  overflow: hidden;
}
.cc-news-item__toggle {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  background: var(--cc-color-surface);
  color: var(--cc-color-ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.cc-news-item__toggle:hover {
  background: #eeeef3;
}
.cc-news-item__body {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--cc-color-ink);
  line-height: 1.45;
  border-top: 1px solid var(--cc-color-border);
}
.cc-file-pick {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--cc-control-height);
}
.cc-file-pick__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--cc-color-border);
  border-radius: var(--cc-radius);
  background: var(--cc-color-surface);
  color: var(--cc-color-ink);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
.cc-file-pick__btn:hover {
  background: #eeeef3;
}
.cc-file-pick__name {
  font-size: 0.88rem;
  color: var(--cc-color-muted);
}
.cc-detail-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}
.cc-detail-table th,
.cc-detail-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--cc-color-border);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}
.cc-detail-table th {
  width: 38%;
  color: var(--cc-color-muted);
  font-weight: 600;
  background: var(--cc-color-surface);
}
.cc-detail-table tr:last-child th,
.cc-detail-table tr:last-child td {
  border-bottom: 0;
}
.cc-instruccion-table {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
}
.cc-instruccion-table thead th {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 0.6rem 0.7rem;
}
.cc-instruccion-table tbody td {
  font-size: 0.86rem;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0.55rem 0.7rem;
}
.cc-instruccion-table__img {
  width: 3.5rem;
  text-align: center;
}
.cc-instruccion-table__num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cc-instruccion-table__dims {
  white-space: nowrap;
}
.cc-instruccion-table__stack {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 10rem;
  max-width: 14rem;
  white-space: normal;
}
.cc-instruccion-table__stack strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cc-color-ink);
}
.cc-instruccion-table__stack span {
  font-size: 0.78rem;
  color: var(--cc-color-muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-instruccion-table__estado {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--cc-color-surface);
  border: 1px solid var(--cc-color-border);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}
.cc-paquetes-table__track {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.cc-paquetes-table__desc {
  white-space: normal !important;
  min-width: 8rem;
  max-width: 14rem;
  line-height: 1.35;
}
@media (max-width: 768px) {
  .ui-page__title {
    font-size: 1.25rem;
  }
  .ui-card {
    padding: var(--cc-space-3);
  }
  .ui-modal__body {
    max-height: 60vh;
    padding: var(--cc-space-3);
  }
  .cc-dv-fields {
    grid-template-columns: 1fr;
  }
  .cc-dv-fields__span,
  app-ui-field.cc-dv-fields__span {
    grid-column: auto;
  }
  .cc-edit-table__col-qty,
  .cc-edit-table__col-unit,
  .cc-edit-table__col-total {
    width: 6.5rem;
  }
}
body {
  margin: 0;
}
#toast-container {
  z-index: 999999 !important;
}
#toast-container > div {
  opacity: 0.95;
}
.toast-success {
  background-color: #1e1111 !important;
  color: #fdfeff !important;
}
.toast-error {
  background-color: #e15554 !important;
  color: #fdfeff !important;
}
.toast-info {
  background-color: #4d9de0 !important;
  color: #fdfeff !important;
}
.toast-warning {
  background-color: #ffc44a !important;
  color: #111111 !important;
}
ngb-modal-window,
.modal {
  z-index: 1055 !important;
}
ngb-modal-backdrop,
.modal-backdrop {
  z-index: 1050 !important;
}
body:not(.m-page--loading-non-block):not(.m-page--loading) .m-page-loader {
  display: none !important;
}
body.m-page--loading-non-block .m-page-loader.m-page-loader--non-block {
  z-index: 101;
  pointer-events: none;
}
body.m-header--fixed app-header-nav.m-header {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 101 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.m-header--fixed app-theme.m-page {
  display: flex !important;
  flex-direction: column !important;
  padding-top: var(--app-header-offset, 70px) !important;
  box-sizing: border-box !important;
  min-height: 100vh;
}
body.m-header--fixed .m-body,
body.m-header--fixed app-default.m-body {
  padding-top: 0 !important;
}
app-default.m-body {
  display: block;
  width: 100%;
  min-width: 0;
  flex: 1 0 auto;
}
@media (min-width: 993px) {
  body.m-header--fixed app-header-nav.m-header {
    height: 70px !important;
    background: #1e1111;
  }
  body.m-header--fixed app-header-nav.m-header .m-container,
  body.m-header--fixed app-header-nav.m-header > .m-container > .m-stack {
    height: 70px !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-brand {
    display: table-cell !important;
    vertical-align: middle !important;
    height: 70px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    padding: 0 8px !important;
    background-color: #f8f9fc !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-brand .m-brand__logo,
  body.m-header--fixed app-header-nav.m-header .m-brand .m-brand__logo-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-brand__logo img {
    height: 56px !important;
    width: 56px !important;
    object-fit: contain !important;
    display: block !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-header-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    height: 70px !important;
    background-color: #1e1111 !important;
    padding: 0 16px 0 8px !important;
    overflow: visible !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0;
    width: 100% !important;
    height: 70px !important;
    margin: 0 !important;
    float: none !important;
    overflow: visible !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    gap: 0;
    width: 100% !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    float: none !important;
    position: relative !important;
    height: 70px !important;
    min-width: 0 !important;
    padding: 0 2px !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item > .m-menu__link {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    width: 100% !important;
    max-width: 100%;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border-radius: 8px;
    color: rgba(253, 254, 255, 0.88) !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    table-layout: auto !important;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    float: none !important;
    color: inherit !important;
    font-size: 1.05rem !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-text {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem !important;
    line-height: 1.1 !important;
    font-weight: 500;
    vertical-align: middle !important;
    white-space: nowrap !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__hor-arrow,
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__ver-arrow {
    display: none !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item--active > .m-menu__link,
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item > .m-menu__link:hover {
    color: #fdfeff !important;
    background: rgba(253, 254, 255, 0.1) !important;
  }
  body.m-header--fixed app-header-nav.m-header #m_header_menu > .m-menu__nav > .m-menu__item--active > .m-menu__link {
    box-shadow: inset 0 -2px 0 #fa3030;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar,
  body.m-header--fixed app-header-nav.m-header .m-topbar.m-stack {
    float: none !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 0 14px !important;
    border-left: 1px solid rgba(253, 254, 255, 0.16);
    background: transparent !important;
    box-shadow: none !important;
    z-index: 2;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-stack__item,
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-topbar__nav-wrapper {
    display: flex !important;
    align-items: center !important;
    height: 70px !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-topbar__nav {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px !important;
    gap: 2px;
    border-radius: 999px;
    background: rgba(253, 254, 255, 0.06);
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-nav__item {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-nav__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    transition: background-color 0.15s ease;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-nav__link:hover {
    background: rgba(253, 254, 255, 0.12);
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-nav__link-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-nav__link-icon > i,
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-nav__link-icon > i:before {
    color: #fdfeff !important;
    background: none !important;
    -webkit-text-fill-color: #fdfeff !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-nav__link-badge {
    top: 4px !important;
    right: 2px !important;
    left: auto !important;
    margin: 0 !important;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 0.7rem;
    background: #fa3030 !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-topbar__userpic {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }
  body.m-header--fixed app-header-nav.m-header .m-topbar .m-topbar__userpic img {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(253, 254, 255, 0.85) !important;
    background: #f8f9fc;
  }
  body.m-header--fixed app-header-nav.m-header .cc-profile-dropdown > .m-dropdown__wrapper,
  body.m-header--fixed app-header-nav.m-header .cc-profile-menu.m-dropdown__wrapper {
    width: 280px !important;
    margin-top: 8px !important;
  }
  body.m-header--fixed app-header-nav.m-header .cc-profile-menu .m-dropdown__inner {
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid rgba(30, 17, 17, 0.08);
    box-shadow: 0 16px 40px rgba(30, 17, 17, 0.22);
    background: #fff;
  }
  body.m-header--fixed app-header-nav.m-header .cc-profile-menu .m-dropdown__arrow {
    color: #1e1111 !important;
  }
}
.cc-profile-menu__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #1e1111;
}
.cc-profile-menu__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(253, 254, 255, 0.85);
  background: #f8f9fc;
  flex: 0 0 auto;
}
.cc-profile-menu__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cc-profile-menu__name {
  color: #fdfeff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-profile-menu__email {
  color: rgba(253, 254, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-profile-menu__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #fff;
}
.cc-profile-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  color: #1e1111 !important;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none !important;
  background: #f8f9fc;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.cc-profile-menu__link > i.fa-user {
  width: 1.1rem;
  text-align: center;
  color: #1e1111;
}
.cc-profile-menu__link > span {
  flex: 1 1 auto;
}
.cc-profile-menu__chevron {
  font-size: 0.7rem;
  color: #9ca3af;
}
.cc-profile-menu__link:hover {
  background: #eeeef3;
  color: #fa3030 !important;
}
.cc-profile-menu__link:hover > i.fa-user,
.cc-profile-menu__link:hover .cc-profile-menu__chevron {
  color: #fa3030;
}
.cc-profile-menu__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  background: #1e1111;
  color: #fdfeff !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}
.cc-profile-menu__logout:hover {
  background: #fa3030;
  color: #fdfeff !important;
}
@media (max-width: 992px) {
  body.m-header--fixed-mobile app-header-nav.m-header {
    height: 60px !important;
    max-height: 60px !important;
    overflow: visible !important;
    background: #f8f9fc;
  }
  body.m-header--fixed-mobile app-header-nav.m-header > .m-container,
  body.m-header--fixed-mobile app-header-nav.m-header > .m-container > .m-stack {
    height: 60px !important;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-brand {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 60px !important;
    padding: 0 12px !important;
    background-color: #f8f9fc !important;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-brand__logo img {
    height: 48px !important;
    width: 48px !important;
    object-fit: contain !important;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-header-head {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    height: 60px !important;
    background: transparent !important;
    pointer-events: none !important;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-brand,
  body.m-header--fixed-mobile app-header-nav.m-header .m-topbar,
  body.m-header--fixed-mobile app-header-nav.m-header .m-brand__tools {
    pointer-events: auto !important;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-topbar {
    position: absolute !important;
    top: 0 !important;
    right: 8px !important;
    height: 60px !important;
    width: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    z-index: 3;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-topbar .m-nav__link-icon > i,
  body.m-header--fixed-mobile app-header-nav.m-header .m-topbar .m-nav__link-icon > i:before {
    color: #1e1111 !important;
    background: none !important;
    -webkit-text-fill-color: #1e1111 !important;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-topbar .m-topbar__userpic img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #1e1111 !important;
  }
  body.m-header--fixed-mobile app-header-nav.m-header .m-aside-header-menu-mobile {
    pointer-events: auto !important;
  }
}
.m-subheader {
  padding: 24px 30px 8px 30px !important;
}
.m-subheader .page-title {
  margin: 0;
  line-height: 1.3;
  font-size: 1.45rem;
  font-weight: 500;
  color: #1e1111;
}
app-ui-button.is-disabled .ui-btn,
.ui-btn.is-disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: auto !important;
}
select.form-control,
select.m-input {
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;
  appearance: menulist !important;
  cursor: pointer;
  pointer-events: auto !important;
  background-image: none !important;
}
ngb-modal-window select.form-control,
.modal select.form-control {
  position: relative;
  z-index: 1;
}
.m-content,
.m-portlet.m-portlet--mobile,
.tab-content > .tab-pane {
  max-width: 100%;
  min-width: 0;
}
.m-portlet.m-portlet--mobile {
  overflow: hidden;
}
.m-portlet.m-portlet--mobile > .m-portlet__body {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
app-embarcados-datatable,
app-en-bodega-datatable,
app-en-transito-datatable,
app-estatus-datatable,
app-instrucciones-datatable,
app-facturacion-datatable,
app-ruta-nacional-datatable,
app-entregados-datatable {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.table.table-responsive {
  display: table !important;
  width: max-content;
  min-width: 100%;
  max-width: none;
  overflow: visible !important;
}
table.table.table-responsive thead th,
table.table.table-responsive tbody td {
  white-space: nowrap;
}
.table-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cc-notif-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(30, 17, 17, 0.28);
}
.cc-notif-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  width: min(380px, 100vw - 24px);
  height: min(520px, 100vh - 96px);
  background: #fff;
  border: 1px solid rgba(30, 17, 17, 0.08);
  border-radius: 16px 16px 12px 12px;
  box-shadow: 0 18px 48px rgba(30, 17, 17, 0.28);
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.2s ease;
  overflow: hidden;
}
.cc-notif-panel--open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cc-notif-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  background: #1e1111;
  color: #fdfeff;
}
.cc-notif-panel__titles {
  flex: 1 1 auto;
  min-width: 0;
}
.cc-notif-panel__titles h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fdfeff;
}
.cc-notif-panel__titles p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: rgba(253, 254, 255, 0.72);
}
.cc-notif-panel__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(253, 254, 255, 0.1);
  color: #fdfeff;
  cursor: pointer;
  flex: 0 0 auto;
}
.cc-notif-panel__icon-btn:hover {
  background: rgba(253, 254, 255, 0.18);
}
.cc-notif-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  background: #f8f9fc;
}
.cc-notif-panel__loading,
.cc-notif-panel__empty {
  padding: 28px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}
.cc-notif-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(30, 17, 17, 0.06);
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.cc-notif-item:hover {
  background: #f3f4f8;
}
.cc-notif-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  flex: 0 0 auto;
}
.cc-notif-item__dot--unread {
  background: #fa3030;
}
.cc-notif-item__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cc-notif-item__title {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.25;
}
.cc-notif-item__title--unread {
  color: #1e1111;
  font-weight: 600;
}
.cc-notif-item__date {
  font-size: 0.75rem;
  color: #9ca3af;
}
.cc-notif-item__chevron {
  color: #c4c7d0;
  font-size: 0.75rem;
  flex: 0 0 auto;
}
.cc-notif-detail {
  padding: 16px;
  background: #fff;
  min-height: 100%;
}
.cc-notif-detail h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #1e1111;
  line-height: 1.3;
}
.cc-notif-detail time {
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: #9ca3af;
}
.cc-notif-detail__body {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.5;
}
.cc-notif-detail__body img {
  max-width: 100%;
  height: auto;
}
.cc-notif-panel__footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(30, 17, 17, 0.08);
  background: #fff;
}
.cc-notif-panel__more {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(30, 17, 17, 0.12);
  border-radius: 8px;
  background: #f8f9fc;
  color: #1e1111;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.cc-notif-panel__more:hover:not(:disabled) {
  background: #eeeef3;
}
.cc-notif-panel__more:disabled {
  opacity: 0.6;
  cursor: default;
}
@media (max-width: 576px) {
  .cc-notif-panel {
    right: 8px;
    left: 8px;
    bottom: 8px;
    width: auto;
    height: min(70vh, 520px);
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
