:root {
  --abcc-night: #06131f;
  --abcc-night-2: #0a2131;
  --abcc-green: #43efb1;
  --abcc-paper: #f3f7f5;
  --abcc-ink: #102632;
  --abcc-muted: #71828a;
  --abcc-line: #dfe8e4;
  --abcc-white: #fff;
}

body.abcc-v3-active {
  background:
    radial-gradient(circle at 75% -12%, rgba(67, 239, 177, .14), transparent 31rem),
    var(--abcc-paper) !important;
  color: var(--abcc-ink);
}

html:has(body.abcc-v3-active) {
  margin-top: 0 !important;
}

body.abcc-v3-active #wpadminbar,
body.abcc-v3-active .wp-site-blocks > header,
body.abcc-v3-active header.wp-block-template-part,
body.abcc-v3-active #masthead,
body.abcc-v3-active .site-header {
  display: none !important;
}

body.abcc-v3-active .wrap:has(.alo4Shell) {
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 18px 136px 42px 32px !important;
}

body.abcc-v3-active .top:has(+ .wrap .alo4Shell) {
  width: auto !important;
  min-height: 74px !important;
  margin: 0 136px 0 32px !important;
  padding: 0 6px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.abcc-v3-active .alo4Shell {
  display: block !important;
}

body.abcc-v3-active .alo4Shell > .alo4Nav {
  display: none !important;
}

.abcc-rail {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0, rgba(67, 239, 177, .13), transparent 18rem),
    var(--abcc-night);
  box-shadow: -18px 0 60px rgba(6, 19, 31, .14);
}

.abcc-logo {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .48);
}

.abcc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.abcc-nav {
  display: grid;
  gap: 6px;
  margin: auto 0;
}

.abcc-nav-button {
  position: relative;
  width: 58px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: #78909e;
  background: transparent;
  font-family: inherit;
  font-size: 20px;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.abcc-nav-button:hover,
.abcc-nav-button:focus-visible,
.abcc-nav-button.is-active,
.abcc-nav-button.is-open {
  color: var(--abcc-night);
  background: var(--abcc-green);
  transform: translateY(-1px);
}

.abcc-nav-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.abcc-nav-button.is-active::before {
  content: "";
  position: absolute;
  top: 15px;
  right: -27px;
  width: 4px;
  height: 20px;
  border-radius: 4px;
  background: var(--abcc-green);
}

.abcc-nav-button::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 10002;
  top: 50%;
  right: calc(100% + 13px);
  min-width: max-content;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  color: #fff;
  background: rgba(6, 19, 31, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .26);
  opacity: 0;
  pointer-events: none;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  transform: translate(7px, -50%) scale(.96);
  transform-origin: right center;
  transition: opacity .16s ease, transform .16s ease;
  transition-delay: 0s;
  backdrop-filter: blur(14px);
}

.abcc-nav-button:hover::after,
.abcc-nav-button:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
  transition-delay: .35s;
}

.abcc-profile {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #315064;
  border-radius: 15px;
  color: var(--abcc-green);
  font-size: 13px;
  font-weight: 900;
}

.abcc-flyout {
  position: fixed;
  z-index: 9999;
  top: 22px;
  right: 128px;
  bottom: 22px;
  width: min(330px, calc(100vw - 170px));
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 0, rgba(67, 239, 177, .16), transparent 19rem),
    linear-gradient(160deg, #0a2638, #06131f 72%);
  box-shadow: -24px 25px 70px rgba(4, 21, 34, .3);
  animation: abcc-flyout-in .18s ease both;
}

@keyframes abcc-flyout-in {
  from { opacity: 0; transform: translateX(12px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.abcc-flyout-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 5px 4px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.abcc-flyout-head > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  color: var(--abcc-night);
  background: var(--abcc-green);
  font-size: 20px;
}

.abcc-flyout-head small,
.abcc-flyout-head b {
  display: block;
}

.abcc-flyout-head small {
  margin-bottom: 2px;
  color: #78909e;
  font-size: 10px;
}

.abcc-flyout-head b {
  color: #fff;
  font-size: 15px;
}

.abcc-flyout-list {
  display: grid;
  gap: 7px;
  padding-top: 16px;
}

.abcc-flyout-item {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #d9e7ef;
  background: rgba(255, 255, 255, .035);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  transition: .16s ease;
}

.abcc-flyout-item:hover,
.abcc-flyout-item:focus-visible,
.abcc-flyout-item.is-active {
  border-color: rgba(67, 239, 177, .22);
  color: #fff;
  background: rgba(67, 239, 177, .11);
}

.abcc-flyout-item-mark {
  color: var(--abcc-green);
  opacity: .8;
}

body.abcc-v3-active .alo4TopBanner {
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: 38px 44px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 34px !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 10% 10%, #1a4b54 0, transparent 30%),
    linear-gradient(130deg, #06131f, #092637) !important;
  box-shadow: 0 35px 80px rgba(6, 19, 31, .18) !important;
}

body.abcc-v3-active .alo4TopBanner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  opacity: .14;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 42px 42px;
  box-shadow: none;
  mask-image: linear-gradient(90deg, transparent, #000);
}

body.abcc-v3-active .alo4TopBanner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 9%;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(67, 239, 177, .28);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 34px rgba(67, 239, 177, .05),
    0 0 0 68px rgba(67, 239, 177, .025);
  transform: translateY(-50%);
}

body.abcc-v3-active .alo4TopBanner > * {
  position: relative;
  z-index: 2;
  max-width: 68%;
}

body.abcc-v3-active .alo4TopBanner small {
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(67, 239, 177, .34);
  border-radius: 999px;
  color: #8bf5cc !important;
  background: rgba(67, 239, 177, .07);
}

body.abcc-v3-active .alo4TopBanner b {
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.45;
  letter-spacing: -1.4px;
}

body.abcc-v3-active .alo4TopBanner span {
  margin-top: 10px;
  color: #9eb6c2 !important;
  line-height: 2;
}

body.abcc-v3-active .alo4PageSide,
body.abcc-v3-active .alo4NormalizedPage {
  min-width: 0;
}

body.abcc-v3-active .alo4Context,
body.abcc-v3-active .alo4Shortcut,
body.abcc-v3-active .alo4ActionBtn,
body.abcc-v3-active .alo4Box,
body.abcc-v3-active .alo4Kpi,
body.abcc-v3-active .alo4SearchBox,
body.abcc-v3-active .alo4PageSide > .card,
body.abcc-v3-active .alo4NormalizedPage > .card {
  border: 1px solid var(--abcc-line) !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 14px 36px rgba(11, 41, 49, .055) !important;
}

body.abcc-v3-active .alo4Context {
  width: calc(100% - 42px);
  margin: -28px auto 18px !important;
  padding: 18px 22px !important;
  backdrop-filter: blur(18px);
}

body.abcc-v3-active .alo4Shortcuts,
body.abcc-v3-active .alo4Kpis,
body.abcc-v3-active .alo4Grid3,
body.abcc-v3-active .alo4Grid4 {
  gap: 16px !important;
}

body.abcc-v3-active .alo4Shortcut,
body.abcc-v3-active .alo4ActionBtn {
  min-height: 110px;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.abcc-v3-active .alo4Shortcut:hover,
body.abcc-v3-active .alo4ActionBtn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(6, 19, 31, .1) !important;
}

body.abcc-v3-active .alo4Kpi {
  min-height: 158px !important;
  padding: 22px !important;
  overflow: hidden;
  border-radius: 26px 26px 26px 8px !important;
}

body.abcc-v3-active .alo4Kpi:first-child {
  color: #fff !important;
  background: linear-gradient(145deg, var(--abcc-night-2), var(--abcc-night)) !important;
}

body.abcc-v3-active .alo4Kpi:first-child * {
  color: #fff !important;
}

body.abcc-v3-active .alo4Kpi b {
  font-size: 32px !important;
}

body.abcc-v3-active .alo4PageSide table,
body.abcc-v3-active .alo4NormalizedPage table {
  overflow: hidden;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0 7px;
}

body.abcc-v3-active .alo4PageSide tbody tr,
body.abcc-v3-active .alo4NormalizedPage tbody tr {
  filter: drop-shadow(0 5px 10px rgba(4, 21, 34, .035));
}

body.abcc-v3-active .alo4PageSide tbody td,
body.abcc-v3-active .alo4NormalizedPage tbody td {
  border-block: 1px solid #edf3f0;
  background: #fff;
}

@media (max-width: 1050px) {
  body.abcc-v3-active .alo4Shortcuts,
  body.abcc-v3-active .alo4Grid3,
  body.abcc-v3-active .alo4Grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.abcc-v3-active .wrap:has(.alo4Shell) {
    padding: 12px 10px 92px !important;
  }

  body.abcc-v3-active .top:has(+ .wrap .alo4Shell) {
    min-height: 66px !important;
    margin: 0 12px !important;
  }

  body.abcc-v3-active .alo4Shell > .alo4Nav {
    display: none !important;
  }

  .abcc-rail {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    height: 66px;
    flex-direction: row;
    padding: 8px;
    border-radius: 22px;
  }

  .abcc-flyout {
    display: none;
  }

  .abcc-logo,
  .abcc-profile {
    display: none;
  }

  .abcc-nav {
    display: flex;
    margin: auto;
  }

  .abcc-nav-button {
    width: 45px;
    height: 45px;
  }

  .abcc-nav-button::before,
  .abcc-nav-button::after {
    display: none;
  }

  body.abcc-v3-active .alo4TopBanner {
    min-height: 220px !important;
    padding: 28px 24px !important;
    border-radius: 26px !important;
  }

  body.abcc-v3-active .alo4TopBanner > * {
    max-width: 100%;
  }

  body.abcc-v3-active .alo4TopBanner::after {
    display: none;
  }

  body.abcc-v3-active .alo4Context {
    width: calc(100% - 16px);
  }

  body.abcc-v3-active .alo4Shortcuts,
  body.abcc-v3-active .alo4Grid3,
  body.abcc-v3-active .alo4Grid4 {
    grid-template-columns: 1fr !important;
  }
}
