:root {
  --shell-topbar-height: 72px;
  --idml-radius-xs: 0.3rem;
  --idml-radius-sm: 0.45rem;
  --idml-radius-md: 0.65rem;
  --idml-radius-lg: 0.85rem;
}

body {
  background: var(--idml-shell-bg, #f6f8f9);
  color: var(--idml-text-color, #101111);
  font-family: var(--bs-font-sans-serif, "Poppins", sans-serif);
}

a {
  color: var(--idml-primary, #199b8b);
}

a:hover {
  color: var(--idml-primary-dark, #158477);
}

.shell-body {
  min-height: 100vh;
}

.shell-topbar {
  position: sticky;
  top: 0;
  z-index: 1025;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 17, 17, 0.08);
}

.shell-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0 1.5rem;
}

.shell-topbar__start,
.shell-topbar__end {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.shell-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-sm);
  background: #fff;
  color: var(--idml-primary, #199b8b);
  box-shadow: 0 8px 24px rgba(16, 17, 17, 0.06);
}

.shell-toggle:hover,
.shell-toggle:focus {
  color: var(--idml-primary-dark, #158477);
  border-color: rgba(25, 155, 139, 0.24);
}

.shell-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.shell-topbar__brand img {
  display: block;
  height: 40px;
  max-width: 220px;
  object-fit: contain;
}

.shell-topbar__eyebrow {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--idml-muted-color, #686c6c);
}

.shell-topbar__label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--idml-text-color, #101111);
}

.shell-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-sm);
  background: #fff;
  color: var(--idml-text-color, #101111);
  font-weight: 500;
}

.shell-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-sm);
  background: #fff;
  color: var(--idml-primary, #199b8b);
}

.shell-icon-btn:hover,
.shell-icon-btn:focus {
  color: var(--idml-primary-dark, #158477);
  border-color: rgba(25, 155, 139, 0.24);
}

.notification-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  display: none;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #b00020;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.notification-badge--visible {
  display: inline-flex;
}

.shell-user-btn:hover,
.shell-user-btn:focus {
  color: var(--idml-primary, #199b8b);
  border-color: rgba(25, 155, 139, 0.24);
}

.shell-user-btn .material-icons {
  font-size: 1.25rem;
  color: var(--idml-primary, #199b8b);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  width: 252px;
  height: 100vh;
  padding: 1rem 0.95rem 1.25rem;
  background:
    radial-gradient(circle at top left, rgba(25, 155, 139, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 100%);
  border-right: 1px solid rgba(16, 17, 17, 0.08);
  box-shadow: 20px 0 48px rgba(16, 17, 17, 0.05);
  transition: width 0.3s ease;
}

.sidebar--Collapse {
  width: 76px;
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar__collapse {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0.8rem;
}

.sidebar__collapse button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--idml-radius-sm);
  background: rgba(25, 155, 139, 0.12);
  color: var(--idml-primary, #199b8b);
}

.sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 1.15rem;
  padding: 0.75rem;
  border-radius: var(--idml-radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(16, 17, 17, 0.04);
}

.sidebar__brand img {
  display: block;
  width: 100%;
  max-width: 160px;
  max-height: 52px;
  object-fit: contain;
}

.sidebar__nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 50px;
  padding: 0.8rem 0.9rem;
  border-radius: var(--idml-radius-sm);
  color: var(--idml-text-color, #101111);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar__link [class^="icon-"],
.sidebar__link .material-icons {
  flex: 0 0 24px;
  font-size: 1.2rem;
  color: var(--idml-primary, #199b8b);
}

.sidebar__link:hover,
.sidebar__link:focus,
.sidebar__link.active {
  color: var(--idml-primary-dark, #158477);
  background: rgba(25, 155, 139, 0.12);
  transform: translateX(2px);
}

.sidebar__link.active {
  box-shadow: inset 3px 0 0 var(--idml-primary, #199b8b);
}

.sidebar__footer {
  margin-top: auto;
  padding-top: 1rem;
}

.sidebar--Collapse .sidebar__label,
.sidebar--Collapse .sidebar__footer-text,
.sidebar--Collapse .sidebar__brand-copy {
  display: none;
}

.sidebar--Collapse .sidebar__brand {
  padding: 0.6rem;
}

.sidebar--Collapse .sidebar__brand img {
  max-width: 42px;
}

.sidebar--Collapse .sidebar__link {
  justify-content: center;
  padding-inline: 0;
}

#content.main {
  margin-left: 252px;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

#content.main.main--slide {
  margin-left: 76px;
}

.page-shell {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.25rem 1.25rem 2rem;
}

.page-breadcrumbs {
  position: sticky;
  top: calc(var(--shell-topbar-height) + 0.75rem);
  z-index: 1015;
  margin: 0 0 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(16, 17, 17, 0.05);
}

.page-breadcrumbs .breadcrumb {
  margin-bottom: 0;
}

.page-toolbar {
  position: relative;
  top: auto;
  z-index: 1;
  margin-bottom: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 250, 0.98) 100%);
  box-shadow: 0 18px 44px rgba(16, 17, 17, 0.06);
}

.page-toolbar__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.page-toolbar__header--products {
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.page-toolbar__title-wrap {
  flex: 0 0 auto;
}

.page-toolbar__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--idml-text-color, #101111);
}

.page-toolbar__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: var(--idml-muted-color, #686c6c);
}

.page-toolbar__actions,
.page-toolbar__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.page-toolbar__search--inline {
  flex: 1 1 20rem;
  min-width: 16rem;
}

.page-toolbar__search--inline form,
.page-toolbar__search--inline .input-group {
  width: 100%;
}

.page-toolbar__actions {
  flex: 1 1 24rem;
  justify-content: flex-end;
}

.editor-display-toggle {
  min-height: 2rem;
}

.editor-display-toggle .material-icons {
  color: inherit;
}

.page-toolbar__meta {
  display: grid;
  gap: 0.75rem;
}

.page-toolbar__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
}

.page-toolbar__summary .material-icons {
  font-size: 1.1rem;
}

.page-toolbar__search .form-control,
.page-toolbar__search .input-group-text {
  border-color: rgba(16, 17, 17, 0.1);
  background: #fff;
}

.page-toolbar .dropdown-menu {
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  box-shadow: 0 20px 48px rgba(16, 17, 17, 0.12);
  padding: 0.5rem;
}

.page-toolbar .dropdown-item {
  border-radius: var(--idml-radius-sm);
  padding: 0.6rem 0.8rem;
}

.page-toolbar--editor {
  padding-bottom: 1.15rem;
}

.editor-toolbar {
  border-top: 1px solid rgba(16, 17, 17, 0.08);
  padding-top: 1rem;
}

.editor-toolbar__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.editor-toolbar__panel {
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  background: #fff;
  overflow: hidden;
}

.editor-toolbar__panel-title {
  padding: 0.75rem 1rem;
  background: rgba(25, 155, 139, 0.08);
  color: var(--idml-primary-dark, #158477);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editor-toolbar__panel-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem;
}

.editor-toolbar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.editor-toolbar__group--actions {
  justify-content: flex-end;
}

.editor-toolbar__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--idml-text-color, #101111);
}

.editor-toolbar__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.6rem;
}

.editor-toolbar__icon-btn .material-icons {
  font-size: 1.15rem;
}

.content-card,
.table-card {
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  background: #fff;
  box-shadow: 0 22px 54px rgba(16, 17, 17, 0.05);
}

.content-card {
  padding: 1rem 1.15rem;
}

.table-card {
  overflow: visible;
}

.table-card .table-responsive {
  margin: 0;
}

.table-editorial {
  margin-bottom: 0;
  vertical-align: middle;
}

.table-editorial thead th {
  padding: 1rem 0.9rem;
  border-bottom: 1px solid rgba(16, 17, 17, 0.08);
  background: rgba(25, 155, 139, 0.08);
  color: var(--idml-primary-dark, #158477);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-editorial thead th a {
  color: inherit;
  text-decoration: none;
}

.table-editorial tbody td {
  padding: 0.95rem 0.9rem;
  border-color: rgba(16, 17, 17, 0.08);
  vertical-align: middle;
}

.table-editorial tbody tr {
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.table-editorial tbody tr.table-row-actions {
  cursor: default;
}

.table-editorial tbody tr:hover {
  background: rgba(25, 155, 139, 0.05);
}

.table-editorial tbody tr:focus-visible {
  outline: 2px solid rgba(25, 155, 139, 0.32);
  outline-offset: -2px;
}

.table-editorial tbody tr.table-selected,
.table-editorial tbody tr.activated,
.table-editorial tbody tr[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(25, 155, 139, 0.16) 0%, rgba(25, 155, 139, 0.08) 100%);
  box-shadow: inset 4px 0 0 var(--idml-primary, #199b8b);
}

.table-editorial .objid,
.table-editorial th[style*="display:none"],
.table-editorial td[style*="display:none"] {
  display: none;
}

.table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: var(--idml-radius-sm);
}

.table-action-btn .material-icons {
  font-size: 1.15rem;
}

.table-row-action-group {
  align-items: center;
}

.table-row-action-group > .btn {
  min-height: 2.4rem;
}

.table-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.page-toolbar__product-add-btn {
  min-height: 2.4rem;
}

.table-primary-action .material-icons,
.table-row-action-group .dropdown-item .material-icons {
  font-size: 1.05rem;
}

.table-row-action-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
}

.table-row-action-group .dropdown-menu {
  min-width: 12rem;
}

.table-row-action-group .dropdown-item.text-danger .material-icons {
  color: currentColor;
}

.edition-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 8.5rem;
  max-width: 100%;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: 8px;
  background: rgba(16, 17, 17, 0.035);
  color: var(--idml-text-color, #101111);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.edition-status .material-icons {
  flex: 0 0 auto;
  font-size: 1rem;
}

.edition-status--edition {
  border-color: rgba(25, 155, 139, 0.2);
  background: rgba(25, 155, 139, 0.08);
  color: #136f64;
}

.edition-status--generated {
  border-color: rgba(31, 105, 180, 0.2);
  background: rgba(31, 105, 180, 0.08);
  color: #174f87;
}

.edition-status--error {
  border-color: rgba(176, 0, 32, 0.2);
  background: rgba(176, 0, 32, 0.08);
  color: #9a001c;
}

.edition-status--stopped {
  border-color: rgba(92, 102, 112, 0.24);
  background: rgba(92, 102, 112, 0.09);
  color: #4f5963;
}

.edition-status--importing {
  border-color: rgba(243, 148, 11, 0.24);
  background: rgba(243, 148, 11, 0.09);
  color: #8d5300;
}

.translation-progress {
  width: min(11rem, 100%);
  min-width: 8.5rem;
}

.translation-progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  color: var(--idml-muted-color, #686c6c);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.translation-progress__status {
  color: var(--idml-primary-dark, #158477);
}

.translation-progress__percent {
  color: var(--idml-text-color, #101111);
  font-variant-numeric: tabular-nums;
}

.translation-progress__track {
  position: relative;
  width: 100%;
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 17, 17, 0.08);
}

.translation-progress__bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--idml-primary, #199b8b), var(--idml-secondary, #f3940b));
  transition: width 0.25s ease;
}

.translation-progress__count {
  display: block;
  margin-top: 0.2rem;
  color: var(--idml-muted-color, #686c6c);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.translation-progress--complete .translation-progress__bar {
  background: var(--idml-primary, #199b8b);
}

.table-editorial .translation-textarea {
  min-height: 120px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(16, 17, 17, 0.12);
  border-radius: var(--idml-radius-sm);
  background: #fff;
  resize: vertical;
}

.table-editorial .translation-textarea:disabled {
  background: rgba(16, 17, 17, 0.04);
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid rgba(16, 17, 17, 0.08);
  background: rgba(246, 248, 249, 0.7);
}

.table-pagination__summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--idml-muted-color, #686c6c);
  font-size: 0.92rem;
}

.table-pagination__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.page-jump-input {
  width: 3.6rem;
  text-align: center;
}

.info-message,
.info-summary {
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  box-shadow: 0 14px 30px rgba(16, 17, 17, 0.04);
}

.btn,
.page-toolbar__actions .btn,
.table-pagination__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1.1;
  border-radius: var(--idml-radius-sm);
}

.btn .material-icons,
.btn [class^="icon-"] {
  font-size: 1rem;
  line-height: 1;
}

.btn .text {
  display: inline-flex;
  align-items: center;
}

.btn-primary {
  background-color: var(--idml-primary, #199b8b);
  border-color: var(--idml-primary, #199b8b);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--idml-primary-dark, #158477);
  border-color: var(--idml-primary-dark, #158477);
}

.btn-outline-primary {
  color: var(--idml-primary, #199b8b);
  border-color: rgba(25, 155, 139, 0.36);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: rgba(25, 155, 139, 0.08);
  border-color: var(--idml-primary, #199b8b);
  color: var(--idml-primary-dark, #158477);
}

.text-primary {
  color: var(--idml-primary, #199b8b) !important;
}

.modal-form-field {
  margin-bottom: 1rem;
}

.modal-form-field .form-label {
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--idml-text-color, #101111);
}

.modal-form-select {
  min-height: 2.8rem;
  border-color: rgba(16, 17, 17, 0.12);
  border-radius: var(--idml-radius-sm);
}

.modal-form-select:focus {
  border-color: rgba(25, 155, 139, 0.4);
  box-shadow: 0 0 0 0.16rem rgba(25, 155, 139, 0.14);
}

.modal-form-field .form-control {
  min-height: 2.8rem;
  border-color: rgba(16, 17, 17, 0.12);
  border-radius: var(--idml-radius-sm);
}

.modal-form-field .form-control:focus {
  border-color: rgba(25, 155, 139, 0.4);
  box-shadow: 0 0 0 0.16rem rgba(25, 155, 139, 0.14);
}

.language-autocomplete-input--selected {
  display: none;
}

.language-selection-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.8rem;
  width: 100%;
  padding: 0.35rem 0.45rem 0.35rem 0.85rem;
  border: 1px solid rgba(16, 17, 17, 0.12);
  border-radius: var(--idml-radius-sm);
  background: #fff;
  color: var(--idml-text-color, #101111);
}

.language-selection-chip[hidden] {
  display: none !important;
}

.language-selection-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.language-selection-chip__clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: var(--idml-radius-xs);
  background: rgba(25, 155, 139, 0.12);
  color: var(--idml-primary-dark, #158477);
}

.language-selection-chip__clear:hover,
.language-selection-chip__clear:focus {
  background: rgba(25, 155, 139, 0.18);
  color: var(--idml-primary-dark, #158477);
  outline: 0;
}

.language-selection-chip__clear:focus-visible {
  box-shadow: 0 0 0 0.16rem rgba(25, 155, 139, 0.2);
}

.language-selection-chip__clear .material-icons {
  font-size: 1.1rem;
  line-height: 1;
}

.ui-autocomplete.language-autocomplete-menu {
  position: absolute;
  z-index: 2000;
  box-sizing: border-box;
  max-height: 16rem;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0.2rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  background-color: #fff;
  border: 1px solid rgba(16, 17, 17, 0.12);
  border-radius: var(--idml-radius-sm);
  box-shadow: 0 0.9rem 1.8rem rgba(16, 17, 17, 0.12);
}

.ui-autocomplete.language-autocomplete-menu .ui-menu-item-wrapper {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--idml-text-color, #101111);
  cursor: pointer;
}

.ui-autocomplete.language-autocomplete-menu .ui-state-active,
.ui-autocomplete.language-autocomplete-menu .ui-menu-item-wrapper.ui-state-active {
  margin: 0;
  border: 0;
  background: var(--idml-primary-50, #e4f3f1);
  color: var(--idml-primary-dark, #158477);
}

.notification-menu {
  width: min(24rem, calc(100vw - 2rem));
  padding: 0;
  overflow: hidden;
}

.notification-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(16, 17, 17, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--idml-primary-dark, #158477);
}

.notification-menu__header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.notification-menu__header-link {
  padding: 0;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

.notification-menu__list {
  max-height: 24rem;
  overflow-y: auto;
}

.notification-menu__empty {
  padding: 1rem;
  color: var(--idml-muted-color, #686c6c);
  font-size: 0.92rem;
}

.notification-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  white-space: normal;
}

.notification-item--unread {
  background: rgba(25, 155, 139, 0.08);
}

.notification-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
}

.notification-item__content:hover {
  color: inherit;
}

.notification-item__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--idml-text-color, #101111);
}

.notification-item__message,
.notification-item__meta {
  font-size: 0.84rem;
  color: var(--idml-muted-color, #686c6c);
}

.notification-item__actions {
  display: flex;
  justify-content: flex-end;
}

.notification-item__action {
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.notification-row--unread td {
  background: rgba(25, 155, 139, 0.08);
}

.notification-table__title {
  font-weight: 600;
  color: var(--idml-text-color, #101111);
}

.notification-table__message {
  margin-top: 0.15rem;
  color: var(--idml-muted-color, #686c6c);
  font-size: 0.9rem;
  white-space: normal;
}

.notification-table__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.notification-level,
.notification-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.notification-level--info {
  background: rgba(28, 136, 211, 0.12);
  color: #16679f;
}

.notification-level--success {
  background: rgba(25, 155, 139, 0.12);
  color: #116b61;
}

.notification-level--error {
  background: rgba(176, 0, 32, 0.1);
  color: #b00020;
}

.notification-status--read {
  background: rgba(16, 17, 17, 0.06);
  color: var(--idml-muted-color, #686c6c);
}

.notification-status--unread {
  background: rgba(25, 155, 139, 0.12);
  color: #116b61;
}

.notification-page__empty {
  padding: 1.25rem;
  color: var(--idml-muted-color, #686c6c);
  font-size: 0.95rem;
}

.profile-messages {
  margin-bottom: 1rem;
}

.profile-preferences-form {
  display: grid;
  gap: 1rem;
}

.profile-language-panel__content,
.profile-preferences-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.profile-language-panel__control {
  min-width: 14rem;
}

.profile-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--idml-text-color, #101111);
}

.profile-section-subtitle {
  margin: 0.25rem 0 0;
  color: var(--idml-muted-color, #686c6c);
  font-size: 0.9rem;
}

.profile-preferences-table {
  margin-bottom: 0;
}

.profile-preferences-table__title {
  font-weight: 600;
  color: var(--idml-text-color, #101111);
}

.profile-preferences-table .form-select {
  min-width: 12rem;
}

.profile-preferences-actions {
  display: flex;
  justify-content: flex-end;
}

.notification-toast {
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  box-shadow: 0 24px 48px rgba(16, 17, 17, 0.14);
}

.notification-toast .toast-header {
  gap: 0.25rem;
  border-bottom: 1px solid rgba(16, 17, 17, 0.06);
}

.notification-toast--error .toast-header {
  color: #b00020;
}

.notification-toast__link {
  font-weight: 600;
}

.modal-content {
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: var(--idml-radius-md);
  box-shadow: 0 28px 64px rgba(16, 17, 17, 0.18);
}

.modal-header,
.modal-footer {
  border: 0;
}

.modal-title {
  font-weight: 600;
  color: var(--idml-text-color, #101111);
}

.idml-modal-warning {
  color: #b00020;
  background: rgba(176, 0, 32, 0.08);
  border-radius: var(--idml-radius-sm);
  padding: 0.8rem 0.9rem;
}

.mdc-dialog__surface {
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: 1.2rem !important;
  box-shadow: 0 28px 64px rgba(16, 17, 17, 0.18) !important;
}

.mdc-dialog__content {
  padding: 1.25rem 1.5rem !important;
}

.mdc-dialog__title {
  padding: 1.25rem 1.5rem 0 !important;
  font-weight: 600 !important;
}

.mdc-dialog__actions {
  padding: 0 1.5rem 1.25rem !important;
}

.idml-shell-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
}

.legacy-editor-toolbar .mdc-top-app-bar {
  position: static !important;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(16, 17, 17, 0.05);
}

.legacy-editor-toolbar .mdc-top-app-bar__row {
  background: #fff;
}

.legacy-editor-toolbar .mdc-top-app-bar__row.bg-primary200 {
  background: rgba(25, 155, 139, 0.1) !important;
}

.legacy-editor-toolbar .mdc-top-app-bar__title a {
  color: inherit;
  text-decoration: none;
}

.login-shell {
  min-height: 100vh;
  display: flex;
  background:
    radial-gradient(circle at top left, rgba(25, 155, 139, 0.18), transparent 32%),
    linear-gradient(180deg, #f6f8f9 0%, #edf2f2 100%);
}

.login-shell__panel {
  width: min(480px, calc(100vw - 2rem));
  margin: auto;
  padding: 2rem;
  border: 1px solid rgba(16, 17, 17, 0.08);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 72px rgba(16, 17, 17, 0.12);
}

.login-shell__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.login-shell__brand img {
  max-width: 220px;
  max-height: 72px;
  object-fit: contain;
}

.login-shell__title {
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 1.55rem;
  font-weight: 600;
}

.login-shell__subtitle {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--idml-muted-color, #686c6c);
}

.login-shell .mdc-text-field {
  width: 100%;
}

.login-shell .login-password {
  position: relative;
}

.login-shell .login-password-toggle {
  background: transparent;
  border: 0;
}

@media (max-width: 991.98px) {
  .sidebar {
    width: 76px;
  }

  #content.main {
    margin-left: 76px;
  }

  .sidebar .sidebar__label,
  .sidebar .sidebar__footer-text,
  .sidebar .sidebar__brand-copy {
    display: none;
  }

  .sidebar .sidebar__brand img {
    max-width: 42px;
  }

  .sidebar .sidebar__link {
    justify-content: center;
    padding-inline: 0;
  }
}

@media (max-width: 767.98px) {
  .shell-topbar__label,
  .shell-user-btn span.text {
    display: none;
  }

  .page-shell {
    padding: 1rem;
  }

  .page-breadcrumbs {
    top: 88px;
  }

  .page-toolbar__header,
  .profile-language-panel__content,
  .profile-preferences-header,
  .table-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .editor-toolbar__grid {
    grid-template-columns: 1fr;
  }

  .editor-toolbar__panel-body {
    align-items: stretch;
  }

  .table-pagination__actions {
    justify-content: space-between;
  }
}
