:root {
  --app-font: "Trebuchet MS", "Segoe UI", Tahoma, Verdana, sans-serif;
  --app-bg-base: #ecf6ff;
  --app-text: #1b2d43;
  --app-muted: #5a7090;
  --app-surface-strong: #f9fdff;
  --app-surface: rgba(255, 255, 255, 0.72);
  --app-border: rgba(64, 124, 197, 0.34);
  --app-shadow: 0 14px 32px rgba(31, 71, 126, 0.2);
  --app-gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.2));
  --app-blue-1: #7bc4ff;
  --app-blue-2: #3d8ddd;
  --app-blue-3: #1f62b4;
  --aero-white: rgba(255, 255, 255, 0.88);
  --aero-line: rgba(255, 255, 255, 0.62);
  --aero-deep-shadow: 0 20px 36px rgba(24, 64, 118, 0.22);
  --aero-inset: inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(31, 95, 172, 0.16);
  --aero-orb-url: url("../img/frutiger/aero-orb.svg");
  --aero-gloss-url: url("../img/frutiger/aero-gloss.svg");
  --aero-noise-url: url("../img/frutiger/aero-noise.svg");
}

html[data-theme="dark"] {
  --app-bg-base: #1f232a;
  --app-text: #eaedf2;
  --app-muted: #b7bec8;
  --app-surface-strong: #323843;
  --app-surface: rgba(42, 48, 58, 0.78);
  --app-border: rgba(171, 182, 198, 0.38);
  --app-shadow: 0 18px 36px rgba(7, 9, 12, 0.58);
  --app-gloss: linear-gradient(180deg, rgba(219, 227, 239, 0.26), rgba(87, 95, 109, 0.08));
  --app-blue-1: #9ab3d2;
  --app-blue-2: #7d99bc;
  --app-blue-3: #627d9f;
  --aero-white: rgba(226, 230, 236, 0.38);
  --aero-line: rgba(209, 217, 229, 0.3);
  --aero-deep-shadow: 0 24px 40px rgba(7, 9, 12, 0.62);
  --aero-inset: inset 0 1px 0 rgba(225, 231, 240, 0.18), inset 0 -1px 0 rgba(24, 28, 35, 0.44);
}

* {
  font-family: var(--app-font);
}

html,
body {
  min-height: 100%;
  overflow-x: clip;
}

body {
  color: var(--app-text);
  background:
    var(--aero-orb-url) right -120px top -110px / 380px 380px no-repeat,
    var(--aero-orb-url) left -100px bottom -80px / 320px 320px no-repeat,
    radial-gradient(1000px 420px at 12% -8%, rgba(143, 220, 255, 0.65), transparent 66%),
    radial-gradient(900px 360px at 92% -12%, rgba(163, 242, 224, 0.52), transparent 64%),
    linear-gradient(180deg, #f7fcff 0%, #e9f5ff 48%, #e0f0ff 100%);
  position: relative;
}

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.8rem;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(48, 117, 197, 0.52);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(221, 240, 255, 0.95));
  color: #12365b;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(33, 82, 141, 0.22);
  transition: transform 120ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(980px 420px at 12% -8%, rgba(106, 122, 146, 0.28), transparent 66%),
    radial-gradient(860px 360px at 92% -12%, rgba(112, 127, 145, 0.2), transparent 64%),
    linear-gradient(180deg, #23272e 0%, #282d35 52%, #30363f 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: 340px;
  height: 340px;
  right: -80px;
  top: 18%;
  background: radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.65), rgba(142, 220, 255, 0.16) 58%, transparent 78%);
}

body::after {
  width: 280px;
  height: 280px;
  left: -70px;
  bottom: 8%;
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.52), rgba(112, 177, 238, 0.14) 58%, transparent 78%);
}

html[data-theme="dark"] body::before {
  background: radial-gradient(circle at 32% 25%, rgba(205, 214, 224, 0.12), rgba(138, 150, 167, 0.06) 58%, transparent 78%);
}

html[data-theme="dark"] body::after {
  background: radial-gradient(circle at 28% 22%, rgba(196, 205, 220, 0.1), rgba(122, 133, 149, 0.06) 58%, transparent 78%);
}

.app-main {
  position: relative;
}

#main-content:focus {
  outline: none;
}

.app-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
  background:
    radial-gradient(520px 180px at 50% 0%, rgba(255, 255, 255, 0.36), transparent 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%);
  z-index: -1;
}

.app-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
  background: var(--aero-noise-url) center / 180px 180px repeat;
  opacity: 0.16;
  z-index: -1;
}

html[data-theme="dark"] .app-main::after {
  opacity: 0.03;
}

.app-topbar {
  background: linear-gradient(180deg, rgba(242, 251, 255, 0.92), rgba(220, 241, 255, 0.88));
  border-bottom: 1px solid rgba(80, 136, 206, 0.38);
  box-shadow: 0 8px 18px rgba(61, 108, 171, 0.18);
  backdrop-filter: blur(10px);
  position: relative;
}

html[data-theme="dark"] .app-topbar {
  background: linear-gradient(180deg, rgba(45, 52, 62, 0.92), rgba(39, 45, 54, 0.9));
  border-bottom: 1px solid rgba(184, 193, 205, 0.34);
  box-shadow: 0 10px 20px rgba(8, 10, 14, 0.46);
}

.app-topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

html[data-theme="dark"] .app-topbar::before {
  background: linear-gradient(180deg, rgba(229, 236, 245, 0.2), rgba(229, 236, 245, 0.02));
}

.app-topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--aero-gloss-url) center/cover no-repeat;
  opacity: 0.22;
}

.app-brand {
  color: var(--app-text);
  font-weight: 700;
  letter-spacing: 0.02em;
  min-width: 0;
}

.app-logo-ya {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1.05rem;
  color: #184670;
  border: 1px solid rgba(76, 136, 206, 0.46);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(206, 230, 255, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 6px rgba(31, 88, 149, 0.24);
}

html[data-theme="dark"] .app-logo-ya {
  color: #f2f6fc;
  border-color: rgba(181, 195, 214, 0.46);
  background: linear-gradient(180deg, rgba(116, 129, 147, 0.58), rgba(75, 87, 104, 0.66));
  box-shadow: inset 0 1px 0 rgba(236, 241, 248, 0.26), 0 2px 7px rgba(7, 11, 15, 0.48);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid rgba(68, 153, 238, 0.92);
  outline-offset: 2px;
  box-shadow: 0 0 0 0.25rem rgba(68, 153, 238, 0.22);
}

.app-brand i {
  color: #2f84d3;
}

.app-page-title {
  display: inline-block;
  max-width: min(72vw, 420px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-menu-btn,
.app-theme-btn,
.app-nav-btn,
.app-nav-subtle,
.btn {
  border-radius: 12px;
  border-width: 1px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 10px rgba(40, 86, 145, 0.18);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, filter 140ms ease, color 140ms ease;
  overflow: hidden;
}

.app-menu-btn,
.app-theme-btn,
.app-nav-btn {
  background: linear-gradient(180deg, #fefefe 0%, #dbefff 100%);
  border-color: rgba(72, 137, 212, 0.48);
  color: #204469;
}

html[data-theme="dark"] .app-menu-btn,
html[data-theme="dark"] .app-theme-btn,
html[data-theme="dark"] .app-nav-btn {
  background: linear-gradient(180deg, #4d5562 0%, #3b414b 100%);
  border-color: rgba(185, 195, 208, 0.42);
  color: #eef2f7;
  box-shadow: inset 0 1px 0 rgba(235, 240, 247, 0.28), 0 4px 10px rgba(9, 11, 15, 0.44);
}

.app-nav-subtle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(220, 238, 253, 0.58));
  border-color: rgba(72, 137, 212, 0.3);
  color: #2e5178;
}

html[data-theme="dark"] .app-nav-subtle {
  background: linear-gradient(180deg, rgba(84, 93, 106, 0.62), rgba(65, 73, 85, 0.58));
  border-color: rgba(185, 195, 208, 0.28);
  color: #d8e2f1;
}

.app-nav-btn i,
.app-nav-subtle i {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(205, 231, 255, 0.72));
  border: 1px solid rgba(83, 136, 201, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(38, 83, 136, 0.22);
  color: #2c619a;
}

html[data-theme="dark"] .app-nav-btn i,
html[data-theme="dark"] .app-nav-subtle i {
  background: linear-gradient(180deg, rgba(175, 190, 210, 0.24), rgba(84, 98, 117, 0.38));
  border-color: rgba(168, 180, 198, 0.36);
  box-shadow: inset 0 1px 0 rgba(226, 233, 244, 0.2), 0 1px 3px rgba(6, 9, 13, 0.38);
  color: #dce8f8;
}

.app-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(72, 137, 212, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(224, 241, 255, 0.78));
}

html[data-theme="dark"] .app-theme-switch {
  border-color: rgba(181, 193, 210, 0.34);
  background: linear-gradient(180deg, rgba(98, 109, 126, 0.56), rgba(67, 76, 89, 0.66));
}

.app-theme-switch .form-check-input {
  width: 2.2rem;
  height: 1.2rem;
  margin-top: 0;
  cursor: pointer;
}

.app-theme-switch .form-check-label {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--app-text);
  cursor: pointer;
}

.app-theme-switch-menu {
  width: fit-content;
  justify-content: flex-start;
  gap: 0.55rem;
}

.app-menu-btn:hover,
.app-theme-btn:hover,
.app-nav-btn:hover,
.app-nav-subtle:hover,
.btn:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 18px rgba(40, 86, 145, 0.3);
  filter: brightness(1.07) saturate(1.07);
}

.app-menu-btn::before,
.app-theme-btn::before,
.app-nav-btn::before,
.app-nav-subtle::before,
.btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

html[data-theme="dark"] .app-menu-btn::before,
html[data-theme="dark"] .app-theme-btn::before,
html[data-theme="dark"] .app-nav-btn::before,
html[data-theme="dark"] .app-nav-subtle::before,
html[data-theme="dark"] .btn::before {
  background: linear-gradient(180deg, rgba(229, 235, 244, 0.22), rgba(229, 235, 244, 0.01));
}

.app-menu-btn:active,
.app-theme-btn:active,
.app-nav-btn:active,
.app-nav-subtle:active,
.btn:active {
  filter: brightness(0.94) saturate(0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 3px 8px rgba(30, 68, 116, 0.22);
}

.app-offcanvas {
  background:
    radial-gradient(220px 80px at 48% 0%, rgba(255, 255, 255, 0.62), transparent 70%),
    linear-gradient(180deg, #ebf7ff 0%, #d9edff 100%);
  border-right: 1px solid rgba(83, 136, 201, 0.4);
}

html[data-theme="dark"] .app-offcanvas {
  background:
    radial-gradient(220px 80px at 48% 0%, rgba(212, 220, 233, 0.18), transparent 70%),
    linear-gradient(180deg, #3a414d 0%, #313741 100%);
  border-right: 1px solid rgba(188, 198, 210, 0.35);
}

.app-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--app-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.12));
}

html[data-theme="dark"] .app-offcanvas .offcanvas-header {
  background: linear-gradient(180deg, rgba(220, 227, 237, 0.16), rgba(220, 227, 237, 0.02));
}

.offcanvas-title,
.offcanvas-body,
.offcanvas-body a {
  color: var(--app-text);
}

.card {
  background:
    radial-gradient(120% 90% at 50% -8%, rgba(255, 255, 255, 0.62), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(226, 242, 255, 0.5) 35%, rgba(241, 249, 255, 0.64)),
    var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 20px;
  box-shadow: var(--app-shadow), var(--aero-deep-shadow);
  backdrop-filter: blur(9px);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .card {
  background:
    radial-gradient(120% 90% at 50% -8%, rgba(216, 224, 234, 0.22), transparent 56%),
    linear-gradient(180deg, rgba(80, 89, 101, 0.52), rgba(60, 67, 77, 0.52) 35%, rgba(57, 64, 73, 0.58)),
    var(--app-surface);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--app-gloss), var(--aero-noise-url);
  background-size: 100% 100%, 220px 220px;
  pointer-events: none;
}

html[data-theme="dark"] .card::before {
  background: var(--app-gloss);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(25, 77, 139, 0.08));
  pointer-events: none;
}

html[data-theme="dark"] .card::after {
  background: linear-gradient(180deg, transparent, rgba(17, 20, 26, 0.32));
}

.card > * {
  position: relative;
  z-index: 1;
}

.swipe-stage.card {
  overflow: visible;
  border-color: transparent;
  box-shadow: none;
}

.swipe-stage.card::before {
  opacity: 0.42;
}

html[data-theme="dark"] .swipe-stage.card::before {
  opacity: 0.16;
}

.card-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(221, 240, 255, 0.56));
  border-bottom: 1px solid var(--app-border);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--app-text) !important;
}

html[data-theme="dark"] .card-header {
  background: linear-gradient(180deg, rgba(218, 225, 235, 0.18), rgba(99, 109, 122, 0.24));
}

.card-header .app-card-header-title,
.card-header .app-card-header-subtitle,
.card-header > span,
.card-header > small {
  color: inherit !important;
}

.card-header :not(.badge) {
  color: inherit !important;
}

.card-header .app-card-header-subtitle {
  opacity: 0.86;
  font-weight: 600;
}

.dropdown-menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(225, 243, 255, 0.97));
  border: 1px solid rgba(83, 140, 211, 0.45);
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(37, 82, 138, 0.24);
}

html[data-theme="dark"] .dropdown-menu {
  background: linear-gradient(180deg, rgba(62, 70, 83, 0.97), rgba(49, 56, 67, 0.97));
  border: 1px solid rgba(189, 199, 212, 0.36);
  box-shadow: 0 18px 30px rgba(8, 10, 14, 0.52);
}

.dropdown-item {
  color: var(--app-text);
  border-radius: 0;
  margin: 0;
  width: 100%;
  display: block;
  padding: 0.45rem 0.85rem;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  color: var(--app-text);
  background: rgba(98, 164, 235, 0.24);
}

.form-control,
.form-select,
.table,
.list-group-item,
.alert {
  background: var(--app-surface-strong);
  color: var(--app-text);
  border: 1px solid var(--app-border);
  box-shadow: var(--aero-inset);
  border-radius: 14px;
}

.workspace-tree-shell {
  border-radius: 16px;
  border: 1px solid var(--app-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(226, 242, 255, 0.54));
  padding: 0.6rem;
  min-height: 100%;
  box-shadow: var(--aero-inset);
}

html[data-theme="dark"] .workspace-tree-shell {
  background: linear-gradient(180deg, rgba(78, 88, 103, 0.5), rgba(58, 67, 80, 0.56));
}

.form-select {
  -webkit-appearance: menulist;
  appearance: auto;
  background-image: none !important;
  padding-right: 0.75rem;
}

.form-control,
.form-select {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 238, 255, 0.48));
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background-image:
    linear-gradient(180deg, rgba(216, 223, 234, 0.16), rgba(74, 82, 95, 0.34));
}

.form-select option {
  color: #0f2440;
  background: #f4faff;
}

html[data-theme="dark"] .form-select option {
  color: #edf1f7;
  background: #3b414b;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(84, 151, 228, 0.64);
  box-shadow: 0 0 0 0.2rem rgba(84, 151, 228, 0.18);
}

.btn-primary {
  background: linear-gradient(180deg, #8dd3ff 0%, #4a9ae8 52%, #2d78cb 100%);
  border-color: #2b6db8;
  box-shadow: inset 0 1px 0 rgba(224, 245, 255, 0.86), inset 0 -1px 0 rgba(25, 90, 170, 0.62), 0 8px 16px rgba(24, 92, 170, 0.3);
}

.btn-success {
  background: linear-gradient(180deg, #baf0d0 0%, #59c98a 52%, #2e9f65 100%);
  border-color: #2d885d;
  box-shadow: inset 0 1px 0 rgba(236, 255, 245, 0.82), inset 0 -1px 0 rgba(24, 109, 64, 0.6), 0 8px 16px rgba(23, 118, 71, 0.28);
}

.btn-warning {
  color: #3f2d00;
  background: linear-gradient(180deg, #ffeeb5 0%, #f3cf69 52%, #e1b93c 100%);
  border-color: #b5922d;
  box-shadow: inset 0 1px 0 rgba(255, 247, 215, 0.82), inset 0 -1px 0 rgba(154, 121, 26, 0.62), 0 8px 16px rgba(151, 118, 35, 0.26);
}

.btn-danger {
  background: linear-gradient(180deg, #ffc1c1 0%, #ef7474 52%, #d74b4b 100%);
  border-color: #b53a3a;
  box-shadow: inset 0 1px 0 rgba(255, 227, 227, 0.82), inset 0 -1px 0 rgba(153, 36, 36, 0.62), 0 8px 16px rgba(149, 42, 42, 0.28);
}

.btn-outline-primary {
  color: #f5fbff;
  border-color: #2b6db8;
  background: linear-gradient(180deg, #8dd3ff 0%, #4a9ae8 52%, #2d78cb 100%);
}

.btn-outline-secondary {
  color: #f6fbff;
  border-color: #3b678f;
  background: linear-gradient(180deg, #b7d3ee 0%, #6f93b5 52%, #4b6d90 100%);
}

.btn-outline-success {
  color: #effff6;
  border-color: #2d885d;
  background: linear-gradient(180deg, #baf0d0 0%, #59c98a 52%, #2e9f65 100%);
}

.btn-outline-danger {
  color: #fff4f4;
  border-color: #b53a3a;
  background: linear-gradient(180deg, #ffc1c1 0%, #ef7474 52%, #d74b4b 100%);
}

.btn-outline-warning {
  color: #3f2d00;
  border-color: #b5922d;
  background: linear-gradient(180deg, #ffeeb5 0%, #f3cf69 52%, #e1b93c 100%);
}

.btn-outline-info {
  color: #effbff;
  border-color: #2b78a7;
  background: linear-gradient(180deg, #c6ecff 0%, #6eb9e3 52%, #3f95c9 100%);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover {
  color: inherit;
}

html[data-theme="dark"] .btn-outline-primary {
  color: #f3f8ff;
  border-color: #8ab0d3;
  background: linear-gradient(180deg, #8fa4c1 0%, #6f85a4 52%, #5e7493 100%);
}

html[data-theme="dark"] .btn-outline-secondary {
  color: #f2f7ff;
  border-color: #a0b4ca;
  background: linear-gradient(180deg, #889bb1 0%, #6f8199 52%, #5c6f88 100%);
}

html[data-theme="dark"] .btn-outline-success {
  color: #effff6;
  border-color: #89be9f;
  background: linear-gradient(180deg, #88b69d 0%, #6aa481 52%, #508d6b 100%);
}

html[data-theme="dark"] .btn-outline-danger {
  color: #fff5f5;
  border-color: #d0a0a0;
  background: linear-gradient(180deg, #b78989 0%, #9f6f6f 52%, #8c5959 100%);
}

html[data-theme="dark"] .btn-outline-warning {
  color: #fff7df;
  border-color: #c7b184;
  background: linear-gradient(180deg, #c2aa75 0%, #a68f5b 52%, #8c7647 100%);
}

html[data-theme="dark"] .btn-outline-info {
  color: #ecf8ff;
  border-color: #9cc0d7;
  background: linear-gradient(180deg, #8eaec3 0%, #7596ad 52%, #5f839c 100%);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--app-text);
}

.table > :not(caption) > * > * {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(227, 242, 255, 0.38));
}

html[data-theme="dark"] .table > :not(caption) > * > * {
  background: linear-gradient(180deg, rgba(212, 220, 231, 0.1), rgba(56, 63, 72, 0.36));
}

.table thead th {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(196, 225, 251, 0.72)) !important;
  border-bottom-color: rgba(71, 128, 198, 0.5);
}

html[data-theme="dark"] .table thead th {
  background: linear-gradient(180deg, rgba(190, 200, 214, 0.24), rgba(77, 86, 99, 0.56)) !important;
  border-bottom-color: rgba(175, 186, 200, 0.42);
}

html[data-theme="dark"] .table-primary,
html[data-theme="dark"] .table-primary > th,
html[data-theme="dark"] .table-primary > td {
  --bs-table-color: var(--app-text);
  --bs-table-bg: rgba(103, 137, 183, 0.34);
  color: var(--app-text) !important;
}

.badge {
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.list-group-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(224, 241, 255, 0.46)),
    var(--app-surface-strong);
}

html[data-theme="dark"] .list-group-item {
  background:
    linear-gradient(180deg, rgba(205, 214, 226, 0.14), rgba(62, 70, 81, 0.46)),
    var(--app-surface-strong);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


.text-body-secondary {
  color: var(--app-muted) !important;
}

@media (max-width: 767.98px) {
  .app-main {
    padding-top: 1.2rem;
  }

  .app-brand span {
    font-size: 0.95rem;
  }
}
