/**
 * GradeVault V2 - public/assets/css/app.css
 *
 * Foglio stile principale della V2. Organizza design system, layout, componenti Keen-like, dashboard, form, grafici e responsive.
 */

:root {
    color-scheme: light;
    --gv-bg: #f5f8fa;
    --gv-site-backdrop-base: #ffffff;
    --gv-site-backdrop-overlay: rgba(255, 255, 255, 0);
    --gv-site-backdrop-image-opacity: 1;
    --gv-dark: #171723;
    --gv-panel: #ffffff;
    --gv-text: #181c32;
    --gv-muted: #7e8299;
    --gv-primary: #009ef7;
    --gv-border: #eff2f5;
    --gv-shadow: 0 12px 30px rgba(76, 87, 125, 0.16);
    --gv-control-height: 48px;
    --gv-control-height-compact: 38px;
    --gv-control-height-small: 36px;
    --gv-control-textarea-height: 96px;
    --gv-control-textarea-height-compact: 54px;
    --gv-control-radius: 8px;
    --gv-control-padding-x: 14px;
    --gv-control-padding-x-compact: 10px;
    --gv-control-gap: 8px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --gv-bg: #0f1422;
    --gv-site-backdrop-base: #ffffff;
    --gv-site-backdrop-overlay: rgba(255, 255, 255, 0);
    --gv-site-backdrop-image-opacity: 1;
    --gv-dark: #f5f8ff;
    --gv-panel: #171d2c;
    --gv-text: #eef3ff;
    --gv-muted: #99a5bd;
    --gv-primary: #4db8ff;
    --gv-border: #2a3448;
    --gv-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    margin: 0;
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
    background: transparent;
    color: var(--gv-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (display-mode: standalone) {
    body {
        min-height: 100dvh;
    }
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: -2;
    background-color: var(--gv-site-backdrop-base);
    background-image: url("../img/site-background-streaks-v2.png?v=20260618-bg-userfile-2");
    background-position: center top;
    background-repeat: repeat;
    background-size: 760px auto;
    opacity: var(--gv-site-backdrop-image-opacity);
}

body::after {
    z-index: -1;
    background: var(--gv-site-backdrop-overlay);
}

:root[data-theme="dark"] body::after {
    background: var(--gv-site-backdrop-overlay);
}

@media (max-width: 760px) {
    body::before {
        background-size: 560px auto;
    }
}

@media (max-width: 932px) and (max-height: 440px) and (orientation: landscape) {
    .gv-vault-items {
        --gv-vault-card-width: 170px;
    }

    .gv-vault-items.is-grid {
        grid-template-columns: repeat(auto-fit, minmax(var(--gv-vault-card-width), var(--gv-vault-card-width)));
        grid-auto-rows: auto;
        justify-content: center;
    }

    .gv-vault-items.is-grid .gv-vault-item {
        width: 100%;
        max-width: var(--gv-vault-card-width);
    }
}

@media (hover: hover) and (pointer: fine) {
    .gv-vault-items {
        --gv-vault-card-width: 220px;
    }

    .gv-vault-items.is-grid {
        grid-template-columns: repeat(auto-fit, minmax(var(--gv-vault-card-width), var(--gv-vault-card-width)));
        justify-content: center;
    }

    .gv-vault-item {
        width: 100%;
        max-width: var(--gv-vault-card-width);
    }
}

@media (max-width: 520px) {
    body::before {
        background-size: 460px auto;
    }
}

.gv-public {
    background: transparent;
}

.gv-home {
    display: grid;
    min-height: calc(100vh - 58px);
    place-items: center;
    padding: 28px;
    background: transparent;
}

.gv-public.has-public-header .gv-home {
    min-height: calc(100vh - 58px - 104px);
}

.gv-hero {
    width: min(760px, 100%);
    padding: 34px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--gv-shadow);
    color: var(--gv-text);
    text-align: center;
}

.gv-logo-large {
    margin-bottom: 18px;
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
}

.gv-home-logo-main {
    display: block;
    width: min(620px, 100%);
    height: auto;
    margin: 0 auto 28px;
}

.gv-hero p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.gv-home-search {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    width: min(680px, 100%);
    margin: 0 auto 28px;
    overflow: hidden;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f9fafb;
}

.gv-home-live-search {
    position: relative;
    width: min(680px, 100%);
    margin: 0 auto 28px;
    text-align: left;
}

.gv-home-live-search .gv-home-search {
    width: 100%;
    margin: 0;
}

.gv-home-live-search .live-search-dropdown {
    text-align: left;
}

.gv-home-search span {
    color: var(--gv-muted);
    font-size: 1.6rem;
}

.gv-home-search input {
    min-width: 0;
    width: 100%;
    min-height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gv-text);
}

.gv-public-search-submit {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    align-self: stretch;
    min-width: 112px;
    border: 0;
    border-left: 1px solid var(--gv-border);
    background: var(--gv-primary);
    color: #fff;
    font: inherit;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.gv-public-search-submit:hover,
.gv-public-search-submit:focus-visible {
    background: #008ee0;
}

.gv-home-search input::placeholder {
    color: var(--gv-muted);
}

.gv-home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.gv-home-actions .gv-btn {
    min-width: 138px;
    min-height: var(--gv-control-height);
}

.gv-auth-page {
    display: grid;
    min-height: calc(100vh - 58px);
    place-items: center;
    padding: 28px;
    background: transparent;
}

.gv-auth-card {
    width: min(440px, 100%);
    padding: 34px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--gv-shadow);
}

.gv-auth-card-wide {
    width: min(560px, 100%);
}

.gv-mini-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
    text-decoration: none;
}

.gv-mini-brand img,
.gv-mini-brand .gv-auth-logo {
    display: block;
    width: 268px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 94px !important;
    object-fit: contain;
}

.gv-auth-card h1 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    font-weight: 800;
}

.gv-auth-switch {
    display: block;
    margin-top: 18px;
    color: var(--gv-muted);
    text-align: center;
    text-decoration: none;
}

.gv-auth-help {
    margin: -8px 0 18px;
    color: var(--gv-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.gv-auth-remember {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    color: var(--gv-muted);
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.gv-auth-remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--gv-primary);
}

.gv-auth {
    min-height: 100vh;
    background: transparent;
}

.gv-public-header {
    position: sticky;
    top: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 760px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 74px;
    padding: 0 28px;
    border-bottom: 1px solid var(--gv-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--gv-shadow);
    backdrop-filter: blur(14px);
}

.gv-public-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-width: 0;
    text-decoration: none;
}

.gv-public-logo {
    display: block;
    width: 172px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.gv-public-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 10px;
}

.gv-public-header-search {
    position: relative;
    width: min(760px, calc(100vw - 56px));
    min-width: 0;
    margin: 0;
    justify-self: center;
}

.gv-public-header-search .gv-home-search {
    position: relative;
    width: 100%;
    grid-template-columns: 38px minmax(0, 1fr) 112px;
    column-gap: 10px;
    margin: 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

.gv-public-header-search .gv-home-search::before {
    content: "";
    grid-column: 1 / 3;
    grid-row: 1;
    align-self: stretch;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f9fafb;
}

.gv-public-header-search .gv-home-search input {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    font-size: 0.95rem;
    font-weight: 780;
}

.gv-public-header-search .gv-home-search span {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    font-size: 1.35rem;
}

.gv-public-header-search .gv-public-search-submit {
    grid-column: 3;
    grid-row: 1;
    border-left: 0;
    border-radius: 8px;
}

.gv-public-header-search .live-search-dropdown {
    text-align: left;
}

.gv-public-header-search .live-search-status {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    min-height: 0;
    padding-top: 0;
}

.gv-public-header-search .live-search-status:empty {
    display: none;
}

.gv-auth-header {
    position: relative;
    z-index: 900;
    display: grid;
    grid-template-columns: auto minmax(280px, 38vw) minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 74px;
    padding: 0 28px;
    border-bottom: 1px solid var(--gv-border);
    background: #fff;
    box-shadow: var(--gv-shadow);
}

.gv-auth-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    color: var(--gv-text);
    font-weight: 900;
    text-decoration: none;
}

.gv-header-logo {
    display: block;
    width: 172px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.gv-header-search {
    position: relative;
    display: grid;
    width: clamp(260px, 28vw, 440px);
    min-width: 220px;
    justify-self: center;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    min-height: 40px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f9f9fb;
}

.gv-header-search > span {
    color: var(--gv-muted);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
}

.gv-header-search input {
    min-width: 0;
    height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gv-text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
}

.gv-header-search input::placeholder {
    color: #a1a5b7;
}

.gv-header-search button {
    display: none;
}

.gv-header-search:focus-within {
    border-color: rgba(0, 158, 247, 0.34);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.08);
}

.gv-header-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 90;
    display: grid;
    width: min(760px, calc(100vw - 36px));
    max-height: min(620px, calc(100vh - 112px));
    overflow: auto;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
    transform: translateX(-50%);
}

.gv-header-search-section {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-top: 1px solid var(--gv-border);
}

.gv-header-search-section:first-child {
    border-top: 0;
}

.gv-header-search-section-title {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gv-header-search-section-results {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.gv-header-search-result {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) max-content;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.gv-header-search-result:hover,
.gv-header-search-result:focus {
    background: #f8fafc;
    color: inherit;
}

.gv-header-search-kind {
    display: inline-grid;
    min-width: 58px;
    min-height: 28px;
    place-items: center;
    padding: 0 8px;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 0.72rem;
    font-weight: 950;
}

.gv-header-search-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.gv-header-search-copy strong,
.gv-header-search-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-header-search-copy strong {
    color: var(--gv-text);
    font-size: 0.9rem;
    font-weight: 900;
}

.gv-header-search-copy small,
.gv-header-search-section-empty,
.gv-header-search-message {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.gv-header-search-result em {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.gv-header-search-section-empty,
.gv-header-search-message {
    padding: 10px 0;
}

.gv-header-search-message {
    padding: 16px;
}

.gv-header-search-all {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid var(--gv-border);
    background: #f8fbff;
    color: var(--gv-primary);
    font-size: 0.84rem;
    font-weight: 950;
    text-align: center;
    text-decoration: none;
}

.gv-header-search-all:hover,
.gv-header-search-all:focus {
    background: #eef8ff;
    color: var(--gv-primary);
}

.gv-auth-nav {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    justify-self: end;
    min-width: 0;
    flex-wrap: nowrap;
}

.gv-profile-menu {
    justify-self: end;
}

.gv-theme-menu {
    position: relative;
}

.gv-theme-trigger {
    width: 42px;
    height: 40px;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
    font-weight: 900;
}

.gv-theme-trigger span {
    display: block;
    line-height: 1;
}

.gv-theme-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 70;
    display: none;
    width: 210px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.gv-theme-dropdown button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: var(--gv-text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.gv-theme-dropdown button:hover,
.gv-theme-dropdown button.is-active {
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-theme-dropdown button span {
    width: 24px;
    color: inherit;
    font-size: 1.05rem;
    line-height: 1;
    text-align: center;
}

.gv-theme-dropdown button strong {
    color: inherit;
    font-size: 0.9rem;
    font-weight: 850;
}

.gv-auth-nav a,
.gv-nav-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gv-muted);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.gv-auth-nav .gv-main-nav-link {
    --gv-main-nav-color: var(--gv-primary);
    position: relative;
    justify-content: center;
    min-height: 58px;
    overflow: hidden;
    padding: 10px 13px 20px;
    border-radius: 0;
    color: var(--gv-text);
    font-weight: 760;
    transition: color 0.16s ease;
}

.gv-auth-nav .gv-main-nav-link.is-value-check {
    --gv-main-nav-color: #8b5bdc;
}

.gv-auth-nav .gv-main-nav-link.is-vault {
    --gv-main-nav-color: #f5c542;
}

.gv-auth-nav .gv-main-nav-link.is-box {
    --gv-main-nav-color: #58b957;
}

.gv-auth-nav .gv-main-nav-link.is-pokedex {
    --gv-main-nav-color: #ee1f25;
}

.gv-auth-nav .gv-main-nav-link.is-pokenews {
    --gv-main-nav-color: #2f72f6;
}

.gv-auth-nav .gv-main-nav-link::after,
.gv-auth-nav .gv-main-nav-link::before {
    position: absolute;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    content: "";
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.gv-auth-nav .gv-main-nav-link::after {
    bottom: -24px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--gv-main-nav-color);
}

.gv-auth-nav .gv-main-nav-link::before {
    bottom: -4px;
    z-index: 1;
    width: 14px;
    height: 14px;
    border: 4px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 0 0 3px var(--gv-main-nav-color);
}

.gv-auth-nav .gv-main-nav-link:hover,
.gv-auth-nav .gv-main-nav-link:focus-visible,
.gv-auth-nav .gv-main-nav-link.is-active {
    background: transparent;
    color: var(--gv-main-nav-color);
}

.gv-auth-nav .gv-main-nav-link:hover::after,
.gv-auth-nav .gv-main-nav-link:hover::before,
.gv-auth-nav .gv-main-nav-link:focus-visible::after,
.gv-auth-nav .gv-main-nav-link:focus-visible::before,
.gv-auth-nav .gv-main-nav-link.is-active::after,
.gv-auth-nav .gv-main-nav-link.is-active::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.gv-hover-dropdown {
    position: relative;
}

[data-gv-menu] {
    position: relative;
}

[data-gv-menu-panel] {
    max-width: calc(100vw - 24px);
    transform: translateX(var(--gv-menu-offset-x, 0));
}

[data-gv-menu]::after {
    position: absolute;
    top: var(--gv-menu-bridge-top, 100%);
    right: var(--gv-menu-bridge-right, -40px);
    bottom: var(--gv-menu-bridge-bottom, auto);
    left: var(--gv-menu-bridge-left, -40px);
    z-index: var(--gv-menu-bridge-z, 49);
    display: none;
    width: var(--gv-menu-bridge-width, auto);
    height: var(--gv-menu-bridge-height, 18px);
    content: "";
}

.gv-notification-menu::after {
    --gv-menu-bridge-right: 0;
    --gv-menu-bridge-left: -280px;
}

[data-gv-menu]:hover::after,
[data-gv-menu]:focus-within::after,
[data-gv-menu].is-menu-open::after {
    display: block;
}

.gv-auth-nav a:not(.gv-main-nav-link):hover,
.gv-nav-button:hover,
.gv-hover-dropdown:hover > .gv-nav-button,
.gv-hover-dropdown:focus-within > .gv-nav-button,
.gv-hover-dropdown.is-menu-open > .gv-nav-button {
    background: #f5f8fa;
    color: var(--gv-primary);
}

.gv-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 50;
    display: none;
    gap: 2px;
    min-width: 150px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--gv-shadow);
}

.gv-hover-dropdown:hover > .gv-nav-dropdown-menu,
.gv-hover-dropdown:focus-within > .gv-nav-dropdown-menu,
.gv-hover-dropdown:hover > .gv-notification-dropdown,
.gv-hover-dropdown:focus-within > .gv-notification-dropdown,
.gv-hover-dropdown:hover > .gv-profile-dropdown,
.gv-hover-dropdown:focus-within > .gv-profile-dropdown,
[data-gv-menu].is-menu-open > [data-gv-menu-panel] {
    display: grid;
}

.gv-nav-dropdown-menu a {
    display: block;
    white-space: nowrap;
}

.gv-notification-menu.has-unread > .gv-nav-button {
    background: #fff5f8;
    color: #f1416c;
}

.gv-notification-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f1416c;
}

.gv-notification-count {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #f1416c;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.gv-notification-dropdown,
.gv-profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 60;
    display: none;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.gv-notification-dropdown {
    gap: 0;
    width: 430px;
    padding: 12px;
}

.gv-dropdown-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 850;
}

.gv-dropdown-title em {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff5f8;
    color: #f1416c;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.gv-dropdown-empty {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.gv-notification-list {
    display: grid;
    gap: 6px;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item,
.gv-notification-item {
    display: grid;
    min-height: 0;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    text-decoration: none;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row,
.gv-notification-item.gv-notification-value-row {
    grid-template-columns: minmax(150px, 1fr) max-content max-content;
    align-items: center;
    gap: 0 12px;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row strong,
.gv-notification-item.gv-notification-value-row strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row .gv-notification-card-title,
.gv-notification-item.gv-notification-value-row .gv-notification-card-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    justify-self: start;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row .gv-notification-card-title strong,
.gv-notification-item.gv-notification-value-row .gv-notification-card-title strong {
    display: inline;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row .gv-notification-card-title small,
.gv-notification-item.gv-notification-value-row .gv-notification-card-title small {
    display: inline;
    margin-left: 0.35rem;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 400;
    white-space: nowrap;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row span,
.gv-notification-item.gv-notification-value-row span {
    justify-self: end;
    overflow: visible;
    text-align: right;
    text-overflow: clip;
    white-space: nowrap;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row .gv-notification-card-title,
.gv-notification-item.gv-notification-value-row .gv-notification-card-title {
    justify-self: start;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row em,
.gv-notification-item.gv-notification-value-row em {
    justify-self: end;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.gv-auth-nav .gv-notification-dropdown a.gv-notification-item:hover,
.gv-notification-item:hover {
    border-color: var(--gv-border);
    background: #f8fafc;
    color: inherit;
}

.gv-notification-item.is-unread {
    border-color: rgba(0, 158, 247, 0.22);
    background: #f7fbff;
}

.gv-notification-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 950;
}

.gv-notification-item.is-success .gv-notification-icon {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-notification-item.is-warning .gv-notification-icon {
    background: #fff8dd;
    color: #b7791f;
}

.gv-notification-item.is-danger .gv-notification-icon {
    background: #fff5f8;
    color: #f1416c;
}

.gv-notification-content {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.gv-notification-content strong,
.gv-notification-item strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.88rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-notification-item.gv-notification-value-row strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-notification-content span,
.gv-notification-item span {
    overflow: hidden;
    color: #a1a5b7;
    font-size: 0.78rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-notification-content time {
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.gv-notification-item em.is-positive {
    color: #0bb75b;
}

.gv-notification-item em.is-negative {
    color: #f1416c;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-all-link,
.gv-notification-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 12px;
    border-top: 1px solid var(--gv-border);
    border-radius: 0;
    background: transparent;
    color: var(--gv-primary);
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.gv-auth-nav .gv-notification-dropdown .gv-notification-all-link:hover,
.gv-notification-all-link:hover {
    background: #f8fafc;
    color: var(--gv-primary);
}

.gv-notification-page {
    display: grid;
    gap: 18px;
}

.gv-notification-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gv-notification-filters a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
}

.gv-notification-filters a:hover,
.gv-notification-filters a.is-active {
    border-color: rgba(27, 158, 217, 0.38);
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-notification-filters em {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef2f7;
    color: var(--gv-muted);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 900;
}

.gv-notification-filters a.is-active em {
    background: #ffffff;
    color: var(--gv-primary);
}

.gv-notification-page-panel {
    padding: 12px;
}

.gv-notification-page-list {
    display: grid;
    gap: 8px;
}

.gv-notification-page-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
}

.gv-notification-page-item:hover {
    border-color: rgba(27, 158, 217, 0.32);
    background: #f8fafc;
    color: inherit;
}

.gv-notification-page-item.is-unread {
    border-color: rgba(0, 158, 247, 0.22);
    background: #f7fbff;
}

.gv-notification-page-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 950;
}

.gv-notification-page-item.is-success .gv-notification-page-icon {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-notification-page-item.is-positive-change .gv-notification-page-icon {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-notification-page-item.is-warning .gv-notification-page-icon {
    background: #fff8dd;
    color: #b7791f;
}

.gv-notification-page-item.is-danger .gv-notification-page-icon {
    background: #fff5f8;
    color: #f1416c;
}

.gv-notification-page-item.is-negative-change .gv-notification-page-icon {
    background: #fff5f8;
    color: #f1416c;
}

.gv-notification-page-body {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.gv-notification-page-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--gv-muted);
    font-size: 0.75rem;
    font-weight: 850;
}

.gv-notification-page-meta em {
    color: var(--gv-primary);
    font-style: normal;
    font-weight: 950;
    text-transform: uppercase;
}

.gv-notification-page-meta time {
    color: var(--gv-muted);
}

.gv-notification-page-body strong {
    color: var(--gv-text);
    font-size: 0.98rem;
    font-weight: 900;
}

.gv-notification-page-body-text,
.gv-notification-page-body > span:not(.gv-notification-page-meta) {
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.45;
}

.gv-notification-delta-text {
    font-weight: 950;
}

.gv-notification-delta-text.is-positive {
    color: #0bb75b;
}

.gv-notification-delta-text.is-negative {
    color: #f1416c;
}

.gv-profile-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 12px;
    background: linear-gradient(180deg, #eef8ff 0%, #dff0ff 100%);
    box-shadow: 0 8px 20px rgba(24, 58, 112, 0.14), 0 0 0 1px #cfe6ff;
    color: var(--gv-primary);
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.gv-profile-trigger:hover,
.gv-profile-trigger:focus-visible {
    border-color: #b8ddff;
    box-shadow: 0 10px 24px rgba(24, 58, 112, 0.18), 0 0 0 1px #9ed0ff;
    transform: translateY(-1px);
}

.gv-profile-trigger img,
.gv-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-profile-trigger img {
    transform: scale(1.16);
}

.gv-profile-trigger span,
.gv-profile-avatar span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.gv-profile-dropdown {
    width: min(330px, calc(100vw - 32px));
}

.gv-profile-head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px;
}

.gv-profile-avatar {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 14px;
    background: linear-gradient(180deg, #eef8ff 0%, #dff0ff 100%);
    box-shadow: 0 10px 24px rgba(24, 58, 112, 0.12), 0 0 0 1px #cfe6ff;
    color: var(--gv-primary);
    font-weight: 900;
}

.gv-profile-avatar img {
    transform: scale(1.12);
}

.gv-profile-name {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.gv-profile-name strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 1rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-profile-name span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
    background: #e8fff3;
    color: #0bb75b;
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.gv-profile-head p {
    margin: 6px 0 0;
    overflow: hidden;
    color: #a1a5b7;
    font-size: 0.98rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-profile-links {
    display: grid;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid var(--gv-border);
}

.gv-profile-links a,
.gv-profile-links button,
.gv-profile-row {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border: 0;
    background: transparent;
    color: var(--gv-text);
    font: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.gv-profile-links a:hover,
.gv-profile-links button:hover,
.gv-profile-row:hover {
    background: #f5f8fa;
    color: var(--gv-primary);
}

.gv-profile-row {
    position: relative;
}

.gv-language-row::before {
    position: absolute;
    top: 0;
    right: 100%;
    width: 14px;
    height: 100%;
    content: "";
}

.gv-language-row {
    --gv-menu-bridge-top: 0;
    --gv-menu-bridge-right: 100%;
    --gv-menu-bridge-left: auto;
    --gv-menu-bridge-width: 18px;
    --gv-menu-bridge-height: 100%;
    --gv-menu-bridge-z: 69;
}

.gv-profile-row strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7e8299;
    font-size: 0.86rem;
    font-weight: 850;
}

.gv-profile-row strong i {
    font-style: normal;
}

.gv-profile-links form {
    margin: 0;
}

.gv-language-panel {
    position: absolute;
    top: 0;
    right: calc(100% + 10px);
    z-index: 70;
    display: none;
    width: 220px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.gv-language-row:hover .gv-language-panel,
.gv-language-row:focus-within .gv-language-panel,
.gv-language-row.is-menu-open .gv-language-panel {
    display: block;
}

.gv-language-title {
    padding: 8px 10px 9px;
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-language-panel form {
    margin: 0;
}

.gv-language-panel button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.gv-language-panel button:hover,
.gv-language-panel button.is-active {
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-language-panel button span {
    width: 24px;
    font-size: 1.1rem;
    line-height: 1;
}

.gv-language-panel button strong {
    color: inherit;
    font-size: 0.9rem;
    font-weight: 850;
}

.gv-main-shell {
    min-height: calc(100vh - 132px);
    padding: 30px;
}

.gv-page {
    width: min(1480px, 100%);
    margin: 0 auto;
}

.gv-public .gv-page {
    padding: 30px;
}

.gv-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.gv-page-heading h1 {
    margin: 0 0 6px;
    color: var(--gv-text);
    font-size: 2rem;
    font-weight: 900;
}

.gv-page-heading p {
    margin: 0;
    color: var(--gv-muted);
}

.gv-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.gv-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.gv-page-head h1 {
    margin: 0 0 6px;
    color: var(--gv-text);
    font-size: 2rem;
    font-weight: 900;
}

.gv-page-head p {
    margin: 0;
    color: var(--gv-muted);
    font-weight: 750;
}

.gv-search-results-grid {
    display: grid;
    gap: 16px;
}

.gv-search-section {
    padding: 18px;
}

.gv-search-result-list {
    display: grid;
    gap: 8px;
}

.gv-search-result-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) max-content;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.gv-search-result-row:hover,
.gv-search-result-row:focus {
    border-color: rgba(0, 158, 247, 0.34);
    background: #f8fbff;
    color: inherit;
}

.gv-search-result-kind {
    display: inline-grid;
    min-height: 30px;
    place-items: center;
    padding: 0 8px;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 0.72rem;
    font-weight: 950;
}

.gv-search-result-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.gv-search-result-copy strong,
.gv-search-result-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-search-result-copy strong {
    color: var(--gv-text);
    font-weight: 900;
}

.gv-search-result-copy small {
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.gv-search-result-row em {
    color: var(--gv-muted);
    font-size: 0.84rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.gv-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.gv-span-2 {
    grid-column: span 2;
}

.gv-span-4 {
    grid-column: span 4;
}

.gv-card {
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: var(--gv-panel);
    box-shadow: var(--gv-shadow);
}

.gv-dashboard-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 160px;
    padding: 20px;
    position: relative;
}

.gv-dashboard-card-main {
    min-width: 0;
    flex: 1 1 auto;
}

.gv-utility-card {
    display: block;
    align-content: start;
}

.gv-utility-card .gv-dashboard-card-main {
    display: block;
}

.gv-utility-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.gv-utility-heading .gv-card-label {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-utility-heading-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.gv-utility-heading-actions form {
    margin: 0;
}

.gv-utility-icon-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.gv-utility-icon-button:hover,
.gv-utility-icon-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.gv-utility-icon-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gv-utility-refresh-button {
    font-size: 0;
}

.gv-utility-privacy-button {
    position: relative;
    font-size: 0;
}

.gv-utility-privacy-button .gv-privacy-icon-open,
.gv-utility-privacy-button .gv-privacy-icon-closed {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.16s ease;
}

.gv-utility-privacy-button .gv-privacy-icon-open {
    opacity: 0;
}

html[data-gv-privacy-values="visible"] .gv-utility-privacy-button .gv-privacy-icon-open {
    opacity: 1;
}

html[data-gv-privacy-values="visible"] .gv-utility-privacy-button .gv-privacy-icon-closed {
    opacity: 0;
}

html:not([data-gv-privacy-values="visible"]) .gv-utility-privacy-button .gv-privacy-icon-open {
    opacity: 0;
}

html:not([data-gv-privacy-values="visible"]) .gv-utility-privacy-button .gv-privacy-icon-closed {
    opacity: 1;
}

.gv-utility-trash-button {
    color: #f1416c;
}

.gv-utility-notification-menu {
    position: relative;
}

.gv-utility-notification-button {
    position: relative;
}

.gv-utility-notification-button .gv-notification-dot {
    position: absolute;
    top: 7px;
    right: 7px;
}

.gv-utility-heading-actions .gv-notification-dropdown {
    top: calc(100% + 10px);
    right: 0;
}

.gv-utility-push-button.is-enabled {
    background: #e8fff3;
    color: #47be7d;
}

.gv-utility-push-button.is-disabled {
    background: #fff5f8;
    color: #f1416c;
}

.gv-utility-card .gv-card-actions {
    width: 100%;
    margin-top: 18px;
}

.gv-dashboard-card-link {
    color: inherit;
    text-decoration: none;
}

.gv-dashboard-card-link:hover {
    border-color: var(--gv-border);
    color: inherit;
}

.gv-card-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    font-weight: 900;
}

.gv-icon-blue {
    background: #e1f0ff;
    color: #009ef7;
}

.gv-icon-green {
    background: #e8fff3;
    color: #47be7d;
}

.gv-icon-purple {
    background: #f8f5ff;
    color: #7239ea;
}

.gv-icon-amber {
    background: #fff8dd;
    color: #b58105;
}

.gv-icon-red {
    background: #fff5f8;
    color: #f1416c;
}

.gv-card-label {
    display: block;
    margin-bottom: 6px;
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gv-card-value {
    display: block;
    margin-bottom: 6px;
    color: var(--gv-text);
    font-size: 1.38rem;
    font-weight: 850;
    line-height: 1.15;
}

.gv-card-value.is-positive {
    color: #0bb75b;
}

.gv-card-value.is-negative {
    color: #f1416c;
}

.gv-private-money {
    display: inline-flex;
    align-items: baseline;
}

.gv-private-money-gap {
    flex: 0 0 auto;
}

.gv-private-money-digits {
    display: inline-block;
    transform: translateZ(0);
    transition: filter 0.16s ease, opacity 0.16s ease;
    transform-origin: center;
}

html:not([data-gv-privacy-values="visible"]) .gv-private-money-digits {
    filter: blur(0.22em);
    user-select: none;
}

.gv-dashboard-card p,
.gv-panel p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.92rem;
}

.gv-value-card {
    display: grid;
    align-content: start;
    gap: 12px;
    position: relative;
    cursor: pointer;
}

.gv-value-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.gv-value-heading {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    align-content: start;
    gap: 6px;
}

.gv-value-total {
    display: inline-flex;
    margin-bottom: 0;
    font-size: 1.38rem;
    font-weight: 850;
    line-height: 1.15;
}

.gv-value-trend-wrap {
    display: grid;
    justify-items: end;
    gap: 6px;
    flex: 0 0 auto;
    align-content: start;
    justify-self: end;
}

.gv-value-trend {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) 34px;
    align-items: center;
    justify-items: end;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gv-text);
    cursor: pointer;
    width: 172px;
}

.gv-value-card .gv-card-value {
    margin-bottom: 0;
}

.gv-value-trend-badge {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.gv-value-trend-label {
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-align: right;
    width: 100%;
}

.gv-value-trend.is-up {
    color: #0bb75b;
}

.gv-value-trend.is-up .gv-value-trend-badge {
    background: #0bb75b;
}

.gv-value-trend.is-down {
    color: #f1416c;
}

.gv-value-trend.is-down .gv-value-trend-badge {
    background: #f1416c;
}

.gv-value-trend:hover .gv-value-trend-badge,
.gv-value-trend:focus-visible .gv-value-trend-badge {
    transform: translateY(-1px);
}

.gv-value-trend:focus-visible {
    outline: none;
}

.gv-value-trend:focus-visible .gv-value-trend-label {
    text-decoration: underline;
}

.gv-value-breakdown {
    display: grid;
    grid-template-columns: 48px minmax(58px, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.gv-value-ring {
    --slab-share: 0%;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(#009ef7 0 var(--slab-share), #50cd89 var(--slab-share) 100%);
}

.gv-value-ring::after {
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: var(--gv-panel);
    content: "";
}

.gv-value-ring.is-empty {
    background: #e4e6ef;
}

.gv-value-legend,
.gv-value-amounts {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.gv-value-legend span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-value-legend i {
    flex: 0 0 14px;
    width: 14px;
    height: 4px;
    border-radius: 999px;
}

.gv-value-legend i.is-slab {
    background: #009ef7;
}

.gv-value-legend i.is-sealed {
    background: #50cd89;
}

.gv-value-amounts {
    justify-items: end;
}

.gv-value-amounts strong {
    color: #4b5675;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}

.gv-value-breakdown-money {
    justify-content: flex-end;
}

.gv-card-actions {
    margin-top: 12px;
}

.gv-utility-actions {
    display: grid;
    grid-template-columns: minmax(84px, 0.82fr) minmax(70px, 0.68fr) minmax(92px, 0.82fr);
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-top: 18px;
}

.gv-new-item-menu,
.gv-export-menu,
.gv-session-currency {
    min-width: 0;
}

.gv-utility-action {
    position: relative;
    width: 100%;
    min-width: 0;
}

.gv-utility-menu {
    width: 100%;
    min-width: 0;
}

.gv-utility-action-label {
    position: absolute;
    top: -14px;
    left: 2px;
    overflow: hidden;
    max-width: calc(100% - 4px);
    color: var(--gv-muted);
    font-size: 0.54rem;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.gv-utility-trigger {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    justify-content: space-between;
    gap: 5px;
    padding: 7px 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-muted);
    font-size: 0.84rem;
    line-height: 1;
    white-space: nowrap;
}

.gv-utility-trigger span {
    display: none;
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
}

.gv-utility-trigger strong {
    margin: 0 auto;
    color: var(--gv-text);
    font-size: 0.74rem;
    font-weight: 900;
}

.gv-utility-menu:hover > .gv-utility-trigger,
.gv-utility-menu:focus-within > .gv-utility-trigger,
.gv-utility-menu.is-menu-open > .gv-utility-trigger {
    background: #f5f8fa;
    color: var(--gv-primary);
}

.gv-utility-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 50;
    display: none;
    gap: 2px;
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--gv-shadow);
}

.gv-utility-menu:hover > .gv-utility-dropdown,
.gv-utility-menu:focus-within > .gv-utility-dropdown,
.gv-utility-menu.is-menu-open > .gv-utility-dropdown {
    display: grid;
}

.gv-utility-dropdown a,
.gv-utility-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.gv-utility-dropdown a:hover,
.gv-utility-dropdown button:hover,
.gv-utility-dropdown button.is-active {
    background: #f5f8fa;
    color: var(--gv-primary);
}

.gv-flash {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #b8f0d2;
    border-radius: 8px;
    background: #e8fff3;
    color: #1f7a4d;
    font-size: 0.92rem;
    font-weight: 750;
}

.gv-panel {
    padding: 20px;
}

.gv-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.gv-panel-heading h2 {
    margin: 0;
    color: var(--gv-text);
    font-size: 1.08rem;
    font-weight: 850;
}

.gv-legal-page {
    max-width: 1080px;
}

.gv-legal-panel {
    padding: 28px;
}

.gv-legal-intro {
    margin: 0 0 24px;
    color: var(--gv-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.gv-legal-sections {
    display: grid;
    gap: 24px;
}

.gv-legal-section {
    padding-top: 22px;
    border-top: 1px solid var(--gv-border);
}

.gv-legal-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.gv-legal-section h2 {
    margin: 0 0 10px;
    color: var(--gv-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.gv-legal-section p,
.gv-legal-section li {
    color: var(--gv-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

.gv-legal-section p {
    margin: 0 0 12px;
}

.gv-legal-section p:last-child {
    margin-bottom: 0;
}

.gv-legal-section ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 20px;
}

.gv-legal-richtext {
    color: var(--gv-muted);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.72;
}

.gv-legal-richtext h1,
.gv-legal-richtext h2,
.gv-legal-richtext h3 {
    margin: 0 0 12px;
    color: var(--gv-text);
    font-weight: 900;
    line-height: 1.15;
}

.gv-legal-richtext h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.gv-legal-richtext h2 {
    margin-top: 28px;
    font-size: 1.3rem;
}

.gv-legal-richtext h3 {
    margin-top: 22px;
    font-size: 1.08rem;
}

.gv-legal-richtext p,
.gv-legal-richtext div,
.gv-legal-richtext ul,
.gv-legal-richtext ol {
    margin: 0 0 16px;
}

.gv-legal-richtext ul,
.gv-legal-richtext ol {
    padding-left: 24px;
}

.gv-legal-richtext li {
    margin: 6px 0;
}

.gv-legal-richtext a {
    color: var(--gv-primary);
    font-weight: 850;
    text-decoration: none;
}

.gv-legal-richtext a:hover {
    text-decoration: underline;
}

.gv-btn {
    display: inline-flex;
    min-height: var(--gv-control-height);
    align-items: center;
    justify-content: center;
    gap: var(--gv-control-gap);
    padding: 0 var(--gv-control-padding-x);
    border: 1px solid transparent;
    border-radius: var(--gv-control-radius);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gv-btn-primary {
    border-color: var(--gv-primary);
    background: var(--gv-primary);
    color: #fff;
}

.gv-btn-primary:hover {
    border-color: #0583ca;
    background: #0583ca;
    color: #fff;
}

.gv-btn-light {
    border-color: var(--gv-border);
    background: #fff;
    color: var(--gv-muted);
}

.gv-btn-light:hover {
    border-color: #e1f0ff;
    background: #e1f0ff;
    color: var(--gv-primary);
}

.gv-btn-danger {
    border-color: #ffd0dc;
    background: #fff5f8;
    color: #f1416c;
}

.gv-btn-danger:hover {
    border-color: #f1416c;
    background: #f1416c;
    color: #fff;
}

.gv-btn-small {
    min-height: var(--gv-control-height-small);
    padding: 0 10px;
    font-size: 0.8rem;
}

.gv-btn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.gv-search-control {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--gv-control-gap);
    min-height: var(--gv-control-height);
    padding: 6px;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-control-radius);
    background: #f9f9fb;
}

.gv-search-control span {
    color: var(--gv-muted);
    text-align: center;
    font-size: 1.35rem;
}

.gv-search-control input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gv-text);
}

.gv-market-radar-setup {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 20px;
    align-items: stretch;
}

.gv-market-radar-card {
    position: relative;
    min-height: 100%;
    padding: 18px;
}

.gv-market-radar-card .gv-panel-heading {
    margin-bottom: 12px;
}

.gv-market-radar-form {
    display: grid;
    gap: 12px;
    align-content: start;
}

.gv-market-radar-form label {
    display: grid;
    gap: 6px;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gv-market-radar-line {
    display: grid;
    gap: 12px;
    align-items: start;
}

.gv-market-radar-form-slab {
    grid-template-columns: minmax(260px, 1fr) 68px 128px;
    align-items: start;
}

.gv-market-radar-form-sealed {
    grid-template-columns: minmax(260px, 1fr) 128px;
    align-items: start;
}

.gv-market-radar-card-field,
.gv-market-radar-sealed-field,
.gv-market-radar-grade-field,
.gv-market-radar-price-field {
    min-width: 0;
}

.gv-market-radar-form-slab .gv-market-radar-card-field {
    grid-column: 1;
    grid-row: 1;
}

.gv-market-radar-form-slab .gv-market-radar-grade-field {
    grid-column: 2;
    grid-row: 1;
}

.gv-market-radar-form-slab .gv-market-radar-price-field {
    grid-column: 3;
    grid-row: 1;
}

.gv-market-radar-form-slab .gv-market-radar-create-btn {
    grid-column: 3;
    grid-row: 2;
}

.gv-market-radar-form-sealed .gv-market-radar-sealed-field {
    grid-column: 1;
    grid-row: 1;
}

.gv-market-radar-form-sealed .gv-market-radar-price-field {
    grid-column: 2;
    grid-row: 1;
}

.gv-market-radar-form-sealed .gv-market-radar-create-btn {
    grid-column: 2;
    grid-row: 2;
}

.gv-market-radar-form input,
.gv-market-radar-form select {
    width: 100%;
    height: var(--gv-control-height);
    min-height: var(--gv-control-height);
    padding: 0 var(--gv-control-padding-x);
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-control-radius);
    background: #fff;
    color: var(--gv-text);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1;
}

.gv-market-radar-form select {
    appearance: auto;
    cursor: pointer;
}

.gv-market-radar-form .gv-search-control {
    height: var(--gv-control-height);
    min-height: var(--gv-control-height);
    padding: 4px 6px;
    border-radius: var(--gv-control-radius);
}

.gv-market-radar-form .gv-search-control input {
    height: calc(var(--gv-control-height) - 10px);
    min-height: calc(var(--gv-control-height) - 10px);
    padding: 0;
}

.gv-market-radar-form > .gv-btn {
    height: var(--gv-control-height);
    min-height: var(--gv-control-height);
    border-radius: var(--gv-control-radius);
}

.gv-market-radar-form .live-search-status:empty {
    display: none;
}

.gv-market-radar-selected {
    grid-column: 1 / 3;
    grid-row: 2;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px;
    border: 1px solid #d8ecff;
    border-radius: var(--gv-control-radius);
    background: #f3f9ff;
}

.gv-market-radar-selected[hidden] {
    display: none;
}

.gv-market-radar-selected img {
    width: 52px;
    height: 72px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
}

.gv-market-radar-selected strong,
.gv-market-radar-selected span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-market-radar-selected strong {
    color: var(--gv-text);
    font-weight: 900;
}

.gv-market-radar-selected span {
    color: var(--gv-muted);
    font-weight: 750;
}

.gv-market-radar-choice {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid var(--gv-border);
    background: #fff;
    color: var(--gv-text);
    text-align: left;
}

.gv-market-radar-choice:first-child {
    border-top: 0;
}

.gv-market-radar-choice:hover,
.gv-market-radar-choice:focus {
    background: #f3f9ff;
    outline: 0;
}

.gv-market-radar-choice span:first-child {
    display: grid;
    width: 42px;
    height: 56px;
    place-items: center;
    border-radius: 6px;
    background: #f5f8fb;
    color: var(--gv-primary);
    font-size: 0.8rem;
    font-weight: 900;
    grid-row: span 2;
    overflow: hidden;
}

.gv-market-radar-choice img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-market-radar-choice strong,
.gv-market-radar-choice small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-market-radar-choice strong {
    align-self: end;
    font-weight: 900;
}

.gv-market-radar-choice small {
    color: var(--gv-muted);
    font-weight: 750;
}

.gv-market-radar-table input,
.gv-market-radar-table-select {
    width: 100%;
    min-width: 120px;
    height: var(--gv-control-height-small);
    min-height: var(--gv-control-height-small);
    padding: 0 10px;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-control-radius);
    background: #fff;
    color: var(--gv-text);
    font-weight: 750;
    line-height: 1;
}

.gv-market-radar-table-select {
    min-width: 110px;
    cursor: pointer;
}

.gv-market-radar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gv-market-radar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--gv-muted);
    font-weight: 850;
}

.gv-market-radar-toggle input {
    min-width: 18px;
    width: 18px;
    min-height: 18px;
    height: 18px;
    padding: 0;
}

.gv-market-source-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.gv-market-source-badge.is-ebay {
    background: #e8f5ff;
    color: #0878be;
}

.gv-market-source-badge.is-catawiki {
    background: #fff4e6;
    color: #b45309;
}

.gv-market-radar-results-table td:nth-child(2) {
    min-width: 320px;
}

.gv-market-radar-results-table td:nth-child(2) strong,
.gv-market-radar-results-table td:nth-child(2) span {
    display: block;
}

.gv-market-radar-results-table td:nth-child(2) span {
    max-width: 520px;
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.85rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .gv-market-radar-setup {
        grid-template-columns: 1fr;
    }

    .gv-market-radar-form-slab,
    .gv-market-radar-form-sealed {
        grid-template-columns: 1fr;
    }

    .gv-market-radar-form-slab .gv-market-radar-card-field,
    .gv-market-radar-form-slab .gv-market-radar-grade-field,
    .gv-market-radar-form-slab .gv-market-radar-price-field,
    .gv-market-radar-form-slab .gv-market-radar-create-btn,
    .gv-market-radar-form-sealed .gv-market-radar-sealed-field,
    .gv-market-radar-form-sealed .gv-market-radar-price-field,
    .gv-market-radar-form-sealed .gv-market-radar-create-btn,
    .gv-market-radar-selected {
        grid-column: 1;
        grid-row: auto;
    }
}

.gv-value-check-panel {
    position: relative;
    z-index: 40;
}

.gv-live-search-field {
    position: relative;
}

.live-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 100;
    display: grid;
    max-height: 430px;
    overflow: auto;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.live-search-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: stretch;
    border-top: 1px solid var(--gv-border);
}

.live-search-row:first-child {
    border-top: 0;
}

.live-search-preview,
.live-search-choice {
    border: 0;
    background: #fff;
    color: var(--gv-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.live-search-preview {
    display: grid;
    place-items: center;
    color: var(--gv-primary);
    font-weight: 900;
}

.live-search-choice {
    display: grid;
    gap: 3px;
    min-height: 58px;
    padding: 10px 12px;
}

.live-search-preview:hover,
.live-search-choice:hover {
    background: #f5f8fa;
}

.live-search-choice strong {
    overflow: hidden;
    font-size: 0.94rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-search-choice span,
.live-search-status,
.live-search-empty {
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.gv-card-variant-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    max-width: calc(100% - 16px);
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-card-variant-badge-inline {
    position: static;
    justify-self: start;
    max-width: 100%;
    margin-top: 2px;
    background: #eaf6ff;
    color: var(--gv-primary);
}

.live-search-choice .gv-card-variant-badge {
    position: static;
    justify-self: start;
    max-width: 100%;
    margin-top: 2px;
}

.live-search-status {
    min-height: 22px;
    padding-top: 8px;
}

.live-search-empty {
    padding: 16px;
}

.live-search-more {
    display: block;
    padding: 12px 14px;
    border-top: 1px solid var(--gv-border);
    color: var(--gv-primary);
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.live-search-more:hover {
    background: #f1faff;
}

.tcg-preview-popover {
    position: fixed;
    z-index: 1020;
    display: grid;
    width: 220px;
    height: 310px;
    place-items: center;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    pointer-events: none;
}

.tcg-preview-popover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tcg-image-overlay {
    position: fixed;
    inset: 0;
    z-index: 1030;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.72);
}

.tcg-image-modal {
    display: grid;
    max-width: min(520px, 94vw);
    max-height: 94vh;
    place-items: center;
    padding: 14px;
    border-radius: 8px;
    background: #fff;
}

.tcg-image-modal img {
    max-width: 100%;
    max-height: calc(94vh - 28px);
    object-fit: contain;
}

.gv-value-recent-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.gv-value-recent-card {
    position: relative;
    z-index: 0;
    display: grid;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    isolation: isolate;
}

.gv-value-recent-card.is-hidden {
    display: none;
}

.gv-value-recent-more {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.gv-value-recent-link {
    display: grid;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.gv-value-recent-slab {
    position: relative;
    z-index: 0;
    display: grid;
    width: 100%;
    margin: 0;
    aspect-ratio: 63 / 88;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3f8;
    isolation: isolate;
}

.gv-value-recent-slab-frame {
    display: none;
}

.gv-value-recent-slab-card,
.gv-value-recent-slab-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.gv-value-recent-slab-card {
    padding: 0;
    background: transparent;
    object-fit: cover;
}

.gv-value-recent-slab-placeholder {
    display: grid;
    place-items: center;
    color: var(--gv-primary);
    background: #dceeff;
    font-weight: 900;
}

.gv-value-recent-card strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-value-recent-card small {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.gv-value-recent-delete {
    margin: 0;
}

.gv-value-recent-delete button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #f1416c;
    font-size: 0.78rem;
    font-weight: 850;
    cursor: pointer;
}

.gv-card-lookup-search {
    margin-bottom: 18px;
}

.card-lookup-results-status {
    min-height: 24px;
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.card-lookup-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}

.card-lookup-result-card {
    display: grid;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.card-lookup-result-link {
    display: grid;
    gap: 9px;
    color: inherit;
    text-decoration: none;
}

.card-lookup-result-card:hover {
    border-color: #b5d9ff;
}

.card-lookup-result-thumb {
    position: relative;
    display: grid;
    aspect-ratio: 2.5 / 3.5;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-primary);
    font-weight: 900;
}

.card-lookup-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-lookup-result-card strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-lookup-result-card small {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.card-lookup-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.card-lookup-pagination button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-text);
    font-weight: 800;
}

.card-lookup-pagination button:not(:disabled) {
    cursor: pointer;
}

.card-lookup-pagination button:not(:disabled):hover {
    border-color: #b5e4ff;
    color: var(--gv-primary);
}

.card-lookup-pagination span {
    color: var(--gv-muted);
    font-size: 0.88rem;
    font-weight: 850;
}

.gv-slab-card-lookup {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fbfcff;
}

.gv-slab-card-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.gv-slab-card-search .gv-btn {
    min-height: var(--gv-control-height);
}

.gv-slab-card-status {
    min-height: 20px;
    color: var(--gv-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.gv-slab-card-results {
    position: absolute;
    top: calc(100% - 8px);
    right: 16px;
    left: 16px;
    z-index: 260;
    overflow: auto;
    max-height: min(430px, 58vh);
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(76, 87, 125, 0.16);
}

.gv-slab-card-result {
    display: grid;
    width: 100%;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid var(--gv-border);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.gv-slab-card-result:first-child {
    border-top: 0;
}

.gv-slab-card-result:hover,
.gv-slab-card-result:focus {
    background: #f1faff;
    outline: 0;
}

.gv-slab-card-result-thumb,
.gv-slab-card-selected-thumb {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-primary);
    font-size: 0.72rem;
    font-weight: 900;
}

.gv-slab-card-result-thumb {
    width: 46px;
    height: 64px;
}

.gv-slab-card-result-thumb img,
.gv-slab-card-selected-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-slab-card-result-copy,
.gv-slab-card-selected-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.gv-slab-card-result-copy strong,
.gv-slab-card-selected-copy strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.94rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-slab-card-result-copy small,
.gv-slab-card-selected-copy small {
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-slab-card-selected {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #d8ecff;
    border-radius: 8px;
    background: #f5fbff;
}

.gv-slab-card-selected[hidden] {
    display: none;
}

.gv-slab-card-selected-thumb {
    width: 58px;
    height: 80px;
}

.gv-slab-card-empty {
    padding: 18px;
    color: var(--gv-muted);
    font-weight: 850;
    text-align: center;
}

.gv-control-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gv-vault-filter-panel {
    display: grid;
    gap: 14px;
    padding: 14px 20px;
}

.gv-smart-collections {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.gv-smart-collections a {
    display: inline-grid;
    min-height: 34px;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.gv-smart-collections a:hover,
.gv-smart-collections a:focus,
.gv-smart-collections a.is-active {
    border-color: rgba(0, 158, 247, 0.42);
    background: #eef8ff;
    color: var(--gv-primary);
}

.gv-vault-results {
    transition: opacity 0.14s ease;
}

.gv-vault-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.gv-field {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.gv-field-wide {
    grid-column: 1 / -1;
}

.gv-field span {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gv-tag-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.gv-tag-suggestions button {
    display: inline-grid;
    min-height: 26px;
    place-items: center;
    padding: 0 9px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
    color: var(--gv-muted);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 850;
    cursor: pointer;
}

.gv-tag-suggestions button:hover,
.gv-tag-suggestions button:focus {
    border-color: rgba(0, 158, 247, 0.36);
    background: #eef8ff;
    color: var(--gv-primary);
}

.gv-field select,
.gv-field input,
.gv-field textarea {
    width: 100%;
    min-height: var(--gv-control-height);
    padding: 0 var(--gv-control-padding-x);
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-control-radius);
    outline: 0;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.gv-field select,
.gv-field input {
    height: var(--gv-control-height);
    line-height: var(--gv-control-height);
}

.gv-field textarea {
    min-height: var(--gv-control-textarea-height);
    padding: 10px var(--gv-control-padding-x);
    resize: vertical;
}

.gv-field input[type="file"] {
    height: var(--gv-control-height);
    line-height: 1.35;
    padding: 10px var(--gv-control-padding-x);
}

.gv-upload-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gv-upload-row input[type="file"] {
    flex: 1 1 260px;
    min-width: min(100%, 220px);
}

.gv-file-input-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}

.gv-file-input-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: min(100%, 220px);
    min-height: var(--gv-control-height);
    flex: 1 1 260px;
    overflow: hidden;
    align-items: stretch;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-control-radius);
    background: #fff;
}

.gv-file-input-button {
    min-width: 112px;
    padding: 0 12px;
    border: 0;
    border-right: 1px solid var(--gv-border);
    background: #f0f3f8;
    color: var(--gv-text);
    font-size: 0.88rem;
    font-weight: 900;
    white-space: nowrap;
}

.gv-file-input-status {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 0 12px;
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-camera-trigger {
    min-height: var(--gv-control-height);
    padding: 0 var(--gv-control-padding-x);
    white-space: nowrap;
}

.gv-camera-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(7, 12, 25, 0.58);
}

.gv-camera-modal.is-open {
    display: flex;
}

.gv-camera-dialog {
    display: grid;
    width: min(720px, 100%);
    max-height: min(88vh, 820px);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.gv-camera-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.gv-camera-title {
    margin: 0;
    color: var(--gv-text);
    font-size: 1.18rem;
    font-weight: 900;
}

.gv-camera-note {
    margin: 3px 0 0;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.gv-camera-close {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-muted);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
}

.gv-camera-select {
    width: 100%;
    min-height: var(--gv-control-height);
    padding: 0 var(--gv-control-padding-x);
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-control-radius);
    background: #fff;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 800;
}

.gv-camera-stage {
    display: grid;
    min-height: 280px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--gv-border);
    border-radius: 10px;
    background: #f3f6fa;
}

.gv-camera-stage video,
.gv-camera-stage img {
    display: block;
    width: 100%;
    max-height: min(58vh, 560px);
    object-fit: contain;
    background: #111827;
}

.gv-camera-stage img {
    background: #f3f6fa;
}

.gv-camera-message {
    padding: 24px;
    color: var(--gv-muted);
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
}

.gv-camera-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.gv-field select:focus,
.gv-field input:focus,
.gv-field textarea:focus {
    border-color: #b5e4ff;
    box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.gv-form-card {
    padding: 24px;
}

.gv-form-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gv-field-span-2 {
    grid-column: span 2;
}

.gv-field-span-3 {
    grid-column: span 3;
}

.gv-field-span-4 {
    grid-column: 1 / -1;
}

.gv-compact-form-card {
    padding: 16px;
}

.gv-compact-form-card .gv-panel-heading {
    margin-bottom: 10px;
}

.gv-compact-form-card .gv-panel-heading h2 {
    font-size: 1rem;
}

.gv-compact-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gv-compact-form-card .gv-field {
    gap: 5px;
}

.gv-compact-form-card .gv-field span {
    font-size: 0.7rem;
}

.gv-compact-form-card .gv-field select,
.gv-compact-form-card .gv-field input,
.gv-compact-form-card .gv-field textarea {
    min-height: var(--gv-control-height-compact);
    padding-right: var(--gv-control-padding-x-compact);
    padding-left: var(--gv-control-padding-x-compact);
    font-size: 0.88rem;
}

.gv-compact-form-card .gv-field select,
.gv-compact-form-card .gv-field input {
    height: var(--gv-control-height-compact);
    line-height: var(--gv-control-height-compact);
}

.gv-compact-form-card .gv-field textarea {
    min-height: var(--gv-control-textarea-height-compact);
    padding-top: 8px;
    padding-bottom: 8px;
}

.gv-compact-form-card .gv-field input[type="file"] {
    height: var(--gv-control-height-compact);
    padding-top: 7px;
    padding-bottom: 7px;
}

.gv-compact-form-card .gv-file-input-shell {
    min-height: var(--gv-control-height-compact);
}

.gv-compact-form-card .gv-upload-row {
    gap: 8px;
}

.gv-compact-form-card .gv-camera-trigger {
    min-height: var(--gv-control-height-compact);
    padding-right: 12px;
    padding-left: 12px;
}

.gv-slab-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.gv-slab-upload-field {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 10px;
    background: #fbfcff;
}

.gv-slab-upload-field .gv-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.gv-slab-upload-field .gv-upload-row input[type="file"] {
    min-width: 0;
}

.gv-slab-upload-field .gv-upload-row .gv-file-input-shell {
    min-width: 0;
}

.gv-sealed-upload-field {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 10px;
    background: #fbfcff;
}

.gv-sealed-upload-field .gv-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.gv-sealed-upload-field .gv-upload-row input[type="file"] {
    min-width: 0;
}

.gv-sealed-upload-field .gv-upload-row .gv-file-input-shell {
    min-width: 0;
}

.gv-compact-form-card .gv-form-actions {
    margin-top: 14px;
    gap: 8px;
}

.gv-compact-form-card .gv-slab-card-lookup {
    gap: 8px;
    padding: 12px;
}

.gv-compact-form-card .gv-slab-card-search {
    gap: 8px;
}

.gv-compact-form-card .gv-slab-card-search .gv-btn {
    min-height: var(--gv-control-height-compact);
}

.gv-compact-form-card .gv-slab-card-status {
    min-height: 16px;
    font-size: 0.76rem;
}

.gv-compact-form-card .gv-slab-card-selected {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
}

.gv-compact-form-card .gv-slab-card-selected-thumb {
    width: 44px;
    height: 60px;
}

.gv-compact-form-card .gv-document-upload-panel {
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
}

.gv-compact-form-card .gv-document-upload-list,
.gv-compact-form-card .gv-existing-document-list {
    gap: 8px;
}

.gv-compact-form-card .gv-document-upload-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 8px;
}

.gv-compact-form-card .gv-existing-document-row {
    padding: 9px 10px;
}

.gv-compact-form-card .gv-image-choice-grid {
    gap: 8px;
    margin-top: 10px;
}

.gv-compact-form-card .gv-image-choice {
    width: 98px;
    gap: 6px;
    padding: 6px;
}

.gv-compact-form-card .gv-current-upload {
    width: 76px;
    max-height: 104px;
}

.gv-compact-form-card .gv-current-upload-frame {
    width: 86px;
    height: 112px;
}

.gv-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.gv-purchase-page {
    display: grid;
    gap: 20px;
}

.gv-purchase-filter-form {
    display: grid;
    grid-template-columns: minmax(132px, 1.1fr) minmax(120px, 0.9fr) minmax(120px, 0.9fr) auto;
    gap: 8px;
    align-items: end;
}

.gv-purchase-filter-actions {
    display: flex;
    align-items: end;
}

.gv-purchase-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gv-purchase-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gv-purchase-filter-card {
    grid-column: span 2;
}

.gv-purchase-summary article {
    display: grid;
    gap: 8px;
    min-height: 104px;
    padding: 18px;
}

.gv-purchase-filter-card {
    align-content: center;
}

.gv-purchase-filter-card .gv-field {
    margin: 0;
    gap: 4px;
}

.gv-purchase-filter-card .gv-field span {
    font-size: 0.7rem;
    line-height: 1;
}

.gv-purchase-filter-card input,
.gv-purchase-filter-card select {
    min-height: var(--gv-control-height-compact);
    padding: 8px var(--gv-control-padding-x-compact);
    font-size: 0.84rem;
}

.gv-purchase-filter-card .gv-btn {
    min-height: var(--gv-control-height-compact);
    padding: 8px 14px;
    white-space: nowrap;
}

.gv-purchase-summary span {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-purchase-summary strong {
    color: var(--gv-text);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 950;
}

.gv-purchase-form-panel {
    padding: 14px 16px;
}

.gv-purchase-form-heading {
    margin-bottom: 10px;
}

.gv-purchase-form-heading h2 {
    margin: 2px 0 0;
    font-size: 1rem;
}

.gv-purchase-entry-form {
    margin: 0;
}

.gv-purchase-form-grid {
    display: grid;
    grid-template-columns:
        minmax(120px, 0.78fr)
        minmax(230px, 1.65fr)
        minmax(66px, 0.42fr)
        minmax(132px, 0.72fr)
        minmax(132px, 0.82fr)
        minmax(104px, 0.58fr)
        minmax(112px, 0.62fr)
        minmax(150px, 0.92fr)
        auto;
    gap: 8px;
    align-items: end;
}

.gv-purchase-form-grid .gv-field {
    min-width: 0;
    margin: 0;
    gap: 4px;
}

.gv-purchase-form-grid .gv-field span {
    font-size: 0.7rem;
    line-height: 1;
}

.gv-purchase-form-grid input,
.gv-purchase-form-grid select {
    min-height: var(--gv-control-height-compact);
    padding: 8px var(--gv-control-padding-x-compact);
    font-size: 0.84rem;
}

.gv-purchase-entry-actions {
    display: flex;
    align-items: end;
}

.gv-purchase-entry-actions .gv-btn {
    min-height: var(--gv-control-height-compact);
    padding: 8px 14px;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .gv-purchase-form-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gv-purchase-item-field {
        grid-column: span 2;
    }

    .gv-purchase-entry-actions {
        justify-content: flex-end;
    }
}

.gv-purchase-table td {
    vertical-align: top;
}

.gv-purchase-table td:nth-child(2) strong,
.gv-purchase-table td:nth-child(2) span {
    display: block;
}

.gv-profile-layout {
    display: grid;
    grid-template-columns: minmax(230px, 25%) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.gv-profile-layout > .gv-notification-preferences-card {
    grid-column: 2;
}

.gv-profile-side {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 22px;
    text-align: center;
}

.gv-preference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gv-preference-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
    cursor: pointer;
}

.gv-preference-toggle input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--gv-primary);
}

.gv-preference-toggle span {
    display: grid;
    gap: 4px;
}

.gv-preference-toggle strong {
    color: var(--gv-text);
    font-size: 0.95rem;
    font-weight: 900;
}

.gv-preference-toggle em {
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 750;
    line-height: 1.35;
}

.gv-preference-delta {
    margin: 0;
}

.gv-browser-push-preference {
    grid-template-columns: minmax(170px, auto) minmax(0, 1fr);
}

.gv-browser-push-button {
    min-height: 40px;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
}

.gv-security-layout {
    align-items: stretch;
}

.gv-security-side {
    position: sticky;
    top: 96px;
    align-content: start;
    gap: 10px;
    min-height: 0;
    padding: 20px;
}

.gv-security-stack {
    display: grid;
    gap: 16px;
}

.gv-security-card {
    overflow: hidden;
}

.gv-security-single-form {
    display: grid;
    gap: 0;
}

.gv-security-single-form .gv-form-actions {
    justify-content: flex-end;
}

.gv-security-heading h2 {
    color: var(--gv-text);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-security-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 260px);
    gap: 18px;
    align-items: start;
}

.gv-security-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gv-security-email-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gv-security-password-field {
    max-width: 360px;
}

.gv-security-otp-box {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px dashed #d7e4f4;
    border-radius: 8px;
    background: #f8fbff;
}

.gv-security-otp-state {
    display: grid;
    grid-template-columns: minmax(180px, 280px) auto minmax(180px, 1fr);
    gap: 12px;
    align-items: end;
    padding: 16px;
    border: 1px dashed #b5e4ff;
    border-radius: 8px;
    background: #f8fbff;
}

.gv-security-otp-state .gv-btn {
    justify-self: end;
    min-height: 42px;
    padding: 0 18px;
}

.gv-security-otp-state em {
    align-self: center;
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 800;
}

.gv-security-otp-state-inline {
    grid-template-columns: minmax(160px, 240px) auto minmax(150px, 1fr);
    padding: 0;
    border: 0;
    background: transparent;
}

.gv-mfa-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gv-mfa-method-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gv-mfa-method-card {
    display: grid;
    gap: 16px;
    align-content: start;
    grid-template-rows: auto 1fr auto;
    min-height: 184px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(76, 87, 125, 0.05);
}

.gv-mfa-method-card.is-active {
    border-color: #b8f0d2;
    background: #fbfffd;
}

.gv-mfa-method-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gv-mfa-method-head strong {
    color: var(--gv-text);
    font-size: 0.98rem;
    font-weight: 900;
}

.gv-mfa-method-head span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.gv-mfa-method-head span.is-on {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-mfa-method-head span.is-off {
    background: #f5f8fa;
    color: #7e8299;
}

.gv-mfa-method-card .gv-btn {
    align-self: end;
    justify-self: end;
    width: fit-content;
}

.gv-mfa-card-form {
    display: grid;
    gap: 12px;
    align-content: start;
    height: 100%;
}

.gv-mfa-card-form .gv-btn {
    margin-top: auto;
}

.gv-security-otp-state-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 14px;
}

.gv-security-otp-state-card .gv-btn {
    margin-top: auto;
}

.gv-authenticator-setup {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.gv-authenticator-setup-compact {
    grid-template-columns: 1fr;
    gap: 14px;
}

.gv-authenticator-qr {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 20px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-authenticator-qrcode,
.gv-qr-fallback {
    position: relative;
    width: 236px;
    height: 236px;
    border-radius: 8px;
    background: #fff;
}

.gv-authenticator-qrcode canvas,
.gv-authenticator-qrcode > img:not(.gv-authenticator-qrcode-logo) {
    display: block;
    width: 236px;
    height: 236px;
    border-radius: 8px;
}

.gv-authenticator-qrcode-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(24, 28, 50, 0.14);
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.gv-passkey-note {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
}

.gv-passkey-note.is-error {
    color: #f1416c;
}

.gv-passkey-note.is-ok {
    color: #0bb75b;
}

.gv-passkey-list {
    display: grid;
    gap: 10px;
}

.gv-passkey-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-passkey-row strong {
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 900;
}

.gv-passkey-row span {
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.gv-qr-fallback {
    display: grid;
    place-items: center;
    padding: 16px;
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 850;
    text-align: center;
}

.gv-authenticator-fields {
    display: grid;
    gap: 14px;
}

.gv-security-pill,
.gv-security-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
}

.gv-security-pill.is-on,
.gv-security-status.is-on {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-security-pill.is-off,
.gv-security-status.is-off {
    background: #fff5f8;
    color: #f1416c;
}

.gv-security-status {
    display: inline-flex;
    justify-content: center;
    min-width: 0;
    margin-top: 4px;
    padding: 7px 10px;
}

.gv-security-status span {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-security-status strong {
    font-size: 0.86rem;
}

.gv-security-note {
    margin: -4px 0 16px;
    padding: 10px 12px;
    border: 1px solid #fff1c2;
    border-radius: 8px;
    background: #fff8dd;
    color: #7a5b00;
    font-size: 0.88rem;
    font-weight: 800;
}

.gv-item-alert-card {
    display: grid;
    gap: 18px;
}

.gv-item-alert-form {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(170px, 220px) auto;
    gap: 12px;
    align-items: end;
}

.gv-item-alert-form .gv-btn {
    min-height: var(--gv-control-height);
}

.gv-item-alert-list {
    display: grid;
    gap: 10px;
}

.gv-item-alert-row,
.gv-item-alert-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    padding: 12px 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
}

.gv-item-alert-row > div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.gv-item-alert-row strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.98rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-item-alert-row span,
.gv-item-alert-empty {
    color: var(--gv-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.gv-profile-side-avatar {
    display: grid;
    width: 140px;
    height: 140px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #e1f0ff;
    color: var(--gv-primary);
    font-size: 1.6rem;
    font-weight: 900;
}

.gv-profile-avatar-button {
    position: relative;
    border: 1px solid transparent;
    padding: 0;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.gv-profile-avatar-button:hover,
.gv-profile-avatar-button:focus-visible {
    border-color: #b5e4ff;
    box-shadow: 0 10px 24px rgba(0, 158, 247, 0.14);
    transform: translateY(-1px);
}

.gv-profile-side-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-profile-side-avatar span[hidden],
.gv-profile-side-avatar img[hidden] {
    display: none;
}

.gv-avatar-change-label {
    color: var(--gv-primary) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
}

.gv-profile-side strong {
    margin-top: 4px;
    color: var(--gv-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.gv-profile-side span {
    max-width: 100%;
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.9rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-profile-side em {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    margin-top: 6px;
    padding: 0 10px;
    border-radius: 8px;
    background: #e8fff3;
    color: #0bb75b;
    font-style: normal;
    font-size: 0.84rem;
    font-weight: 850;
}

.gv-modal-open {
    overflow: hidden;
}

.gv-avatar-picker {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(15, 23, 42, 0.36);
}

.gv-avatar-picker-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(980px, 100%);
    max-height: min(820px, calc(100vh - 56px));
    padding: 22px;
}

.gv-avatar-picker-head,
.gv-avatar-picker-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.gv-avatar-picker-head {
    margin-bottom: 18px;
}

.gv-avatar-picker-head h2 {
    flex: 0 0 auto;
    margin: 0;
    color: var(--gv-text);
    font-size: 1.2rem;
    font-weight: 950;
}

.gv-avatar-search {
    display: grid;
    flex: 1 1 320px;
    max-width: 420px;
    gap: 5px;
}

.gv-avatar-search span {
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-avatar-search input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 750;
}

.gv-avatar-search input:focus {
    border-color: #b5e4ff;
    box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.gv-avatar-picker-tools {
    margin-bottom: 10px;
}

.gv-avatar-picker-tools .gv-field {
    width: min(360px, 100%);
}

.gv-avatar-picker-tools strong {
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.gv-icon-button {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.gv-icon-button:hover {
    background: #e1f0ff;
}

.gv-avatar-picker-status {
    min-height: 20px;
    margin-bottom: 12px;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.gv-avatar-picker-status.is-error {
    color: #f1416c;
}

.gv-avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 12px;
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
}

.gv-avatar-option {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-text);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.gv-avatar-option:hover,
.gv-avatar-option:focus-visible,
.gv-avatar-option.is-selected {
    border-color: #b5e4ff;
    box-shadow: 0 8px 18px rgba(76, 87, 125, 0.12);
    transform: translateY(-1px);
}

.gv-avatar-option.is-selected {
    background: #f1faff;
}

.gv-avatar-option img {
    width: 100%;
    height: 92px;
    object-fit: contain;
}

.gv-avatar-option strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-avatar-option strong {
    color: var(--gv-text);
    font-size: 0.78rem;
    font-weight: 900;
}

.gv-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #ffc9c9;
    border-radius: 8px;
    background: #fff5f5;
    color: #b42318;
    font-size: 0.92rem;
    font-weight: 750;
}

.gv-image-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.gv-image-choice {
    position: relative;
    display: grid;
    gap: 8px;
    width: 118px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.gv-image-choice.is-marked-delete {
    border-color: #ffd0dc;
    background: #fff5f8;
    opacity: 0.72;
}

.gv-image-cover-choice {
    display: grid;
    gap: 8px;
    cursor: pointer;
}

.gv-image-choice img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    object-fit: cover;
}

.gv-image-choice > input[type="radio"],
.gv-image-cover-choice input[type="radio"] {
    position: absolute;
    top: 8px;
    left: 8px;
}

.gv-image-delete {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    color: #f1416c;
    font-size: 0.78rem;
    font-weight: 850;
    cursor: pointer;
}

.gv-image-delete.is-compact {
    justify-self: center;
}

.gv-image-delete input {
    width: 15px;
    height: 15px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    accent-color: #f1416c;
}

.gv-image-delete span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
}

.gv-current-upload {
    width: 96px;
    max-height: 140px;
    object-fit: contain;
}

.gv-current-upload-frame {
    display: grid;
    width: 112px;
    height: 150px;
    place-items: center;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f5f8fa;
}

.gv-current-upload-frame.is-empty {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.gv-empty-table {
    display: grid;
    min-height: 220px;
    place-items: center;
    border: 1px dashed #d8dce6;
    border-radius: 8px;
    color: var(--gv-muted);
}

.gv-inline-form {
    display: inline-flex;
    margin: 0;
}

.gv-sales-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.gv-sales-stat {
    padding: 18px;
}

.gv-sales-stat strong {
    display: block;
    color: var(--gv-text);
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
}

.gv-sales-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.gv-sales-filters a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.gv-sales-filters a.is-active,
.gv-sales-filters a:hover {
    border-color: rgba(0, 158, 247, 0.38);
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-sales-table td {
    font-size: 0.9rem;
}

.gv-sales-table th:nth-child(2),
.gv-sales-table td:nth-child(2) {
    max-width: 430px;
}

.gv-sales-table th:nth-child(4),
.gv-sales-table td:nth-child(4) {
    min-width: 108px;
    white-space: nowrap;
}

.gv-sales-table td:nth-child(4) strong {
    display: inline-flex;
    white-space: nowrap;
}

.gv-sales-table tr.is-excluded td {
    background: #fbfbfc;
    color: #a1a5b7;
}

.gv-sales-table tr.is-suspect td {
    background: #fff8fb;
}

.gv-sale-title {
    display: grid;
    gap: 4px;
    max-width: 430px;
}

.gv-sale-title a,
.gv-sale-title strong {
    overflow: hidden;
    color: var(--gv-text);
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-sale-title a:hover {
    color: var(--gv-primary);
}

.gv-sale-title span {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.gv-sale-status {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 850;
}

.gv-sale-status.is-active {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-sale-status.is-verified {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-sale-status.is-suspect {
    background: #fff5f8;
    color: #f1416c;
}

.gv-sale-status.is-excluded {
    background: #fff5f8;
    color: #f1416c;
}

.gv-sale-confidence {
    display: inline-flex;
    align-items: center;
    color: #0bb75b;
    font-weight: 900;
}

.gv-sale-confidence.is-low {
    color: #f1416c;
}

.gv-sales-table small {
    display: block;
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.gv-sale-match-note {
    display: block;
    min-width: 160px;
    max-width: 260px;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.35;
}

.gv-sales-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.gv-result-count {
    color: var(--gv-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.gv-vault-items {
    --gv-vault-card-width: 220px;
    display: grid;
    gap: 12px;
}

.gv-vault-items.is-grid {
    grid-template-columns: repeat(auto-fit, minmax(var(--gv-vault-card-width), var(--gv-vault-card-width)));
    grid-auto-rows: auto;
    gap: 16px;
    align-items: start;
    justify-content: center;
}

.gv-vault-items.is-list {
    grid-template-columns: 1fr;
}

.gv-vault-item {
    position: relative;
    display: grid;
    grid-template-rows: 366px minmax(44px, auto) auto;
    gap: 10px;
    width: 100%;
    max-width: var(--gv-vault-card-width);
    min-height: 510px;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.gv-vault-item.is-slab {
    grid-template-rows: auto minmax(44px, auto) auto;
}

.gv-vault-item:hover {
    border-color: #b5d9ff;
}

.gv-vault-drag-column {
    width: 38px;
    min-width: 38px;
    text-align: center;
}

.gv-vault-drag-handle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.gv-vault-drag-handle:active {
    cursor: grabbing;
}

.gv-vault-drag-handle > span {
    display: grid;
    gap: 3px;
}

.gv-vault-drag-handle > span > span {
    display: block;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: var(--gv-muted);
}

.gv-vault-item > .gv-vault-drag-handle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 9;
    background: rgba(248, 251, 255, 0.96);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.gv-vault-item.is-dragging,
.gv-keen-table tr.is-dragging {
    opacity: 0.54;
    transform: translateY(-6px) scale(1.018);
    outline: 2px solid #8ed4ff;
    outline-offset: -2px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.gv-keen-table tr.is-dragging td {
    background: #f2f9ff;
}

.gv-vault-drag-preview {
    position: fixed;
    top: -1600px;
    left: 24px;
    z-index: 9999;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.24);
    opacity: 0.98;
    pointer-events: none;
}

.gv-vault-drag-native-shim {
    position: fixed;
    top: -100px;
    left: -100px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.gv-vault-drag-preview-grid {
    overflow: visible;
    background: transparent;
    box-shadow: none;
    opacity: 1;
}

.gv-vault-drag-preview-grid .gv-vault-drag-preview-card {
    opacity: 1;
    background: #fff;
    filter: none;
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.24);
}

.gv-vault-drag-preview-grid .gv-vault-drag-preview-card img {
    opacity: 1;
    filter: none;
}

.gv-vault-drag-preview-table {
    border-collapse: separate;
    border-spacing: 0;
}

.gv-vault-drag-preview .gv-vault-item {
    width: 100%;
    transform: rotate(-1deg);
}

.gv-vault-drag-preview td {
    background: #fff;
}

.gv-vault-is-dragging {
    user-select: none;
}

[data-vault-sortable].is-saving {
    opacity: 0.86;
}

.gv-vault-item[data-gv-item-url],
.gv-keen-table tr[data-gv-item-url] {
    cursor: pointer;
}

.gv-vault-item[data-gv-item-url]:focus-visible {
    outline: 2px solid #009ef7;
    outline-offset: 3px;
}

.gv-keen-table tr[data-gv-item-url]:focus-visible td {
    background: #f1faff;
    outline: 0;
}

.gv-vault-image {
    display: grid;
    width: 100%;
    height: 366px;
    min-height: 366px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.gv-vault-item.is-sealed .gv-vault-image {
    background: #ffffff;
}

.gv-vault-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gv-vault-item.is-slab .gv-vault-image {
    aspect-ratio: 3 / 5;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

.gv-vault-item.is-slab .gv-vault-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    transform: scale(1.045);
    transform-origin: center;
}

.gv-slab-photo-flat {
    filter: brightness(1.08) contrast(1.04) saturate(1.12);
}

.gv-vault-copy {
    position: relative;
    min-width: 0;
}

.gv-vault-copy h3 {
    display: block;
    position: relative;
    margin: 0 0 3px;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-vault-copy::after {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    z-index: 20;
    display: none;
    width: max-content;
    max-width: 280px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #181c32;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    color: #fff;
    content: attr(data-tooltip);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.25;
    white-space: normal;
}

.gv-vault-copy:hover::after,
.gv-vault-copy:focus-within::after {
    display: block;
}

.gv-vault-copy p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.78rem;
}

.gv-item-type {
    color: var(--gv-primary);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-vault-values {
    display: flex;
    align-self: end;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-right: 34px;
    padding-top: 10px;
    border-top: 1px solid var(--gv-border);
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.gv-vault-values div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.gv-vault-price {
    margin-right: 4px;
}

.gv-vault-values span {
    color: #a1a5b7;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-vault-values strong {
    color: var(--gv-text);
    font-size: 0.84rem;
    white-space: nowrap;
}

.gv-vault-actions {
    position: absolute;
    right: 4px;
    bottom: 4px;
    z-index: 8;
    padding: 4px;
    --gv-menu-bridge-top: auto;
    --gv-menu-bridge-right: 0;
    --gv-menu-bridge-bottom: 100%;
    --gv-menu-bridge-left: -112px;
    --gv-menu-bridge-height: 14px;
    --gv-menu-bridge-z: 7;
}

.gv-vault-actions::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: -112px;
    display: none;
    height: 14px;
    content: "";
}

.gv-vault-actions:hover::before,
.gv-vault-actions:focus-within::before {
    display: block;
}

.gv-kebab-button {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #f5f8fa;
    color: #7e8299;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.gv-kebab-button:hover,
.gv-vault-actions:focus-within .gv-kebab-button,
.gv-vault-actions:hover .gv-kebab-button,
.gv-vault-actions.is-menu-open .gv-kebab-button {
    background: #e1f0ff;
    color: var(--gv-primary);
}

.gv-vault-actions-menu {
    position: absolute;
    right: 4px;
    bottom: calc(100% + 2px);
    display: none;
    min-width: 128px;
    padding: 6px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.gv-vault-actions:hover .gv-vault-actions-menu,
.gv-vault-actions:focus-within .gv-vault-actions-menu,
.gv-vault-actions.is-menu-open .gv-vault-actions-menu {
    display: grid;
}

.gv-vault-actions-menu a,
.gv-vault-actions-menu form,
.gv-vault-actions-menu button {
    margin: 0;
}

.gv-vault-actions-menu a,
.gv-vault-actions-menu button {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gv-text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.gv-vault-actions-menu a:hover,
.gv-vault-actions-menu button:hover {
    background: #f5f8fa;
    color: var(--gv-primary);
}

.gv-vault-list-actions-head,
.gv-vault-list-actions-cell {
    width: 52px;
    min-width: 52px;
    text-align: right;
}

.gv-keen-table .gv-vault-list-actions-cell {
    position: relative;
    overflow: visible;
}

.gv-keen-table .gv-vault-actions {
    position: relative;
    right: auto;
    bottom: auto;
    display: inline-block;
    padding: 0;
    vertical-align: middle;
    z-index: 12;
}

.gv-keen-table .gv-vault-actions-menu {
    right: 40px;
    bottom: auto;
    top: calc(100% + 4px);
    z-index: 80;
    text-align: left;
}

.gv-keen-table .gv-vault-actions::before {
    display: none;
}

.gv-item-drawer {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    pointer-events: none;
}

.gv-item-drawer.is-open {
    display: block;
    pointer-events: auto;
}

.gv-item-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.36);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.gv-item-drawer.is-open .gv-item-drawer-backdrop {
    opacity: 1;
}

.gv-item-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: min(460px, 100vw);
    height: 100%;
    grid-template-rows: 1fr;
    overflow: auto;
    border-left: 1px solid var(--gv-border);
    background: #fff;
    box-shadow: -28px 0 58px rgba(15, 23, 42, 0.24);
    transform: translateX(100%);
    transition: transform 0.2s ease;
}

.gv-item-drawer.is-open .gv-item-drawer-panel {
    transform: translateX(0);
}

.gv-item-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gv-text);
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
}

.gv-item-drawer-content {
    min-width: 0;
}

.gv-item-drawer-inner {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.gv-item-drawer-media {
    display: grid;
    min-height: 260px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-weight: 950;
}

.gv-item-drawer-media.is-sealed {
    background: #ffffff;
}

.gv-item-drawer-media.is-slab {
    aspect-ratio: 3 / 5;
    max-height: 520px;
}

.gv-item-drawer-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-item-drawer-copy {
    display: grid;
    gap: 10px;
}

.gv-item-drawer-copy h2 {
    margin: 0;
    color: var(--gv-text);
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1.16;
}

.gv-item-drawer-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-item-drawer-value span {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-item-drawer-value strong {
    color: var(--gv-text);
    font-size: 1.1rem;
    font-weight: 950;
}

.gv-item-drawer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.gv-item-drawer-grid div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-item-drawer-grid dt {
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-item-drawer-grid dd {
    margin: 0;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-item-drawer-grid a {
    color: var(--gv-primary);
}

.gv-item-drawer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gv-item-drawer-tags span {
    display: inline-grid;
    min-height: 28px;
    place-items: center;
    padding: 0 9px;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 0.74rem;
    font-weight: 900;
}

.gv-item-drawer-notes {
    display: grid;
    gap: 7px;
}

.gv-item-drawer-notes p {
    margin: 0;
    color: var(--gv-text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.gv-item-drawer-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.gv-item-drawer-actions .gv-btn {
    justify-content: center;
}

.gv-item-drawer-loading,
.gv-item-drawer-error {
    display: grid;
    min-height: 260px;
    place-items: center;
    padding: 24px;
    color: var(--gv-muted);
    font-weight: 850;
    text-align: center;
}

.gv-item-drawer-error {
    gap: 12px;
}

.gv-item-drawer-open {
    overflow: hidden;
}

.gv-keen-table-wrap {
    overflow-x: auto;
}

.gv-keen-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.gv-keen-table th {
    padding: 0 12px 12px;
    color: #a1a5b7;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.gv-keen-table td {
    padding: 14px 12px;
    border-top: 1px solid var(--gv-border);
    vertical-align: middle;
}

.gv-keen-table tr:hover td {
    background: #fcfcfd;
}

.gv-keen-item {
    display: grid;
    grid-template-columns: 50px minmax(180px, 1fr);
    gap: 14px;
    align-items: center;
}

.gv-keen-thumb {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-primary);
    font-size: 0.92rem;
    font-weight: 900;
}

.gv-keen-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gv-keen-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.gv-keen-copy strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.96rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-keen-copy span,
.gv-keen-muted,
.gv-keen-detail {
    display: block;
    color: #a1a5b7;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.gv-cert-link {
    color: var(--gv-primary);
    font-weight: 850;
    text-decoration: none;
}

.gv-cert-link:hover {
    text-decoration: underline;
}

.gv-keen-money {
    display: block;
    color: var(--gv-text);
    font-size: 0.95rem;
    font-weight: 850;
    white-space: nowrap;
}

.gv-keen-money .gv-private-money {
    max-width: 100%;
}

.gv-keen-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.gv-keen-badge.is-slab {
    background: #e1f0ff;
    color: #009ef7;
}

.gv-keen-badge.is-sealed {
    background: #e8fff3;
    color: #47be7d;
}

.gv-keen-actions {
    text-align: right;
}

.gv-icon-btn {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #f5f8fa;
    color: #a1a5b7;
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
}

.gv-icon-btn:hover {
    background: #e1f0ff;
    color: var(--gv-primary);
}

.gv-item-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: start;
}

.gv-item-value-column,
.gv-item-center-column,
.gv-item-detail-card,
.gv-item-documents-card,
.gv-item-side,
.gv-item-main,
.gv-item-history-side {
    min-width: 0;
}

.gv-item-value-column {
    display: grid;
    gap: 16px;
}

.gv-item-center-column {
    display: grid;
    gap: 16px;
}

.gv-item-side {
    display: grid;
    gap: 16px;
}

.gv-item-detail-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.88fr) minmax(320px, 1.12fr);
    gap: 22px;
    padding: 20px;
    align-items: start;
    overflow: visible;
}

.gv-item-detail-media {
    display: grid;
    min-height: 0;
    aspect-ratio: 3 / 4;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.gv-item-detail-media.is-sealed {
    min-height: 0;
    aspect-ratio: auto;
    align-self: start;
    overflow: visible;
    background: #ffffff;
}

.gv-item-detail-media.is-slab {
    aspect-ratio: auto;
    align-self: start;
    overflow: visible;
    background: transparent;
}

.gv-item-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-item-detail-media.is-slab img {
    height: auto;
    border-radius: inherit;
}

.gv-item-detail-media.is-sealed img {
    display: block;
    height: auto;
    border-radius: inherit;
}

.gv-item-detail-copy {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.gv-item-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

.gv-item-detail-head h1 {
    margin: 0;
    max-width: 100%;
    color: var(--gv-text);
    font-size: clamp(1.45rem, 1.75vw, 2.2rem);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.gv-item-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.gv-item-detail-grid div {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
}

.gv-item-detail-grid dt,
.gv-item-notes span {
    margin: 0 0 4px;
    color: #a1a5b7;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-item-detail-grid dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.25;
}

.gv-item-notes {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
}

.gv-item-notes p {
    margin: 0;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.gv-item-documents-card {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 14px;
    padding: 20px;
}

.gv-doc-count {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef3fb;
    color: #7e8299;
    font-size: 0.86rem;
    font-weight: 900;
}

.gv-item-document-list {
    display: grid;
    gap: 8px;
}

.gv-item-document-link {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
    color: var(--gv-text);
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.gv-item-document-link:hover {
    border-color: #9ed8ff;
    background: #f5fbff;
    transform: translateY(-1px);
}

.gv-item-document-link span {
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-item-document-link small {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.gv-item-preview {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 12px;
}

.gv-card-profile-layout .gv-item-preview {
    position: static;
}

.gv-card-profile-layout .gv-item-preview-image {
    width: min(100%, 440px);
    margin: 0 auto;
}

.gv-item-preview-image {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.gv-item-preview.is-sealed .gv-item-preview-image {
    background: #ffffff;
}

.gv-item-preview-image img {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-item-preview.is-slab .gv-item-preview-image {
    aspect-ratio: auto;
    min-height: 300px;
    overflow: visible;
}

.gv-item-preview.is-slab .gv-item-preview-image img {
    height: auto;
}

.gv-item-preview-copy h3 {
    display: -webkit-box;
    margin: 0 0 4px;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gv-item-preview-copy p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.gv-item-preview-values {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gv-border);
}

.gv-item-preview-values div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.gv-item-preview-values span {
    color: #a1a5b7;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-item-preview-values strong {
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 850;
    white-space: nowrap;
}

.gv-item-chart-card {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 20px;
    overflow: hidden;
}

.gv-item-insight-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    border-color: var(--gv-border);
}

.gv-item-insight-card.is-ok {
    border-color: #d1f4dc;
}

.gv-item-insight-card.is-warning {
    border-color: #ffe8b7;
}

.gv-item-insight-card p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.84rem;
    font-weight: 760;
    line-height: 1.45;
}

.gv-item-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.gv-item-insight-grid div {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
}

.gv-item-insight-grid dt {
    margin: 0 0 4px;
    color: #a1a5b7;
    font-size: 0.66rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-item-insight-grid dd {
    margin: 0;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-item-value-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.gv-item-value-head strong {
    display: block;
    color: var(--gv-text);
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    font-weight: 900;
    line-height: 1;
}

.gv-card-grade-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gv-card-grade-tile {
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
}

.gv-card-grade-tile span {
    color: #a1a5b7;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-card-grade-tile strong {
    color: var(--gv-text);
    font-size: 1.15rem;
    font-weight: 900;
}

.gv-card-grade-tile small {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.gv-value-delta {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
}

.gv-value-delta.is-positive {
    background: #e8fff3;
    color: #0bb75b;
}

.gv-value-delta.is-negative {
    background: #fff5f8;
    color: #f1416c;
}

.gv-period-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.gv-period-tabs a {
    display: grid;
    min-height: 42px;
    place-items: center;
    border-radius: 8px;
    color: #7e8299;
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
}

.gv-period-tabs a.is-active {
    background: var(--gv-primary);
    color: #fff;
}

.gv-item-chart {
    color: #1f82ff;
    min-height: 308px;
}

.gv-item-chart.is-positive {
    color: #35c768;
}

.gv-item-chart.is-negative {
    color: #f1416c;
}

.gv-chart-frame {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-height: 308px;
}

.gv-chart-y-axis {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    padding: 0 0 28px;
}

.gv-chart-y-axis span,
.gv-chart-x-axis span {
    color: #98a2b8;
    font-size: 0.75rem;
    font-weight: 750;
    line-height: 1;
}

.gv-chart-y-axis span {
    align-self: center;
    text-align: right;
}

.gv-chart-plot-wrap {
    display: grid;
    grid-template-rows: 270px 22px;
    gap: 6px;
    min-width: 0;
}

.gv-item-chart svg {
    display: block;
    width: 100%;
    height: 270px;
    overflow: visible;
}

.gv-chart-grid {
    stroke: #dbe3ef;
    stroke-dasharray: 7 7;
    stroke-width: 2;
}

.gv-chart-plot {
    color: inherit;
    opacity: 1;
    transform: none;
}

.gv-item-chart.is-visible .gv-chart-plot {
    animation: none;
}

.gv-chart-area {
    fill: currentColor;
    opacity: 0.14;
}

.gv-vault-balance-area {
    fill: url("#gvVaultBalanceArea");
}

.gv-vault-value-area {
    fill: #35c768;
    opacity: 0.12;
}

.gv-chart-line {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 6;
}

.gv-vault-value-line {
    stroke: #35c768;
}

.gv-vault-investment-line {
    stroke: #1f82ff;
    stroke-width: 5;
}

.gv-chart-point {
    fill: #fff;
    opacity: 0.001;
    outline: none;
    pointer-events: all;
    stroke: currentColor;
    stroke-width: 3;
    transition: opacity 0.16s ease;
    vector-effect: non-scaling-stroke;
}

.gv-vault-value-point {
    stroke: #35c768;
}

.gv-vault-investment-point {
    stroke: #1f82ff;
}

.gv-chart-hover-zone {
    fill: rgba(255, 255, 255, 0.001);
    outline: none;
    pointer-events: all;
    stroke: none;
}

.gv-chart-point:hover,
.gv-chart-point:focus {
    opacity: 1;
}

.gv-chart-x-axis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
}

.gv-chart-x-axis span {
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .gv-chart-plot,
    .gv-item-chart.is-visible .gv-chart-plot {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.gv-chart-empty {
    display: grid;
    min-height: 270px;
    place-items: center;
    border: 1px dashed #d8dce6;
    border-radius: 8px;
    color: var(--gv-muted);
    font-weight: 800;
    text-align: center;
}

.gv-floating-tooltip {
    position: fixed;
    z-index: 10000;
    min-width: 210px;
    max-width: min(320px, calc(100vw - 20px));
    padding: 10px 12px;
    border-radius: 8px;
    background: #181c32;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.36;
    pointer-events: none;
    white-space: pre-line;
}

.gv-item-changes {
    display: grid;
    gap: 12px;
}

.gv-item-changes-card {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.gv-change-list {
    display: grid;
    gap: 4px;
}

.gv-change-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(120px, auto) minmax(110px, auto);
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--gv-border);
    color: inherit;
    text-decoration: none;
}

.gv-market-sale-link {
    border-radius: 8px;
    cursor: pointer;
}

.gv-market-sale-link:hover,
.gv-market-sale-link:focus {
    background: #f8fbff;
    text-decoration: none;
}

.gv-change-row span {
    color: #7e8299;
    font-size: 0.95rem;
    font-weight: 850;
}

.gv-change-row strong {
    justify-self: end;
    color: var(--gv-text);
    font-size: 0.98rem;
    font-weight: 900;
    white-space: nowrap;
}

.gv-change-row em {
    justify-self: end;
    color: var(--gv-muted);
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.gv-change-row em.is-positive {
    color: #0bb75b;
}

.gv-change-row em.is-negative {
    color: #f1416c;
}

.gv-item-changes-card .gv-panel-heading {
    margin-bottom: 0;
}

.gv-item-changes-card .gv-panel-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
}

.gv-item-changes-card .gv-change-row {
    grid-template-columns: minmax(92px, 1fr) auto auto;
    gap: 8px;
    padding: 10px 0;
}

.gv-item-changes-card .gv-change-row span,
.gv-item-changes-card .gv-change-row strong,
.gv-item-changes-card .gv-change-row em {
    font-size: 0.82rem;
}

.gv-empty-container {
    display: grid;
    min-height: 420px;
    place-items: center;
    border: 1px dashed #d8dce6;
    border-radius: 8px;
    background: #fff;
    color: var(--gv-muted);
    text-align: center;
}

.gv-empty-container h1 {
    color: var(--gv-text);
    font-weight: 800;
}

.gv-document-upload-panel {
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fcfcfd;
}

.gv-document-upload-list,
.gv-existing-document-list {
    display: grid;
    gap: 10px;
}

.gv-document-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.gv-existing-document-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: var(--gv-panel);
    cursor: pointer;
}

.gv-existing-document-row strong,
.gv-existing-document-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-existing-document-row strong {
    color: var(--gv-text);
    font-size: 0.88rem;
    font-weight: 900;
}

.gv-existing-document-row small {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.gv-existing-document-row em {
    color: #f1416c;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 850;
}

.gv-document-heading {
    align-items: flex-start;
}

.gv-document-viewer {
    min-height: 68vh;
    padding: 16px;
}

.gv-document-frame {
    display: block;
    width: 100%;
    min-height: 72vh;
    border: 0;
    border-radius: 8px;
    background: #f5f8fa;
}

.gv-document-image {
    display: block;
    width: min(100%, 980px);
    max-height: 78vh;
    margin: 0 auto;
    object-fit: contain;
}

.gv-document-empty {
    display: grid;
    gap: 8px;
    min-height: 180px;
    place-items: center;
    align-content: center;
    padding: 20px;
    border: 1px dashed #d8dce6;
    border-radius: 8px;
    color: var(--gv-muted);
    text-align: center;
}

.gv-document-empty strong {
    color: var(--gv-text);
    font-size: 1rem;
    font-weight: 900;
}

.gv-document-empty span {
    max-width: 28rem;
    font-size: 0.84rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

@media print {
    .gv-auth-header,
    .gv-footer,
    .gv-document-actions {
        display: none !important;
    }

    .gv-main-shell {
        padding: 0;
    }

    .gv-document-viewer {
        min-height: 0;
        border: 0;
        box-shadow: none;
    }
}

.gv-eyebrow {
    margin-bottom: 6px;
    color: var(--gv-primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gv-balance-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.gv-balance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.gv-balance-chart-card {
    min-height: 520px;
}

.gv-balance-period-form {
    max-width: 260px;
    justify-self: end;
    width: min(260px, 100%);
}

.gv-balance-chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    margin: -4px 0 8px;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.gv-balance-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.gv-balance-chart-legend i {
    display: inline-block;
    width: 22px;
    height: 4px;
    border-radius: 999px;
}

.gv-balance-chart-legend i.is-vault {
    background: #35c768;
}

.gv-balance-chart-legend i.is-investment {
    background: #1f82ff;
}

.gv-balance-ticker {
    overflow: hidden;
    min-height: 58px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-balance-ticker-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 14px;
    align-items: center;
    padding: 10px 0 10px 100%;
    animation: gv-balance-ticker-scroll 68s linear infinite;
}

.gv-balance-ticker:hover .gv-balance-ticker-track {
    animation-play-state: paused;
}

.gv-balance-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e5edf8;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(76, 87, 125, 0.06);
    white-space: nowrap;
}

.gv-balance-ticker-item strong {
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 900;
}

.gv-balance-ticker-item em {
    color: #4b5675;
    font-size: 0.84rem;
    font-style: normal;
    font-weight: 900;
}

.gv-balance-ticker-item b {
    color: var(--gv-muted);
    font-size: 0.84rem;
    font-weight: 900;
}

.gv-balance-ticker-item b.is-positive {
    color: #0bb75b;
}

.gv-balance-ticker-item b.is-negative {
    color: #f1416c;
}

.gv-balance-ticker-empty {
    display: grid;
    min-height: 58px;
    place-items: center;
    border: 1px dashed #d8dce6;
    border-radius: 8px;
    color: var(--gv-muted);
    font-size: 0.9rem;
    font-weight: 800;
}

/* Box/Radar */
.gv-box-dashboard {
    align-items: start;
}

.gv-box-create-card,
.gv-box-search-panel,
.gv-box-content-panel {
    padding: 22px;
}

.gv-box-create-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.gv-box-create-form .gv-field {
    margin: 0;
}

.gv-box-create-form .gv-btn {
    min-height: var(--gv-control-height);
    white-space: nowrap;
}

.gv-box-search-empty {
    display: grid;
    min-height: 92px;
    place-items: center;
    border: 1px dashed #d8dce6;
    border-radius: 8px;
    color: var(--gv-muted);
    font-weight: 850;
}

.gv-box-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 16px;
    align-items: start;
}

.gv-box-targets {
    display: grid;
    gap: 8px;
}

.gv-box-targets > span {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-box-target-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.gv-box-target-pill {
    position: relative;
    min-width: 0;
}

.gv-box-target-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gv-box-target-pill span {
    display: block;
    min-height: 38px;
    overflow: hidden;
    padding: 10px 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.gv-box-target-pill input:checked + span {
    border-color: rgba(62, 151, 255, 0.45);
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-box-search-results {
    z-index: 180;
}

.gv-box-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-top: 1px solid var(--gv-border);
}

.gv-box-search-row:first-child {
    border-top: 0;
}

.gv-box-search-row a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 10px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.gv-box-search-row a > span {
    grid-row: span 2;
    display: grid;
    width: 44px;
    height: 60px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-primary);
    font-size: 0.72rem;
    font-weight: 900;
}

.gv-box-search-row img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-box-search-row strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-search-row small {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.gv-box-tile {
    display: grid;
    gap: 10px;
    min-height: 214px;
    padding: 18px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.gv-box-tile:hover,
.gv-box-tile.is-active {
    border-color: #b5d9ff;
    box-shadow: 0 18px 34px rgba(76, 87, 125, 0.1);
    transform: translateY(-1px);
}

.gv-box-tile.is-active {
    border-color: var(--gv-primary);
}

.gv-box-tile-link {
    display: grid;
    gap: 8px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.gv-box-tile-link h2,
.gv-box-slot-empty h2 {
    margin: 0;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 1.08rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-tile-link small,
.gv-box-tile-link em,
.gv-box-slot-empty p {
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-slot-empty {
    border-style: dashed;
    background: rgba(245, 248, 250, 0.62);
}

.gv-box-values,
.gv-box-open-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.gv-box-values div,
.gv-box-open-values div {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-box-values span,
.gv-box-open-values span {
    display: block;
    color: var(--gv-muted);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-box-values strong,
.gv-box-open-values strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-edit {
    padding-top: 10px;
}

.gv-box-edit summary {
    color: var(--gv-primary);
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.gv-box-edit form {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.gv-box-edit input,
.gv-box-edit textarea,
.gv-box-row-actions select {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.84rem;
    font-weight: 800;
}

.gv-box-edit-actions {
    display: flex;
    justify-content: flex-end;
}

.gv-box-content-heading {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(180px, 320px) minmax(540px, 620px) minmax(340px, 400px);
    justify-content: space-between;
    gap: 16px;
}

.gv-box-content-title {
    min-width: 0;
}

.gv-box-quote-settings {
    justify-self: center;
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(116px, 0.7fr) minmax(190px, 1.1fr);
    align-items: start;
    gap: 8px;
    width: 100%;
}

.gv-box-quote-settings label {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0;
}

.gv-box-quote-settings span {
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gv-box-quote-settings input,
.gv-box-quote-settings select,
.gv-box-money-input {
    width: 100%;
    height: 34px;
    min-height: 34px;
    padding: 0 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    outline: 0;
    background: #fbfcff;
    color: var(--gv-text);
    font-size: 0.82rem;
    font-weight: 850;
}

.gv-box-quote-settings select:disabled {
    opacity: 1;
    cursor: default;
}

.gv-box-open-values {
    justify-self: end;
    width: 100%;
}

.gv-box-table th {
    padding-bottom: 10px;
}

.gv-box-table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.gv-box-table th:last-child,
.gv-box-table td:last-child {
    width: 350px;
    min-width: 350px;
    text-align: center;
    white-space: nowrap;
}

.gv-box-table th:nth-child(2),
.gv-box-table td:nth-child(2) {
    min-width: 250px;
}

.gv-box-table th:nth-child(3),
.gv-box-table td:nth-child(3) {
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    text-align: center;
}

.gv-box-table td:nth-child(4),
.gv-box-table td:nth-child(5),
.gv-box-table td:nth-child(6) {
    color: var(--gv-text);
    font-weight: 900;
    white-space: nowrap;
}

.gv-box-table th:nth-child(4),
.gv-box-table td:nth-child(4),
.gv-box-table th:nth-child(5),
.gv-box-table td:nth-child(5),
.gv-box-table th:nth-child(6),
.gv-box-table td:nth-child(6) {
    width: 126px;
    min-width: 126px;
    text-align: center;
}

.gv-box-money-input {
    width: 92px;
}

.gv-box-grade-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
}

.gv-box-grade-choice input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: var(--gv-primary);
}

.gv-box-quote-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
}

.gv-box-card-cell {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 3px 9px;
    align-items: center;
    min-width: 250px;
    color: inherit;
    text-decoration: none;
}

.gv-box-card-cell > span {
    grid-row: span 2;
    display: grid;
    width: 48px;
    height: 66px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f8fa;
    color: var(--gv-primary);
    font-size: 0.72rem;
    font-weight: 900;
}

.gv-box-card-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-box-card-cell strong {
    overflow: hidden;
    color: var(--gv-text);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-card-cell small {
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.gv-box-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    min-width: 0;
}

.gv-box-inline-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.gv-box-row-actions select {
    width: 132px;
}

.gv-box-drag-column {
    width: 38px;
    min-width: 38px;
    text-align: center;
}

.gv-box-drag-handle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.gv-box-drag-handle:active {
    cursor: grabbing;
}

.gv-box-drag-handle > span {
    display: grid;
    gap: 3px;
}

.gv-box-drag-handle > span > span {
    display: block;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: var(--gv-muted);
}

.gv-box-table tr.is-dragging {
    opacity: 0.5;
    transform: translateY(-2px) scale(1.005);
    outline: 2px solid #8ed4ff;
    outline-offset: -2px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.gv-box-table tr.is-dragging td {
    background: #f2f9ff;
}

.gv-box-drag-preview {
    position: fixed;
    top: -1200px;
    left: 24px;
    z-index: 9999;
    overflow: hidden;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
    opacity: 0.98;
    pointer-events: none;
}

.gv-box-drag-preview td {
    background: #fff;
}

.gv-box-drag-preview .gv-box-row-actions {
    opacity: 0.85;
}

.gv-box-is-dragging {
    user-select: none;
}

[data-box-sortable].is-saving {
    opacity: 0.86;
}

.gv-box-add-card {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 18px;
}

.gv-box-add-card .gv-panel-heading {
    margin-bottom: 0;
}

.gv-box-add-card form {
    display: grid;
    gap: 12px;
    margin: 0;
}

.gv-card-box-picker {
    display: grid;
    gap: 8px;
    max-height: 260px;
    overflow: auto;
    padding-right: 4px;
}

.gv-card-box-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-card-box-choice:hover {
    border-color: rgba(62, 151, 255, 0.45);
    background: #f4f9ff;
}

.gv-card-box-choice span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.gv-card-box-choice strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-card-box-choice small {
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.74rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-card-box-choice .gv-btn {
    min-height: 34px;
    padding: 0 12px;
}

/* Box/Radar polish */
.gv-box-dashboard {
    align-items: start;
    gap: 22px;
}

.gv-box-slot-strip {
    display: contents;
}

.gv-box-search-panel {
    display: grid;
    grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
    align-items: center;
    min-height: 88px;
    padding: 16px 20px;
    column-gap: 18px;
}

.gv-box-search-panel {
    position: relative;
    z-index: 220;
}

.gv-box-search-panel .gv-panel-heading {
    min-height: 18px;
    margin-bottom: 0;
}

.gv-box-create-form {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) auto;
    margin-top: 0;
}

.gv-box-create-form .gv-field span,
.gv-box-targets > span {
    letter-spacing: 0;
}

.gv-box-create-form .gv-field {
    gap: 6px;
}

.gv-box-create-form .gv-field input {
    height: var(--gv-control-height);
    min-height: var(--gv-control-height);
    line-height: var(--gv-control-height);
    border-color: #e6eaf2;
    background: #fbfcff;
}

.gv-box-create-form .gv-btn {
    min-height: var(--gv-control-height);
    padding: 0 18px;
}

.gv-box-search-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
    padding-top: 0;
}

.gv-box-search-panel .gv-search-control {
    height: var(--gv-control-height);
    min-height: var(--gv-control-height);
    padding: 4px 6px;
    border-style: solid;
    background: #fbfcff;
}

.gv-box-search-panel .gv-box-search-empty {
    min-height: var(--gv-control-height);
    justify-items: start;
    padding: 0 var(--gv-control-padding-x);
}

.gv-box-search-panel .live-search-status:empty {
    display: none;
    min-height: 0;
    padding: 0;
}

.gv-box-search-panel .live-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 260;
    margin-top: 0;
    max-height: min(430px, 56vh);
}

.gv-box-target-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gv-box-target-pill span {
    min-height: 36px;
    padding: 9px 11px;
    font-size: 0.8rem;
}

.gv-box-tile {
    position: relative;
    height: 324px;
    min-height: 324px;
    overflow: hidden;
    padding: 0;
}

.gv-box-tile:has(.gv-box-edit[open]) {
    height: auto;
}

.gv-box-tile-link,
.gv-box-tile-link:hover,
.gv-box-tile-link:focus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 12px;
    align-content: start;
    min-height: 252px;
    padding: 20px 22px 4px;
    color: inherit;
    text-decoration: none !important;
}

.gv-box-name-label {
    overflow: hidden;
    color: var(--gv-text);
    font-size: clamp(1.08rem, 1.9vw, 1.5rem);
    font-weight: 950;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-count-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    background: transparent;
    color: var(--gv-primary);
    font-size: clamp(0.96rem, 1.55vw, 1.28rem);
    font-weight: 900;
    white-space: nowrap;
}

.gv-box-tile-link h2 {
    grid-column: 1 / -1;
    min-width: 0;
    font-size: 1.18rem;
    line-height: 1.12;
}

.gv-box-values {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gv-box-values div {
    display: grid;
    min-height: 54px;
    align-content: center;
    gap: 2px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: #f5f7fb;
}

.gv-box-values span {
    display: inline;
    color: var(--gv-text);
    font-size: 0.82rem;
    line-height: 1.08;
}

.gv-box-values strong {
    display: inline;
    min-width: 0;
    margin-top: 0;
    color: var(--gv-text);
    font-size: 0.92rem;
    line-height: 1.08;
    white-space: normal;
}

.gv-box-preview-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
    align-items: end;
}

.gv-box-preview-card {
    position: relative;
    display: grid;
    aspect-ratio: 63 / 88;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f6fa;
    color: var(--gv-primary);
    font-size: 0.72rem;
    font-weight: 950;
}

.gv-box-preview-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gv-box-preview-card.is-empty {
    border: 1px dashed var(--gv-border);
    box-shadow: none;
}

.gv-box-edit {
    margin: -2px 22px 12px;
    padding-top: 0;
    border-top: 0;
}

.gv-box-edit summary {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
    text-decoration: none;
}

.gv-box-last-value {
    display: grid;
    gap: 2px;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.15;
}

.gv-box-last-value strong {
    color: var(--gv-text);
    font-size: inherit;
}

.gv-box-edit-trigger {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-muted);
    font-weight: 900;
}

.gv-box-edit summary::-webkit-details-marker {
    display: none;
}

.gv-box-edit[open] .gv-box-edit-trigger {
    border-color: rgba(62, 151, 255, 0.34);
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-box-slot-empty {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 10px;
    height: 210px;
    min-height: 210px;
    padding: 22px;
    color: var(--gv-muted);
}

.gv-box-slot-empty.is-creating {
    align-content: stretch;
    justify-items: stretch;
    border-style: solid;
    border-color: rgba(62, 151, 255, 0.34);
    background: #fff;
}

.gv-box-empty-button {
    display: grid;
    width: 100%;
    height: 100%;
    align-content: center;
    justify-items: start;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gv-box-empty-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px dashed #cfd8e7;
    border-radius: 8px;
    color: var(--gv-primary);
    font-size: 1.4rem;
    font-weight: 900;
}

.gv-box-empty-button:hover .gv-box-empty-icon {
    border-color: rgba(62, 151, 255, 0.5);
    background: #f1faff;
}

.gv-box-empty-title {
    margin: 0;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 1.08rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-empty-copy {
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-box-create-inline-form {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 6px;
    align-content: space-between;
}

.gv-box-create-inline-form[hidden] {
    display: none;
}

.gv-box-create-inline-form .gv-field {
    gap: 4px;
    margin: 0;
}

.gv-box-create-inline-form .gv-field span {
    font-size: 0.72rem;
}

.gv-box-create-inline-form input,
.gv-box-create-inline-form textarea {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.84rem;
}

.gv-box-create-inline-form textarea {
    min-height: 38px;
    resize: none;
}

.gv-box-create-inline-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.gv-box-create-inline-actions .gv-btn {
    min-height: 34px;
    padding: 7px 10px;
}

.gv-box-content-panel {
    padding: 24px 26px;
}

.gv-box-create-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.42);
}

.gv-box-create-dialog {
    display: grid;
    width: min(780px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    gap: 18px;
    overflow: auto;
    padding: 24px;
}

.gv-box-create-dialog .gv-panel-heading {
    margin-bottom: 0;
}

.gv-box-create-modal-form {
    display: grid;
    gap: 14px;
}

.gv-box-create-modal-form .gv-field {
    margin: 0;
}

.gv-box-create-modal-form input,
.gv-box-create-modal-form textarea {
    width: 100%;
}

.gv-box-create-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.gv-box-content-panel .gv-panel-heading {
    margin-bottom: 20px;
}

.gv-box-open-values {
    gap: 10px;
}

.gv-box-open-values div {
    min-height: 62px;
    padding: 12px;
}

.gv-box-table th:last-child,
.gv-box-table td:last-child {
    width: 350px;
    min-width: 350px;
    text-align: center;
}

.gv-box-row-actions {
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.gv-box-inline-action {
    gap: 6px;
    flex-wrap: nowrap;
}

.gv-box-row-actions select {
    width: 132px;
}

.gv-box-search-results {
    max-height: min(520px, 68vh);
}

.gv-box-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px;
}

.gv-box-search-row .gv-btn {
    white-space: nowrap;
}

@keyframes gv-balance-ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gv-balance-ticker-track {
        padding-left: 0;
        animation: none;
    }
}

.gv-admin-layout {
    display: grid;
    grid-template-columns: minmax(260px, 24%) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.gv-admin-sidebar {
    position: sticky;
    top: 22px;
    padding: 12px;
}

.gv-admin-nav {
    display: grid;
    gap: 16px;
}

.gv-admin-nav-group {
    display: grid;
    gap: 6px;
}

.gv-admin-nav-title {
    padding: 0 12px 2px;
    color: var(--gv-muted);
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gv-admin-nav a {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--gv-muted);
    text-decoration: none;
}

.gv-admin-nav a strong {
    color: inherit;
    font-size: 0.9rem;
    font-weight: 900;
}

.gv-admin-nav a span {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 760;
    line-height: 1.25;
    opacity: 0.78;
}

.gv-admin-nav a:hover,
.gv-admin-nav a.is-active {
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-admin-content {
    min-width: 0;
    padding: 24px;
}

.gv-admin-ops-content {
    padding-top: 18px;
}

.gv-admin-ops-switcher {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-ops-switcher a {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--gv-muted);
    text-decoration: none;
}

.gv-admin-ops-switcher a:hover,
.gv-admin-ops-switcher a.is-active {
    border-color: #b5e4ff;
    background: #fff;
    color: var(--gv-primary);
}

.gv-admin-ops-switcher strong {
    overflow: hidden;
    color: inherit;
    font-size: 0.84rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-ops-switcher span {
    overflow: hidden;
    color: inherit;
    font-size: 0.68rem;
    font-weight: 760;
    line-height: 1.25;
    opacity: 0.75;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-ops-content > .gv-panel-heading {
    margin-bottom: 14px;
}

.gv-admin-edit-table input,
.gv-admin-edit-table select {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.88rem;
    font-weight: 750;
}

.gv-admin-edit-table input:focus,
.gv-admin-edit-table select:focus {
    border-color: #b5e4ff;
    box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.gv-panel-heading-compact {
    margin-top: 22px;
    margin-bottom: 10px;
}

.gv-panel-heading-compact h3 {
    margin: 2px 0 0;
    color: var(--gv-text);
    font-size: 1.15rem;
    font-weight: 900;
}

.gv-admin-box-quote-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.gv-admin-box-quote-heading {
    margin-top: 46px;
    padding-top: 30px;
    border-top: 1px solid var(--gv-border);
}

.gv-admin-box-quote-switch {
    margin-bottom: 8px;
}

.gv-admin-box-quote-table th:nth-child(n+2),
.gv-admin-box-quote-table td:nth-child(n+2) {
    width: 130px;
}

.gv-admin-cron-table td {
    vertical-align: top;
}

.gv-admin-cron-heading {
    margin-bottom: 14px;
}

.gv-admin-cron-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-cron-hero.is-ok {
    border-color: rgba(80, 205, 137, 0.34);
    background: #f6fffa;
}

.gv-admin-cron-hero.is-warning {
    border-color: rgba(255, 199, 0, 0.36);
    background: #fffdf3;
}

.gv-admin-cron-hero.is-critical {
    border-color: rgba(241, 65, 108, 0.36);
    background: #fff8fb;
}

.gv-admin-cron-hero-main strong {
    display: block;
    margin-top: 4px;
    color: var(--gv-text);
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0;
}

.gv-admin-cron-hero-main p {
    margin: 6px 0 0;
    color: var(--gv-muted);
    font-size: 0.92rem;
    font-weight: 760;
}

.gv-admin-cron-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gv-admin-cron-hero-metrics div {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-cron-hero-metrics span {
    color: var(--gv-muted);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-admin-cron-hero-metrics strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.88rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-cron-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.gv-admin-cron-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 0;
    padding: 16px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-cron-card.is-ok {
    border-color: rgba(80, 205, 137, 0.28);
}

.gv-admin-cron-card.is-warning {
    border-color: rgba(255, 199, 0, 0.34);
}

.gv-admin-cron-card.is-critical {
    border-color: rgba(241, 65, 108, 0.34);
}

.gv-admin-cron-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gv-admin-cron-card header > span {
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.68rem;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gv-admin-cron-card h3 {
    margin: 0;
    color: var(--gv-text);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.16;
}

.gv-admin-cron-card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gv-admin-cron-card-meta div {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f9fbfd;
}

.gv-admin-cron-card-meta span,
.gv-admin-cron-details dt {
    display: block;
    color: var(--gv-muted);
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-admin-cron-card-meta strong {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: var(--gv-text);
    font-size: 0.84rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-cron-card-meta small {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-cron-details {
    min-width: 0;
}

.gv-admin-cron-details summary,
.gv-admin-cron-technical summary {
    color: var(--gv-primary);
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.gv-admin-cron-details dl {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 8px 10px;
    margin: 10px 0 0;
}

.gv-admin-cron-details dd {
    min-width: 0;
    margin: 0;
    color: var(--gv-text);
    font-size: 0.78rem;
    font-weight: 780;
}

.gv-admin-cron-card footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.gv-admin-cron-card footer form {
    margin: 0;
}

.gv-admin-cron-technical {
    margin-top: 8px;
    padding: 16px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-cron-technical[open] summary {
    margin-bottom: 14px;
}

.gv-admin-cron-history {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--gv-border);
}

.gv-admin-cron-editor {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-cron-editor-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 4px 8px;
    border-radius: 8px;
    color: var(--gv-text);
    cursor: pointer;
    list-style: none;
}

.gv-admin-cron-editor-summary::-webkit-details-marker {
    display: none;
}

.gv-admin-cron-editor-summary span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.gv-admin-cron-editor-summary em {
    color: var(--gv-muted);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 950;
    text-transform: uppercase;
}

.gv-admin-cron-editor-summary strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 1rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-cron-editor-summary small {
    display: inline-flex;
    min-height: 34px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 0.74rem;
    font-weight: 900;
}

.gv-admin-cron-editor[open] .gv-admin-cron-editor-summary {
    border-bottom: 1px solid var(--gv-border);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.gv-admin-cron-editor[open] .gv-admin-cron-editor-summary small {
    background: #f9fbfd;
    color: var(--gv-muted);
    font-size: 0;
}

.gv-admin-cron-editor[open] .gv-admin-cron-editor-summary small::after {
    content: "Editor aperto";
    font-size: 0.74rem;
}

.gv-admin-cron-editor-body {
    padding: 16px 8px 8px;
}

.gv-admin-cron-editor-tools {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.gv-admin-cron-heading-actions,
.gv-admin-cron-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.gv-admin-cron-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gv-admin-cron-field,
.gv-admin-cron-check,
.gv-admin-cron-delete label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.gv-admin-cron-field span,
.gv-admin-cron-check span,
.gv-admin-cron-delete span {
    color: var(--gv-muted);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-admin-cron-field input,
.gv-admin-cron-field select,
.gv-admin-cron-field textarea,
.gv-admin-cron-delete input {
    width: 100%;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 780;
}

.gv-admin-cron-field input,
.gv-admin-cron-field select,
.gv-admin-cron-delete input {
    min-height: 42px;
    padding: 0 11px;
}

.gv-admin-cron-field textarea {
    min-height: 96px;
    padding: 11px;
    line-height: 1.45;
    resize: vertical;
}

.gv-admin-cron-field input:focus,
.gv-admin-cron-field select:focus,
.gv-admin-cron-field textarea:focus,
.gv-admin-cron-delete input:focus {
    border-color: #b5e4ff;
    box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.gv-admin-cron-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f9fbfd;
}

.gv-admin-cron-switches label,
.gv-admin-cron-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    color: var(--gv-text);
    font-size: 0.82rem;
    font-weight: 850;
}

.gv-admin-cron-switches input,
.gv-admin-cron-check input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.gv-admin-cron-delete {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gv-border);
}

.gv-admin-cron-delete label {
    width: min(280px, 100%);
}

.gv-admin-cron-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gv-admin-cron-actions form {
    margin: 0;
}

.gv-cron-url {
    display: inline-block;
    overflow-wrap: anywhere;
    max-width: 320px;
    color: var(--gv-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    line-height: 1.35;
}

.gv-cron-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f5f8fa;
    color: var(--gv-muted);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.gv-cron-pill.is-ok {
    background: #e8fff3;
    color: #0bb35f;
}

.gv-cron-pill.is-warning {
    background: #fff8dd;
    color: #b57600;
}

.gv-cron-pill.is-critical {
    background: #fff0f4;
    color: #f1416c;
}

.gv-admin-footer-picker {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.8fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
}

.gv-admin-footer-picker label,
.gv-admin-footer-field {
    display: grid;
    gap: 7px;
}

.gv-admin-footer-picker span,
.gv-admin-footer-field span {
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gv-admin-footer-picker select,
.gv-admin-footer-field input,
.gv-admin-footer-field textarea {
    width: 100%;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.92rem;
    font-weight: 780;
}

.gv-admin-footer-picker select,
.gv-admin-footer-field input {
    min-height: 44px;
    padding: 0 12px;
}

.gv-admin-footer-field textarea {
    min-height: 120px;
    padding: 12px;
    line-height: 1.55;
    resize: vertical;
}

.gv-admin-footer-picker select:focus,
.gv-admin-footer-field input:focus,
.gv-admin-footer-field textarea:focus {
    border-color: #b5e4ff;
    box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.gv-admin-footer-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-footer-note strong {
    display: block;
    margin: 4px 0;
    color: var(--gv-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.gv-admin-footer-note p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.88rem;
}

.gv-admin-footer-form {
    display: grid;
    gap: 18px;
}

.gv-admin-richtext-shell {
    overflow: hidden;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-richtext-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--gv-border);
    background: #f8fbff;
}

.gv-admin-richtext-toolbar button,
.gv-admin-richtext-toolbar select {
    min-height: 38px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.86rem;
    font-weight: 900;
}

.gv-admin-richtext-toolbar button {
    padding: 0 12px;
}

.gv-admin-richtext-toolbar select {
    min-width: 170px;
    padding: 0 10px;
}

.gv-admin-richtext-toolbar button:hover,
.gv-admin-richtext-toolbar select:focus {
    border-color: #b5e4ff;
    box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.gv-admin-richtext-editor {
    min-height: 560px;
    padding: 24px;
    outline: 0;
    color: var(--gv-muted);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.72;
}

.gv-admin-richtext-editor:focus {
    box-shadow: inset 0 0 0 3px rgba(0, 158, 247, 0.08);
}

.gv-admin-richtext-editor:empty::before {
    content: attr(data-placeholder);
    color: #a0a7bb;
}

.gv-admin-richtext-editor h1,
.gv-admin-richtext-editor h2,
.gv-admin-richtext-editor h3 {
    margin: 0 0 12px;
    color: var(--gv-text);
    font-weight: 900;
    line-height: 1.15;
}

.gv-admin-richtext-editor h1 {
    font-size: 2.2rem;
}

.gv-admin-richtext-editor h2 {
    margin-top: 28px;
    font-size: 1.34rem;
}

.gv-admin-richtext-editor h3 {
    margin-top: 22px;
    font-size: 1.08rem;
}

.gv-admin-richtext-editor p,
.gv-admin-richtext-editor div,
.gv-admin-richtext-editor ul,
.gv-admin-richtext-editor ol {
    margin: 0 0 16px;
}

.gv-admin-richtext-editor ul,
.gv-admin-richtext-editor ol {
    padding-left: 24px;
}

.gv-admin-richtext-source {
    display: none;
}

.gv-admin-footer-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fbfdff;
}

.gv-admin-footer-section h3 {
    margin: 0;
    color: var(--gv-text);
    font-size: 1rem;
    font-weight: 900;
}

.gv-admin-graders-table {
    table-layout: fixed;
}

.gv-admin-graders-table .gv-admin-grader-name-col {
    width: 25ch;
}

.gv-admin-users-table tr[data-gv-admin-user-url] {
    cursor: pointer;
}

.gv-admin-users-table tr[data-gv-admin-user-url]:hover td {
    background: #f8fbff;
}

.gv-admin-users-passkeys-table {
    table-layout: fixed;
}

.gv-admin-users-passkeys-table th:nth-child(1),
.gv-admin-users-passkeys-table td:nth-child(1) {
    width: 20%;
}

.gv-admin-users-passkeys-table th:nth-child(2),
.gv-admin-users-passkeys-table td:nth-child(2),
.gv-admin-users-passkeys-table th:nth-child(3),
.gv-admin-users-passkeys-table td:nth-child(3) {
    width: 12%;
}

.gv-admin-users-passkeys-table th:nth-child(4),
.gv-admin-users-passkeys-table td:nth-child(4) {
    width: 8%;
}

.gv-admin-users-passkeys-table th:nth-child(5),
.gv-admin-users-passkeys-table td:nth-child(5) {
    width: 14%;
}

.gv-admin-users-passkeys-table th:nth-child(7),
.gv-admin-users-passkeys-table td:nth-child(7) {
    width: 12%;
}

.gv-admin-passkey-list {
    display: grid;
    gap: 6px;
}

.gv-admin-passkey-chip {
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fbfdff;
}

.gv-admin-passkey-chip strong,
.gv-admin-passkey-chip span,
.gv-admin-passkey-chip small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-passkey-chip strong {
    color: var(--gv-text);
    font-size: 0.8rem;
    font-weight: 900;
}

.gv-admin-passkey-chip span,
.gv-admin-passkey-chip small {
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 750;
}

.gv-admin-registration-mode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-registration-mode strong {
    display: block;
    margin: 4px 0;
    color: var(--gv-text);
    font-size: 1.2rem;
    font-weight: 900;
}

.gv-admin-registration-mode p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.88rem;
}

.gv-admin-health-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-health-summary.is-ok {
    border-color: #d1f4dc;
    background: #f4fff7;
}

.gv-admin-health-summary.is-warning {
    border-color: #ffe8b7;
    background: #fff9eb;
}

.gv-admin-health-summary.is-critical {
    border-color: #ffd0dc;
    background: #fff5f8;
}

.gv-admin-health-summary strong {
    display: block;
    margin: 4px 0;
    color: var(--gv-text);
    font-size: 1.35rem;
    font-weight: 900;
}

.gv-admin-health-summary p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.88rem;
}

.gv-admin-health-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.gv-admin-health-stats > div {
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-health-stats span,
.gv-admin-health-card span {
    display: block;
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-admin-health-stats strong {
    display: block;
    margin-top: 6px;
    color: var(--gv-text);
    font-size: 1.35rem;
    font-weight: 900;
}

.gv-admin-health-stats small {
    display: block;
    margin-top: 5px;
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 760;
    line-height: 1.35;
}

.gv-admin-system-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.gv-admin-system-card {
    position: relative;
    min-width: 0;
    min-height: 132px;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.gv-admin-system-card.is-ok {
    border-color: #d1f4dc;
    background: #fbfffc;
}

.gv-admin-system-card.is-warning {
    border-color: #ffe8b7;
    background: #fffdf7;
}

.gv-admin-system-card.is-critical {
    border-color: #ffd0dc;
    background: #fff8fa;
}

.gv-admin-system-card span {
    display: block;
    padding-right: 74px;
    color: var(--gv-muted);
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-admin-system-card strong {
    display: block;
    margin: 8px 0;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 1rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-system-card em {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 950;
}

.gv-admin-system-card.is-ok em {
    background: #e8fff3;
    color: #17c653;
}

.gv-admin-system-card.is-warning em {
    background: #fff8dd;
    color: #b7791f;
}

.gv-admin-system-card.is-critical em {
    background: #fff5f8;
    color: #f1416c;
}

.gv-admin-system-card p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.35;
}

.gv-admin-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.gv-admin-quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.gv-admin-health-card {
    min-height: 118px;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-health-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.gv-admin-health-card em {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
}

.gv-admin-health-card.is-ok em {
    background: #e8fff3;
    color: #17c653;
}

.gv-admin-health-card.is-warning em {
    background: #fff8dd;
    color: #f6a800;
}

.gv-admin-health-card.is-critical em {
    background: #fff5f8;
    color: #f1416c;
}

.gv-admin-health-card strong {
    display: block;
    color: var(--gv-text);
    font-size: 1.08rem;
    font-weight: 900;
}

.gv-admin-health-card p {
    margin: 8px 0 0;
    color: var(--gv-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.gv-admin-engine-summary,
.gv-admin-engine-single {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-engine-summary strong,
.gv-admin-engine-single h2 {
    display: block;
    margin: 4px 0;
    color: var(--gv-text);
    font-size: 1.2rem;
    font-weight: 900;
}

.gv-admin-engine-summary p,
.gv-admin-engine-single p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.88rem;
}

.gv-admin-engine-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.gv-admin-engine-actions form,
.gv-admin-engine-single form {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-engine-actions label {
    display: grid;
    gap: 6px;
}

.gv-admin-engine-actions span {
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-admin-engine-actions input,
.gv-admin-engine-single input,
.gv-admin-engine-single select {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.88rem;
    font-weight: 750;
}

.gv-admin-engine-actions input[readonly] {
    color: var(--gv-muted);
    background: #f9fafb;
}

.gv-admin-engine-single form {
    grid-template-columns: minmax(280px, 1fr) minmax(170px, 220px) auto;
    align-items: end;
    min-width: min(680px, 100%);
    padding: 0;
    border: 0;
    background: transparent;
}

.gv-admin-engine-picker {
    position: relative;
}

.gv-admin-engine-picker-results {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    left: 0;
    width: min(520px, 80vw);
    max-height: 340px;
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(76, 87, 125, 0.16);
}

.gv-admin-engine-picker-results button {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gv-text);
    text-align: left;
}

.gv-admin-engine-picker-results button:hover,
.gv-admin-engine-picker-results button:focus {
    background: #f1faff;
    outline: 0;
}

.gv-admin-engine-picker-results strong {
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.9rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-engine-picker-results span {
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.78rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-admin-engine-picker-results em {
    grid-row: span 2;
    align-self: center;
    color: var(--gv-primary);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.gv-admin-engine-picked {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f9fafb;
    color: var(--gv-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.gv-admin-engine-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.gv-admin-engine-columns section,
.gv-admin-engine-runs {
    min-width: 0;
    margin-bottom: 22px;
}

.gv-admin-ops-content .gv-admin-engine-runs {
    padding-top: 18px;
    border-top: 1px solid var(--gv-border);
}

.gv-admin-ops-content .gv-admin-engine-runs > .gv-panel-heading {
    margin-bottom: 12px;
}

.gv-admin-subpanel {
    padding: 20px;
    border: 1px solid var(--gv-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(31, 42, 68, 0.06);
}

.gv-admin-ops-content .gv-admin-subpanel {
    padding-top: 20px;
    border-top: 1px solid var(--gv-border);
}

.gv-admin-engine-table td:first-child {
    min-width: 190px;
}

.gv-admin-backup-note {
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-backup-note strong {
    display: block;
    margin: 4px 0;
    color: var(--gv-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.gv-admin-backup-note p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.88rem;
}

.gv-admin-backup-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gv-admin-backup-actions form {
    margin: 0;
}

.gv-admin-backup-section .gv-panel-heading {
    margin-bottom: 12px;
}

.gv-admin-backup-table {
    table-layout: fixed;
}

.gv-admin-backup-table th,
.gv-admin-backup-table td {
    vertical-align: top;
}

.gv-admin-backup-table th:nth-child(1),
.gv-admin-backup-table td:nth-child(1) {
    width: 15%;
}

.gv-admin-backup-table th:nth-child(2),
.gv-admin-backup-table td:nth-child(2) {
    width: 22%;
}

.gv-admin-backup-table th:nth-child(7),
.gv-admin-backup-table td:nth-child(7) {
    width: 24%;
}

.gv-admin-backup-table td strong,
.gv-admin-backup-table td span,
.gv-admin-backup-table td small {
    overflow-wrap: anywhere;
}

.gv-admin-backup-table .gv-btn-small {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 0.72rem;
}

.gv-admin-backup-table .gv-admin-backup-actions {
    gap: 5px;
}

.gv-admin-backup-restore {
    position: relative;
}

.gv-admin-backup-restore summary {
    list-style: none;
    cursor: pointer;
}

.gv-admin-backup-restore summary::-webkit-details-marker {
    display: none;
}

.gv-admin-backup-restore[open] form {
    position: absolute;
    right: 0;
    z-index: 20;
    width: 280px;
    margin-top: 8px;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: var(--gv-surface);
    box-shadow: var(--gv-shadow);
}

.gv-admin-backup-restore label {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

.gv-admin-backup-restore label span {
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-admin-backup-restore input[type="text"] {
    width: 100%;
}

.gv-admin-theme-default,
.gv-admin-theme-upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-admin-theme-default strong,
.gv-admin-theme-upload h3 {
    display: block;
    margin: 4px 0;
    color: var(--gv-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.gv-admin-theme-default p,
.gv-admin-theme-upload p,
.gv-admin-theme-card p {
    margin: 0;
    color: var(--gv-muted);
    font-size: 0.88rem;
}

.gv-admin-theme-default-form,
.gv-admin-theme-upload form {
    display: flex;
    min-width: min(460px, 100%);
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.gv-admin-theme-default-form select,
.gv-admin-theme-upload input[type="file"] {
    min-height: 42px;
    min-width: 0;
    padding: 0 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gv-text);
    font-size: 0.9rem;
    font-weight: 800;
}

.gv-admin-theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gv-admin-theme-card {
    display: grid;
    gap: 16px;
    min-height: 210px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-theme-card h3 {
    margin: 4px 0 6px;
    color: var(--gv-text);
    font-size: 1.1rem;
    font-weight: 900;
}

.gv-admin-theme-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.gv-admin-theme-card dt {
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gv-admin-theme-card dd {
    margin: 3px 0 0;
    color: var(--gv-text);
    font-weight: 850;
    word-break: break-word;
}

.gv-admin-theme-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.gv-admin-theme-actions form {
    margin: 0;
}

.gv-trash-empty-form,
.gv-trash-table form {
    margin: 0;
}

.gv-trash-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.gv-admin-application-detail {
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
}

.gv-admin-application-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gv-admin-application-grid > div {
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f9fafb;
}

.gv-admin-application-grid span {
    display: block;
    margin-bottom: 5px;
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gv-admin-application-grid strong {
    color: var(--gv-text);
}

.gv-admin-application-grid p {
    margin: 0;
    color: var(--gv-text);
    line-height: 1.55;
}

.gv-admin-application-wide {
    grid-column: 1 / -1;
}

.gv-status-pill {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 8px;
    background: #f1faff;
    color: var(--gv-primary);
    font-size: 0.78rem;
    font-weight: 850;
}

.gv-status-pill.is-ok {
    background: #e8fff3;
    color: #17c653;
}

.gv-status-pill.is-warning {
    background: #fff8dd;
    color: #b7791f;
}

.gv-status-pill.is-critical {
    background: #fff5f8;
    color: #f1416c;
}

.gv-pokeapi-heading {
    margin-bottom: 20px;
}

.gv-pokeapi-heading h1 {
    margin: 0;
    color: var(--gv-text);
    font-size: 1.45rem;
    font-weight: 950;
}

.gv-pokeapi-layout {
    display: grid;
    grid-template-columns: minmax(250px, 25%) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.gv-pokeapi-sidebar {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 128px);
    padding: 18px;
    overflow: hidden;
}

.gv-pokeapi-search {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gv-border);
}

.gv-pokeapi-endpoints {
    display: grid;
    gap: 6px;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
}

.gv-pokeapi-endpoint,
.gv-pokeapi-result,
.gv-pokeapi-link {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gv-text);
    text-align: left;
    cursor: pointer;
}

.gv-pokeapi-endpoint {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
}

.gv-pokeapi-endpoint:hover,
.gv-pokeapi-endpoint.is-active {
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-pokeapi-endpoint span,
.gv-pokeapi-result span,
.gv-pokeapi-link strong {
    display: block;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-pokeapi-endpoint small,
.gv-pokeapi-result small,
.gv-pokeapi-link span {
    display: block;
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-pokeapi-main {
    display: grid;
    min-width: 0;
    gap: 20px;
}

.gv-pokeapi-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
}

.gv-pokeapi-toolbar h2,
.gv-pokeapi-detail-head h2 {
    margin: 0;
    color: var(--gv-text);
    font-size: 1.15rem;
    font-weight: 950;
}

.gv-pokeapi-lookup {
    display: grid;
    grid-template-columns: minmax(190px, 280px) auto auto;
    gap: 10px;
    align-items: end;
}

.gv-pokeapi-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.gv-pokeapi-list-card,
.gv-pokeapi-detail-card {
    min-width: 0;
    padding: 18px;
}

.gv-pokeapi-list-head,
.gv-pokeapi-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.gv-pokeapi-list-head strong {
    color: var(--gv-text);
    font-size: 1rem;
    font-weight: 900;
}

.gv-pokeapi-pager {
    display: flex;
    gap: 8px;
}

.gv-pokeapi-results {
    display: grid;
    gap: 8px;
}

.gv-pokeapi-result {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--gv-border);
    background: #fff;
}

.gv-pokeapi-result:hover {
    border-color: #b5e4ff;
    background: #f8fbff;
}

.gv-pokeapi-detail {
    display: grid;
    gap: 18px;
}

.gv-pokeapi-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gv-pokeapi-summary > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
}

.gv-pokeapi-summary span,
.gv-pokeapi-block-title {
    display: block;
    margin-bottom: 5px;
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gv-pokeapi-summary strong {
    display: block;
    overflow: hidden;
    color: var(--gv-text);
    font-size: 0.9rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-pokeapi-block {
    min-width: 0;
}

.gv-pokeapi-sprites {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 10px;
}

.gv-pokeapi-sprite {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #f8fbff;
    color: var(--gv-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.gv-pokeapi-sprite:hover {
    border-color: #b5e4ff;
    background: #f1faff;
    color: var(--gv-primary);
}

.gv-pokeapi-sprite img {
    width: 100%;
    height: 86px;
    object-fit: contain;
    image-rendering: auto;
}

.gv-pokeapi-sprite span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-pokeapi-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 8px;
}

.gv-pokeapi-link {
    padding: 10px 12px;
    border: 1px solid var(--gv-border);
    background: #fff;
}

.gv-pokeapi-link:hover {
    border-color: #b5e4ff;
    background: #f8fbff;
}

.gv-pokeapi-json {
    max-height: 520px;
    margin: 0;
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #111827;
    color: #e5e7eb;
    font-size: 0.78rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.gv-pokeapi-loading,
.gv-muted-line,
.gv-empty-state {
    display: grid;
    min-height: 94px;
    place-items: center;
    border: 1px dashed #d8dce6;
    border-radius: 8px;
    color: var(--gv-muted);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
}

.gv-pokemon-news-page {
    gap: 20px;
}

.gv-pokemon-news-panel {
    padding: 24px;
}

.gv-pokemon-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gv-pokemon-news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(76, 87, 125, 0.05);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.gv-pokemon-news-card:hover {
    border-color: #b5e4ff;
    box-shadow: 0 18px 34px rgba(76, 87, 125, 0.1);
    transform: translateY(-2px);
}

.gv-pokemon-news-card a {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gv-pokemon-news-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f3f6f9;
}

.gv-pokemon-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.22s ease;
}

.gv-pokemon-news-card:hover .gv-pokemon-news-image img {
    transform: scale(1.035);
}

.gv-pokemon-news-copy {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.gv-pokemon-news-meta {
    color: var(--gv-muted);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gv-pokemon-news-copy strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.05em;
    color: var(--gv-text);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gv-pokemon-news-copy span:last-child {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gv-muted);
    font-size: 0.9rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.gv-pokemon-news-actions {
    display: flex;
    justify-content: center;
    padding-top: 22px;
}

.gv-pokemon-news-sentinel {
    height: 1px;
}

.gv-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 0 28px;
    color: rgba(126, 130, 153, 0.9);
    background: #fff;
    font-size: 0.86rem;
}

.gv-public .gv-footer {
    background: #fff;
}

.gv-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.gv-footer a {
    color: inherit;
    text-decoration: none;
}

/* Tema scuro */
:root[data-theme="dark"] body,
:root[data-theme="dark"] .gv-auth,
:root[data-theme="dark"] .gv-public,
:root[data-theme="dark"] .gv-home,
:root[data-theme="dark"] .gv-auth-page {
    background: var(--gv-bg);
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-auth-header,
:root[data-theme="dark"] .gv-public-header,
:root[data-theme="dark"] .gv-footer,
:root[data-theme="dark"] .gv-public .gv-footer,
:root[data-theme="dark"] .gv-hero,
:root[data-theme="dark"] .gv-auth-card,
:root[data-theme="dark"] .gv-card,
:root[data-theme="dark"] .gv-panel,
:root[data-theme="dark"] .gv-nav-dropdown-menu,
:root[data-theme="dark"] .gv-notification-dropdown,
:root[data-theme="dark"] .gv-profile-dropdown,
:root[data-theme="dark"] .gv-language-panel,
:root[data-theme="dark"] .gv-theme-dropdown,
:root[data-theme="dark"] .gv-utility-dropdown,
:root[data-theme="dark"] .gv-header-search-panel,
:root[data-theme="dark"] .gv-item-drawer-panel,
:root[data-theme="dark"] .live-search-dropdown,
:root[data-theme="dark"] .tcg-preview-popover,
:root[data-theme="dark"] .tcg-image-modal,
:root[data-theme="dark"] .gv-avatar-picker-panel,
:root[data-theme="dark"] .gv-admin-ops-switcher,
:root[data-theme="dark"] .gv-admin-cron-editor,
:root[data-theme="dark"] .gv-admin-cron-technical,
:root[data-theme="dark"] .gv-admin-engine-picker-results {
    border-color: var(--gv-border);
    background: var(--gv-panel);
    color: var(--gv-text);
    box-shadow: var(--gv-shadow);
}

:root[data-theme="dark"] .gv-header-logo,
:root[data-theme="dark"] .gv-auth-logo,
:root[data-theme="dark"] .gv-public-logo,
:root[data-theme="dark"] .gv-home-logo-main {
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}

:root[data-theme="dark"] .gv-auth-nav a:not(.gv-main-nav-link):hover,
:root[data-theme="dark"] .gv-nav-button:hover,
:root[data-theme="dark"] .gv-hover-dropdown:hover > .gv-nav-button,
:root[data-theme="dark"] .gv-hover-dropdown:focus-within > .gv-nav-button,
:root[data-theme="dark"] .gv-hover-dropdown.is-menu-open > .gv-nav-button,
:root[data-theme="dark"] .gv-profile-links a:hover,
:root[data-theme="dark"] .gv-profile-links button:hover,
:root[data-theme="dark"] .gv-profile-row:hover,
:root[data-theme="dark"] .gv-language-panel button:hover,
:root[data-theme="dark"] .gv-language-panel button.is-active,
:root[data-theme="dark"] .gv-theme-dropdown button:hover,
:root[data-theme="dark"] .gv-theme-dropdown button.is-active,
:root[data-theme="dark"] .gv-nav-dropdown-menu a:hover,
:root[data-theme="dark"] .gv-utility-menu:hover > .gv-utility-trigger,
:root[data-theme="dark"] .gv-utility-menu:focus-within > .gv-utility-trigger,
:root[data-theme="dark"] .gv-utility-menu.is-menu-open > .gv-utility-trigger,
:root[data-theme="dark"] .gv-utility-dropdown a:hover,
:root[data-theme="dark"] .gv-utility-dropdown button:hover,
:root[data-theme="dark"] .gv-utility-dropdown button.is-active,
:root[data-theme="dark"] .gv-header-search-result:hover,
:root[data-theme="dark"] .gv-header-search-result:focus,
:root[data-theme="dark"] .gv-header-search-all:hover,
:root[data-theme="dark"] .gv-smart-collections a:hover,
:root[data-theme="dark"] .gv-smart-collections a:focus,
:root[data-theme="dark"] .gv-smart-collections a.is-active,
:root[data-theme="dark"] .gv-tag-suggestions button:hover,
:root[data-theme="dark"] .gv-tag-suggestions button:focus,
:root[data-theme="dark"] .gv-search-result-row:hover,
:root[data-theme="dark"] .gv-search-result-row:focus,
:root[data-theme="dark"] .live-search-preview:hover,
:root[data-theme="dark"] .live-search-choice:hover,
:root[data-theme="dark"] .live-search-more:hover,
:root[data-theme="dark"] .gv-admin-nav a:hover,
:root[data-theme="dark"] .gv-admin-nav a.is-active,
:root[data-theme="dark"] .gv-admin-ops-switcher a:hover,
:root[data-theme="dark"] .gv-admin-ops-switcher a.is-active,
:root[data-theme="dark"] .gv-admin-users-table tr[data-gv-admin-user-url]:hover td,
:root[data-theme="dark"] .gv-market-sale-link:hover,
:root[data-theme="dark"] .gv-market-sale-link:focus,
:root[data-theme="dark"] .gv-pokeapi-endpoint:hover,
:root[data-theme="dark"] .gv-pokeapi-endpoint.is-active,
:root[data-theme="dark"] .gv-pokeapi-result:hover,
:root[data-theme="dark"] .gv-pokeapi-link:hover,
:root[data-theme="dark"] .gv-pokeapi-sprite:hover {
    background: #202a3d;
    color: var(--gv-primary);
}

:root[data-theme="dark"] .gv-notification-menu.has-unread > .gv-nav-button,
:root[data-theme="dark"] .gv-btn-danger,
:root[data-theme="dark"] .gv-sale-status.is-excluded,
:root[data-theme="dark"] .gv-admin-health-card.is-critical em {
    border-color: rgba(241, 65, 108, 0.35);
    background: rgba(241, 65, 108, 0.14);
    color: #ff7b9b;
}

:root[data-theme="dark"] .gv-notification-item:hover {
    border-color: var(--gv-border);
    background: #202a3d;
}

:root[data-theme="dark"] .gv-notification-all-link:hover,
:root[data-theme="dark"] .gv-notification-filters a:hover,
:root[data-theme="dark"] .gv-notification-filters a.is-active,
:root[data-theme="dark"] .gv-notification-page-item:hover {
    border-color: var(--gv-border);
    background: #202a3d;
    color: var(--gv-primary);
}

:root[data-theme="dark"] .gv-notification-filters a,
:root[data-theme="dark"] .gv-notification-page-item {
    border-color: var(--gv-border);
    background: var(--gv-panel);
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-notification-filters em,
:root[data-theme="dark"] .gv-notification-page-icon {
    background: #202a3d;
}

:root[data-theme="dark"] .gv-notification-item.is-unread {
    border-color: rgba(0, 158, 247, 0.28);
    background: rgba(0, 158, 247, 0.08);
}

:root[data-theme="dark"] .gv-notification-page-item.is-unread {
    border-color: rgba(0, 158, 247, 0.28);
    background: rgba(0, 158, 247, 0.08);
}

:root[data-theme="dark"] .gv-notification-icon {
    background: #202a3d;
}

:root[data-theme="dark"] .gv-dropdown-title em {
    background: rgba(241, 65, 108, 0.14);
    color: #ff7b9b;
}

:root[data-theme="dark"] .gv-profile-trigger,
:root[data-theme="dark"] .gv-profile-avatar,
:root[data-theme="dark"] .gv-profile-side-avatar {
    border-color: #2f405a;
    background: linear-gradient(180deg, #1f3149 0%, #172236 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 0 0 1px #334660;
}

:root[data-theme="dark"] .gv-home-search,
:root[data-theme="dark"] .gv-header-search,
:root[data-theme="dark"] .gv-header-search-result,
:root[data-theme="dark"] .gv-header-search-kind,
:root[data-theme="dark"] .gv-header-search-all,
:root[data-theme="dark"] .gv-smart-collections a,
:root[data-theme="dark"] .gv-tag-suggestions button,
:root[data-theme="dark"] .gv-search-result-row,
:root[data-theme="dark"] .gv-search-result-kind,
:root[data-theme="dark"] .gv-item-drawer-value,
:root[data-theme="dark"] .gv-item-drawer-grid div,
:root[data-theme="dark"] .gv-item-drawer-close,
:root[data-theme="dark"] .gv-search-control,
:root[data-theme="dark"] .gv-utility-trigger,
:root[data-theme="dark"] .gv-admin-engine-picker-results button,
:root[data-theme="dark"] .gv-language-panel button,
:root[data-theme="dark"] .gv-theme-dropdown button,
:root[data-theme="dark"] .live-search-preview,
:root[data-theme="dark"] .live-search-choice,
:root[data-theme="dark"] .card-lookup-result-card,
:root[data-theme="dark"] .gv-value-recent-card,
:root[data-theme="dark"] .gv-vault-item,
:root[data-theme="dark"] .gv-admin-health-stats > div,
:root[data-theme="dark"] .gv-admin-health-card,
:root[data-theme="dark"] .gv-admin-system-card,
:root[data-theme="dark"] .gv-admin-footer-section,
:root[data-theme="dark"] .gv-admin-passkey-chip,
:root[data-theme="dark"] .gv-admin-richtext-shell,
:root[data-theme="dark"] .gv-admin-theme-card,
:root[data-theme="dark"] .gv-card-grade-tile,
:root[data-theme="dark"] .gv-item-detail-grid div,
:root[data-theme="dark"] .gv-item-insight-grid div,
:root[data-theme="dark"] .gv-item-notes,
:root[data-theme="dark"] .gv-item-document-link,
:root[data-theme="dark"] .gv-preference-toggle,
:root[data-theme="dark"] .gv-item-alert-row,
:root[data-theme="dark"] .gv-item-alert-empty,
:root[data-theme="dark"] .gv-document-upload-panel,
:root[data-theme="dark"] .gv-existing-document-row,
:root[data-theme="dark"] .gv-box-values div,
:root[data-theme="dark"] .gv-box-open-values div,
:root[data-theme="dark"] .gv-box-target-pill span,
:root[data-theme="dark"] .gv-balance-ticker-item,
:root[data-theme="dark"] .gv-pokeapi-result,
:root[data-theme="dark"] .gv-pokeapi-summary > div,
:root[data-theme="dark"] .gv-pokeapi-sprite,
:root[data-theme="dark"] .gv-pokeapi-link,
:root[data-theme="dark"] .gv-pokemon-news-card,
:root[data-theme="dark"] .gv-admin-application-grid > div {
    border-color: var(--gv-border);
    background: #141b2a;
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-header-search input,
:root[data-theme="dark"] .gv-header-search-copy strong {
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-header-search-section {
    border-color: var(--gv-border);
}

:root[data-theme="dark"] .gv-vault-image,
:root[data-theme="dark"] .gv-item-drawer-media,
:root[data-theme="dark"] .card-lookup-result-thumb,
:root[data-theme="dark"] .gv-value-recent-slab,
:root[data-theme="dark"] .gv-value-recent-slab-placeholder,
:root[data-theme="dark"] .gv-item-preview-image,
:root[data-theme="dark"] .gv-item-detail-media,
:root[data-theme="dark"] .gv-box-card-cell > span,
:root[data-theme="dark"] .gv-box-search-row a > span,
:root[data-theme="dark"] .gv-avatar-card,
:root[data-theme="dark"] .gv-chart-empty,
:root[data-theme="dark"] .gv-document-empty,
:root[data-theme="dark"] .gv-document-frame,
:root[data-theme="dark"] .gv-empty-container,
:root[data-theme="dark"] .gv-box-search-empty,
:root[data-theme="dark"] .gv-box-slot-empty,
:root[data-theme="dark"] .gv-pokemon-news-image,
:root[data-theme="dark"] .gv-pokeapi-loading,
:root[data-theme="dark"] .gv-muted-line,
:root[data-theme="dark"] .gv-empty-state {
    border-color: var(--gv-border);
    background: #101726;
    color: var(--gv-muted);
}

:root[data-theme="dark"] .gv-admin-registration-mode,
:root[data-theme="dark"] .gv-admin-health-summary,
:root[data-theme="dark"] .gv-admin-engine-summary,
:root[data-theme="dark"] .gv-admin-engine-single,
:root[data-theme="dark"] .gv-admin-backup-note,
:root[data-theme="dark"] .gv-admin-footer-note,
:root[data-theme="dark"] .gv-admin-richtext-toolbar,
:root[data-theme="dark"] .gv-admin-theme-default,
:root[data-theme="dark"] .gv-admin-theme-upload,
:root[data-theme="dark"] .gv-security-status,
:root[data-theme="dark"] .gv-security-otp-state,
:root[data-theme="dark"] .gv-security-otp-state-card,
:root[data-theme="dark"] .gv-passkey-row,
:root[data-theme="dark"] .gv-balance-ticker,
:root[data-theme="dark"] .gv-box-search-panel {
    border-color: var(--gv-border);
    background: #121a2a;
}

:root[data-theme="dark"] .gv-box-target-pill input:checked + span {
    border-color: rgba(62, 151, 255, 0.45);
    background: #1b2d46;
    color: var(--gv-primary);
}

:root[data-theme="dark"] .gv-box-count-pill,
:root[data-theme="dark"] .gv-box-edit[open] .gv-box-edit-trigger {
    border-color: rgba(62, 151, 255, 0.35);
    background: #1b2d46;
    color: var(--gv-primary);
}

:root[data-theme="dark"] .gv-box-edit summary {
    background: transparent;
    color: inherit;
}

:root[data-theme="dark"] .gv-box-edit-trigger {
    border-color: var(--gv-border);
    background: #162033;
    color: var(--gv-muted);
}

:root[data-theme="dark"] .gv-box-last-value strong {
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-box-values div {
    border-color: transparent;
    background: transparent;
}

:root[data-theme="dark"] .gv-box-empty-icon {
    border-color: var(--gv-border);
    background: #101726;
}

:root[data-theme="dark"] .gv-box-empty-button:hover .gv-box-empty-icon {
    border-color: rgba(62, 151, 255, 0.42);
    background: #1b2d46;
}

:root[data-theme="dark"] .gv-box-thumb {
    border-color: var(--gv-border);
    background: #101726;
}

:root[data-theme="dark"] .gv-box-create-dialog {
    border-color: var(--gv-border);
    background: #121a2a;
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] .form-control,
:root[data-theme="dark"] .gv-field select,
:root[data-theme="dark"] .gv-field input,
:root[data-theme="dark"] .gv-field textarea,
:root[data-theme="dark"] .gv-admin-edit-table input,
:root[data-theme="dark"] .gv-admin-edit-table select,
:root[data-theme="dark"] .gv-admin-footer-picker select,
:root[data-theme="dark"] .gv-admin-footer-field input,
:root[data-theme="dark"] .gv-admin-footer-field textarea,
:root[data-theme="dark"] .gv-admin-richtext-toolbar button,
:root[data-theme="dark"] .gv-admin-richtext-toolbar select,
:root[data-theme="dark"] .gv-admin-richtext-editor,
:root[data-theme="dark"] .gv-admin-engine-actions input,
:root[data-theme="dark"] .gv-admin-engine-single input,
:root[data-theme="dark"] .gv-admin-engine-single select,
:root[data-theme="dark"] .gv-admin-cron-field input,
:root[data-theme="dark"] .gv-admin-cron-field select,
:root[data-theme="dark"] .gv-admin-cron-field textarea,
:root[data-theme="dark"] .gv-admin-cron-delete input,
:root[data-theme="dark"] .gv-admin-theme-default-form select,
:root[data-theme="dark"] .gv-admin-theme-upload input[type="file"],
:root[data-theme="dark"] .gv-box-edit input,
:root[data-theme="dark"] .gv-box-edit textarea,
:root[data-theme="dark"] .gv-box-quote-settings input,
:root[data-theme="dark"] .gv-box-quote-settings select,
:root[data-theme="dark"] .gv-box-money-input,
:root[data-theme="dark"] .gv-box-row-actions select,
:root[data-theme="dark"] .gv-box-drag-handle,
:root[data-theme="dark"] .gv-vault-drag-handle,
:root[data-theme="dark"] .gv-sales-filters a {
    border-color: var(--gv-border);
    background: #0f1726;
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-camera-dialog,
:root[data-theme="dark"] .gv-camera-close,
:root[data-theme="dark"] .gv-camera-select {
    border-color: var(--gv-border);
    background: #0f1726;
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-file-input-shell {
    border-color: var(--gv-border);
    background: #0f1726;
}

:root[data-theme="dark"] .gv-file-input-button {
    border-color: var(--gv-border);
    background: #162033;
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-file-input-status {
    color: var(--gv-muted);
}

:root[data-theme="dark"] .gv-camera-stage,
:root[data-theme="dark"] .gv-camera-stage img {
    border-color: var(--gv-border);
    background: #101726;
}

:root[data-theme="dark"] .gv-slab-upload-field,
:root[data-theme="dark"] .gv-sealed-upload-field {
    border-color: var(--gv-border);
    background: #141b2a;
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
    color: #6f7d97;
}

:root[data-theme="dark"] .gv-btn-light,
:root[data-theme="dark"] .card-lookup-pagination button,
:root[data-theme="dark"] .gv-icon-button {
    border-color: var(--gv-border);
    background: #162033;
    color: var(--gv-muted);
}

:root[data-theme="dark"] .gv-btn-light:hover,
:root[data-theme="dark"] .card-lookup-pagination button:not(:disabled):hover,
:root[data-theme="dark"] .gv-icon-button:hover {
    border-color: #355579;
    background: #20314a;
    color: var(--gv-primary);
}

:root[data-theme="dark"] .gv-sales-filters a.is-active,
:root[data-theme="dark"] .gv-sales-filters a:hover {
    border-color: rgba(72, 187, 255, 0.38);
    background: #10263a;
    color: var(--gv-primary);
}

:root[data-theme="dark"] .gv-card-box-choice {
    border-color: var(--gv-border);
    background: #0f1726;
}

:root[data-theme="dark"] .gv-admin-cron-hero,
:root[data-theme="dark"] .gv-admin-cron-card,
:root[data-theme="dark"] .gv-admin-cron-technical,
:root[data-theme="dark"] .gv-admin-cron-editor {
    border-color: var(--gv-border);
    background: #121a2a;
}

:root[data-theme="dark"] .gv-admin-cron-hero-metrics div,
:root[data-theme="dark"] .gv-admin-cron-card-meta div,
:root[data-theme="dark"] .gv-admin-cron-switches {
    border-color: var(--gv-border);
    background: #0f1726;
}

:root[data-theme="dark"] .gv-card-box-choice:hover {
    border-color: rgba(62, 151, 255, 0.5);
    background: #162033;
}

:root[data-theme="dark"] .gv-slab-card-lookup {
    border-color: var(--gv-border);
    background: #121a2a;
}

:root[data-theme="dark"] .gv-slab-card-results,
:root[data-theme="dark"] .gv-slab-card-result {
    border-color: var(--gv-border);
    background: #141b2a;
    color: var(--gv-text);
}

:root[data-theme="dark"] .gv-slab-card-result:hover,
:root[data-theme="dark"] .gv-slab-card-result:focus {
    background: #202a3d;
}

:root[data-theme="dark"] .gv-slab-card-result-thumb,
:root[data-theme="dark"] .gv-slab-card-selected-thumb {
    border-color: var(--gv-border);
    background: #101726;
}

:root[data-theme="dark"] .gv-slab-card-selected {
    border-color: rgba(62, 151, 255, 0.35);
    background: #10263a;
}

:root[data-theme="dark"] .gv-icon-blue,
:root[data-theme="dark"] .gv-icon-green,
:root[data-theme="dark"] .gv-icon-purple,
:root[data-theme="dark"] .gv-icon-amber,
:root[data-theme="dark"] .gv-profile-name span,
:root[data-theme="dark"] .gv-profile-side em,
:root[data-theme="dark"] .gv-sale-status.is-active,
:root[data-theme="dark"] .gv-sale-status.is-verified,
:root[data-theme="dark"] .gv-admin-health-card.is-ok em,
:root[data-theme="dark"] .gv-mfa-method-card span.is-on {
    background: rgba(77, 184, 255, 0.14);
    color: var(--gv-primary);
}

:root[data-theme="dark"] .gv-icon-red,
:root[data-theme="dark"] .gv-utility-push-button.is-disabled {
    background: rgba(241, 65, 108, 0.13);
    color: #ff7b9c;
}

:root[data-theme="dark"] .gv-utility-push-button.is-enabled {
    background: rgba(80, 205, 137, 0.14);
    color: #75e6aa;
}

:root[data-theme="dark"] .gv-sale-status.is-suspect,
:root[data-theme="dark"] .gv-sale-status.is-excluded {
    background: rgba(241, 65, 108, 0.13);
    color: #ff7b9c;
}

:root[data-theme="dark"] .gv-flash {
    border-color: rgba(80, 205, 137, 0.3);
    background: rgba(80, 205, 137, 0.12);
    color: #76e5aa;
}

:root[data-theme="dark"] .gv-alert,
:root[data-theme="dark"] .gv-security-note {
    border-color: rgba(255, 199, 0, 0.26);
    background: rgba(255, 199, 0, 0.1);
    color: #ffd86a;
}

:root[data-theme="dark"] .gv-keen-table th,
:root[data-theme="dark"] .gv-keen-table td {
    border-color: var(--gv-border);
}

:root[data-theme="dark"] .gv-keen-table tr:hover td,
:root[data-theme="dark"] .gv-sales-table tr.is-excluded td,
:root[data-theme="dark"] .gv-sales-table tr.is-suspect td,
:root[data-theme="dark"] .gv-admin-engine-actions input[readonly],
:root[data-theme="dark"] .gv-admin-engine-picked {
    background: #121a2a;
    color: var(--gv-muted);
}

:root[data-theme="dark"] .gv-chart-grid {
    stroke: #2c3850;
}

:root[data-theme="dark"] .gv-empty-table,
:root[data-theme="dark"] .gv-balance-ticker-empty {
    border-color: var(--gv-border);
    color: var(--gv-muted);
}

@media (max-width: 1180px) {
    .gv-auth-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 14px;
        row-gap: 10px;
        min-height: 0;
        padding-top: 12px;
        padding-right: 18px;
        padding-bottom: 12px;
        padding-left: 18px;
    }

    .gv-auth-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .gv-profile-menu {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .gv-header-search {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 260px;
        max-width: none;
        justify-self: stretch;
    }

    .gv-auth-nav {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        justify-self: stretch;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px 3px;
        align-content: center;
    }

    .gv-auth-nav a,
    .gv-nav-button {
        min-height: 34px;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 0.84rem;
    }

    .gv-auth-nav .gv-main-nav-link {
        min-height: 44px;
        padding: 7px 6px 14px;
    }

    .gv-auth-nav .gv-main-nav-link::after {
        bottom: -21px;
        width: 38px;
        height: 38px;
    }

    .gv-auth-nav .gv-main-nav-link::before {
        bottom: -5px;
        width: 11px;
        height: 11px;
        border-width: 3px;
        box-shadow: 0 0 0 2px var(--gv-main-nav-color);
    }

    .gv-theme-trigger {
        width: 30px;
        min-width: 30px;
        padding: 0;
    }

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

    .gv-span-4 {
        grid-column: span 2;
    }

    .gv-dashboard-card {
        min-height: 150px;
        padding: 18px;
    }

    .gv-value-header-row {
        gap: 10px;
    }

    .gv-value-trend-wrap {
        gap: 4px;
    }

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

    .gv-vault-items {
        --gv-vault-card-width: 210px;
    }

    .gv-item-layout {
        grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
    }

    .gv-item-documents-card {
        grid-column: 1 / -1;
        position: static;
    }

    .gv-item-detail-card {
        grid-template-columns: minmax(210px, 0.85fr) minmax(280px, 1.15fr);
    }

    .gv-item-detail-head h1 {
        font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    }

    .gv-admin-cron-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .gv-public-header {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "search search";
        min-height: auto;
        padding: 12px 28px;
    }

    .gv-public-brand {
        grid-area: brand;
    }

    .gv-public-header-search {
        grid-area: search;
    }

    .gv-public-actions {
        grid-area: actions;
    }
}

@media (max-width: 980px) {
    .gv-item-layout {
        grid-template-columns: 1fr;
    }

    .gv-item-detail-card {
        grid-template-columns: 1fr;
    }

    .gv-item-detail-media,
    .gv-item-detail-media.is-sealed {
        width: 100%;
        max-height: 520px;
    }

    .gv-item-detail-media.is-sealed {
        max-height: none;
    }

    .gv-item-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .gv-public-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 12px 18px;
    }

    .gv-public-header-search {
        grid-column: 1 / -1;
        width: 100%;
    }

    .gv-public-logo {
        width: 148px;
        max-height: 52px;
    }

    .gv-public-actions {
        gap: 8px;
    }

    .gv-public-actions .gv-btn {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .gv-auth-header {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 18px;
    }

    .gv-auth-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .gv-header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        max-width: none;
        justify-self: stretch;
    }

    .gv-auth-nav,
    .gv-profile-menu,
    .gv-footer {
        flex-wrap: wrap;
    }

    .gv-auth-nav {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        overflow-x: visible;
        row-gap: 6px;
        padding-bottom: 3px;
        justify-self: start;
    }

    .gv-header-search-section {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gv-header-search-section-results {
        gap: 4px;
    }

    .gv-profile-menu {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .gv-notification-dropdown,
    .gv-profile-dropdown {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 96px);
        overflow: auto;
    }

    .gv-notification-dropdown {
        right: auto;
        left: 50%;
        width: min(360px, calc(100vw - 24px));
        transform: translateX(-50%);
    }

    .gv-profile-dropdown {
        right: 0;
        left: auto;
    }

    .gv-nav-dropdown-menu {
        right: auto;
        left: 0;
        max-width: calc(100vw - 24px);
    }

    .gv-utility-dropdown {
        right: auto;
        left: 0;
        width: min(280px, calc(100vw - 36px));
        max-width: calc(100vw - 36px);
    }

    .gv-language-panel {
        position: static;
        transform: none;
        width: 100%;
        margin: 8px 0;
        box-shadow: none;
    }

    .gv-main-shell {
        padding: 18px;
    }

    .gv-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gv-page-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .gv-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .gv-search-result-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .gv-search-result-kind {
        justify-self: start;
    }

    .gv-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .gv-value-header-row {
        align-items: flex-start;
    }

    .gv-value-trend-wrap {
        gap: 4px;
    }

    .gv-value-trend-badge {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: 0.92rem;
    }

    .gv-value-trend-label {
        font-size: 0.82rem;
    }

    .gv-dashboard-grid .gv-utility-card {
        order: -1;
    }

    .gv-balance-summary {
        grid-template-columns: 1fr;
    }

    .gv-sales-summary {
        grid-template-columns: 1fr;
    }

    .gv-sale-title {
        max-width: 260px;
    }

    .gv-span-2,
    .gv-span-4 {
        grid-column: span 1;
    }

    .gv-search-control {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .gv-search-control .gv-btn {
        grid-column: 1 / -1;
    }

    .gv-control-grid {
        grid-template-columns: 1fr;
    }

    .gv-value-recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gv-form-grid {
        grid-template-columns: 1fr;
    }

    .gv-field-span-2,
    .gv-field-span-3,
    .gv-field-span-4 {
        grid-column: auto;
    }

    .gv-slab-media-grid {
        grid-template-columns: 1fr;
    }

    .gv-slab-upload-field .gv-upload-row {
        grid-template-columns: 1fr;
    }

    .gv-sealed-upload-field .gv-upload-row {
        grid-template-columns: 1fr;
    }

    .gv-compact-form-card {
        padding: 14px;
    }

    .gv-compact-form-card .gv-document-upload-row {
        grid-template-columns: 1fr;
    }

    .gv-slab-card-search,
    .gv-slab-card-selected {
        grid-template-columns: 1fr;
    }

    .gv-slab-card-results {
        right: 10px;
        left: 10px;
    }

    .gv-purchase-filter-form,
    .gv-purchase-summary,
    .gv-purchase-form-grid {
        grid-template-columns: 1fr;
    }

    .gv-purchase-filter-card {
        grid-column: span 1;
    }

    .gv-vault-items {
        --gv-vault-card-width: 170px;
    }

    .gv-vault-items.is-grid {
        grid-template-columns: repeat(auto-fit, minmax(var(--gv-vault-card-width), var(--gv-vault-card-width)));
        justify-content: center;
    }

    .gv-vault-items.is-list {
        grid-template-columns: 1fr;
    }

    .gv-vault-item {
        width: 100%;
        max-width: var(--gv-vault-card-width);
    }

    .gv-item-drawer-panel {
        width: 100vw;
    }

    .gv-item-drawer-inner {
        padding: 18px;
    }

    .gv-item-drawer-grid,
    .gv-item-drawer-actions {
        grid-template-columns: 1fr;
    }

    .gv-item-layout {
        grid-template-columns: 1fr;
    }

    .gv-item-detail-card {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .gv-item-detail-media,
    .gv-item-detail-media.is-sealed {
        min-height: 320px;
    }

    .gv-item-detail-media.is-sealed {
        min-height: 0;
    }

    .gv-item-detail-grid,
    .gv-document-upload-row {
        grid-template-columns: 1fr;
    }

    .gv-item-documents-card {
        position: static;
    }

    .gv-profile-layout {
        grid-template-columns: 1fr;
    }

    .gv-security-side {
        position: static;
    }

    .gv-security-two-col,
    .gv-security-form-grid,
    .gv-security-email-grid,
    .gv-security-otp-state,
    .gv-security-otp-state-inline,
    .gv-item-alert-form,
    .gv-mfa-method-grid,
    .gv-authenticator-setup {
        grid-template-columns: 1fr;
    }

    .gv-mfa-method-card {
        min-height: 0;
    }

    .gv-passkey-row {
        grid-template-columns: 1fr;
    }

    .gv-item-alert-row {
        align-items: stretch;
        flex-direction: column;
    }

    .gv-admin-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gv-admin-sidebar {
        position: static;
        overflow-x: auto;
        padding: 8px;
    }

    .gv-admin-nav {
        display: flex;
        gap: 8px;
        min-width: max-content;
    }

    .gv-admin-nav-group {
        display: flex;
        gap: 8px;
    }

    .gv-admin-nav-title,
    .gv-admin-nav a span {
        display: none;
    }

    .gv-admin-nav a {
        flex: 0 0 auto;
        padding: 10px 12px;
        white-space: nowrap;
    }

    .gv-admin-content {
        padding: 16px;
    }

    .gv-admin-ops-switcher {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        margin-bottom: 16px;
        padding: 8px;
    }

    .gv-admin-ops-switcher a {
        min-width: 150px;
    }

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

    .gv-admin-cron-hero-metrics,
    .gv-admin-cron-board,
    .gv-admin-cron-form {
        grid-template-columns: 1fr;
    }

    .gv-admin-cron-heading-actions,
    .gv-admin-cron-form-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .gv-admin-health-stats,
    .gv-admin-health-grid,
    .gv-admin-system-board,
    .gv-admin-quality-grid,
    .gv-admin-engine-actions,
    .gv-admin-engine-columns,
    .gv-admin-footer-picker,
    .gv-admin-registration-mode,
    .gv-admin-theme-grid,
    .gv-admin-application-grid,
    .gv-box-create-form,
    .gv-box-search-grid,
    .gv-box-target-pills,
    .gv-box-values,
    .gv-box-open-values {
        grid-template-columns: 1fr;
    }

    .gv-profile-layout > .gv-notification-preferences-card {
        grid-column: 1;
    }

    .gv-preference-grid,
    .gv-item-insight-grid {
        grid-template-columns: 1fr;
    }

    .gv-admin-health-summary,
    .gv-admin-engine-summary,
    .gv-admin-engine-single,
    .gv-admin-footer-note,
    .gv-admin-registration-mode,
    .gv-admin-theme-default,
    .gv-admin-theme-upload {
        align-items: flex-start;
        flex-direction: column;
    }

    .gv-admin-theme-default-form,
    .gv-admin-theme-upload form {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .gv-admin-engine-single form {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .gv-box-search-row {
        grid-template-columns: 1fr;
    }

    .live-search-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .gv-box-row-actions {
        flex-wrap: wrap;
        min-width: 220px;
    }

    .gv-box-content-heading {
        grid-template-columns: 1fr;
    }

    .gv-box-quote-settings {
        grid-template-columns: 1fr;
    }

    .gv-box-inline-action {
        flex-wrap: wrap;
    }

    .gv-box-row-actions select {
        width: 130px;
    }

    .gv-box-create-card,
    .gv-box-search-panel {
        height: auto;
        min-height: 0;
    }

    .gv-box-search-panel {
        grid-template-columns: 1fr;
    }

    .gv-pokeapi-layout,
    .gv-pokeapi-workspace,
    .gv-pokeapi-summary,
    .gv-pokeapi-toolbar,
    .gv-pokeapi-lookup,
    .gv-pokemon-news-grid {
        grid-template-columns: 1fr;
    }

    .gv-pokeapi-sidebar {
        position: static;
        max-height: none;
    }

    .gv-pokeapi-toolbar,
    .gv-pokeapi-list-head,
    .gv-pokeapi-detail-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .gv-item-preview {
        position: static;
    }

    .gv-card-profile-layout .gv-item-preview {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .gv-card-profile-layout .gv-item-preview-image {
        width: min(100%, 276px);
    }

    .gv-item-changes-card {
        position: static;
    }

    .gv-item-chart-card {
        padding: 20px;
    }

    .gv-item-value-head {
        flex-direction: column;
    }

    .gv-period-tabs {
        gap: 6px;
    }

    .gv-change-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .gv-change-row strong,
    .gv-change-row em {
        justify-self: start;
    }

    .gv-keen-table th,
    .gv-keen-table td {
        padding-right: 10px;
        padding-left: 10px;
    }

    .gv-keen-table {
        min-width: 720px;
    }

    .gv-trash-table {
        min-width: 760px;
    }

    .gv-field-wide {
        grid-column: auto;
    }
}

@media (max-width: 760px) and (orientation: portrait) {
    .gv-vault-items.is-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .gv-vault-item {
        grid-template-rows: auto auto auto;
        gap: 7px;
        max-width: none;
        min-height: 0;
        padding: 8px;
    }

    .gv-vault-item.is-slab {
        grid-template-rows: auto auto auto;
    }

    .gv-vault-item:not(.is-slab) .gv-vault-image {
        height: 168px;
        min-height: 168px;
    }

    .gv-vault-copy h3 {
        margin-bottom: 1px;
        font-size: 0.86rem;
        line-height: 1.16;
    }

    .gv-vault-copy p {
        font-size: 0.74rem;
        line-height: 1.15;
    }

    .gv-vault-values {
        gap: 6px;
        padding-top: 7px;
        padding-right: 30px;
        font-size: 0.72rem;
    }

    .gv-vault-values div {
        gap: 1px;
    }

    .gv-vault-values span {
        font-size: 0.62rem;
    }

    .gv-vault-values strong {
        font-size: 0.76rem;
    }

    .gv-vault-actions {
        right: 2px;
        bottom: 2px;
    }

    .gv-utility-heading-actions .gv-notification-dropdown {
        position: fixed;
        top: 112px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 136px);
        overflow: auto;
        transform: none;
    }
}

@media (max-width: 520px) {
    .gv-public-header {
        min-height: 66px;
        padding: 10px 14px;
    }

    .gv-public-header-search .gv-home-search {
        grid-template-columns: 34px minmax(0, 1fr) 78px;
    }

    .gv-public-header-search .gv-home-search input {
        min-height: 40px;
        font-size: 0.82rem;
    }

    .gv-public-search-submit {
        min-width: 78px;
        font-size: 0.78rem;
    }

    .gv-public-logo {
        width: min(138px, 40vw);
        max-height: 48px;
    }

    .gv-public-actions .gv-btn {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 0.76rem;
    }

    .gv-auth-header {
        gap: 12px;
        padding: 14px;
    }

    .gv-header-logo {
        width: 138px;
        max-height: 48px;
    }

    .gv-auth-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px 3px;
        max-width: 100%;
        overflow-x: visible;
        overflow-y: visible;
    }

    .gv-auth-nav .gv-header-search {
        flex: 1 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .gv-auth-nav a,
    .gv-nav-button {
        min-height: 34px;
        padding: 7px 4px;
        font-size: clamp(0.68rem, 3.05vw, 0.78rem);
    }

    .gv-auth-nav .gv-main-nav-link {
        min-height: 40px;
        padding: 7px 4px 13px;
    }

    .gv-theme-trigger {
        width: 28px;
        height: 34px;
        padding: 0;
    }

    .gv-header-search {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .gv-header-search-result {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .gv-header-search-result em {
        display: none;
    }

    .gv-main-shell {
        padding: 14px;
    }

    .gv-card,
    .gv-panel {
        border-radius: 8px;
    }

    .gv-profile-dropdown {
        position: fixed;
        top: 78px;
        right: 12px;
        left: 12px;
        width: auto;
    }

    .gv-notification-dropdown {
        position: fixed;
        top: 128px;
        right: 12px;
        left: 12px;
        width: auto;
        transform: none;
    }

    .gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row,
    .gv-notification-item.gv-notification-value-row {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 0 8px;
    }

    .gv-auth-nav .gv-notification-dropdown .gv-notification-item.gv-notification-value-row em,
    .gv-notification-item.gv-notification-value-row em {
        font-size: 0.78rem;
    }

    .gv-notification-page-item {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 10px;
    }

    .gv-notification-page-icon {
        width: 36px;
        height: 36px;
    }

    .gv-admin-engine-picker-results {
        position: fixed;
        top: 148px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 180px);
    }
}

.gv-value-recent-values {
    display: block;
    margin-top: 6px;
    color: var(--gv-muted);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.3;
}

.gv-reminders-layout {
    align-items: flex-start;
    grid-template-columns: minmax(460px, 0.95fr) minmax(420px, 1.05fr);
}

.gv-reminder-list {
    display: grid;
    gap: 12px;
}

.gv-reminder-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--gv-border);
    border-radius: 8px;
    background: var(--gv-surface);
}

.gv-reminder-row strong,
.gv-reminder-row span,
.gv-reminder-row small {
    display: block;
}

.gv-reminder-row strong {
    color: var(--gv-ink);
    font-size: 1rem;
    font-weight: 900;
}

.gv-reminder-row span,
.gv-reminder-row small {
    margin-top: 5px;
    color: var(--gv-muted);
    font-weight: 800;
}

.gv-reminder-row.is-expired {
    border-color: rgba(244, 67, 103, 0.35);
    background: rgba(244, 67, 103, 0.05);
}

.gv-reminder-row.is-done {
    opacity: 0.62;
}

.gv-reminder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .gv-reminders-layout,
    .gv-reminder-row {
        grid-template-columns: 1fr;
    }

    .gv-reminder-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .gv-box-dashboard {
        gap: 14px;
    }

    .gv-box-dashboard > *,
    .gv-box-search-grid,
    .gv-box-search-panel .gv-live-search-field,
    .gv-box-search-panel .gv-search-control {
        min-width: 0;
    }

    .gv-box-search-panel,
    .gv-box-content-panel {
        width: 100%;
        min-width: 0;
        padding: 14px;
    }

    .gv-box-slot-strip {
        display: flex;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        max-width: 100%;
        padding: 0 0 8px;
        scroll-padding: 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .gv-box-slot-strip .gv-box-tile {
        flex: 0 0 min(78vw, 300px);
        height: auto;
        min-height: 0;
        scroll-snap-align: start;
    }

    .gv-box-slot-strip .gv-box-tile-link,
    .gv-box-slot-strip .gv-box-tile-link:hover,
    .gv-box-slot-strip .gv-box-tile-link:focus {
        min-height: 0;
        padding: 14px 14px 6px;
        gap: 10px;
    }

    .gv-box-name-label {
        font-size: 1.04rem;
    }

    .gv-box-count-pill {
        min-height: 24px;
        padding: 0 8px;
        font-size: 0.82rem;
    }

    .gv-box-tile .gv-box-values,
    .gv-box-open-values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .gv-box-values div,
    .gv-box-open-values div {
        min-height: 48px;
        padding: 8px;
    }

    .gv-box-values span,
    .gv-box-open-values span {
        font-size: 0.62rem;
    }

    .gv-box-values strong,
    .gv-box-open-values strong {
        font-size: 0.76rem;
    }

    .gv-box-preview-grid {
        gap: 6px;
    }

    .gv-box-edit {
        margin: 0 14px 12px;
    }

    .gv-box-slot-empty {
        flex-basis: min(58vw, 220px);
        height: auto;
        min-height: 178px;
        padding: 16px;
    }

    .gv-box-content-panel {
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .gv-box-content-panel .gv-panel-heading {
        margin-bottom: 14px;
    }

    .gv-box-content-heading {
        gap: 12px;
    }

    .gv-box-content-title h2 {
        margin-bottom: 0;
        font-size: 1.18rem;
        line-height: 1.15;
    }

    .gv-box-quote-settings {
        gap: 8px;
    }

    .gv-box-quote-settings input,
    .gv-box-quote-settings select,
    .gv-box-money-input {
        height: 38px;
        min-height: 38px;
        font-size: 0.84rem;
    }

    .gv-keen-table-wrap:has(.gv-box-table) {
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0 -14px;
        padding: 0 14px 8px;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .gv-box-table {
        display: table;
        width: 790px;
        min-width: 790px;
        border-spacing: 0;
        table-layout: fixed;
    }

    .gv-box-table thead {
        display: table-header-group;
    }

    .gv-box-table thead th {
        overflow: hidden;
        padding: 0 6px 8px;
        font-size: 0.6rem;
        text-overflow: ellipsis;
    }

    .gv-box-table tbody {
        display: table-row-group;
    }

    .gv-box-table tbody tr {
        display: table-row;
    }

    .gv-box-table tbody tr:hover td {
        background: #fcfcfd;
    }

    .gv-box-table tbody td {
        display: table-cell;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 8px 6px;
        border-top: 1px solid var(--gv-border);
        text-align: left;
        vertical-align: middle;
        white-space: nowrap;
    }

    .gv-box-table th:first-child,
    .gv-box-table tbody td:first-child {
        width: 34px;
        min-width: 34px;
        max-width: 34px;
        padding-right: 3px;
        padding-left: 0;
        text-align: center;
    }

    .gv-box-table th:nth-child(2),
    .gv-box-table tbody td:nth-child(2) {
        width: 176px;
        min-width: 176px;
        max-width: 176px;
    }

    .gv-box-table tbody td:nth-child(n+3) {
        display: table-cell;
        width: auto;
        min-width: 0;
        max-width: none;
        text-align: center;
    }

    .gv-box-table th:last-child,
    .gv-box-table tbody td:last-child {
        width: 260px;
        min-width: 260px;
        max-width: 260px;
        text-align: left;
    }

    .gv-box-table tbody td:nth-child(n+3)::before {
        display: none;
        content: none;
    }

    .gv-box-card-cell {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 2px 8px;
        min-width: 160px;
        max-width: 160px;
    }

    .gv-box-card-cell > span {
        width: 38px;
        height: 52px;
        border-radius: 6px;
    }

    .gv-box-card-cell strong {
        overflow: hidden;
        font-size: 0.82rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gv-box-card-cell small {
        overflow: hidden;
        font-size: 0.66rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gv-box-drag-handle {
        width: 30px;
        height: 30px;
    }

    .gv-box-table th:nth-child(3),
    .gv-box-table td:nth-child(3) {
        width: 72px;
        min-width: 72px;
        max-width: 72px;
    }

    .gv-box-money-input {
        width: 64px;
        height: 30px;
        min-height: 30px;
        padding: 0 6px;
        font-size: 0.74rem;
        text-align: right;
    }

    .gv-box-table th:nth-child(4),
    .gv-box-table td:nth-child(4),
    .gv-box-table th:nth-child(5),
    .gv-box-table td:nth-child(5),
    .gv-box-table th:nth-child(6),
    .gv-box-table td:nth-child(6) {
        width: 86px;
        min-width: 86px;
        max-width: 86px;
    }

    .gv-box-grade-choice {
        display: inline-flex;
        width: auto;
        justify-content: center;
        gap: 5px;
        min-height: 30px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .gv-box-grade-choice input {
        width: 16px;
        height: 16px;
    }

    .gv-box-grade-choice span {
        min-width: 0;
        max-width: 58px;
        overflow: hidden;
        font-size: 0.72rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gv-box-row-actions {
        display: inline-flex;
        width: auto;
        min-width: 0;
        gap: 5px;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .gv-box-inline-action {
        display: inline-flex;
        width: auto;
        gap: 5px;
        align-items: center;
        flex-wrap: nowrap;
    }

    .gv-box-row-actions select {
        width: 86px;
        min-height: 30px;
        padding: 0 6px;
        font-size: 0.68rem;
    }

    .gv-box-row-actions .gv-btn {
        width: auto;
        min-height: 30px;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 0.66rem;
    }

    .gv-box-table tfoot,
    .gv-box-table tfoot tr {
        display: table-row;
    }

    .gv-box-table tfoot td {
        display: table-cell;
        width: auto;
        min-width: 0;
        padding: 10px 6px 0;
        border-top: 1px solid var(--gv-border);
    }

    .gv-box-quote-footer {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        padding-top: 4px;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .gv-box-quote-footer .gv-btn {
        width: auto;
        min-height: 34px;
    }
}

@media (max-width: 520px) {
    .gv-box-slot-strip .gv-box-tile {
        flex-basis: min(84vw, 310px);
    }

    .gv-box-slot-empty {
        flex-basis: min(68vw, 250px);
    }

    .gv-box-table {
        width: 780px;
        min-width: 780px;
    }

    .gv-box-table th:nth-child(2),
    .gv-box-table tbody td:nth-child(2) {
        width: 166px;
        min-width: 166px;
        max-width: 166px;
    }

    .gv-box-card-cell {
        min-width: 150px;
        max-width: 150px;
    }

    .gv-box-table th:last-child,
    .gv-box-table tbody td:last-child {
        width: 252px;
        min-width: 252px;
        max-width: 252px;
    }
}
body.gv-sensitive-locked .gv-auth-header,
body.gv-sensitive-locked .gv-main-shell,
body.gv-sensitive-locked .gv-footer {
    pointer-events: none;
}

body.gv-sensitive-locked .gv-main-shell {
    filter: blur(1.5px);
}

.gv-sensitive-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
}

.gv-sensitive-dialog {
    width: min(100%, 420px);
    padding: 24px;
    border: 1px solid rgba(125, 138, 168, 0.18);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(33, 43, 77, 0.18);
}

.gv-sensitive-dialog-copy h2 {
    margin: 8px 0 0;
    font-size: 1.55rem;
    line-height: 1.15;
}

.gv-sensitive-dialog-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.gv-sensitive-dialog-input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid #dfe5f1;
    border-radius: 14px;
    background: #fff;
    color: #1d2340;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-align: center;
}

.gv-sensitive-dialog-error {
    color: #d1445b;
    font-size: 0.95rem;
    font-weight: 700;
}

.gv-sensitive-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gv-sensitive-dialog-note {
    margin: -2px 0 0;
    color: #7a8299;
    font-size: 0.82rem;
    font-weight: 650;
    text-align: center;
}

.gv-sensitive-send-button {
    display: inline-flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid #009ef7;
    border-radius: 14px;
    background: #009ef7;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.gv-sensitive-send-button:hover,
.gv-sensitive-send-button:focus-visible {
    border-color: #0089d8;
    background: #0089d8;
    color: #fff;
}

.gv-sensitive-send-button:disabled {
    cursor: wait;
    opacity: 0.6;
    transform: none;
}

@media (max-width: 640px) {
    .gv-sensitive-dialog {
        padding: 20px;
        border-radius: 16px;
    }

    .gv-sensitive-dialog-copy h2 {
        font-size: 1.3rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .gv-vault-items {
        --gv-vault-card-width: 220px;
    }

    .gv-vault-items.is-grid {
        grid-template-columns: repeat(auto-fit, 220px);
        justify-content: center;
    }

    .gv-vault-item {
        width: 220px;
        max-width: 220px;
    }
}
