.rx-layout {
    --rx-bg: #f4f2fb;
    --rx-surface: #fefeff;
    --rx-surface-strong: #f7f4ff;
    --rx-surface-tint: rgba(255, 255, 255, 0.86);
    --rx-text: #1c2340;
    --rx-text-muted: #696f8d;
    --rx-border: rgba(28, 35, 64, 0.12);
    --rx-accent: #6a56f8;
    --rx-accent-strong: #4d36d0;
    --rx-accent-soft: rgba(106, 86, 248, 0.16);
    --rx-accent-glow: rgba(106, 86, 248, 0.28);
    --rx-accent-alt: #8474fe;
    --rx-secondary-glow: rgba(132, 116, 254, 0.18);
    --rx-signal: #ffbe63;
    --rx-header-bg: rgba(251, 250, 255, 0.88);
    --rx-overlay-accent: rgba(106, 86, 248, 0.06);
    --rx-panel-grid: rgba(106, 86, 248, 0.024);
    --rx-footer-wash: rgba(106, 86, 248, 0.03);
    --rx-page-head-bg:
        radial-gradient(circle at top right, rgba(132, 116, 254, 0.13), transparent 34%),
        linear-gradient(135deg, rgba(106, 86, 248, 0.11), rgba(28, 35, 64, 0.05)),
        rgba(255, 255, 255, 0.76);
    --rx-header-minimal-surface: rgba(30, 23, 58, 0.5);
    --rx-header-minimal-border: rgba(187, 171, 255, 0.16);
    --rx-header-minimal-pill-bg: rgba(255, 255, 255, 0.06);
    --rx-header-minimal-pill-border: rgba(255, 255, 255, 0.14);
    --rx-header-minimal-text: #f8f6ff;
    --rx-header-user-color-1: var(--rx-accent);
    --rx-header-user-color-2: var(--rx-accent-alt);
    --rx-shadow: 0 22px 52px rgba(26, 24, 55, 0.1);
    --rx-radius: 18px;
    --rx-gap: 40px;
    --rx-header-height: 76px;
    color: var(--rx-text);
}

.rx-layout--color-slate-coral {
    --rx-bg: #f6f2f0;
    --rx-surface: #ffffff;
    --rx-surface-strong: #fbf7f5;
    --rx-surface-tint: rgba(255, 255, 255, 0.84);
    --rx-text: #1b2433;
    --rx-text-muted: #6f7788;
    --rx-border: rgba(27, 36, 51, 0.12);
    --rx-accent: #e86c5a;
    --rx-accent-strong: #cc5847;
    --rx-accent-soft: rgba(232, 108, 90, 0.14);
    --rx-accent-glow: rgba(232, 108, 90, 0.24);
    --rx-accent-alt: #ffb76e;
    --rx-secondary-glow: rgba(255, 183, 110, 0.16);
    --rx-signal: #ffd067;
    --rx-header-bg: rgba(255, 250, 249, 0.86);
    --rx-overlay-accent: rgba(232, 108, 90, 0.06);
    --rx-panel-grid: rgba(232, 108, 90, 0.024);
    --rx-footer-wash: rgba(232, 108, 90, 0.03);
    --rx-page-head-bg:
        radial-gradient(circle at top right, rgba(255, 183, 110, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(232, 108, 90, 0.11), rgba(27, 36, 51, 0.05)),
        rgba(255, 255, 255, 0.76);
    --rx-header-minimal-surface: rgba(60, 38, 34, 0.5);
    --rx-header-minimal-border: rgba(255, 201, 170, 0.16);
    --rx-header-minimal-pill-bg: rgba(255, 255, 255, 0.06);
    --rx-header-minimal-pill-border: rgba(255, 255, 255, 0.14);
    --rx-header-minimal-text: #fff8f5;
    --rx-shadow: 0 18px 42px rgba(36, 19, 18, 0.08);
}

.rx-layout--color-neutral-blue {
    --rx-bg: #eef4fb;
    --rx-surface: #ffffff;
    --rx-surface-strong: #f6faff;
    --rx-surface-tint: rgba(255, 255, 255, 0.84);
    --rx-text: #13213f;
    --rx-text-muted: #5d6f90;
    --rx-border: rgba(20, 33, 58, 0.12);
    --rx-accent: #3f7cff;
    --rx-accent-strong: #2558cc;
    --rx-accent-soft: rgba(63, 124, 255, 0.14);
    --rx-accent-glow: rgba(63, 124, 255, 0.24);
    --rx-accent-alt: #13c3d3;
    --rx-secondary-glow: rgba(19, 195, 211, 0.12);
    --rx-signal: #ffc56d;
    --rx-header-bg: rgba(248, 251, 255, 0.86);
    --rx-overlay-accent: rgba(63, 124, 255, 0.06);
    --rx-panel-grid: rgba(63, 124, 255, 0.024);
    --rx-footer-wash: rgba(63, 124, 255, 0.03);
    --rx-page-head-bg:
        radial-gradient(circle at top right, rgba(19, 195, 211, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(63, 124, 255, 0.11), rgba(20, 33, 58, 0.05)),
        rgba(255, 255, 255, 0.76);
    --rx-header-minimal-surface: rgba(14, 27, 53, 0.5);
    --rx-header-minimal-border: rgba(132, 180, 255, 0.16);
    --rx-header-minimal-pill-bg: rgba(255, 255, 255, 0.06);
    --rx-header-minimal-pill-border: rgba(255, 255, 255, 0.13);
    --rx-header-minimal-text: #f4f8ff;
    --rx-shadow: 0 20px 48px rgba(16, 35, 76, 0.08);
}

.rx-layout--color-holo-cyan {
    --rx-bg: #edf5fb;
    --rx-surface: #fbfdff;
    --rx-surface-strong: #f4f9fd;
    --rx-surface-tint: rgba(252, 254, 255, 0.85);
    --rx-text: #10213d;
    --rx-text-muted: #5f7190;
    --rx-border: rgba(16, 33, 61, 0.12);
    --rx-accent: #2ed8ff;
    --rx-accent-strong: #119dd1;
    --rx-accent-soft: rgba(46, 216, 255, 0.16);
    --rx-accent-glow: rgba(46, 216, 255, 0.25);
    --rx-accent-alt: #ac8cff;
    --rx-secondary-glow: rgba(172, 140, 255, 0.16);
    --rx-signal: #ffd973;
    --rx-header-bg: rgba(248, 252, 255, 0.88);
    --rx-overlay-accent: rgba(46, 216, 255, 0.06);
    --rx-panel-grid: rgba(46, 216, 255, 0.024);
    --rx-footer-wash: rgba(46, 216, 255, 0.03);
    --rx-page-head-bg:
        radial-gradient(circle at top right, rgba(172, 140, 255, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(46, 216, 255, 0.12), rgba(16, 33, 61, 0.04)),
        rgba(252, 254, 255, 0.74);
    --rx-header-minimal-surface: rgba(10, 27, 45, 0.5);
    --rx-header-minimal-border: rgba(145, 220, 255, 0.16);
    --rx-header-minimal-pill-bg: rgba(255, 255, 255, 0.06);
    --rx-header-minimal-pill-border: rgba(255, 255, 255, 0.14);
    --rx-header-minimal-text: #f3fbff;
    --rx-shadow: 0 24px 56px rgba(10, 23, 43, 0.1);
}

.rx-layout--color-electric-violet {
    --rx-bg: #f2f1fb;
    --rx-surface: #ffffff;
    --rx-surface-strong: #f7f5ff;
    --rx-surface-tint: rgba(255, 255, 255, 0.86);
    --rx-text: #1c2340;
    --rx-text-muted: #696f8d;
    --rx-border: rgba(28, 35, 64, 0.12);
    --rx-accent: #6a56f8;
    --rx-accent-strong: #4d36d0;
    --rx-accent-soft: rgba(106, 86, 248, 0.16);
    --rx-accent-glow: rgba(106, 86, 248, 0.28);
    --rx-accent-alt: #8474fe;
    --rx-secondary-glow: rgba(132, 116, 254, 0.18);
    --rx-signal: #ffb870;
    --rx-header-bg: rgba(251, 250, 255, 0.88);
    --rx-overlay-accent: rgba(106, 86, 248, 0.06);
    --rx-panel-grid: rgba(106, 86, 248, 0.024);
    --rx-footer-wash: rgba(106, 86, 248, 0.03);
    --rx-page-head-bg:
        radial-gradient(circle at top right, rgba(132, 116, 254, 0.13), transparent 34%),
        linear-gradient(135deg, rgba(106, 86, 248, 0.11), rgba(28, 35, 64, 0.05)),
        rgba(255, 255, 255, 0.76);
    --rx-header-minimal-surface: rgba(30, 23, 58, 0.5);
    --rx-header-minimal-border: rgba(187, 171, 255, 0.16);
    --rx-header-minimal-pill-bg: rgba(255, 255, 255, 0.06);
    --rx-header-minimal-pill-border: rgba(255, 255, 255, 0.14);
    --rx-header-minimal-text: #f8f6ff;
    --rx-shadow: 0 22px 52px rgba(26, 24, 55, 0.1);
}

.rx-layout--color-cyber-lime {
    --rx-bg: #f3f8ee;
    --rx-surface: #fcfff8;
    --rx-surface-strong: #f7fbef;
    --rx-surface-tint: rgba(252, 255, 248, 0.86);
    --rx-text: #18231b;
    --rx-text-muted: #667367;
    --rx-border: rgba(24, 35, 27, 0.12);
    --rx-accent: #95df2e;
    --rx-accent-strong: #679d19;
    --rx-accent-soft: rgba(149, 223, 46, 0.16);
    --rx-accent-glow: rgba(149, 223, 46, 0.24);
    --rx-accent-alt: #39b5ff;
    --rx-secondary-glow: rgba(57, 181, 255, 0.14);
    --rx-signal: #ffc76c;
    --rx-header-bg: rgba(250, 255, 247, 0.88);
    --rx-overlay-accent: rgba(149, 223, 46, 0.06);
    --rx-panel-grid: rgba(149, 223, 46, 0.024);
    --rx-footer-wash: rgba(149, 223, 46, 0.03);
    --rx-page-head-bg:
        radial-gradient(circle at top right, rgba(57, 181, 255, 0.1), transparent 34%),
        linear-gradient(135deg, rgba(149, 223, 46, 0.12), rgba(24, 35, 27, 0.04)),
        rgba(252, 255, 248, 0.76);
    --rx-header-minimal-surface: rgba(20, 31, 18, 0.5);
    --rx-header-minimal-border: rgba(190, 234, 130, 0.16);
    --rx-header-minimal-pill-bg: rgba(255, 255, 255, 0.06);
    --rx-header-minimal-pill-border: rgba(255, 255, 255, 0.12);
    --rx-header-minimal-text: #f8fff4;
    --rx-shadow: 0 22px 48px rgba(20, 31, 18, 0.08);
}

.rx-layout--color-mocha-ember {
    --rx-bg: #f5f1ed;
    --rx-surface: #fffdfb;
    --rx-surface-strong: #f8f3ef;
    --rx-surface-tint: rgba(255, 253, 251, 0.86);
    --rx-text: #2a211d;
    --rx-text-muted: #7b6d66;
    --rx-border: rgba(42, 33, 29, 0.12);
    --rx-accent: #c77a57;
    --rx-accent-strong: #994d34;
    --rx-accent-soft: rgba(199, 122, 87, 0.16);
    --rx-accent-glow: rgba(199, 122, 87, 0.22);
    --rx-accent-alt: #8f79ff;
    --rx-secondary-glow: rgba(143, 121, 255, 0.12);
    --rx-signal: #f0c27b;
    --rx-header-bg: rgba(255, 252, 249, 0.88);
    --rx-overlay-accent: rgba(199, 122, 87, 0.06);
    --rx-panel-grid: rgba(199, 122, 87, 0.024);
    --rx-footer-wash: rgba(199, 122, 87, 0.03);
    --rx-page-head-bg:
        radial-gradient(circle at top right, rgba(143, 121, 255, 0.1), transparent 34%),
        linear-gradient(135deg, rgba(199, 122, 87, 0.12), rgba(42, 33, 29, 0.04)),
        rgba(255, 252, 249, 0.76);
    --rx-header-minimal-surface: rgba(45, 31, 23, 0.5);
    --rx-header-minimal-border: rgba(232, 184, 160, 0.16);
    --rx-header-minimal-pill-bg: rgba(255, 255, 255, 0.06);
    --rx-header-minimal-pill-border: rgba(255, 255, 255, 0.13);
    --rx-header-minimal-text: #fff8f3;
    --rx-shadow: 0 20px 46px rgba(42, 31, 24, 0.08);
}

.rx-layout--density-compact {
    --rx-radius: 14px;
}

.rx-layout--density-airy {
    --rx-radius: 22px;
}

.rx-layout--spacing-32 {
    --rx-gap: 32px;
}

.rx-layout--spacing-56 {
    --rx-gap: 56px;
}

.rx-layout *,
.rx-layout *::before,
.rx-layout *::after {
    box-sizing: border-box;
}

.rx-shell {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(16, 32, 56, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 32, 56, 0.035) 1px, transparent 1px),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 30%),
        radial-gradient(circle at top right, var(--rx-accent-soft), transparent 26%),
        radial-gradient(circle at 18% 24%, var(--rx-secondary-glow), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.95)),
        var(--rx-bg);
    background-size: 24px 24px, 24px 24px, auto, auto, auto, auto;
}

.rx-shell::before,
.rx-shell::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    filter: blur(16px);
    opacity: 0.9;
}

.rx-shell::before {
    top: -80px;
    right: 6%;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--rx-accent-glow), transparent 68%);
}

.rx-shell::after {
    top: 120px;
    left: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.78), transparent 72%);
}

.rx-layout--boxed .rx-shell {
    max-width: calc(var(--rx-content-max) + 72px);
    margin: 24px auto;
    border: 1px solid var(--rx-border);
    border-radius: calc(var(--rx-radius) + 10px);
    box-shadow: var(--rx-shadow);
    overflow: clip;
}

.rx-container {
    width: min(100% - 32px, var(--rx-content-max));
    margin: 0 auto;
}

.rx-layout--full .rx-container {
    width: min(100% - 32px, 1680px);
}

.rx-header {
    position: relative;
    z-index: 30;
    padding: 12px 0;
    overflow: visible;
}

.rx-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rx-accent), var(--rx-accent-alt), transparent 78%);
    z-index: 2;
}

.rx-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}

.rx-header > .rx-container {
    position: relative;
    z-index: 1;
}

.rx-layout.is-sticky .rx-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.rx-layout--header-choice-solid .rx-header {
    background: var(--rx-header-bg);
    border-bottom: 1px solid var(--rx-border);
    box-shadow: 0 14px 36px rgba(10, 24, 40, 0.04);
}

.rx-layout--header-choice-glass .rx-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.rx-layout--header-choice-minimal .rx-header {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        var(--rx-header-minimal-surface);
    border-bottom: 1px solid var(--rx-header-minimal-border);
    box-shadow: 0 18px 42px rgba(6, 12, 24, 0.18);
    backdrop-filter: saturate(140%) blur(22px);
    -webkit-backdrop-filter: saturate(140%) blur(22px);
    color: var(--rx-header-minimal-text);
}

.rx-layout--header-choice-minimal.rx-layout--header-minimal-tint-preset .rx-header::after {
    opacity: 0.2;
    background: linear-gradient(120deg, var(--rx-accent), var(--rx-accent-alt));
}

.rx-layout--header-choice-minimal.rx-layout--header-minimal-tint-solid .rx-header::after {
    opacity: 0.24;
    background: linear-gradient(120deg, var(--rx-header-user-color-1), var(--rx-header-user-color-1));
}

.rx-layout--header-choice-minimal.rx-layout--header-minimal-tint-gradient .rx-header::after {
    opacity: 0.28;
    background: linear-gradient(120deg, var(--rx-header-user-color-1), var(--rx-header-user-color-2));
}

.rx-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: var(--rx-header-height);
}

.rx-header__brand,
.rx-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rx-header__actions {
    min-width: 0;
    margin-left: 12px;
    justify-self: end;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.rx-header__actions > * {
    flex: 0 0 auto;
}

.rx-search--inline {
    flex: 0 1 360px;
    justify-content: flex-end;
    width: min(100%, 360px);
    min-width: 240px;
    max-width: 360px;
}

.rx-search--inline input {
    flex: 1 1 auto;
}

.rx-logo {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1;
}

.rx-logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rx-logo a > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rx-logo a > span::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 5px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 20%, transparent 20% 40%, rgba(255, 255, 255, 0.18) 40% 60%, transparent 60% 80%, rgba(255, 255, 255, 0.18) 80% 100%),
        linear-gradient(135deg, var(--rx-accent), var(--rx-accent-strong));
    box-shadow: 0 0 0 6px var(--rx-accent-soft);
}

.rx-logo img {
    display: block;
    max-height: 42px;
    width: auto;
}

.rx-gnb__list,
.rx-footer__menu ul,
.rx-drawer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rx-gnb {
    min-width: 0;
}

.rx-gnb__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rx-gnb__list > li {
    position: relative;
}

.rx-gnb__list > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 999px;
    position: relative;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.84rem;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rx-gnb__list > li:hover > a {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), var(--rx-accent-soft));
    color: var(--rx-accent-strong);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 12px 24px rgba(10, 24, 40, 0.06);
}

.rx-gnb__list > li.is-active > a {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rx-accent-strong), var(--rx-accent-alt));
    box-shadow: 0 18px 34px rgba(77, 54, 208, 0.24), 0 10px 22px rgba(132, 116, 254, 0.18);
    transform: translateY(-1px);
}

.rx-gnb__list > li.is-active > a::after {
    content: none;
}

.rx-subnav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 5;
    min-width: 220px;
    padding: 10px;
    background:
        linear-gradient(135deg, var(--rx-overlay-accent), rgba(255, 255, 255, 0.92)),
        rgba(255, 255, 255, 0.98);
    border: 1px solid var(--rx-border);
    border-radius: calc(var(--rx-radius) - 4px);
    box-shadow: var(--rx-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.rx-gnb__list > li:hover > .rx-subnav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rx-subnav ul,
.rx-subnav__depth3 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rx-subnav li + li {
    margin-top: 4px;
}

.rx-subnav a {
    display: block;
    padding: 9px 10px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    font-size: 0.96rem;
}

.rx-subnav a:hover,
.rx-subnav li.is-active > a {
    background: var(--rx-surface-strong);
    color: var(--rx-accent-strong);
}

.rx-layout--header-choice-minimal .rx-logo a,
.rx-layout--header-choice-minimal .rx-gnb__list > li > a,
.rx-layout--header-choice-minimal .rx-user-menu__trigger,
.rx-layout--header-choice-minimal .rx-user-menu__link,
.rx-layout--header-choice-minimal .rx-icon-button {
    color: var(--rx-header-minimal-text);
}

.rx-layout--header-choice-minimal .rx-gnb__list > li:hover > a {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.rx-layout--header-choice-minimal .rx-gnb__list > li.is-active > a {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rx-accent-strong), var(--rx-accent-alt));
    box-shadow: 0 18px 34px rgba(77, 54, 208, 0.28), 0 10px 22px rgba(132, 116, 254, 0.2);
    transform: translateY(-1px);
}

.rx-layout--header-choice-minimal .rx-gnb__list > li.is-active > a::after {
    content: none;
}

.rx-subnav__depth3 {
    margin: 4px 0 0 10px;
    padding-left: 10px;
    border-left: 1px solid var(--rx-border);
}

.rx-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rx-search input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--rx-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--rx-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rx-search button,
.rx-button,
.rx-user-menu__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.rx-search button,
.rx-button--primary {
    background: linear-gradient(135deg, var(--rx-accent), var(--rx-accent-strong));
    color: #fff;
    box-shadow: 0 12px 24px rgba(13, 143, 184, 0.22);
}

.rx-search button {
    flex: 0 0 auto;
    min-width: 56px;
    padding-inline: 16px;
    letter-spacing: -0.02em;
}

.rx-search button:hover,
.rx-button--primary:hover {
    transform: translateY(-1px);
}

.rx-button--ghost,
.rx-user-menu__link {
    background: rgba(255, 255, 255, 0.84);
    color: var(--rx-text);
    border: 1px solid var(--rx-border);
}

.rx-button--ghost:hover,
.rx-user-menu__link:hover {
    background: var(--rx-surface);
}

.rx-layout--header-choice-minimal .rx-search input,
.rx-layout--header-choice-minimal .rx-user-menu__trigger,
.rx-layout--header-choice-minimal .rx-user-menu__link,
.rx-layout--header-choice-minimal .rx-icon-button {
    border-color: var(--rx-header-minimal-pill-border);
    background: var(--rx-header-minimal-pill-bg);
}

.rx-layout--header-choice-minimal .rx-search input {
    color: var(--rx-header-minimal-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rx-layout--header-choice-minimal .rx-search input::placeholder {
    color: rgba(245, 251, 255, 0.62);
}

.rx-layout--header-choice-minimal .rx-search button,
.rx-layout--header-choice-minimal .rx-header .rx-button--primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
    color: #13213f;
    box-shadow: 0 10px 22px rgba(6, 12, 24, 0.16);
}

.rx-icon-button {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--rx-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
}

.rx-user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.rx-user-menu__dropdown {
    position: relative;
}

.rx-user-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--rx-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--rx-text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.rx-user-menu__trigger.is-avatar {
    padding-left: 10px;
}

.rx-user-menu__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    flex: 0 0 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.rx-user-menu__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rx-user-menu__avatar.is-fallback {
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92) 0 20%, transparent 21%),
        radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.88) 0 36%, transparent 37%),
        linear-gradient(135deg, var(--rx-accent), var(--rx-accent-alt));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.rx-user-menu__name {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rx-user-menu__caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
}

.rx-user-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 148px;
    padding: 8px;
    border: 1px solid var(--rx-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--rx-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.rx-layout--header-choice-minimal .rx-subnav,
.rx-layout--header-choice-minimal .rx-user-menu__panel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.08)),
        rgba(10, 18, 31, 0.82);
    border-color: var(--rx-header-minimal-pill-border);
    color: var(--rx-header-minimal-text);
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
}

.rx-layout--header-choice-minimal .rx-subnav a:hover,
.rx-layout--header-choice-minimal .rx-subnav li.is-active > a,
.rx-layout--header-choice-minimal .rx-user-menu__panel-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.rx-layout--header-choice-minimal .rx-subnav__depth3 {
    border-left-color: rgba(255, 255, 255, 0.12);
}

.rx-layout.is-user-open .rx-user-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rx-user-menu__dropdown:hover .rx-user-menu__panel,
.rx-user-menu__dropdown:focus-within .rx-user-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rx-user-menu__panel-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.rx-user-menu__panel-link:hover {
    background: var(--rx-surface-strong);
    color: var(--rx-accent-strong);
}

.rx-icon-button span {
    display: block;
}

.rx-icon-button span + span {
    margin-top: 4px;
}

.rx-icon-button span:not(.rx-icon-button__search):not(.rx-icon-button__close) {
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.rx-icon-button__search,
.rx-icon-button__close {
    position: relative;
    width: 16px;
    height: 16px;
}

.rx-icon-button__search::before,
.rx-icon-button__search::after,
.rx-icon-button__close::before,
.rx-icon-button__close::after {
    content: "";
    position: absolute;
    inset: 0;
}

.rx-icon-button__search::before {
    inset: 1px 1px 5px 1px;
    border: 2px solid currentColor;
    border-radius: 999px;
}

.rx-icon-button__search::after {
    width: 7px;
    height: 2px;
    right: -1px;
    bottom: 1px;
    left: auto;
    top: auto;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
}

.rx-icon-button__close::before,
.rx-icon-button__close::after {
    top: 7px;
    height: 2px;
    background: currentColor;
}

.rx-icon-button__close::before {
    transform: rotate(45deg);
}

.rx-icon-button__close::after {
    transform: rotate(-45deg);
}

.rx-search--panel {
    display: none;
    padding: 0 0 16px;
}

.rx-layout.is-search-open .rx-search--panel {
    display: block;
}

.rx-search--panel form,
.rx-search--drawer {
    display: flex;
    gap: 10px;
}

.rx-page-head {
    position: relative;
    z-index: 1;
    padding: 26px 0 0;
}

.rx-page-head .rx-container {
    position: relative;
    padding: 30px 34px 34px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: calc(var(--rx-radius) + 6px);
    background: var(--rx-page-head-bg);
    box-shadow: var(--rx-shadow);
    overflow: clip;
}

.rx-page-head .rx-container::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--rx-accent), var(--rx-accent-strong));
}

.rx-page-head .rx-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(16, 32, 56, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 32, 56, 0.028) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 72%);
    pointer-events: none;
}

.rx-page-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--rx-accent-strong);
    font-size: 0.79rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.rx-page-head__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rx-signal), var(--rx-accent));
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.28);
}

.rx-page-head__title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.rx-page-head--compact .rx-page-head {
    padding-top: 14px;
}

.rx-page-head--compact .rx-page-head .rx-container {
    padding: 18px 24px 18px 26px;
    border-radius: calc(var(--rx-radius) + 2px);
}

.rx-page-head--compact .rx-page-head .rx-container::before {
    width: 4px;
}

.rx-page-head--compact .rx-page-head__eyebrow {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 0.72rem;
}

.rx-page-head--compact .rx-page-head__title {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.12;
}

.rx-main-wrap {
    position: relative;
    z-index: 1;
    padding: 28px 0 72px;
}

.rx-content-grid {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.rx-content {
    flex: 1 1 auto;
    min-width: 0;
}

.rx-layout--module-board .rx-content {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: calc(var(--rx-radius) + 4px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88)),
        var(--rx-surface-tint);
    box-shadow: var(--rx-shadow);
}

.rx-layout--module-board .rx-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(var(--rx-panel-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--rx-panel-grid) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 42%);
    pointer-events: none;
}

.rx-layout--board-list.has-page-head .rx-content .bd_tl {
    display: none !important;
}

.rx-layout--board-list.has-page-head .rx-content .tl_srch {
    margin-top: 0;
}

.rx-sidebar {
    flex: 0 0 300px;
    min-width: 0;
}

.rx-layout--sidebar-right .rx-main-wrap .rx-sidebar {
    order: 2;
}

.rx-layout--sidebar-right .rx-main-wrap .rx-content {
    order: 1;
}

.rx-layout--sidebar-off .rx-sidebar {
    display: none;
}

.rx-sidebar__card,
.rx-content > .section,
.rx-content > .content-area {
    padding: 20px;
    border: 1px solid var(--rx-border);
    border-radius: var(--rx-radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(10, 24, 40, 0.03);
}

.rx-sidebar__card + .rx-sidebar__card {
    margin-top: 16px;
}

.rx-sidebar__card--stack {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.rx-sidebar__slot {
    display: grid;
    gap: 18px;
}

.rx-sidebar__slot > * {
    margin: 0;
}

.rx-sidebar__slot > p:empty {
    display: none;
}

.rx-sidebar__slot > p > .widgetContainer,
.rx-sidebar__slot > .widgetContainer {
    display: block;
}

.rx-sidebar__slot .widgetContainer {
    margin: 0 !important;
    padding: 20px !important;
    border: 1px solid var(--rx-border) !important;
    border-radius: var(--rx-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
    box-shadow: 0 8px 24px rgba(10, 24, 40, 0.04);
}

.rx-sidebar__card--ad {
    padding: 16px;
}

.rx-sidebar__ad {
    display: block;
    text-align: center;
}

.rx-sidebar__ad > * {
    max-width: 100%;
}

.rx-sidebar__ad ins,
.rx-sidebar__ad iframe,
.rx-sidebar__ad img {
    max-width: 100%;
    margin: 0 auto;
}

.rx-footer {
    position: relative;
    z-index: 1;
    padding: 24px 0 40px;
    border-top: 1px solid var(--rx-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 255, 0.96)),
        var(--rx-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.rx-layout--module-board .rx-footer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 255, 0.96)),
        linear-gradient(180deg, rgba(255, 255, 255, 0), var(--rx-footer-wash)),
        var(--rx-surface);
}

.rx-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
}

.rx-footer__brand strong {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.rx-footer__brand p,
.rx-footer__bottom p {
    margin: 0;
    color: var(--rx-text-muted);
}

.rx-footer__menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.rx-footer__menu a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.rx-footer__bottom {
    padding-top: 18px;
    border-top: 1px solid var(--rx-border);
}

.rx-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 32, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 160ms ease;
    z-index: 35;
}

.rx-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw, 360px);
    height: 100vh;
    padding: 20px;
    background: var(--rx-surface);
    box-shadow: var(--rx-shadow);
    transform: translateX(-100%);
    transition: transform 180ms ease;
    z-index: 40;
    overflow: auto;
}

.rx-layout.is-drawer-open .rx-drawer {
    transform: translateX(0);
}

.rx-layout.is-drawer-open .rx-drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

.rx-drawer__head,
.rx-drawer__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rx-drawer__head {
    margin-bottom: 20px;
}

.rx-drawer__nav > ul > li + li,
.rx-drawer__nav ul ul li + li {
    margin-top: 8px;
}

.rx-drawer__nav a {
    display: block;
    padding: 10px 0;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.rx-drawer__nav ul ul {
    margin-top: 4px;
    padding-left: 12px;
    border-left: 1px solid var(--rx-border);
}

.rx-drawer__nav ul ul a {
    padding: 8px 0;
    font-weight: 600;
}

.rx-drawer__actions {
    margin-top: 24px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.rx-mobile-only {
    display: none;
}

@media (max-width: 1080px) {
    .rx-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .rx-header__actions {
        width: auto;
    }

    .rx-desktop-only {
        display: none !important;
    }

    .rx-mobile-only {
        display: inline-grid;
    }

    .rx-user-menu__panel {
        display: none;
    }

    .rx-content-grid {
        flex-direction: column;
    }

    .rx-sidebar {
        flex-basis: auto;
        width: 100%;
    }

    .rx-layout--sidebar-right .rx-main-wrap .rx-sidebar,
    .rx-layout--sidebar-right .rx-main-wrap .rx-content {
        order: initial;
    }
}

@media (max-width: 720px) {
    .rx-container {
        width: min(100% - 24px, var(--rx-content-max));
    }

    .rx-header__inner {
        gap: 12px;
    }

    .rx-header__actions {
        gap: 6px;
    }

    .rx-search--inline {
        min-width: 180px;
        max-width: 360px;
    }

    .rx-page-head {
        padding-top: 18px;
    }

    .rx-page-head .rx-container {
        padding: 24px 20px 24px 24px;
    }

    .rx-main-wrap {
        padding: 20px 0 48px;
    }

    .rx-layout--module-board .rx-content {
        padding: 18px;
    }

    .rx-footer__top {
        flex-direction: column;
    }

    .rx-footer__menu ul {
        justify-content: flex-start;
    }

    .rx-search--panel form,
    .rx-search--drawer {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .rx-layout.is-mobile-trimmed .rx-user-menu__link.rx-desktop-only {
        display: none !important;
    }

    .rx-layout--boxed .rx-shell {
        margin: 12px;
    }

    .rx-page-head__title {
        font-size: 1.7rem;
    }
}
