:root {
  --wg-bg: #050506;
  --wg-bg-deep: #030304;
  --wg-surface: #0b0b0d;
  --wg-surface-2: #101014;
  --wg-surface-3: #151519;
  --wg-text: #fff;
  --wg-muted: #d0c9d3;
  --wg-muted-2: #aeb8aa;
  --wg-soft: #aaa2ae;
  --wg-line: rgba(255,255,255,.12);
  --wg-line-strong: rgba(194,112,255,.34);
  --wg-lime: #84ff10;
  --wg-lime-strong: #9eef31;
  --wg-lime-soft: #dcff9f;
  --wg-purple: #a523fc;
  --wg-pink: #ff2ebd;
  --wg-purple-soft: #d6a1ff;
  --wg-action: linear-gradient(105deg, #6334c7 0%, #8d2eaf 52%, #b32268 100%);
  --wg-action-hover: linear-gradient(105deg, #6d3bd0 0%, #9635b7 52%, #bd2a70 100%);
  --wg-danger: #ff7d93;
  --wg-radius-sm: 10px;
  --wg-radius: 16px;
  --wg-radius-lg: 24px;
  --wg-shadow: 0 22px 70px rgba(0,0,0,.34);
  --wg-header-h: 76px;
}

html { scroll-padding-top: calc(var(--wg-header-h) + 18px); }
html,
body,
body * {
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
body :is(h1,h2) { text-wrap: balance; }
body.wg-shell-body {
  padding-top: var(--wg-header-h) !important;
  background: var(--wg-bg);
  color: #fff;
}
body.wg-drawer-lock { overflow: hidden; }
body::-webkit-scrollbar-thumb { background: var(--wg-purple); }
body::-webkit-scrollbar-thumb:hover { background: var(--wg-pink); }

.wg-page-mast {
  border-bottom: 1px solid var(--wg-line);
  background: linear-gradient(135deg, rgba(155,77,255,.08), transparent 42%), var(--wg-bg);
}
.wg-page-mast__inner {
  width: min(calc(100% - 36px), 1180px);
  margin: 0 auto;
  padding: 46px 0 42px;
}
.wg-page-mast .breadcrumbs {
  overflow: visible;
  padding: 0;
  background: transparent;
}
.wg-page-mast .breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
}
.wg-page-mast .breadcrumbs li {
  display: inline-flex;
  float: none;
  margin: 0;
  color: var(--wg-muted);
  font: 650 .72rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;
}
.wg-page-mast .breadcrumbs li::before {
  position: static;
  margin-right: 7px;
  color: var(--wg-soft);
  content: "/";
  font-size: inherit;
}
.wg-page-mast .breadcrumbs li:first-child::before { display: none; }
.wg-page-mast .breadcrumbs a { color: var(--wg-muted); font-weight: inherit; text-decoration: none; }
.wg-page-mast .breadcrumbs a:hover { color: var(--wg-lime); }
.wg-page-mast .breadcrumbs .trail-end { color: var(--wg-lime); }
.wg-page-mast__title {
  max-width: none;
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(1.51rem, 2.8vw, 2.52rem);
  font-weight: 650;
  line-height: .98;
  letter-spacing: 0;
}

.wg-site-header,
.wg-site-header *,
.wg-drawer,
.wg-drawer * { box-sizing: border-box; }

.wg-site-header {
  position: fixed;
  z-index: 9998;
  inset: 0 0 auto;
  height: var(--wg-header-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,5,6,.92);
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
body.admin-bar .wg-site-header { top: 32px; }
.wg-site-header__inner {
  width: min(calc(100% - 32px), 1320px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
}

.wg-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  color: var(--wg-text) !important;
  text-decoration: none !important;
}
.wg-brand__logo { display: block; width: 135px; height: auto; }

.wg-site-header__nav { min-width: 0; display: flex; justify-content: center; }
.wg-desktop-nav ul,
.wg-desktop-nav__list { display: flex; align-items: center; gap: clamp(16px,2.3vw,32px); margin: 0; padding: 0; list-style: none; }
.wg-desktop-nav li { margin: 0; }
.wg-desktop-nav a,
.wg-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #d6d0da !important;
  font: 650 .77rem/1 ui-monospace,SFMono-Regular,Menlo,monospace !important;
  letter-spacing: .055em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color .18s ease;
}
.wg-desktop-nav a::after,
.wg-nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--wg-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.wg-desktop-nav a:hover,
.wg-desktop-nav a:focus-visible,
.wg-desktop-nav .current-menu-item > a { color: #fff !important; }
.wg-desktop-nav a:hover::after,
.wg-desktop-nav a:focus-visible::after,
.wg-desktop-nav .current-menu-item > a::after { transform: scaleX(1); }

.wg-site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.wg-language-switch { position: relative; }
.wg-language-switch summary,
.wg-customer-link,
.wg-project-trigger,
.wg-menu-trigger {
  min-height: 42px;
  border: 1px solid var(--wg-line);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  color: #dce3da !important;
}
.wg-language-switch summary {
  display: flex;
  min-width: 60px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  cursor: pointer;
  list-style: none;
  font: 650 .68rem ui-monospace,SFMono-Regular,Menlo,monospace;
}
.wg-language-switch summary::-webkit-details-marker { display: none; }
.wg-language-switch summary svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wg-language-switch[open] summary { border-color: var(--wg-line-strong); color: var(--wg-lime) !important; }
.wg-language-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  min-width: 82px;
  padding: 6px;
  border: 1px solid var(--wg-line);
  border-radius: 12px;
  background: #0c0c0f;
  box-shadow: var(--wg-shadow);
}
.wg-language-switch__menu a {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--wg-muted) !important;
  font: 650 .68rem ui-monospace,SFMono-Regular,Menlo,monospace;
}
.wg-language-switch__menu a:hover { color:#fff !important; background:rgba(155,77,255,.14); }
.wg-language-switch__menu a[aria-current="page"] { color:#111 !important; background:var(--wg-lime); }

.wg-customer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  text-decoration: none !important;
  font-size: .77rem;
  font-weight: 650;
}
.wg-customer-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wg-customer-link:hover { border-color: rgba(179,56,255,.45); color: #fff !important; }

.wg-project-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 13px;
  border-color: rgba(170,92,255,.46);
  color: #f7f3fa !important;
  background: #0d0d10;
  box-shadow: 0 0 0 1px rgba(179,56,255,.04), 0 12px 30px rgba(0,0,0,.18);
  cursor: pointer;
  font-size: .77rem;
  font-weight: 650;
}
.wg-project-trigger svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.wg-project-trigger__count {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  color: #10110f;
  background: var(--wg-lime);
  font: 650 .66rem ui-monospace,SFMono-Regular,Menlo,monospace;
}
.wg-project-trigger:hover { border-color:rgba(231,52,139,.58); background:linear-gradient(105deg,rgba(99,52,199,.13),rgba(179,34,104,.09)); }

.wg-menu-trigger {
  display: none;
  width: 42px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.wg-menu-trigger span { display: block; width: 18px; height: 2px; border-radius: 999px; background: currentColor; }
.wg-menu-trigger span:last-child { width: 12px; margin-left: 6px; background: var(--wg-lime); }

.wg-drawer {
  position: fixed;
  z-index: 10020;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}
.wg-drawer.is-open { visibility: visible; pointer-events: auto; }
.wg-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0,0,0,.72);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity .22s ease;
}
.wg-drawer.is-open .wg-drawer__backdrop { opacity: 1; }
.wg-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(92vw, 440px);
  border: 1px solid var(--wg-line);
  background:
    radial-gradient(circle at 88% 4%,rgba(155,77,255,.15),transparent 22rem),
    radial-gradient(circle at 96% 0%,rgba(231,52,139,.08),transparent 26rem),
    linear-gradient(180deg,#0b0b0e,#050506 72%);
  box-shadow: var(--wg-shadow);
  transition: transform .28s cubic-bezier(.2,.75,.2,1);
}
.wg-drawer--nav .wg-drawer__panel { left: 0; border-width: 0 1px 0 0; transform: translateX(-104%); }
.wg-drawer--project .wg-drawer__panel {
  right: 0;
  width: min(100vw,510px);
  border-width: 0 0 0 1px;
  background:
    radial-gradient(circle at 92% 2%,rgba(155,77,255,.13),transparent 22rem),
    radial-gradient(circle at 100% 0%,rgba(231,52,139,.07),transparent 26rem),
    #060807;
  transform: translateX(104%);
}
.wg-drawer.is-open .wg-drawer__panel { transform: translateX(0); }
.wg-drawer__head {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--wg-line);
}
.wg-drawer__eyebrow,
.wg-drawer__section-label {
  color: var(--wg-lime);
  font: 650 .62rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wg-drawer__head h2 { margin: 5px 0 0; color: #fff; font-size: 1.085rem; line-height: 1; letter-spacing: -.045em; }
.wg-drawer__close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--wg-line);
  border-radius: 11px;
  color: #e7ece5;
  background: rgba(255,255,255,.025);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.wg-drawer__close:hover { color:#fff; border-color:rgba(231,52,139,.58); background:linear-gradient(105deg,var(--wg-purple),var(--wg-pink)); }
.wg-drawer__scroll { height: calc(100% - 92px); overflow-y: auto; padding: 24px 22px 32px; }
.wg-drawer__section-label { margin:0 0 12px; color:var(--wg-lime); }

.wg-mobile-nav ul,
.wg-mobile-nav__list { margin: 0; padding: 0; list-style: none; }
.wg-mobile-nav li { margin: 0; border-bottom: 1px solid var(--wg-line); }
.wg-mobile-nav a,
.wg-mobile-nav__link {
  display: flex !important;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
  color: #f1f5ef !important;
  font-size: 1.02rem !important;
  font-weight: 650 !important;
  letter-spacing: -.015em !important;
  text-decoration: none !important;
  text-transform: none !important;
}
.wg-mobile-nav a:hover { color:#ffc1e2 !important; }

.wg-quick-start { margin-top: 32px; }
.wg-quick-card {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 11px;
  align-items: center;
  margin-top: 9px;
  padding: 14px;
  border: 1px solid var(--wg-line);
  border-radius: 14px;
  color: #fff !important;
  background: rgba(255,255,255,.025);
  text-decoration: none !important;
}
.wg-quick-card > span { color: #827b87; font: 650 .63rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.wg-quick-card b { display: block; color: inherit; font-size: .92rem; }
.wg-quick-card small { display: block; margin-top: 2px; color: var(--wg-muted); font-size: .72rem; }
.wg-quick-card i { color: var(--wg-lime); font-style: normal; }
.wg-quick-card--primary { color:#fff !important; border-color:transparent; background:var(--wg-action); box-shadow:0 12px 34px rgba(179,56,255,.16); }
.wg-quick-card--primary > span,
.wg-quick-card--primary small,
.wg-quick-card--primary i { color:rgba(255,255,255,.78); }

.wg-mobile-account {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin-top: 22px;
  padding: 0 13px;
  border: 1px solid var(--wg-line);
  border-radius: 12px;
  color: #eef3ec !important;
  text-decoration: none !important;
  font-size: .82rem;
  font-weight: 650;
}
.wg-mobile-account svg { width: 18px; fill: none; stroke: var(--wg-purple-soft); stroke-width: 1.8; }
.wg-mobile-account i { color: var(--wg-lime); font-style: normal; }
.wg-mobile-languages { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 18px; color: #818b7f; font: 650 .68rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.wg-mobile-languages > div { display: flex; gap: 5px; }
.wg-mobile-languages a { display: grid; width: 36px; height: 32px; place-items: center; border: 1px solid var(--wg-line); border-radius: 8px; color: var(--wg-muted) !important; }
.wg-mobile-languages a[aria-current="page"] { color:#111 !important; border-color:var(--wg-lime); background:var(--wg-lime); }

.wg-project-drawer__intro { margin: 0 0 22px; color: var(--wg-muted); font-size: .9rem; }
.wg-project-empty { padding:38px 18px; border:1px dashed rgba(183,255,74,.22); border-radius:18px; text-align:center; background:#090c0a; }
.wg-project-empty svg { width: 68px; fill: none; stroke: var(--wg-lime); stroke-width: 1.5; }
.wg-project-empty h3 { margin: 18px 0 6px; color: #fff; font-size: .84rem; }
.wg-project-empty p { margin: 0 auto 20px; max-width: 300px; color: var(--wg-muted); font-size: .82rem; }
.wg-project-items { display: grid; gap: 10px; }
.wg-project-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 15px;
  border:1px solid rgba(183,255,74,.17);
  border-radius:14px;
  background:#0b100c;
}
.wg-project-item > div { position: relative; min-width: 0; padding-left: 14px; }
.wg-project-item__marker { position: absolute; top: 4px; left: 0; width: 5px; height: 22px; border-radius: 999px; background: var(--wg-lime); }
.wg-project-item h3 { margin: 0; color: #fff; font-size: .644rem; line-height: 1.25; }
.wg-project-item > strong { color: var(--wg-lime-soft); font-size: .84rem; white-space: nowrap; }
.wg-project-item__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 7px; }
.wg-project-item__links a { color: #899286 !important; font: 650 .66rem ui-monospace,SFMono-Regular,Menlo,monospace; text-decoration: none !important; }
.wg-project-item__links a:hover { color:#fff !important; }
.wg-project-total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 17px 2px; border-top: 1px solid var(--wg-line); border-bottom: 1px solid var(--wg-line); }
.wg-project-total span { color: var(--wg-muted); font-size: .76rem; }
.wg-project-total strong { color: #fff; font-size: 1.2rem; }
.wg-project-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; margin-top: 16px; }
.wg-shell-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--wg-line);
  border-radius: 12px;
  color: #eef3ec !important;
  background: rgba(255,255,255,.025);
  text-align: center;
  text-decoration: none !important;
  font-size: .76rem;
  font-weight: 650;
}
.wg-shell-button--primary { color:#fff !important; border-color:transparent; background:var(--wg-action); box-shadow:0 12px 32px rgba(179,56,255,.16); }
.wg-shell-button--primary:hover,.wg-quick-card--primary:hover { background:var(--wg-action-hover); }
.wg-shell-button:hover { border-color:rgba(194,112,255,.46); }
.wg-project-actions .wg-shell-button:not(.wg-shell-button--primary) {
  border-color:rgba(155,77,255,.34);
  background:rgba(155,77,255,.045);
}
.wg-project-actions .wg-shell-button:not(.wg-shell-button--primary):hover {
  border-color:rgba(196,126,255,.6);
  background:rgba(155,77,255,.09);
}

@media (max-width: 1120px) {
  .wg-site-header__inner { gap: 18px; }
  .wg-customer-link span { display: none; }
  .wg-customer-link { width: 42px; justify-content: center; padding: 0; }
  .wg-desktop-nav ul,
  .wg-desktop-nav__list { gap: 16px; }
}
@media (max-width: 940px) {
  .wg-brand__logo { width: 135px; }
  .wg-site-header__inner { grid-template-columns: minmax(0,1fr) auto; }
  .wg-site-header__nav,
  .wg-customer-link { display: none; }
  .wg-menu-trigger { display: flex; }
  .wg-project-trigger__label { display: none; }
  .wg-project-trigger { width: 42px; padding: 0; justify-content: center; position: relative; }
  .wg-project-trigger__count { position:absolute; top:-6px; right:-6px; min-width:19px; height:19px; border:2px solid #050506; border-radius: 999px; font-size: .58rem; }
}
@media (max-width: 600px) {
  :root { --wg-header-h: 68px; }
  .wg-site-header__inner { width: min(calc(100% - 22px),1320px); gap: 10px; }
  .wg-brand__logo { width: 120px; }
  .wg-site-header__actions { gap: 6px; }
  .wg-language-switch summary { min-width: 50px; min-height: 40px; padding: 0 8px; }
  .wg-project-trigger,
  .wg-menu-trigger { width: 40px; min-height: 40px; }
  .wg-drawer__panel { width: min(96vw,430px); }
  .wg-drawer__head { height: 80px; padding: 14px 16px; }
  .wg-drawer__scroll { height: calc(100% - 80px); padding: 20px 16px 28px; }
  .wg-project-actions { grid-template-columns: 1fr; }
  .wg-project-item { grid-template-columns: 1fr; gap: 9px; }
  .wg-project-item > strong { padding-left: 14px; }
  .wg-page-mast__inner { width: min(calc(100% - 24px),1180px); padding: 32px 0 30px; }
  .wg-page-mast__title { font-size: clamp(1.4rem,7vw,1.96rem); }
}
@media (max-width: 390px) {
  .wg-project-actions { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
  body.admin-bar .wg-site-header { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .wg-drawer__backdrop,
  .wg-drawer__panel,
  .wg-desktop-nav a::after { transition: none !important; }
}
