/* Responsive layout for phones and tablets */
.mobile-menu-btn {
  display: none;
}

.notification-trigger {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 2px 4px;
  border-radius: 10px;
  background: var(--coral);
  color: #fff;
  font-size: 9px;
  line-height: 12px;
  text-align: center;
}

.notification-panel {
  position: absolute;
  z-index: 25;
  top: 58px;
  right: 82px;
  width: min(320px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(24,44,59,.14);
}

.notification-panel > strong {
  display: block;
  margin-bottom: 8px;
  font: 800 13px Manrope, sans-serif;
}

.notification-item {
  display: block;
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.notification-item b,
.notification-item small,
.notification-item em {
  display: block;
}

.notification-item b { font-size: 11px; }
.notification-item small,
.notification-item em,
.notification-empty { margin-top: 3px; color: var(--muted); font-size: 10px; font-style: normal; }

.pdf-outline {
  position: absolute;
  z-index: 2;
  top: 70px;
  bottom: 38px;
  left: 0;
  width: 280px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #fbfcfb;
  padding: 18px 10px;
}

.pdf-outline:not(.is-open) {
  display: none;
}

.pdf-outline-toggle {
  padding: 7px 9px;
  border-radius: 5px;
  background: #e7f1ed;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.viewer-modal header > div:first-child {
  min-width: 0;
  flex: 1;
}

.viewer-modal header > div:first-child strong,
.viewer-modal header > div:first-child small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.viewer-modal header > div:first-child strong {
  margin: 5px 0 3px;
  line-height: 1.25;
}

.viewer-actions {
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pdf-search {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.pdf-search input {
  width: 190px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  outline: 0;
  font-size: 11px;
}

.pdf-search input:focus {
  border-color: var(--green);
}

.pdf-search button {
  background: #eef4f1;
  color: var(--green);
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 700;
}

.pdf-search small {
  position: absolute;
  top: calc(100% + 3px);
  right: 0;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .pdf-search-results {
    top: 112px;
    width: 220px;
  }

  .pdf-search {
    order: -1;
    width: 100%;
  }

  .pdf-search input {
    flex: 1;
    width: auto;
  }
}

.viewer-modal {
  position: relative;
}

.pdf-search-results {
  position: absolute;
  z-index: 4;
  top: 70px;
  bottom: 38px;
  left: 0;
  width: 280px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #fbfcfb;
  padding: 18px 10px;
}

.pdf-search-results > strong,
.pdf-search-results > small,
.pdf-search-result b,
.pdf-search-result span {
  display: block;
}

.pdf-search-results > strong {
  font: 800 12px Manrope, sans-serif;
}

.pdf-search-results > small {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 10px;
}

.pdf-search-result {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.pdf-search-result:hover,
.pdf-search-result.active {
  background: #e7f3ee;
}

.pdf-search-result b {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 10px;
}

.pdf-search-result span {
  color: var(--ink);
  font-size: 10px;
  line-height: 1.45;
}

.pdf-search-result mark {
  background: #f4d75e;
  color: inherit;
}

.viewer-stage.pdf-stage {
  margin-left: 280px;
  background: #292929;
}

.viewer-stage.pdf-stage.outline-hidden {
  margin-left: 0;
}

.pdf-outline > strong {
  display: block;
  padding: 0 10px 14px;
  color: var(--ink);
  font: 800 14px Manrope, sans-serif;
}

.pdf-outline > p {
  padding: 0 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.pdf-outline-item {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 9px 10px 9px calc(10px + (var(--outline-depth) * 14px));
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-outline-item:hover {
  background: #e7f1ed;
  color: var(--green);
}

.pdf-page-control {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.pdf-page-control input {
  width: 48px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: center;
}

.auth-form input::placeholder {
  color: #a3adae;
  font-weight: 400;
  opacity: .85;
}

.auth-form input {
  font-weight: 500;
}

.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: 14px;
  line-height: 1.2;
}

.sidebar .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.sidebar .nav-item b {
  float: none;
  margin-left: auto;
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 36px 42px;
  transform: translateX(0);
  transition: transform .9s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.hero-banner {
  height: 250px;
  min-height: 250px;
  transition: background-color .9s cubic-bezier(.22,.61,.36,1);
}

.hero-slide-content.hero-slide-next {
  transform: translateX(100%);
}

.hero-slide-content.hero-slide-next.hero-slide-current {
  transform: translateX(0);
}

.hero-slide-content.hero-slide-exit {
  transform: translateX(-100%);
}

.hero-slide-copy {
  position: relative;
  z-index: 1;
}

.hero-controls {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-controls > button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.hero-controls > div {
  display: flex;
  gap: 5px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.hero-settings-panel {
  margin-top: 18px;
}

.category-settings-panel {
  margin-top: 18px;
}

.category-add-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.category-add-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  outline: 0;
}

.cat-lilac {
  background: #ddd8e9;
}

.cat-coral {
  background: #f0d7d1;
}

.cat-mint {
  background: #cfe5dd;
}

.cat-yellow {
  background: #eee5c5;
}

.cat-blue {
  background: #d1e1e9;
}

.cat-pink {
  background: #eed5dc;
}

.category-settings-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.category-setting-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-setting-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 10px;
  background: #f8faf9;
  color: var(--ink);
}

.category-setting-row button {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 11px;
}

.category-delete-btn {
  background: #f8e8e4;
  color: #ba654e;
}

@media (max-width: 700px) {
  .category-add-form {
    display: block;
  }

  .category-add-form button {
    width: 100%;
    margin-top: 10px;
  }

  .category-setting-row {
    flex-wrap: wrap;
  }

  .category-setting-row input {
    flex-basis: 100%;
  }
}

.hero-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-settings-grid fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.hero-settings-grid legend {
  color: var(--green);
  font: 800 11px Manrope, sans-serif;
}

.hero-settings-grid label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.hero-settings-grid input,
.hero-settings-grid select {
  width: 100%;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 9px;
  outline: 0;
}

.hero-settings-grid input[type="color"] {
  height: 36px;
  padding: 3px;
  cursor: pointer;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-brand .brand-mark {
  flex: 0 0 auto;
}

.auth-brand b,
.auth-brand small {
  display: block;
}

.auth-brand b {
  color: var(--ink);
  font: 800 17px Manrope, sans-serif;
  letter-spacing: .8px;
}

.auth-brand small {
  margin-top: 4px;
  color: #59706a;
  font-size: 11px;
  font-weight: 600;
}

.auth-art h1 .compassion-word {
  color: var(--coral);
}

@media (max-width: 950px) {
  .sidebar {
    width: 220px;
    padding: 24px 16px;
  }

  .page-wrap {
    padding: 28px 24px 76px;
  }

  .category-grid,
  .guide-layout,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-grid.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-columns {
    grid-template-columns: 1fr;
  }

  .hero-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .auth-shell {
    display: block;
    min-height: 100svh;
  }

  .auth-art {
    display: none;
  }

  .auth-panel {
    min-height: 100svh;
    padding: 32px 20px 72px;
    justify-content: flex-start;
  }

  .auth-tabs {
    margin-top: 34px;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    width: min(82vw, 290px);
    height: 100%;
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 12px 0 30px rgba(24,44,59,.12);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar .side-brand,
  .sidebar .role-pill {
    display: flex;
  }

  .sidebar nav {
    display: block;
    width: 100%;
    overflow: visible;
  }

  .sidebar .nav-item {
    width: 100%;
    min-height: 42px;
    white-space: nowrap;
    padding: 10px 12px;
  }

  .sidebar .nav-label,
  .sidebar .side-footer {
    display: block;
  }

  .main-content {
    width: 100%;
  }

  .topbar {
    display: grid;
    grid-template-columns: 34px auto 1fr;
    grid-template-rows: 34px 42px;
    min-height: 0;
    padding: 12px 16px;
    gap: 8px;
  }

  .mobile-brand {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    gap: 8px;
    font: 800 13px Manrope, sans-serif;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    position: relative;
    z-index: 21;
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef4f1;
    color: var(--green);
    font-size: 18px;
  }

  .mobile-brand .brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 15px;
  }

  .global-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  .global-search input {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .global-search kbd,
  .top-actions .icon-btn,
  .profile-btn > span:not(.avatar) {
    display: none;
  }

  .top-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 8px;
  }

  .profile-btn {
    padding: 0;
  }

  .page-wrap {
    padding: 24px 16px 76px;
  }

  h1 {
    font-size: 27px;
    letter-spacing: -.6px;
  }

  h2 {
    font-size: 19px;
  }

  .welcome-row,
  .page-title,
  .section-heading {
    display: block;
  }

  .welcome-row > button,
  .page-title > button {
    width: 100%;
    margin-top: 18px;
  }

  .hero-banner {
    padding: 24px 20px;
    height: 280px;
    min-height: 260px;
  }

  .hero-slide-content {
    padding: 24px 20px;
  }

  .hero-controls {
    right: 18px;
    bottom: 16px;
  }

  .hero-banner h2 {
    font-size: 25px;
  }

  .hero-illustration {
    display: none;
  }

  .category-grid,
  .guide-layout,
  .admin-stats,
  .resource-grid.large,
  .members-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 82px;
  }

  .filter-row,
  .member-toolbar {
    display: block;
  }

  .chips {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
  }

  .filter-row select,
  .member-toolbar select,
  .member-toolbar input {
    width: 100%;
    margin-top: 10px;
  }

  .resource-card {
    min-width: 0;
  }

  .viewer-modal {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .pdf-outline {
    display: none;
  }

  .viewer-stage.pdf-stage {
    margin-left: 0;
  }

  .viewer-modal header {
    padding: 14px 16px;
  }

  .viewer-actions {
    gap: 6px;
  }

  .viewer-stage {
    padding: 16px 10px;
  }

  .document-page {
    padding: 24px 18px;
    min-height: 460px;
  }

  .small-modal {
    width: calc(100% - 32px);
    max-height: calc(100svh - 32px);
    overflow-y: auto;
    padding: 24px 20px;
  }

  .admin-panel {
    overflow-x: auto;
  }
}

.viewer-modal:not(:has(.pdf-outline)) .viewer-stage.pdf-stage {
  margin-left: 0;
}

.resource-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.resource-cover {
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background-color: #eef2ef;
}

.resource-cover .file-badge,
.resource-cover .bookmark {
  z-index: 1;
}

.edit-cover-preview {
  display: block;
  width: 76px;
  height: 76px;
  margin-top: 8px;
  border-radius: 7px;
  object-fit: cover;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: #eef4f1;
  border-radius: 8px;
}

.view-toggle-btn {
  width: 32px;
  height: 30px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
}

.view-toggle-btn.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 2px 7px rgba(24, 44, 59, .1);
}

.resource-grid.is-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-grid.is-list .resource-list-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 104px;
}

.resource-list-item .resource-cover {
  aspect-ratio: auto;
  min-height: 104px;
  height: 100%;
}

.resource-list-item .resource-info {
  min-width: 0;
}

.resource-list-item > .bookmark {
  position: static;
  margin: 0 18px;
}

@media(max-width:700px) {
  .catalog-controls {
    justify-content: space-between;
    margin-top: 10px;
  }

  .resource-grid.is-list .resource-list-item {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }

  .resource-list-item .resource-cover {
    min-height: 92px;
  }

  .resource-list-item > .bookmark {
    margin: 0 10px;
  }
}

.resource-card {
  position: relative;
}

.resource-admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.resource-admin-actions button {
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, .94);
  color: var(--green);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(24, 44, 59, .12);
}

.resource-admin-actions .delete-resource {
  color: #b9584b;
}

.resource-admin-actions button:hover {
  transform: translateY(-1px);
}

.pdf-page-wrapper .textLayer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  line-height: 1;
  transform-origin: 0 0;
  user-select: text;
  -webkit-user-select: text;
}

.pdf-page-wrapper .textLayer span,
.pdf-page-wrapper .textLayer br {
  position: absolute;
  color: transparent;
  white-space: pre;
  cursor: text;
  transform-origin: 0 0;
}

.pdf-page-wrapper .textLayer ::selection {
  background: rgba(77, 145, 138, .35);
}

:root {
  --ink: #f1eee4;
  --muted: #a9bbb1;
  --paper: #10251f !important;
  --line: #29443a;
  --green: #9bc5b0;
  --cream: #e8dfcb;
  --coral: #c8795d;
  --shadow: 0 16px 50px rgba(0, 0, 0, .22);
  --resource-row: #1b342c;
  --member-card: #1b342c;
  --copyright-color: #8aa79a;
}

body {
  background: #10251f;
  color: var(--ink);
}

.auth-shell,
.auth-panel,
.sidebar,
.topbar,
.notification-panel,
.dropdown,
.guide-card,
.admin-panel,
.admin-stats > div,
.member-card,
.resource-card {
  background-color: #19342b;
  color: var(--ink);
}

.auth-art {
  background-color: #203d33;
  background-image: linear-gradient(rgba(126, 176, 151, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 176, 151, .08) 1px, transparent 1px);
}

.auth-art h1 em,
.hero-banner em {
  color: #a8cabb;
}

.auth-copy,
.auth-stat,
.auth-brand small {
  color: #b5c7bc;
}

.sidebar {
  border-color: #29443a;
}

.nav-item {
  color: #c0cec5;
}

.nav-item.active,
.nav-item:hover {
  background: #29463a;
  color: #f1eee4;
}

.nav-item b,
.help-card,
.global-search kbd,
.view-toggle,
.pdf-outline-toggle,
.member-actions button,
.resource-admin-row button {
  background: #29443a;
  color: #c4d7ca;
}

.topbar {
  border-color: #29443a;
  background: rgba(16, 37, 31, .92);
}

.global-search,
.global-search input,
.member-toolbar input,
.member-toolbar select,
.filter-row select,
.chip,
.category-setting-row input,
.hero-settings-grid input,
.hero-settings-grid select {
  background: #19342b;
  color: var(--ink);
}

.global-search,
.member-toolbar input,
.member-toolbar select,
.filter-row select,
.chip,
.category-setting-row input,
.hero-settings-grid fieldset,
.hero-settings-grid input,
.hero-settings-grid select {
  border-color: #355448;
}

.global-search input::placeholder,
.member-toolbar input::placeholder,
.category-setting-row input::placeholder {
  color: #91a69a;
}

.hero-banner {
  background: linear-gradient(112deg, #20534d 0%, #173f3b 58%, #142d29 100%);
  border: 1px solid rgba(164, 203, 185, .12);
}

.hero-tag {
  color: #a7cdbd;
}

.hero-banner p {
  color: #d0ddd5;
}

.light-btn {
  background: #f1ebdd;
  color: #18352d;
}

.category-card {
  color: #f5f0e5;
}

.cat-lilac { background: #4a536e; }
.cat-coral { background: #a95f49; }
.cat-mint { background: #638471; }
.cat-yellow { background: #9a792e; }
.cat-blue { background: #344957; }
.cat-pink { background: #805b61; }

.category-card small {
  color: rgba(255, 248, 232, .78);
}

.resource-card,
.guide-card,
.admin-panel,
.admin-stats > div,
.member-card {
  border-color: #29443a;
}

.resource-info,
.viewer-modal header,
.viewer-modal footer {
  background: #19342b;
  color: var(--ink);
}

.resource-meta,
.member-actions,
.pending-item,
.activity-list p,
.resource-admin-row {
  border-color: #29443a;
}

.cover-green { background: #335849; }
.cover-coral { background: #704539; }
.cover-blue { background: #344957; }
.cover-lilac { background: #48465d; }
.cover-yellow { background: #73602e; }
.cover-pink { background: #684950; }

.file-badge,
.bookmark {
  background: rgba(16, 37, 31, .88);
  color: #d5e5d9;
}

.chip.active,
.chip:hover,
.primary-btn,
.secondary-btn {
  background: #a9654f;
  color: #fff6e9;
}

.primary-btn:hover {
  background: #bd765d;
}

.text-btn,
.eyebrow,
.positive,
.member-actions button,
.resource-admin-row button {
  color: #a8cabb;
}

.auth-form input,
.small-modal input,
.small-modal select,
.category-add-form input {
  background: #142b24;
  border-color: #355448;
  color: var(--ink);
}

.small-modal,
.viewer-modal {
  background: #19342b;
  color: var(--ink);
}

.pdf-outline {
  border-color: #355448;
  background: #142b24;
  color: #e5eee8;
}

.pdf-outline > p {
  color: #a9bbb1;
}

.pdf-outline-item {
  color: #d5e5d9;
}

.pdf-outline-item:hover {
  background: #29463a;
  color: #fff;
}

.viewer-actions button {
  background: #29463a;
  color: #f1eee4;
}

.viewer-actions button:hover {
  background: #355448;
}

.viewer-actions button:focus-visible {
  outline: 2px solid #a8cabb;
  outline-offset: 2px;
}

.resource-admin-actions button:not(.delete-resource) {
  background: #29463a;
  color: #f1eee4;
}

.resource-admin-actions button:not(.delete-resource):hover {
  background: #355448;
}

.toast {
  background: #c8795d;
  color: #fff8ee;
}

.copyright-footer {
  text-shadow: 0 1px 4px #10251f;
}

@media (max-width: 700px) {
  .sidebar {
    box-shadow: 12px 0 30px rgba(0, 0, 0, .28);
  }
}

.dropzone b {
  color: #23463a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.dropzone small {
  color: #536c62;
  font-size: 12px;
  line-height: 1.5;
}

.cover-refresh-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
}

.cover-refresh-tools .secondary-btn {
  padding: 9px 12px;
  font-size: 11px;
}

.cover-refresh-tools span {
  color: var(--muted);
  font-size: 11px;
}

.cover-refresh-tools button:disabled {
  cursor: wait;
  opacity: .65;
}

.global-search .clear-search {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  background: #e8efeb;
  color: #40584e;
  font-size: 18px;
  line-height: 1;
}

.global-search .clear-search:hover {
  background: #d7e5dd;
}

body:has(.app-shell) .global-search .clear-search {
  background: #29443a;
  color: #e3eee7;
}

body:has(.app-shell) .global-search .clear-search:hover {
  background: #355448;
}
