/* frontend/src/styles.css */
.cat-react-shell {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top left,
      rgba(16, 185, 129, 0.14),
      transparent 30%),
    linear-gradient(
      135deg,
      #f8fafc 0%,
      #ffffff 55%,
      #f3f7fb 100%);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}
.cat-react-listing {
  width: 100%;
}
.cat-react-listing__split {
  display: flex;
  width: 100%;
  max-width: 100%;
}
.cat-react-listing__panel {
  flex: 0 0 auto;
}
.cat-react-listing__panel--left {
  z-index: 2;
  box-shadow: 4px 0 8px -4px rgba(15, 23, 42, 0.18);
}
.cat-react-listing__panel--center {
  flex: 1 1 0%;
  min-width: 0;
  overflow-x: auto;
}
.cat-react-listing__panel--right {
  z-index: 2;
  box-shadow: -4px 0 8px -4px rgba(15, 23, 42, 0.18);
}
.cat-react-listing__panel .cat-react-listing__table {
  width: auto;
  min-width: 0;
}
.cat-react-listing__frame {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.cat-react-listing__table {
  margin-bottom: 0;
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.84rem;
  table-layout: auto;
}
.cat-react-listing__empty {
  padding: 1.25rem;
  text-align: center;
  color: #64748b;
}
.cat-react-listing__head th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef2ff 100%);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  white-space: normal;
  line-height: 1.2;
}
.cat-react-listing__table tbody th,
.cat-react-listing__table tbody td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
  color: #0f172a;
  vertical-align: top;
  line-height: 1.3;
}
.cat-react-listing__table tbody th[data-column-id=select],
.cat-react-listing__table tbody td[data-column-id=select] {
  vertical-align: middle;
  cursor: pointer;
}
.cat-crud-select-control input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.cat-crud-select-control input[type=checkbox]:hover {
  border-color: #0f766e;
  background: #f0fdfa;
}
.cat-crud-select-control input[type=checkbox]:checked {
  background: #0f766e;
  border-color: #0f766e;
}
.cat-crud-select-control input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cat-crud-select-control input[type=checkbox]:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.25);
  outline-offset: 2px;
}
.cat-react-listing__table tbody tr:nth-child(even) th,
.cat-react-listing__table tbody tr:nth-child(even) td {
  background: #f8fafc;
}
.cat-react-listing__table tbody tr:hover th,
.cat-react-listing__table tbody tr:hover td {
  background: #eff6ff;
}
.cat-react-listing__table tbody tr.table-primary > th,
.cat-react-listing__table tbody tr.table-primary > td {
  background: #e8f1ff;
  color: #1d4ed8;
}
.cat-react-listing__table tbody tr.table-success > th,
.cat-react-listing__table tbody tr.table-success > td {
  background: #ecfdf3;
  color: #166534;
}
.cat-react-listing__table tbody tr.table-warning > th,
.cat-react-listing__table tbody tr.table-warning > td {
  background: #fff7ed;
  color: #9a3412;
}
.cat-react-listing__table tbody tr.table-danger > th,
.cat-react-listing__table tbody tr.table-danger > td {
  background: #fef2f2;
  color: #991b1b;
}
.cat-react-table__sort-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}
.cat-react-table__sort-link:hover,
.cat-react-table__sort-link:focus-visible {
  color: inherit;
  text-decoration: underline;
}
.cat-react-table__sort-icon {
  font-size: 0.85em;
  opacity: 0.82;
}
.cat-react-table__cell-html {
  min-width: 4.75rem;
  max-width: none;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}
.cat-react-table__cell-html,
.cat-react-table__cell-html * {
  color: inherit;
}
.cat-react-table__cell-html a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
}
.cat-react-table__cell-html a:hover,
.cat-react-table__cell-html a:focus-visible {
  text-decoration: underline;
}
.cat-react-table__cell-html > :last-child {
  margin-bottom: 0;
}
.cat-crud-actions {
  display: inline-grid;
  grid-template-columns: repeat(4, 2rem);
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: max-content;
}
.cat-crud-actions-cell {
  width: 1%;
  white-space: nowrap;
}
.cat-crud-action-trigger {
  white-space: nowrap;
}
.cat-crud-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.cat-crud-action-icon:hover,
.cat-crud-action-icon:focus-visible,
.cat-crud-action-trigger:hover,
.cat-crud-action-trigger:focus-visible {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}
.cat-crud-action-icon svg {
  width: 18px;
  height: 18px;
}
.cat-crud-action-icon--danger {
  border-color: rgba(248, 113, 113, 0.35);
  background: #fff5f5;
  color: #b91c1c;
}
.cat-crud-action-icon--danger:hover,
.cat-crud-action-icon--danger:focus-visible {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}
.cat-crud-action-menu__popover {
  position: fixed;
  z-index: 1080;
  display: grid;
  gap: 0.2rem;
  min-width: 11rem;
  max-width: min(18rem, calc(100vw - 24px));
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  will-change: transform, opacity;
}
.cat-react-table__dropdown-popover {
  min-width: 12rem;
}
.cat-crud-action-menu__item {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
}
.cat-crud-action-menu__item:hover,
.cat-crud-action-menu__item:focus-visible {
  background: #eff6ff;
  color: #1d4ed8;
}
.cat-react-table__action-cell {
  width: 20px;
}
.cat-react-table__action-cell .btn {
  border-radius: 999px;
  padding-inline: 0.7rem;
  padding-block: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.cat-react-shell--sidebar {
  max-width: none;
  margin: 0;
  min-height: 100%;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.cat-react-shell__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cat-react-shell--sidebar .cat-react-shell__header {
  display: none;
}
.cat-react-shell__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}
.cat-react-shell__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: #0f172a;
}
.cat-react-shell__link {
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
}
.cat-react-banner,
.cat-react-state {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: #eff6ff;
  color: #1e293b;
  margin-bottom: 1.25rem;
}
.cat-react-message-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.cat-react-banner--error,
.cat-react-state--error {
  background: #fef2f2;
  color: #991b1b;
}
.cat-react-banner--status {
  background: #ecfdf5;
  color: #166534;
}
.cat-react-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cat-react-step {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 600;
}
.cat-react-step.is-active {
  background: #0f766e;
  color: #fff;
}
.cat-react-step.has-error {
  box-shadow: inset 0 0 0 2px rgba(185, 28, 28, 0.25);
}
.cat-react-section__title {
  margin: 0 0 1rem;
  color: #0f172a;
}
.cat-react-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.cat-react-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.cat-react-field--invalid .cat-react-input,
.cat-react-field--invalid select,
.cat-react-field--invalid textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.cat-react-field__label {
  font-weight: 700;
  color: #0f172a;
}
.cat-react-field__required {
  margin-left: 0.25rem;
  color: #dc2626;
}
.cat-react-field__description {
  color: #475569;
  font-size: 0.92rem;
}
.cat-react-field__error {
  color: #b91c1c;
  font-size: 0.9rem;
}
.cat-react-field__hint {
  color: #475569;
  font-size: 0.88rem;
}
.cat-react-field__hint--error {
  color: #b91c1c;
}
.cat-react-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: #fff;
  color: #0f172a;
}
input[type=datetime-local].cat-react-input {
  line-height: normal;
}
.cat-react-input:focus {
  outline: 2px solid rgba(15, 118, 110, 0.25);
  border-color: #0f766e;
}
.cat-react-input--textarea {
  min-height: 140px;
  resize: vertical;
}
.cat-react-input--multiselect {
  min-height: 10rem;
}
.cat-datepicker {
  position: relative;
}
.cat-datepicker__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
}
.cat-datepicker__input.cat-react-input {
  padding: 0;
}
.cat-datepicker__text-input {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.45rem 1rem;
  flex: 1;
  min-width: 0;
  outline: none;
  line-height: 1.5;
}
.cat-datepicker__input--disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cat-datepicker__placeholder {
  color: #94a3b8;
}
.cat-datepicker__icons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #94a3b8;
  flex-shrink: 0;
  padding-right: 0.75rem;
}
.cat-datepicker__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}
.cat-datepicker__clear:hover {
  background: #f1f5f9;
  color: #475569;
}
.cat-datepicker__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.cat-datepicker__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  width: 310px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.13), 0 2px 8px rgba(15, 23, 42, 0.06);
  animation: catDatepickerIn 0.15s ease-out;
}
@keyframes catDatepickerIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cat-datepicker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.cat-datepicker__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.cat-datepicker__title-btn {
  padding: 0.3rem 0.6rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.12s;
  letter-spacing: -0.01em;
}
.cat-datepicker__title-btn:hover {
  background: #f1f5f9;
  color: #0f766e;
}
.cat-datepicker__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.12s;
}
.cat-datepicker__nav:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}
.cat-datepicker__grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.cat-datepicker__grid thead tr {
  background:
    linear-gradient(
      180deg,
      #5b7a78 0%,
      #4a6563 100%);
}
.cat-datepicker__grid th {
  padding: 0.4rem 0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cat-datepicker__grid th:first-child {
  border-radius: 8px 0 0 8px;
}
.cat-datepicker__grid th:last-child {
  border-radius: 0 8px 8px 0;
}
.cat-datepicker__grid th:nth-child(6),
.cat-datepicker__grid th:nth-child(7) {
  color: rgba(255, 255, 255, 0.7);
}
.cat-datepicker__grid td {
  padding: 0;
  text-align: center;
}
.cat-datepicker__grid td.cat-datepicker__day {
  padding: 0.45rem 0;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.1s;
  text-align: center;
}
.cat-datepicker__day:hover {
  background: #f0fdfa;
  color: #0f766e;
}
.cat-datepicker__grid td.cat-datepicker__day:nth-child(6),
.cat-datepicker__grid td.cat-datepicker__day:nth-child(7) {
  color: #94a3b8;
}
.cat-datepicker__day--other {
  color: #d1d5db;
  cursor: default;
}
.cat-datepicker__day--other:hover {
  background: transparent;
  color: #d1d5db;
}
.cat-datepicker__day--today {
  font-weight: 700;
  color: #0f766e;
  box-shadow: inset 0 0 0 1.5px #0f766e;
}
.cat-datepicker__day--selected {
  background: #0f766e;
  color: #fff;
  font-weight: 700;
}
.cat-datepicker__day--selected:hover {
  background: #115e59;
  color: #fff;
}
.cat-datepicker__grid tbody tr:nth-child(even) {
  background: #f8fafb;
}
.cat-datepicker__picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0.25rem 0;
}
.cat-datepicker__picker-cell {
  padding: 0.6rem 0.25rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.1s;
}
.cat-datepicker__picker-cell:hover {
  background: #f0fdfa;
  color: #0f766e;
}
.cat-datepicker__picker-cell--other {
  color: #d1d5db;
}
.cat-datepicker__picker-cell--today {
  font-weight: 700;
  color: #0f766e;
  box-shadow: inset 0 0 0 1.5px #0f766e;
}
.cat-datepicker__picker-cell--selected {
  background: #0f766e;
  color: #fff;
  font-weight: 700;
}
.cat-datepicker__picker-cell--selected:hover {
  background: #115e59;
  color: #fff;
}
.cat-datepicker__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e2e8f0;
}
.cat-datepicker__footer-btn {
  padding: 0.3rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s;
}
.cat-datepicker__footer-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.cat-datepicker__footer-btn--today {
  color: #0f766e;
  font-weight: 600;
}
.cat-datepicker__footer-btn--today:hover {
  background: #f0fdfa;
  color: #115e59;
}
.cat-react-field:has(.cat-react-toggle) {
  justify-content: center;
}
.cat-react-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cat-react-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cat-react-toggle__track {
  position: relative;
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.cat-react-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.cat-react-toggle__input:checked + .cat-react-toggle__track {
  background: #0f766e;
}
.cat-react-toggle__input:checked + .cat-react-toggle__track .cat-react-toggle__thumb {
  transform: translateX(20px);
}
.cat-react-toggle__input:focus-visible + .cat-react-toggle__track {
  outline: 2px solid rgba(15, 118, 110, 0.25);
  outline-offset: 2px;
}
.cat-react-toggle__input:disabled + .cat-react-toggle__track {
  opacity: 0.5;
  cursor: not-allowed;
}
.cat-react-entity-search {
  display: grid;
  gap: 0.75rem;
}
.cat-react-unsupported {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 16px;
  background: #fff7ed;
  color: #9a3412;
}
.cat-react-inline-template {
  grid-column: 1 / -1;
}
.cat-react-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.cat-react-shell--sidebar .cat-react-actions {
  padding-bottom: 1rem;
}
.cat-react-button {
  border: 0;
  border-radius: 0.375rem;
  padding: 0.9rem 1.35rem;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cat-react-button:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.cat-react-button:active:not(:disabled) {
  filter: brightness(0.95);
  transform: translateY(0);
}
.cat-react-button:disabled {
  opacity: 0.55;
}
.cat-react-button--secondary {
  background: #e2e8f0;
  color: #0f172a;
}
.cat-react-button--danger {
  background: #dc2626;
}
.cat-react-sidebar-layer,
.cat-react-confirm-layer {
  position: fixed;
  inset: 0;
  z-index: 1050;
}
.cat-react-sidebar__backdrop,
.cat-react-confirm__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.36);
}
.cat-react-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: min(50vw, 880px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      circle at top right,
      rgba(16, 185, 129, 0.12),
      transparent 28%),
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef2ff 100%);
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
}
.cat-react-sidebar__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.2rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
}
.cat-react-sidebar__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}
.cat-react-sidebar__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #0f172a;
  word-break: break-word;
}
.cat-react-sidebar__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}
.cat-react-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cat-react-sidebar__toolbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.cat-react-sidebar__toolbar-button svg {
  width: 1.1rem;
  height: 1.1rem;
}
.cat-react-sidebar__toolbar-button:hover,
.cat-react-sidebar__toolbar-button:focus-visible {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.38);
}
.cat-react-sidebar__toolbar-button--ghost {
  border-color: rgba(15, 23, 42, 0.12);
}
.cat-react-sidebar__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1rem 1.2rem 1.2rem;
}
.cst-sidebar-parent-modal-open {
  overflow: hidden;
}
.cat-react-sidebar-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.cat-react-sidebar-fallback__frame {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 70vh;
  border: 0;
  border-radius: 18px;
  background: #fff;
}
.cat-react-global-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1100;
}
.cat-react-global-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.5);
}
.cat-react-global-modal__frame-shell {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.cat-react-global-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}
.cat-react-global-modal__close svg {
  width: 1.1rem;
  height: 1.1rem;
}
.cat-react-global-modal__mount {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
}
.cat-react-global-modal__mount > .cat-react-sidebar-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.cat-react-global-modal__mount .cat-react-sidebar-fallback__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  background: transparent;
}
.cat-react-confirm {
  position: relative;
  width: min(92vw, 28rem);
  margin: 18vh auto 0;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}
.cat-react-confirm__title {
  margin: 0 0 0.75rem;
  color: #0f172a;
}
.cat-react-confirm__body {
  margin: 0 0 1rem;
  color: #475569;
}
.cat-react-confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
.cst-admin-tools-react-loading {
  padding: 2rem;
}
@media (max-width: 767px) {
  .cat-react-shell {
    margin: 1rem;
    padding: 1.25rem;
  }
  .cat-react-shell__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 991px) {
  .cat-react-sidebar {
    width: 100vw;
  }
  .cat-react-global-modal__frame-shell {
    inset: 0;
  }
}
.cat-file-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.cat-file-viewer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.65);
  cursor: pointer;
}
.cat-file-viewer__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(92vw, 1200px);
  height: min(88vh, 860px);
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.25), 0 4px 16px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.cat-file-viewer__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  flex-shrink: 0;
}
.cat-file-viewer__filename {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-file-viewer__header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.4rem;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.cat-file-viewer__header-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
  text-decoration: none;
}
.cat-file-viewer__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-file-viewer__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.cat-file-viewer__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.cat-file-viewer__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.875rem;
}
.cat-file-viewer__spinner-icon {
  animation: cat-file-viewer-spin 1.1s linear infinite;
  color: #94a3b8;
}
@keyframes cat-file-viewer-spin {
  to {
    transform: rotate(360deg);
  }
}
.cat-file-viewer__dl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  background: #fff;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.cat-file-viewer__dl-link:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  text-decoration: none;
}
.ras-wrap {
  position: relative;
  width: 100%;
}
.ras-value {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.45rem;
  padding: 0.58rem 2.4rem 0.58rem 0.85rem;
  background: #fff;
  border: 1px solid #ccd6e4;
  border-radius: 10px;
  color: var(--ensosp-ink, #1a2a3a);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(15, 34, 56, 0.03);
  font-size: inherit;
  line-height: 1.3;
  transition: border-color 0.15s, box-shadow 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ras-value__label {
  display: block;
  width: 100%;
  min-width: 0;
}
.ras-value--stacked {
  min-height: 3.25rem;
  white-space: normal;
  text-overflow: clip;
}
.ras-value::before {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  margin-top: -3px;
  border: 5px solid transparent;
  border-top-color: #6a7d92;
  border-bottom: none;
  pointer-events: none;
}
.ras-value:focus,
.ras-wrap--open .ras-value {
  outline: 0;
  border-color: rgba(235, 120, 21, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(235, 120, 21, 0.18);
}
.ras-value--placeholder {
  color: #6a7d92;
}
.ras-value--disabled,
.ras-value:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #f1f5f9;
}
.ras-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(15, 34, 56, 0.12);
  padding: 0.3rem;
  overflow: hidden;
}
.ras-search {
  padding: 0.25rem;
}
.ras-search__input {
  width: 100%;
  padding: 0.4rem 0.75rem;
  border: 1px solid #d4dce8;
  border-radius: 10px;
  color: var(--ensosp-ink, #1a2a3a);
  font-size: inherit;
  outline: none;
  box-sizing: border-box;
  background: #fff;
}
.ras-search__input:focus {
  border-color: rgba(235, 120, 21, 0.55);
  box-shadow: 0 0 0 0.15rem rgba(235, 120, 21, 0.18);
}
.ras-results {
  max-height: 220px;
  overflow-y: auto;
  margin-top: 0.2rem;
}
.ras-results--inline {
  max-height: min(52vh, 22rem);
  margin-top: 0;
  display: grid;
  gap: 0.55rem;
  padding: 0.1rem 0.2rem 0.1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ras-results--inline.ras-results--empty {
  padding: 0;
  border-color: transparent;
  background: transparent;
}
.ras-msg {
  padding: 0.55rem 0.75rem;
  color: #6a7d92;
  font-size: 0.82rem;
  font-style: italic;
}
.ras-msg--load-more {
  border-top: 1px solid #e8edf3;
  margin-top: 0.2rem;
}
.ras-load-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}
.ras-option {
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: var(--ensosp-ink, #1a2a3a);
  cursor: pointer;
  transition:
    background 0.1s,
    color 0.1s,
    border-color 0.1s,
    box-shadow 0.12s;
}
.ras-option-label {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.ras-option-label__main {
  display: block;
  color: inherit;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ras-option-label__meta {
  display: block;
  color: #7b8794;
  font-size: 0.84rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.ras-option--selected {
  background: #eef3f9;
}
.ras-results--inline .ras-option {
  padding: 0.8rem 0.95rem;
  border: 1px solid #d8e0eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.ras-results--inline .ras-option--selected {
  border-color: #c7d6ea;
  background: #f4f8fc;
}
.ras-option:hover,
.ras-option--selected:hover {
  background: #eef3f9;
  color: var(--ensosp-ink, #1a2a3a);
}
.ras-results--inline .ras-option:hover,
.ras-results--inline .ras-option--selected:hover {
  border-color: #c7d6ea;
  background: #f4f8fc;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.ras-wrap--multi {
  display: grid;
  gap: 0.9rem;
}
.ras-inline-picker {
  display: grid;
  gap: 0.75rem;
}
.ras-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.ras-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ras-step__label {
  font-weight: 600;
  color: #334155;
}
.ras-step__value {
  color: #0f172a;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ras-step--locked {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
}
.ras-step--locked .ras-step__num {
  background: #e2e8f0;
  color: #cbd5e1;
}
.ras-step--locked .ras-step__label {
  color: #94a3b8;
  font-weight: 500;
}
.ras-step--active {
  background: #eef4ff;
  border-color: #c7d7f5;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}
.ras-step--active .ras-step__num {
  background: #3b82f6;
  color: #fff;
}
.ras-step--active .ras-step__label {
  color: #1e3a8a;
}
.ras-step--picked {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  width: 100%;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.ras-step--picked:hover {
  background: #dcfce7;
}
.ras-step--picked .ras-step__num {
  background: #22c55e;
  color: #fff;
}
.ras-step--picked .ras-step__label {
  color: #166534;
}
.ras-step--picked .ras-step__clear {
  display: inline-flex;
  align-items: center;
  color: #166534;
  opacity: 0.7;
}
.ras-step--picked:hover .ras-step__clear {
  opacity: 1;
}
.ras-inline-picker--disabled .ras-search__input {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.ras-value--picked-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: #eef4ff;
  border: 1px solid #c7d7f5;
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
}
.ras-value--picked-inline:hover {
  background: #e2ecff;
}
.ras-value--picked-inline .ras-value__clear {
  display: inline-flex;
  align-items: center;
  color: #64748b;
}
.ras-selected {
  position: relative;
}
.ras-section-label {
  display: block;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ras-section-label--inline {
  margin: 0;
}
.ras-selected__toolbar {
  --ras-toolbar-height: 3.3rem;
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}
.ras-selected__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  min-height: var(--ras-toolbar-height);
  padding: 0.85rem 0.95rem;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  background: #f8fafc;
  color: #1a2a3a;
  text-align: left;
}
.ras-selected__summary {
  flex: 1;
  min-width: 0;
  color: #334155;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ras-selected__chevron {
  color: #64748b;
  transition: transform 0.15s ease;
}
.ras-selected__chevron.is-open {
  transform: rotate(180deg);
}
.ras-selected__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ras-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  height: var(--ras-toolbar-height);
  padding: 0;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  background: #fff;
  color: #475569;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.ras-icon-button svg {
  width: 1.05rem;
  height: 1.05rem;
}
.ras-icon-button:hover,
.ras-icon-button:focus-visible,
.ras-icon-button.is-active {
  border-color: rgba(235, 120, 21, 0.28);
  background: #fff7ed;
  color: #c2410c;
}
.ras-icon-button--primary {
  color: #0f172a;
}
.ras-selected__search {
  margin-top: 0.75rem;
}
.ras-selected__search-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  background: #fff;
  color: var(--ensosp-ink, #1a2a3a);
}
.ras-selected__search-input:focus,
.ras-modal__search-input:focus {
  outline: 0;
  border-color: rgba(235, 120, 21, 0.45);
  box-shadow: 0 0 0 0.18rem rgba(235, 120, 21, 0.12);
}
.ras-selected__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.ras-selected__empty {
  margin-top: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px dashed #d8e0eb;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
}
.ras-card {
  position: relative;
  min-height: 100%;
  padding: 0.95rem 6.35rem 0.95rem 0.95rem;
  border: 1px solid #d8e0eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.ras-card__header {
  min-height: 100%;
}
.ras-card__title {
  color: #1a2a3a;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.ras-card__actions {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ras-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #d8e0eb;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}
.ras-card__action svg {
  width: 1rem;
  height: 1rem;
}
.ras-card__action:hover,
.ras-card__action:focus-visible {
  border-color: rgba(37, 99, 235, 0.28);
  background: #eff6ff;
  color: #1d4ed8;
  transform: translateY(-1px);
}
.ras-card__action:disabled {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}
.ras-card__action--danger:hover,
.ras-card__action--danger:focus-visible {
  border-color: rgba(239, 68, 68, 0.28);
  background: #fff5f5;
  color: #b91c1c;
}
.ras-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1100;
}
.ras-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.38);
}
.ras-modal {
  position: relative;
  width: min(92vw, 44rem);
  margin: 10vh auto 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}
.ras-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.ras-modal__header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}
.ras-modal__eyebrow {
  margin: 0 0 0.2rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ras-modal__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.15rem;
}
.ras-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #d8e0eb;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.ras-modal__close svg {
  width: 1.1rem;
  height: 1.1rem;
}
.ras-modal__close:hover,
.ras-modal__close:focus-visible {
  border-color: rgba(235, 120, 21, 0.28);
  color: #c2410c;
}
.ras-modal__body {
  padding: 1.1rem 1.25rem 1.25rem;
}
.ras-modal--detail {
  width: min(96vw, 78rem);
  max-height: 92vh;
  margin-top: 4vh;
  display: flex;
  flex-direction: column;
}
.ras-modal--side {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 56rem);
  max-height: none;
  height: 100%;
  margin: 0;
  border-radius: 16px 0 0 16px;
}
.ras-modal__body--detail {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 1.25rem 1.25rem;
}
.ras-modal__detail-shell {
  min-height: min(72vh, 54rem);
}
.ras-modal__search {
  margin-bottom: 0.9rem;
}
.ras-modal__search-input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  background: #fff;
  color: var(--ensosp-ink, #1a2a3a);
}
.ras-results--modal {
  max-height: min(56vh, 26rem);
  margin-top: 0;
}
@media (max-width: 1199px) {
  .ras-selected__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .ras-selected__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ras-selected__toolbar {
    flex-wrap: wrap;
  }
  .ras-selected__actions {
    width: 100%;
  }
  .ras-icon-button {
    flex: 1;
    height: var(--ras-toolbar-height);
  }
}
@media (max-width: 767px) {
  .ras-selected__grid {
    grid-template-columns: 1fr;
  }
  .ras-modal {
    width: min(94vw, 44rem);
    margin-top: 6vh;
  }
  .ras-modal__header {
    flex-direction: column;
  }
}
[data-cst-file-widget-root="1"][data-cst-file-widget-mounted="1"] [data-cst-file-widget-upload-container="1"] {
  display: none !important;
}
[data-cst-file-widget-mounted="1"] .cst-file-widget__native-controls {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}
[data-cst-file-widget-root="1"].card {
  border: 0;
  box-shadow: none;
  background: transparent;
}
[data-cst-file-widget-root="1"].card > .card-header {
  border: 0;
  background: transparent;
  padding-left: 0;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}
[data-cst-file-widget-root="1"][data-cst-file-widget-mounted="1"] [data-cst-file-widget-input="1"],
[data-cst-file-widget-root="1"][data-cst-file-widget-mounted="1"] [data-cst-file-widget-add="1"],
[data-cst-file-widget-root="1"][data-cst-file-widget-mounted="1"] [data-cst-file-widget-upload-info="1"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
[data-cst-file-widget-root="1"][data-cst-file-widget-mounted="1"] .cst-file-widget__item-wrapper {
  display: none !important;
}
.cat-file-widget {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cat-file-widget__upload,
.cat-file-widget__table-shell,
.cat-file-widget__editor-placeholder {
  background: transparent;
}
.cat-file-widget__upload {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0;
}
.cat-file-widget__upload-copy {
  display: none;
}
.cat-file-widget__eyebrow,
.cat-file-widget__table-eyebrow,
.cat-file-widget__editor-eyebrow {
  margin: 0 0 0.35rem;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cat-file-widget__title,
.cat-file-widget__table-title,
.cat-file-widget__editor-title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
}
.cat-file-widget__hint {
  margin: 0.55rem 0 0;
  color: #475569;
  line-height: 1.45;
}
.cat-file-widget__upload-info {
  margin-top: 0.75rem;
  color: #475569;
}
.cat-file-widget__upload-info > :last-child {
  margin-bottom: 0;
}
.cat-file-widget__upload-main {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.cat-file-widget__dropzone {
  display: grid;
  gap: 0.3rem;
  min-height: 4.5rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px dashed #bfd2e8;
  border-radius: 8px;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.cat-file-widget__dropzone:hover,
.cat-file-widget__dropzone:focus-visible {
  border-color: rgba(37, 99, 235, 0.45);
  background: #f0f4ff;
}
.cat-file-widget__dropzone.is-drag-over {
  border-color: #0f766e;
  background: #f0fdfa;
}
.cat-file-widget__dropzone.has-file {
  border-style: solid;
  border-color: rgba(37, 99, 235, 0.28);
  background: #eff6ff;
}
.cat-file-widget__dropzone-label {
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cat-file-widget__dropzone-file {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.cat-file-widget__dropzone-hint {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
}
.cat-file-widget__upload-actions {
  display: none;
}
.cat-file-widget__drop-error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.88rem;
}
.cat-file-widget.is-uploading .cat-file-widget__upload {
  opacity: 0.88;
}
@keyframes cat-file-widget-spin {
  to {
    transform: rotate(360deg);
  }
}
.cat-file-widget__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid #93c5fd;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: cat-file-widget-spin 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
.cat-file-widget__table-shell,
.cat-file-widget__editor-placeholder {
  padding: 0;
}
.cat-file-widget__table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.cat-file-widget__table-eyebrow {
  display: none;
}
.cat-file-widget__table-count {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
}
.cat-file-widget__table-frame {
  overflow: auto;
}
.cat-file-widget__table {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.cat-file-widget__table thead th {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cat-file-widget__table tbody td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid #edf2f7;
  color: #0f172a;
  vertical-align: top;
  background: #fff;
}
.cat-file-widget__table tbody tr {
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.cat-file-widget__table tbody tr:hover td {
  background: #f8fafc;
}
.cat-file-widget__table tbody tr.is-selected td {
  background: #f1f5f9;
}
.cat-file-widget__summary-cell {
  display: grid;
  gap: 0.2rem;
}
.cat-file-widget__summary-cell strong {
  color: #0f172a;
}
.cat-file-widget__summary-cell span {
  color: #64748b;
  font-size: 0.88rem;
}
.cat-file-widget__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.45rem;
}
.cat-file-widget__action-button {
  white-space: nowrap;
}
.cat-file-widget__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  text-decoration: none;
}
.cat-file-widget__icon-button:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}
.cat-file-widget__icon-button--danger:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}
.cat-file-widget .cat-react-button,
.cat-file-widget a.cat-react-button,
.cat-file-widget-modal .cat-react-button,
.cat-file-widget-modal a.cat-react-button {
  padding: 0.65rem 1rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  text-decoration: none;
  box-shadow: none;
}
.cat-file-widget .cat-react-button:hover,
.cat-file-widget .cat-react-button:focus-visible,
.cat-file-widget a.cat-react-button:hover,
.cat-file-widget a.cat-react-button:focus-visible,
.cat-file-widget-modal .cat-react-button:hover,
.cat-file-widget-modal .cat-react-button:focus-visible,
.cat-file-widget-modal a.cat-react-button:hover,
.cat-file-widget-modal a.cat-react-button:focus-visible {
  background: #f8fafc;
  color: #0f172a;
}
.cat-file-widget .cat-react-button--secondary,
.cat-file-widget-modal .cat-react-button--secondary {
  background: #f8fafc;
}
.cat-file-widget__empty-state {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 0.2rem 0.4rem;
  color: #64748b;
}
.cat-file-widget__empty-state strong {
  color: #0f172a;
}
.cat-file-widget__editor-placeholder {
  color: #475569;
  padding-top: 1rem;
}
.cat-file-widget-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.cat-file-widget-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.46);
}
.cat-file-widget-modal {
  position: relative;
  z-index: 1;
  width: min(72rem, 96vw);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.26);
  overflow: hidden;
}
.cat-file-widget-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}
.cat-file-widget-modal__subtitle {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
}
.cat-file-widget-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}
.cat-file-widget-modal__body {
  min-height: 0;
  overflow: auto;
  padding: 1rem 1.3rem 1.3rem;
}
.cat-file-widget-modal__body details {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.cat-file-widget-modal__body summary {
  display: none;
}
@media (max-width: 900px) {
  .cat-file-widget__upload-main {
    min-width: 0;
  }
  .cat-file-widget-modal__header {
    flex-direction: column;
  }
  .cat-file-widget-modal__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 680px) {
  .cat-file-widget__actions {
    justify-content: flex-start;
  }
  .cat-file-widget-modal-layer {
    padding: 0.75rem;
  }
  .cat-file-widget-modal {
    width: 100%;
    max-height: 94vh;
  }
}
/*# sourceMappingURL=react-crud-app.css.map */
