:root {

    --base-bg: #0B1C2D;

    --base-bg-2: #123C52;

    --panel: rgba(12, 28, 44, 0.9);

    --panel-border: rgba(148, 163, 184, 0.16);

    --surface: #F5F7FA;

    --surface-2: #ECF1F6;

    --text: #F5F7FA;

    --text-dark: #0E1726;

    --muted: #C1CBD7;

    --muted-dark: #5B667A;

    --accent: #2EAADC;

    --accent-2: #1C8FB8;

    --accent-3: #8CD2EF;

    --warning: #f59e0b;

    --danger: #fb7185;

    --radius-lg: 18px;

    --radius-md: 14px;

    --radius-sm: 10px;

    --radius-pill: 999px;

    --shadow-lg: 0 24px 60px rgba(2, 8, 20, 0.35);

    --shadow-sm: 0 12px 28px rgba(2, 8, 20, 0.2);

    --font-sans: "Manrope", "Sora", sans-serif;

    --font-display: "Sora", "Manrope", sans-serif;

    --drive-theme-page: linear-gradient(180deg, rgba(9, 29, 43, 0.38) 0%, rgba(6, 22, 34, 0.16) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(10, 40, 58, 0.98) 0%, rgba(9, 31, 46, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(59, 167, 255, 0.14), transparent 34%);
    --drive-theme-toolbar: rgba(10, 33, 49, 0.88);
    --drive-theme-table: rgba(10, 33, 49, 0.82);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(9, 29, 43, 0.98) 0%, rgba(11, 39, 58, 0.98) 100%);
    --drive-theme-shell-button: rgba(18, 48, 69, 0.95);
    --drive-theme-border: rgba(36, 86, 116, 0.72);
    --drive-theme-sticky-top: 6.3rem;

}

html[data-drive-theme="emerald"] {
    --drive-theme-page: linear-gradient(180deg, rgba(11, 42, 34, 0.4) 0%, rgba(8, 28, 22, 0.2) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(18, 56, 47, 0.98) 0%, rgba(14, 46, 39, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(63, 197, 142, 0.2), transparent 36%);
    --drive-theme-toolbar: rgba(14, 43, 37, 0.9);
    --drive-theme-table: rgba(14, 43, 37, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(16, 51, 43, 0.98) 0%, rgba(14, 44, 37, 0.98) 100%);
    --drive-theme-shell-button: rgba(23, 65, 56, 0.95);
    --drive-theme-border: rgba(43, 121, 96, 0.68);
}

html[data-drive-theme="graphite"] {
    --drive-theme-page: linear-gradient(180deg, rgba(23, 31, 45, 0.36) 0%, rgba(16, 22, 34, 0.18) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(28, 39, 56, 0.98) 0%, rgba(23, 33, 48, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(114, 160, 219, 0.18), transparent 34%);
    --drive-theme-toolbar: rgba(23, 35, 53, 0.9);
    --drive-theme-table: rgba(22, 34, 51, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(26, 38, 57, 0.98) 0%, rgba(22, 33, 50, 0.98) 100%);
    --drive-theme-shell-button: rgba(34, 50, 73, 0.95);
    --drive-theme-border: rgba(73, 101, 136, 0.66);
}

html[data-drive-theme="sunset"] {
    --drive-theme-page: linear-gradient(180deg, rgba(62, 22, 39, 0.36) 0%, rgba(34, 14, 29, 0.2) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(67, 26, 47, 0.98) 0%, rgba(42, 18, 33, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(255, 150, 102, 0.24), transparent 36%);
    --drive-theme-toolbar: rgba(50, 21, 37, 0.9);
    --drive-theme-table: rgba(46, 19, 34, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(63, 25, 45, 0.98) 0%, rgba(45, 18, 34, 0.98) 100%);
    --drive-theme-shell-button: rgba(78, 32, 54, 0.95);
    --drive-theme-border: rgba(167, 86, 111, 0.7);
}

html[data-drive-theme="midnight"] {
    --drive-theme-page: linear-gradient(180deg, rgba(8, 15, 35, 0.38) 0%, rgba(5, 10, 24, 0.2) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(11, 21, 48, 0.98) 0%, rgba(8, 16, 37, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(82, 130, 255, 0.2), transparent 38%);
    --drive-theme-toolbar: rgba(9, 19, 44, 0.9);
    --drive-theme-table: rgba(8, 17, 39, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(11, 23, 52, 0.98) 0%, rgba(8, 18, 41, 0.98) 100%);
    --drive-theme-shell-button: rgba(18, 31, 68, 0.95);
    --drive-theme-border: rgba(68, 104, 182, 0.7);
}

html[data-drive-theme="amber"] {
    --drive-theme-page: linear-gradient(180deg, rgba(54, 33, 6, 0.36) 0%, rgba(31, 18, 4, 0.2) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(65, 40, 8, 0.98) 0%, rgba(38, 24, 5, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(255, 189, 74, 0.22), transparent 36%);
    --drive-theme-toolbar: rgba(47, 29, 6, 0.9);
    --drive-theme-table: rgba(43, 26, 5, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(60, 37, 8, 0.98) 0%, rgba(41, 25, 5, 0.98) 100%);
    --drive-theme-shell-button: rgba(79, 49, 11, 0.95);
    --drive-theme-border: rgba(170, 123, 33, 0.72);
}

html[data-drive-theme="rose"] {
    --drive-theme-page: linear-gradient(180deg, rgba(52, 16, 39, 0.36) 0%, rgba(31, 10, 24, 0.2) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(66, 20, 50, 0.98) 0%, rgba(40, 14, 32, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(255, 132, 196, 0.24), transparent 36%);
    --drive-theme-toolbar: rgba(48, 16, 37, 0.9);
    --drive-theme-table: rgba(44, 15, 33, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(60, 19, 46, 0.98) 0%, rgba(43, 15, 33, 0.98) 100%);
    --drive-theme-shell-button: rgba(77, 26, 59, 0.95);
    --drive-theme-border: rgba(173, 79, 139, 0.72);
}

html[data-drive-theme="arctic"] {
    --drive-theme-page: linear-gradient(180deg, rgba(16, 44, 66, 0.34) 0%, rgba(10, 29, 45, 0.2) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(20, 57, 81, 0.98) 0%, rgba(13, 40, 59, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(118, 220, 255, 0.2), transparent 36%);
    --drive-theme-toolbar: rgba(16, 44, 65, 0.9);
    --drive-theme-table: rgba(14, 39, 58, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(19, 54, 78, 0.98) 0%, rgba(14, 41, 61, 0.98) 100%);
    --drive-theme-shell-button: rgba(26, 69, 99, 0.95);
    --drive-theme-border: rgba(77, 148, 187, 0.72);
}

html[data-drive-theme="forest"] {
    --drive-theme-page: linear-gradient(180deg, rgba(15, 39, 22, 0.34) 0%, rgba(10, 27, 15, 0.2) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(19, 51, 30, 0.98) 0%, rgba(13, 36, 22, 0.98) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(123, 224, 145, 0.22), transparent 36%);
    --drive-theme-toolbar: rgba(16, 41, 24, 0.9);
    --drive-theme-table: rgba(14, 37, 22, 0.84);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(20, 50, 30, 0.98) 0%, rgba(14, 37, 23, 0.98) 100%);
    --drive-theme-shell-button: rgba(27, 64, 40, 0.95);
    --drive-theme-border: rgba(76, 144, 99, 0.72);
}

html[data-drive-theme="cobalt"] {
    --drive-theme-page: linear-gradient(180deg, rgba(6, 28, 100, 0.58) 0%, rgba(3, 16, 64, 0.34) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(9, 47, 130, 0.99) 0%, rgba(7, 31, 89, 0.99) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(70, 191, 255, 0.4), transparent 44%);
    --drive-theme-toolbar: rgba(8, 40, 111, 0.95);
    --drive-theme-table: rgba(8, 34, 94, 0.92);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(10, 45, 122, 0.99) 0%, rgba(8, 33, 96, 0.99) 100%);
    --drive-theme-shell-button: rgba(18, 64, 152, 0.97);
    --drive-theme-border: rgba(88, 176, 255, 0.9);
}

html[data-drive-theme="dune"] {
    --drive-theme-page: linear-gradient(180deg, rgba(96, 62, 20, 0.56) 0%, rgba(50, 31, 8, 0.32) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(116, 76, 24, 0.99) 0%, rgba(71, 46, 13, 0.99) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(255, 210, 110, 0.42), transparent 44%);
    --drive-theme-toolbar: rgba(92, 59, 18, 0.94);
    --drive-theme-table: rgba(75, 48, 14, 0.91);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(108, 71, 22, 0.99) 0%, rgba(79, 51, 15, 0.99) 100%);
    --drive-theme-shell-button: rgba(136, 89, 27, 0.97);
    --drive-theme-border: rgba(255, 195, 100, 0.9);
}

html[data-drive-theme="crimson"] {
    --drive-theme-page: linear-gradient(180deg, rgba(118, 10, 35, 0.6) 0%, rgba(63, 6, 20, 0.34) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(144, 12, 44, 0.99) 0%, rgba(86, 8, 28, 0.99) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(255, 111, 150, 0.42), transparent 46%);
    --drive-theme-toolbar: rgba(118, 10, 37, 0.95);
    --drive-theme-table: rgba(96, 9, 31, 0.92);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(134, 11, 41, 0.99) 0%, rgba(100, 9, 32, 0.99) 100%);
    --drive-theme-shell-button: rgba(163, 14, 53, 0.97);
    --drive-theme-border: rgba(255, 122, 159, 0.92);
}

html[data-drive-theme="aurora"] {
    --drive-theme-page: linear-gradient(180deg, rgba(4, 94, 86, 0.56) 0%, rgba(3, 47, 43, 0.32) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(6, 115, 104, 0.99) 0%, rgba(5, 70, 64, 0.99) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(99, 255, 227, 0.44), transparent 46%);
    --drive-theme-toolbar: rgba(6, 97, 86, 0.94);
    --drive-theme-table: rgba(6, 76, 68, 0.91);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(8, 105, 95, 0.99) 0%, rgba(6, 73, 66, 0.99) 100%);
    --drive-theme-shell-button: rgba(11, 132, 117, 0.97);
    --drive-theme-border: rgba(112, 244, 221, 0.9);
}

html[data-drive-theme="slate"] {
    --drive-theme-page: linear-gradient(180deg, rgba(56, 66, 81, 0.54) 0%, rgba(30, 36, 47, 0.31) 100%);
    --drive-theme-surface: linear-gradient(180deg, rgba(74, 87, 106, 0.99) 0%, rgba(45, 53, 67, 0.99) 100%);
    --drive-theme-surface-accent: radial-gradient(circle at top right, rgba(205, 222, 245, 0.38), transparent 44%);
    --drive-theme-toolbar: rgba(62, 73, 91, 0.94);
    --drive-theme-table: rgba(49, 58, 74, 0.91);
    --drive-theme-shell-header: linear-gradient(180deg, rgba(68, 80, 98, 0.99) 0%, rgba(52, 62, 77, 0.99) 100%);
    --drive-theme-shell-button: rgba(85, 101, 124, 0.97);
    --drive-theme-border: rgba(184, 203, 230, 0.88);
}



* {

    box-sizing: border-box;

}



body {

    margin: 0;

    font-family: var(--font-sans);

    background: var(--base-bg);

    color: var(--text);

    min-height: 100vh;

    line-height: 1.6;

}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}



body::before,

body::after {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -2;

    background: radial-gradient(circle at 15% 20%, rgba(46, 170, 220, 0.28), transparent 55%),
                radial-gradient(circle at 85% 16%, rgba(18, 60, 82, 0.38), transparent 52%),
                radial-gradient(circle at 60% 85%, rgba(46, 170, 220, 0.14), transparent 58%);

    filter: blur(120px);

}



body::after {

    background: linear-gradient(145deg, rgba(7, 18, 30, 0.96), rgba(10, 30, 46, 0.98)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 140px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 140px);

    z-index: -3;

}



a {

    color: inherit;

    text-decoration: none;

}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}



img {

    max-width: 100%;

    display: block;

}



main {

    padding-bottom: 5rem;

}



.container {

    width: min(1180px, 94vw);

    margin: 0 auto;

}



.container.narrow {

    width: min(720px, 94vw);

}



.surface,

.card {

    background: var(--panel);

    border: 1px solid var(--panel-border);

    border-radius: var(--radius-lg);

    padding: 1.75rem;

    box-shadow: var(--shadow-sm);

    position: relative;

}



.card::after,

.surface::after {

    content: "";

    position: absolute;

    inset: 1px;

    border-radius: inherit;

    border: 1px solid rgba(255, 255, 255, 0.03);

    pointer-events: none;

}

.surface-light {
    background: var(--surface);
    color: var(--text-dark);
    border: 1px solid rgba(14, 23, 38, 0.08);
    box-shadow: 0 18px 40px rgba(2, 8, 20, 0.08);
}

.surface-light .muted {
    color: var(--muted-dark);
}

.surface-light .badge {
    color: var(--accent-2);
}



.site-header {

    position: sticky;

    top: 0;

    z-index: 20;

    backdrop-filter: blur(16px);

    background: rgba(8, 12, 20, 0.9);

    border-bottom: 1px solid rgba(148, 163, 184, 0.18);

}



.site-header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 1rem;

    padding: 1.1rem 0;

}



.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
}

.logo img {
    height: auto;
    max-height: 64px;
    width: auto;
    max-width: 180px;
    padding: 0.3rem 0.5rem;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(7, 12, 20, 0.65);
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

@media (max-width: 640px) {
    .site-header .container {
        gap: 0.75rem;
    }
    .logo img {
        max-height: 50px;
        max-width: 140px;
        padding: 0.25rem 0.45rem;
    }
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(12, 18, 28, 0.78);
    color: #e6eef8;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-nav-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(91, 181, 255, 0.62);
    background: rgba(16, 26, 39, 0.94);
}

.site-nav-toggle-bars {
    display: grid;
    gap: 4px;
    width: 18px;
}

.site-nav-toggle-bars span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .site-nav-toggle-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.is-nav-open .site-nav-toggle-bars span:nth-child(2) {
    opacity: 0;
}

.site-header.is-nav-open .site-nav-toggle-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-header .site-nav {

    display: flex;

    align-items: center;

    gap: 1rem;

    flex-wrap: wrap;

}


.site-header .site-nav a {

    padding: 0.4rem 0.65rem;

    color: var(--muted);

    transition: color 0.2s ease, transform 0.2s ease;

}



.site-header .site-nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .site-header .container {
        flex-wrap: wrap;
        position: relative;
    }

    .site-header .logo {
        flex: 1 1 auto;
    }

    .site-header.is-nav-collapsible .site-nav-toggle {
        display: inline-flex;
    }

    .site-header .site-nav {
        flex: 1 1 100%;
        width: 100%;
        margin-top: 0.15rem;
    }

    .site-header.is-nav-collapsible .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .site-header.is-nav-collapsible.is-nav-open .site-nav {
        display: flex;
    }

    .site-header .site-nav > a {
        display: block;
        width: 100%;
        padding: 0.55rem 0.1rem;
    }

    .site-header .site-nav .btn {
        width: 100%;
    }

    .site-header .site-nav .tenant-switcher {
        width: 100%;
        margin-right: 0;
    }

    .site-header .site-nav .lang-switch {
        width: 100%;
        justify-content: space-between;
    }
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lang-switch label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.lang-select {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(12, 18, 28, 0.6);
    color: var(--text);
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    appearance: none;
}
.tenant-switcher {
    display: inline-block;
    margin-right: 10px;
}
.tenant-select {
    min-width: 180px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #fff;
}
.chx-select {
    position: relative;
    display: block;
    width: 100%;
}

.chx-select-native {
    display: none !important;
}

.chx-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 3.2rem;
    padding: 0.8rem 2.9rem 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(12, 18, 28, 0.82);
    color: var(--text);
    font: inherit;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.chx-select-trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(91, 181, 255, 0.52);
}

.chx-select.is-open .chx-select-trigger {
    border-color: rgba(91, 181, 255, 0.82);
    box-shadow: 0 0 0 3px rgba(59, 167, 255, 0.14);
}

.chx-select.is-disabled .chx-select-trigger {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.chx-select-label {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chx-select-caret {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.9rem;
    height: 0.9rem;
    margin-top: -0.45rem;
    pointer-events: none;
    color: rgba(227, 238, 245, 0.88);
    transition: transform 0.2s ease;
}

.chx-select.is-open .chx-select-caret {
    transform: rotate(180deg);
}

.chx-select-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 80;
    display: grid;
    gap: 0.18rem;
    max-height: min(18rem, 50vh);
    padding: 0.35rem;
    overflow: auto;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(9, 16, 27, 0.98) 0%, rgba(7, 13, 23, 0.98) 100%);
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.42);
}

.chx-select-menu[hidden] {
    display: none;
}

.chx-select-option {
    width: 100%;
    padding: 0.72rem 0.85rem;
    border: none;
    border-radius: 0.85rem;
    background: transparent;
    color: var(--text);
    font: inherit;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.chx-select-option:hover,
.chx-select-option:focus-visible {
    background: rgba(59, 167, 255, 0.12);
    color: #ffffff;
}

.chx-select-option.is-selected {
    background: rgba(59, 167, 255, 0.2);
    color: #ffffff;
}

.site-header .chx-select {
    min-width: 180px;
}

.site-header .chx-select-trigger {
    min-height: 2.85rem;
    padding: 0.62rem 2.6rem 0.62rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(241, 245, 249, 0.94);
    color: #0f172a;
}

.site-header .chx-select-caret {
    color: rgba(15, 23, 42, 0.78);
}

.lang-switch .chx-select {
    min-width: 4.5rem;
}

.lang-switch .chx-select-trigger {
    min-height: 2.35rem;
    padding: 0.35rem 2.2rem 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(12, 18, 28, 0.6);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.lang-switch .chx-select-caret {
    right: 0.8rem;
    color: rgba(227, 238, 245, 0.88);
}

.tenant-switcher .chx-select {
    min-width: 220px;
}

@media (max-width: 720px) {
    .site-header .chx-select,
    .tenant-switcher .chx-select,
    .lang-switch .chx-select {
        width: 100%;
        min-width: 0;
    }
}

.btn,
button.btn,
input[type="submit"].btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.4rem;

    border-radius: var(--radius-sm);

    border: none;

    padding: 0.85rem 1.6rem;

    font-weight: 600;

    cursor: pointer;

    background: var(--accent);

    color: #fff;

    box-shadow: 0 14px 30px rgba(46, 170, 220, 0.25);

    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-compact {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.btn-icon {
    padding: 0.4rem;
    min-width: 2.2rem;
    height: 2.2rem;
}

.btn-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn:hover,
button.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(46, 170, 220, 0.3);
}


.btn-outline,

.btn-secondary {

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: var(--text);

}



.btn-outline:hover,

.btn-secondary:hover {

    border-color: rgba(255, 255, 255, 0.45);

    background: rgba(255, 255, 255, 0.06);

}

.btn-danger {
    background: linear-gradient(120deg, #ef4444, #f97316);
}

.btn-danger:hover {
    filter: brightness(1.05);
}

.surface.danger-card {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(15, 23, 42, 0.8));
}

.modal-lock { overflow: hidden; }
.modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 10, 18, 0.72);
    backdrop-filter: blur(6px);
    z-index: 9999;
}
.modal-card {
    position: relative;
    width: min(520px, 92vw);
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.65);
}
.modal-card h3 { margin-top: 0; }
.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 0.75rem;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
}
.modal-close:hover {
    border-color: rgba(148, 163, 184, 0.6);
}



.btn-ghost {

    background: transparent;

    border: none;

    color: var(--accent);

    font-weight: 500;

}



.btn.full {

    width: 100%;

}



.hero {

    position: relative;

    padding: 6rem 0 4rem;

    background: linear-gradient(135deg, rgba(11, 28, 45, 0.96), rgba(18, 60, 82, 0.94));

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    overflow: hidden;

}



.hero::before {

    content: "";

    position: absolute;

    inset: -40% auto auto -20%;

    width: 60%;

    height: 60%;

    background: radial-gradient(circle, rgba(46, 170, 220, 0.2), transparent 65%);

    filter: blur(40px);

    pointer-events: none;

}



.hero-grid {

    display: grid;

    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);

    gap: 3.8rem;

    align-items: start;

}



.hero .hero-copy {

    max-width: 720px;

}



.hero h1 {

    font-size: clamp(2.6rem, 4vw, 3.25rem);

    line-height: 1.1;

    max-width: 22ch;

    margin: 1.2rem 0 1rem;

    text-wrap: balance;

}



.hero .hero-brand {

    white-space: nowrap;

}



.hero-subtitle {

    color: var(--muted);

    font-size: 1.05rem;

    max-width: 46ch;

    margin: 0 0 1.5rem;

}



.hero .chips {

    display: flex;

    flex-wrap: wrap;

    gap: 0.7rem;

}



.chip {

    border-radius: var(--radius-pill);

    padding: 0.38rem 1rem;

    background: rgba(46, 170, 220, 0.12);

    border: 1px solid rgba(46, 170, 220, 0.28);

    color: var(--accent-3);

    font-size: 0.78rem;

    font-weight: 600;

    letter-spacing: 0.03em;

    text-transform: none;

}



.hero-actions,

.hero-cta {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

    margin: 1.8rem 0 0;

}



@media (max-width: 960px) {

    .hero {

        padding: 5.25rem 0 3.5rem;

    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 2.8rem;

    }

    .hero h1 {

        font-size: clamp(2.2rem, 6vw, 2.9rem);

        max-width: 20ch;

    }

    .hero-subtitle {

        font-size: 1rem;

    }

}


.hero-panel {

    border-radius: var(--radius-lg);

    padding: 2rem;

    background: rgba(8, 22, 36, 0.85);

    border: 1px solid rgba(46, 170, 220, 0.25);

    box-shadow: 0 18px 40px rgba(2, 8, 20, 0.25);

}



.hero-panel h3 {

    margin-top: 0;

}



.hero-panel .timeline {

    margin: 1.5rem 0;

}



.timeline {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.timeline-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1rem;

    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.08);

}



.badge {

    font-size: 0.75rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    color: var(--accent-3);

}



.section {

    padding: 5rem 0;

}



.section-heading {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 2.5rem;

}



.section-heading h2,

.section-heading h1 {

    margin: 0;

}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.proof-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proof-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(2, 8, 20, 0.12);
}

.proof-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.proof-icon svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .proof-icon {
        width: 56px;
        height: 56px;
    }

    .proof-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (min-width: 1024px) {
    .proof-icon {
        width: 80px;
        height: 80px;
    }

    .proof-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 1280px) {
    .proof-icon {
        width: 88px;
        height: 88px;
    }

    .proof-icon svg {
        width: 44px;
        height: 44px;
    }
}

.security-panel {
    background: var(--surface);
    color: var(--text-dark);
    border: 1px solid rgba(14, 23, 38, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(2, 8, 20, 0.08);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
}

.security-panel .muted {
    color: var(--muted-dark);
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.security-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.security-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--accent);
}

@media (max-width: 900px) {
    .security-panel {
        grid-template-columns: 1fr;
    }
}




.client-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.client-hero.surface { padding: 1rem 1.25rem; }
.hero-title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 1.9rem); }
.client-hero .hero-text h1 { margin: 0.2rem 0; }

.client-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.stat-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.8rem;
}

.client-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.quick-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    background: rgba(12, 18, 28, 0.65);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.quick-card:hover {
    border-color: var(--accent-3);
    transform: translateY(-2px);
}

.quick-card h4 {
    margin: 0 0 0.4rem;
}

.quick-card p {
    margin: 0;
    color: var(--muted);
}

.vps-table th,
.vps-table td {
    padding: 1rem;
    white-space: nowrap;
}

.vps-table td:first-child {
    max-width: 260px;
    white-space: normal;
}

.client-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.client-main {
    flex: 1 1 620px;
}

.client-aside {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-card h4 {
    margin-top: 0;
}

.mini-card .btn {
    margin-top: 0.5rem;
}

.btn-compact {
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
}

.btn-compact.btn-icon {
    padding: 0.4rem;
    min-width: 2.2rem;
    height: 2.2rem;
}

.drive-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    min-height: calc(100vh - 240px);
}

.drive-shell {
    display: grid;
    gap: 1.25rem;
}

.drive-shell-header {
    position: sticky;
    top: 0.75rem;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    background: var(--drive-theme-shell-header);
}

.drive-shell-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.drive-shell-brand h1 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.drive-shell-brand .muted {
    font-size: 0.86rem;
}

.drive-shell-badge {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: var(--drive-theme-shell-button);
}

.drive-badge-logo-img {
    display: block;
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
}

.drive-shell-actions {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
}

.drive-shell-actions .btn {
    margin: 0;
}

.drive-shell-activity-toggle {
    position: relative;
}

.drive-activity-badge {
    position: absolute;
    top: -0.3rem;
    right: -0.25rem;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #3ba7ff;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2rem;
    text-align: center;
    box-shadow: 0 10px 22px rgba(59, 167, 255, 0.32);
}

.drive-activity-badge.is-hidden {
    display: none;
}

.drive-shell-actions .btn svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drive-shell-menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: var(--drive-theme-shell-button);
    color: #fff;
    padding: 0;
    cursor: pointer;
}

.drive-shell-menu svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drive-shell-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(2, 6, 23, 0.55);
}

.drive-shell-backdrop.is-hidden {
    display: none;
}

.drive-sidebar {
    position: sticky;
    top: 1.25rem;
    height: fit-content;
    align-self: start;
}

.drive-panel {
    padding: 1.25rem;
    max-height: calc(100vh - 220px);
    overflow: auto;
    background:
        var(--drive-theme-surface-accent),
        var(--drive-theme-surface);
    border-color: var(--drive-theme-border);
}

.drive-container {
    width: 100%;
    max-width: none;
    padding-left: 2rem;
    padding-right: 2rem;
}

.drive-user {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--panel-border);
    margin-bottom: 1rem;
}

.drive-user-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.drive-user-email {
    font-weight: 600;
    margin: 0.25rem 0 0.6rem;
    word-break: break-word;
}

.drive-quick-nav {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.drive-quick-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.95rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #fff;
    background: rgba(18, 48, 69, 0.6);
    border: 1px solid rgba(36, 86, 116, 0.7);
}

.drive-quick-nav-link:hover {
    background: rgba(26, 70, 102, 0.72);
}

.drive-tree {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.drive-tree-nested {
    margin-left: 2.6rem;
    margin-top: 0.25rem;
}

.drive-tree-nested.drive-children {
    margin-left: 1.4rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--panel-border);
}

.drive-children {
    display: none;
}

.drive-item {
    display: block;
}

.drive-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
}

.drive-row:hover {
    background: rgba(37, 99, 235, 0.12);
}

.drive-row.active {
    background: rgba(37, 99, 235, 0.2);
    color: #ffffff;
}

.drive-row.active .drive-link {
    color: #ffffff;
}

.drive-link {
    color: inherit;
    text-decoration: none;
    font-size: 0.92rem;
    flex: 1;
    min-width: 0;
}

.drive-toggle {
    border: none;
    background: none;
    color: var(--muted);
    padding: 0;
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.drive-toggle:focus {
    outline: none;
}

.drive-actions {
    gap: 1.4rem;
    align-items: flex-start;
}

.drive-workspace-card {
    padding: 1.1rem 1.1rem 1.2rem;
    background:
        var(--drive-theme-surface-accent),
        var(--drive-theme-surface);
    border-color: var(--drive-theme-border);
}

.drive-workspace-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.drive-workspace-head h2 {
    margin: 0;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.drive-workspace-search {
    width: min(360px, 100%);
}

.drive-workspace-search.is-hidden {
    display: none;
}

.drive-search-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--drive-theme-border);
    background: rgba(9, 28, 42, 0.82);
    color: #fff;
    padding: 0.8rem 1rem;
}

.drive-content.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.drive-content {
    transition: opacity 0.2s ease;
    will-change: opacity;
}

.drive-upload {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drive-upload-selection {
    min-height: 1.1rem;
    font-size: 0.85rem;
    word-break: break-word;
}

.drive-upload-progress {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drive-upload-progress.is-hidden {
    display: none;
}

.drive-upload-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.drive-upload-progress-bar span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3ba7ff 0%, #6fe3ff 100%);
    transition: width 0.15s ease;
}

.drive-upload-progress-text {
    font-size: 0.82rem;
}

.drive-operation-progress {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid var(--drive-theme-border);
    background: rgba(13, 37, 54, 0.82);
}

.drive-operation-progress.is-hidden {
    display: none;
}

.drive-operation-progress [data-drive-operation-progress-bar] {
    width: 0%;
    transform: translateX(0);
}

.drive-operation-progress[data-state="running"] [data-drive-operation-progress-bar] {
    width: 42%;
    animation: drive-operation-progress-indeterminate 1.35s ease-in-out infinite;
    will-change: transform;
}

.drive-operation-progress[data-state="success"] [data-drive-operation-progress-bar] {
    width: 100%;
    animation: none;
    background: linear-gradient(90deg, #22c55e 0%, #38bdf8 100%);
}

.drive-operation-progress[data-state="error"] [data-drive-operation-progress-bar] {
    width: 100%;
    animation: none;
    background: linear-gradient(90deg, #ef4444 0%, #fb923c 100%);
}

@keyframes drive-operation-progress-indeterminate {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(260%);
    }
}

.drive-upload [data-drive-upload-submit][disabled] {
    opacity: 0.75;
    cursor: progress;
}

.drop-zone {
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.35);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.drop-zone.is-dragover {
    border-color: rgba(56, 189, 248, 0.8);
    background: rgba(37, 99, 235, 0.18);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.drop-zone-title {
    font-weight: 600;
}

.drop-zone-subtitle {
    color: var(--muted);
    font-size: 0.85rem;
}

.drop-zone-button input[type="file"] {
    display: none;
}

.drive-muted {
    color: var(--muted);
    font-size: 0.9rem;
    padding-left: 0.25rem;
}

.drive-storage {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drive-storage-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.drive-storage-bucket {
    color: var(--muted);
    font-size: 0.9rem;
}

.drive-storage-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.drive-storage-bar span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.9));
    transition: width 0.2s ease;
}

.drive-storage-label {
    font-size: 0.85rem;
    color: var(--muted);
}

.drive-trash-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.drive-trash-actions.is-hidden {
    display: none;
}

.drive-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.drive-list-toolbar .drive-trash-actions {
    margin-top: 0;
    margin-left: auto;
}

.drive-view-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    padding: 0.22rem;
    background: rgba(15, 23, 42, 0.35);
}

.drive-view-switch .btn {
    margin: 0;
    border-radius: 999px;
}

.drive-view-switch .btn.is-active {
    border-color: rgba(59, 167, 255, 0.95);
    background: rgba(59, 167, 255, 0.28);
    color: #ffffff;
}

.drive-sort-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.5rem;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.28);
}

.drive-sort-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.drive-sort-select {
    border: 1px solid rgba(59, 130, 246, 0.34);
    border-radius: 999px;
    background: rgba(8, 24, 38, 0.82);
    color: #e8f3fb;
    padding: 0.28rem 0.8rem;
    min-height: 2rem;
    font-size: 0.86rem;
    outline: none;
}

.drive-sort-direction {
    min-width: 2.3rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    font-weight: 700;
}

.drive-bulk-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.drive-bulk-actions.is-hidden {
    display: none;
}

.drive-bulk-count {
    font-size: 0.85rem;
    color: var(--muted);
    min-width: 5.5rem;
}

.table-responsive tbody tr.drive-item-selected {
    background: rgba(59, 167, 255, 0.18);
}

.drive-card.drive-item-selected {
    border-color: rgba(59, 167, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(59, 167, 255, 0.45) inset;
}

.drive-card-select {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
}

.drive-card-select input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #3ba7ff;
}

.drive-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.65);
}

.drive-modal.is-hidden {
    display: none;
}

.drive-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(0.65rem, 2.4vw, 1rem);
    background: rgba(2, 6, 23, 0.92);
}

.drive-lightbox.is-hidden {
    display: none;
}

.drive-lightbox[hidden] {
    display: none !important;
}

.drive-lightbox-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
}

.drive-lightbox-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.drive-lightbox-counter {
    font-size: 0.85rem;
    color: #c7d8e6;
}

.drive-lightbox-close,
.drive-lightbox-nav {
    border: 1px solid rgba(148, 163, 184, 0.42);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.drive-lightbox-close {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.25rem;
}

.drive-lightbox-img-wrap {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.35rem, 1.8vw, 0.85rem);
}

.drive-lightbox-img-wrap img {
    width: 100%;
    max-width: min(92vw, 1400px);
    max-height: calc(100vh - 8.5rem);
    margin: 0 auto;
    border-radius: 0.9rem;
    object-fit: contain;
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(51, 65, 85, 0.72);
}

.drive-lightbox-nav {
    width: clamp(2.2rem, 6vw, 2.75rem);
    height: clamp(2.2rem, 6vw, 2.75rem);
    font-size: clamp(1.45rem, 3.8vw, 1.95rem);
}

.drive-lightbox-nav[data-hidden="1"] {
    visibility: hidden;
    pointer-events: none;
}

.drive-lightbox-img-wrap img.is-loading {
    opacity: 0.5;
}

@media (max-width: 720px) {
    .drive-lightbox-header {
        grid-template-columns: auto 1fr;
    }

    .drive-lightbox-counter {
        grid-column: 1 / -1;
    }
}

.drive-modal-card {
    width: min(560px, 100%);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    background: rgba(6, 23, 36, 0.98);
    padding: 1rem;
    display: grid;
    gap: 0.8rem;
}

.drive-modal-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.drive-modal-card-compact {
    width: min(520px, calc(100vw - 2rem));
}

.drive-modal-card-wide {
    width: min(680px, calc(100vw - 2rem));
}

.drive-modal-card-slim {
    width: min(430px, calc(100vw - 2rem));
}

.drive-modal-handle {
    width: 3rem;
    height: 4px;
    margin: 0 auto 0.15rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
}

.drive-modal-eyebrow {
    margin: 0;
}

.drive-move-select {
    width: 100%;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    background: rgba(15, 23, 42, 0.55);
    color: #ffffff;
}

.drive-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.drive-dialog-field {
    display: grid;
    gap: 0.45rem;
    color: #dce7f1;
    font-weight: 600;
}

.drive-dialog-input {
    width: 100%;
    min-height: 3.15rem;
    border: 1px solid rgba(59, 130, 246, 0.42);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(12, 34, 49, 0.88);
    color: #ffffff;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.drive-dialog-input:focus {
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
    background: rgba(14, 40, 58, 0.96);
}

.drive-dialog-input::placeholder {
    color: rgba(199, 216, 230, 0.62);
}

.drive-confirm-copy {
    margin: 0;
    line-height: 1.55;
}

.drive-move-browser {
    display: grid;
    gap: 0.65rem;
}

.drive-move-browser-path {
    padding: 0.75rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(36, 86, 116, 0.7);
    background: rgba(9, 28, 42, 0.82);
    color: #c7d8e6;
    font-size: 0.9rem;
}

.drive-move-browser-list {
    display: grid;
    gap: 0.55rem;
    max-height: min(45vh, 420px);
    overflow: auto;
}

.drive-move-browser-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(36, 86, 116, 0.7);
    background: rgba(18, 48, 69, 0.62);
    color: #fff;
    text-align: left;
}

.drive-move-browser-item:hover {
    background: rgba(26, 70, 102, 0.78);
}

.drive-move-browser-empty {
    padding: 1rem;
    text-align: center;
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.28);
    color: var(--muted);
}

.drive-modal-card-sms {
    width: min(760px, calc(100vw - 2rem));
}

.drive-sms-list {
    display: grid;
    gap: 0.55rem;
    max-height: min(58vh, 560px);
    overflow: auto;
    padding-right: 0.25rem;
}

.drive-sms-item {
    border: 1px solid rgba(36, 86, 116, 0.72);
    border-radius: 1rem;
    background: rgba(12, 35, 52, 0.72);
    padding: 0.75rem 0.9rem;
    display: grid;
    gap: 0.45rem;
}

.drive-sms-item.is-outgoing {
    border-color: rgba(56, 189, 248, 0.52);
    background: rgba(8, 47, 73, 0.72);
}

.drive-sms-item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.65rem;
}

.drive-sms-sender {
    color: #f8fbff;
    font-weight: 600;
    font-size: 0.94rem;
    overflow-wrap: anywhere;
}

.drive-sms-meta {
    color: #9fb7c9;
    font-size: 0.78rem;
    white-space: nowrap;
}

.drive-sms-body {
    margin: 0;
    color: #dbe7f1;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.drive-sms-empty {
    padding: 1rem;
    text-align: center;
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.3);
    color: var(--muted);
}

@media (max-width: 620px) {
    .drive-sms-item-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .drive-sms-meta {
        white-space: normal;
    }
}

#drive-table-wrap.is-hidden {
    display: none;
}

.drive-cards-wrap {
    margin-top: 0.65rem;
}

.drive-cards-wrap.is-hidden {
    display: none;
}

.drive-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.75rem;
}

.drive-cards-more {
    display: flex;
    justify-content: center;
    margin-top: 0.9rem;
}

.drive-cards-more.is-hidden {
    display: none;
}

.drive-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.35);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.drive-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius-md) - 6px);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.drive-card-media.drive-card-media-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, rgba(15, 35, 58, 0.88), rgba(18, 52, 78, 0.78));
}

.drive-card-media .drive-card-media-icon-mark {
    width: 3.25rem;
    height: 3.25rem;
}

.drive-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.drive-card-media img.is-pending {
    opacity: 0.7;
    filter: blur(8px);
    transform: scale(1.02);
}

.drive-card-media img.is-error {
    opacity: 0.85;
    filter: none;
    transform: none;
}

.drive-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.drive-name-cell {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.drive-name-cell a,
.drive-name-cell .drive-file-name-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.drive-card-name {
    min-width: 0;
    flex: 1;
}

.drive-card-title {
    display: block;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

.drive-card-meta {
    display: grid;
    gap: 0.2rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.drive-card-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.drive-card-actions form {
    margin: 0;
}

.drive-item-menu-button {
    min-width: 2.55rem;
}

.drive-action-sheet-card {
    width: min(520px, calc(100vw - 2rem));
}

.drive-action-sheet-list {
    display: grid;
    gap: 0.6rem;
}

.drive-action-sheet-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(36, 86, 116, 0.7);
    background: rgba(18, 48, 69, 0.62);
    color: #fff;
    text-align: left;
}

.drive-action-sheet-item:hover {
    background: rgba(26, 70, 102, 0.78);
}

.drive-action-sheet-item.is-accent {
    background: rgba(59, 167, 255, 0.24);
    border-color: rgba(59, 167, 255, 0.65);
}

.drive-action-sheet-item.is-danger {
    background: rgba(120, 28, 52, 0.38);
    border-color: rgba(190, 24, 93, 0.45);
}

.drive-action-sheet-icon {
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(59, 167, 255, 0.22);
}

.drive-action-sheet-text {
    font-weight: 600;
}

.drive-action-sheet-chevron {
    color: #b8cad8;
}

.drive-detail-grid {
    display: grid;
    gap: 0.7rem;
}

.drive-detail-row {
    display: grid;
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(36, 86, 116, 0.7);
    background: rgba(12, 34, 49, 0.76);
}

.drive-detail-label {
    color: #7fc9f7;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.drive-detail-value {
    color: #e9f3f8;
    font-weight: 600;
    word-break: break-word;
}

.drive-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.drive-version-list {
    display: grid;
    gap: 0.7rem;
    max-height: min(52vh, 460px);
    overflow: auto;
}

.drive-version-item {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(36, 86, 116, 0.7);
    background: rgba(12, 34, 49, 0.76);
}

.drive-version-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.drive-version-item-title {
    color: #f5fbff;
    font-weight: 700;
}

.drive-version-item-badges {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.drive-version-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(59, 167, 255, 0.45);
    background: rgba(59, 167, 255, 0.18);
    color: #cbe8ff;
}

.drive-version-badge.is-latest {
    border-color: rgba(52, 211, 153, 0.42);
    background: rgba(26, 70, 58, 0.72);
    color: #ccf9e9;
}

.drive-version-badge.is-delete-marker {
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(82, 58, 16, 0.72);
    color: #fde7b2;
}

.drive-version-item-meta {
    display: grid;
    gap: 0.32rem;
    color: #c8d7e4;
    font-size: 0.9rem;
}

.drive-version-id {
    color: #95bad7;
    font-size: 0.78rem;
    word-break: break-all;
}

.drive-version-item-actions {
    display: flex;
    justify-content: flex-end;
}

.drive-activity-list {
    display: grid;
    gap: 0.7rem;
    max-height: min(52vh, 460px);
    overflow: auto;
}

.drive-activity-item {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(36, 86, 116, 0.7);
    background: rgba(12, 34, 49, 0.76);
}

.drive-activity-item[data-level="success"] {
    border-color: rgba(52, 211, 153, 0.42);
    background: rgba(22, 55, 48, 0.76);
}

.drive-activity-item[data-level="warning"] {
    border-color: rgba(240, 160, 32, 0.42);
    background: rgba(61, 45, 18, 0.76);
}

.drive-activity-item[data-level="error"] {
    border-color: rgba(239, 68, 68, 0.42);
    background: rgba(67, 27, 34, 0.76);
}

.drive-activity-item-title {
    color: #f5fbff;
    font-weight: 700;
}

.drive-activity-item-detail {
    color: #c8d7e4;
    font-size: 0.92rem;
    word-break: break-word;
}

.drive-activity-item-detail.is-hidden {
    display: none;
}

.drive-activity-item-time {
    color: #8fa9bb;
    font-size: 0.78rem;
}

.drive-activity-empty {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.28);
    color: var(--muted);
    text-align: center;
}

.drive-folder-fallback-form {
    display: grid;
    gap: 0.55rem;
    min-width: min(320px, 100%);
}

.drive-folder-fallback-form input[type="text"] {
    width: 100%;
    border: 1px solid var(--panel-border);
    border-radius: 0.85rem;
    padding: 0.7rem 0.85rem;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
}

.drive-card-empty {
    border: 1px dashed var(--panel-border);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    color: var(--muted);
    text-align: center;
}

.drive-meta-panels {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.drive-panel-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.35);
    padding: 0.9rem;
}

.drive-panel-card.is-hidden {
    display: none;
}

.drive-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.drive-panel-head h3 {
    margin: 0;
    font-size: 1rem;
}

.drive-panel-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.drive-share-body {
    display: block;
}

.drive-share-body.is-collapsed {
    display: none;
}

.drive-share-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0.7rem 0;
}

.drive-share-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.drive-share-form input,
.drive-share-form select {
    width: 100%;
}

.drive-share-form [data-share-quota-wrap].is-hidden {
    display: none;
}

.drive-share-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.drive-share-table,
.drive-admin-usage-table {
    margin-top: 0.35rem;
}

.drive-share-table th,
.drive-share-table td,
.drive-admin-usage-table th,
.drive-admin-usage-table td {
    font-size: 0.84rem;
}

.drive-dashboard-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.drive-dashboard-actions {
    display: inline-flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.drive-dashboard-filter {
    display: flex;
    gap: 0.8rem;
    align-items: end;
    flex-wrap: wrap;
}

.drive-dashboard-filter label {
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drive-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.drive-kpi-card h3 {
    margin: 0.3rem 0;
}

.drive-kpi-endpoint {
    font-size: 0.95rem;
    line-height: 1.45;
    word-break: break-all;
}

.drive-dashboard-grid {
    margin-top: 1rem;
}

.drive-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.drive-tabs .btn.is-active {
    border-color: rgba(56, 189, 248, 0.75);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.28);
}

.drive-tab-pane {
    display: none;
}

.drive-tab-pane.is-active {
    display: block;
}

.drive-share-row-selected {
    background: rgba(56, 189, 248, 0.12);
}

.drive-icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    background-color: rgba(148, 163, 184, 0.55);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.drive-icon-home {
    background-color: rgba(56, 189, 248, 0.78);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 7h-3v10h-4v-6H10v6H6V10H3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 7h-3v10h-4v-6H10v6H6V10H3z'/%3E%3C/svg%3E");
}

.drive-icon-drive {
    background-color: rgba(74, 148, 255, 0.88);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.5l7.79 4.5v9L12 20.5 4.21 16v-9zm0 2.31L6.21 8.17v7.66L12 19.19l5.79-3.36V8.17z'/%3E%3Cpath fill='black' d='M8 10h8v4H8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.5l7.79 4.5v9L12 20.5 4.21 16v-9zm0 2.31L6.21 8.17v7.66L12 19.19l5.79-3.36V8.17z'/%3E%3Cpath fill='black' d='M8 10h8v4H8z'/%3E%3C/svg%3E");
}

.drive-icon-folder {
    background-color: rgba(253, 186, 116, 0.82);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7h6l2.2 2H21v8.2A2.8 2.8 0 0 1 18.2 20H5.8A2.8 2.8 0 0 1 3 17.2z'/%3E%3Cpath fill='black' d='M3 9h18v1.6H3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7h6l2.2 2H21v8.2A2.8 2.8 0 0 1 18.2 20H5.8A2.8 2.8 0 0 1 3 17.2z'/%3E%3Cpath fill='black' d='M3 9h18v1.6H3z'/%3E%3C/svg%3E");
}

.drive-icon-trash {
    background-color: rgba(194, 208, 220, 0.92);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4h6l1 2h4v2H4V6h4z'/%3E%3Cpath fill='black' d='M6 8h12l-1.1 11.2A2 2 0 0 1 14.91 21H9.09a2 2 0 0 1-1.99-1.8z'/%3E%3Cpath fill='black' d='M10 11h1.6v6H10zm2.4 0H14v6h-1.6z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4h6l1 2h4v2H4V6h4z'/%3E%3Cpath fill='black' d='M6 8h12l-1.1 11.2A2 2 0 0 1 14.91 21H9.09a2 2 0 0 1-1.99-1.8z'/%3E%3Cpath fill='black' d='M10 11h1.6v6H10zm2.4 0H14v6h-1.6z'/%3E%3C/svg%3E");
}

.drive-icon-storage {
    background-color: rgba(94, 234, 212, 0.88);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 7.5A3.5 3.5 0 0 1 7.5 4h9A3.5 3.5 0 0 1 20 7.5v9a3.5 3.5 0 0 1-3.5 3.5h-9A3.5 3.5 0 0 1 4 16.5z'/%3E%3Cpath fill='black' d='M7 9h10v2H7zm0 4h6v2H7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 7.5A3.5 3.5 0 0 1 7.5 4h9A3.5 3.5 0 0 1 20 7.5v9a3.5 3.5 0 0 1-3.5 3.5h-9A3.5 3.5 0 0 1 4 16.5z'/%3E%3Cpath fill='black' d='M7 9h10v2H7zm0 4h6v2H7z'/%3E%3C/svg%3E");
}

.drive-icon-file {
    width: 1.12rem;
    height: 1.12rem;
    background-color: transparent;
    -webkit-mask-image: none;
    mask-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.drive-icon-file-pdf { background-image: url('/assets/img/drive/icon_file_pdf.svg'); }
.drive-icon-file-word { background-image: url('/assets/img/drive/icon_file_word.svg'); }
.drive-icon-file-excel { background-image: url('/assets/img/drive/icon_file_excel.svg'); }
.drive-icon-file-ppt { background-image: url('/assets/img/drive/icon_file_ppt.svg'); }
.drive-icon-file-archive { background-image: url('/assets/img/drive/icon_file_archive.svg'); }
.drive-icon-file-text { background-image: url('/assets/img/drive/icon_file_text.svg'); }
.drive-icon-file-code { background-image: url('/assets/img/drive/icon_file_code.svg'); }
.drive-icon-file-image { background-image: url('/assets/img/drive/icon_file_image.svg'); }
.drive-icon-file-video { background-image: url('/assets/img/drive/icon_file_video.svg'); }
.drive-icon-file-audio { background-image: url('/assets/img/drive/icon_file_audio.svg'); }

.drive-bucket-1 {
    background-color: rgba(245, 158, 11, 0.88);
}

.drive-bucket-2 {
    background-color: rgba(34, 197, 94, 0.88);
}

.drive-bucket-3 {
    background-color: rgba(59, 130, 246, 0.88);
}

.drive-bucket-4 {
    background-color: rgba(236, 72, 153, 0.88);
}

.drive-bucket-5 {
    background-color: rgba(168, 85, 247, 0.88);
}

.drive-bucket-6 {
    background-color: rgba(14, 165, 233, 0.88);
}

.drive-caret {
    font-size: 0.75rem;
    color: var(--muted);
    width: 0.8rem;
    text-align: center;
}

@media (max-width: 1023px) {
    .drive-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .drive-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 35;
        width: min(360px, calc(100vw - 2rem));
        padding: 0.85rem;
        transform: translateX(-110%);
        transition: transform 0.24s ease;
    }

    .drive-panel {
        max-height: calc(100vh - 1.7rem);
    }

    .drive-share-form {
        grid-template-columns: 1fr;
    }

    .drive-dashboard-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drive-shell-menu {
        display: inline-block;
    }

    .drive-shell-brand {
        flex: 1;
    }

    .drive-shell-brand .muted {
        display: none;
    }

    .drive-workspace-head {
        flex-direction: column;
    }

    body.drive-sidebar-open .drive-sidebar {
        transform: translateX(0);
    }
}

@media (max-width: 620px) {
    .drive-dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .drive-shell-header {
        padding: 0.85rem 0.9rem;
    }

    .drive-shell-badge {
        width: 2.55rem;
        height: 2.55rem;
        border-radius: 0.85rem;
    }

    .drive-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .drive-shell-actions {
        gap: 0.4rem;
    }
}

.drive-section-page {
    padding: 1rem 0 1.6rem;
    background: var(--drive-theme-page);
    border-radius: 1.5rem;
}

.drive-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.drive-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    grid-template-areas:
        "header header"
        "sidebar main";
    align-items: start;
    gap: 1rem;
}

.drive-layout {
    grid-area: main;
    display: block;
    min-height: calc(100vh - 180px);
}

.drive-shell-header {
    grid-area: header;
    top: 0.9rem;
    padding: 1rem 1.2rem;
    border-radius: 1.65rem;
    box-shadow: 0 22px 54px rgba(3, 10, 20, 0.3);
    background: var(--drive-theme-shell-header);
    margin-left: 0;
}

.drive-shell-menu {
    display: none;
    align-items: center;
    justify-content: center;
    flex: none;
}

.drive-shell-brand {
    flex: 1;
}

.drive-shell-brand h1 {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.drive-shell-badge {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 1.1rem;
    background: rgba(17, 50, 72, 0.96);
}

.drive-sidebar {
    grid-area: sidebar;
    position: sticky;
    top: 1rem;
    left: auto;
    bottom: auto;
    z-index: 1;
    width: 100%;
    max-width: none;
    padding: 0;
    transform: none;
    transition: none;
}

body.drive-sidebar-open .drive-sidebar {
    transform: translateX(0);
}

.drive-panel {
    height: auto;
    max-height: calc(100vh - 8rem);
    overflow: auto;
    padding: 1.15rem;
    border-radius: 1.5rem;
}

.drive-panel-app {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
}

.drive-app-brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding-bottom: 0.15rem;
}

.drive-app-brand-logo {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 1.2rem;
    padding: 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, rgba(17, 50, 72, 0.95) 0%, rgba(11, 35, 51, 0.95) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex: none;
}

.drive-app-brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.drive-app-brand-copy {
    min-width: 0;
}

.drive-app-brand-copy h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    line-height: 1.1;
}

.drive-app-brand-copy p {
    margin: 0.35rem 0 0;
    color: #a6bfd0;
    font-size: 0.96rem;
}

.drive-app-user-card {
    padding: 1rem 1.05rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(36, 86, 116, 0.72);
    background: rgba(16, 48, 69, 0.74);
}

.drive-app-user-email {
    margin-top: 0.35rem;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    word-break: break-word;
}

.drive-app-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
}

.drive-app-section-label {
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    color: #59bdf6;
}

.drive-app-nav {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
    width: 100%;
}

.drive-app-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 13.75rem);
    min-height: 3.7rem;
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(36, 86, 116, 0.72);
    background: rgba(15, 44, 64, 0.92);
    color: #eef6fb;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.drive-app-nav-link:hover {
    transform: translateY(-1px);
    border-color: rgba(77, 171, 255, 0.78);
    background: rgba(23, 62, 89, 0.98);
    box-shadow: 0 10px 24px rgba(2, 12, 23, 0.18);
}

.drive-app-nav-link.is-active {
    border-color: rgba(91, 181, 255, 0.9);
    background: linear-gradient(180deg, rgba(35, 91, 128, 0.98) 0%, rgba(29, 72, 102, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.drive-app-nav-link.is-worm {
    border-color: rgba(149, 129, 42, 0.82);
    background: linear-gradient(180deg, rgba(58, 52, 23, 0.96) 0%, rgba(44, 40, 18, 0.96) 100%);
    color: #f8e9a8;
}

.drive-app-nav-link.is-worm:hover {
    border-color: rgba(194, 170, 61, 0.9);
    background: linear-gradient(180deg, rgba(72, 64, 27, 0.99) 0%, rgba(54, 49, 22, 0.99) 100%);
}

.drive-app-nav-link.is-worm.is-active {
    border-color: rgba(224, 195, 82, 0.95);
    background: linear-gradient(180deg, rgba(90, 78, 31, 0.99) 0%, rgba(67, 58, 24, 0.99) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 217, 96, 0.12);
}

.drive-app-nav-link.is-danger {
    border-color: rgba(134, 50, 80, 0.75);
    background: linear-gradient(180deg, rgba(96, 34, 58, 0.94) 0%, rgba(78, 28, 47, 0.94) 100%);
}

.drive-app-nav-link.is-danger:hover {
    border-color: rgba(165, 74, 106, 0.82);
    background: linear-gradient(180deg, rgba(110, 38, 67, 0.98) 0%, rgba(88, 31, 54, 0.98) 100%);
}

.drive-app-storage {
    margin-top: 0.15rem;
}

.drive-tree-host {
    display: none;
}

.drive-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.drive-content {
    max-width: none;
    margin: 0;
}

.drive-subpage-section {
    padding-top: 1.25rem;
}

.drive-subpage-container {
    max-width: 980px;
}

.drive-subpage-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 860px;
}

.drive-subpage-header-card,
.drive-subpage-card,
.drive-subpage-note-card {
    padding: 1.25rem 1.35rem;
    border-radius: 1.6rem;
    background:
        var(--drive-theme-surface-accent),
        var(--drive-theme-surface);
    box-shadow: 0 22px 54px rgba(3, 10, 20, 0.28);
    border-color: var(--drive-theme-border);
}

.drive-subpage-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.drive-subpage-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.36);
    background: var(--drive-theme-shell-button);
    color: #f3f8fc;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.drive-subpage-back:hover {
    transform: translateY(-1px);
    border-color: rgba(91, 181, 255, 0.78);
    background: rgba(24, 64, 91, 0.94);
}

.drive-subpage-title-wrap {
    min-width: 0;
}

.drive-subpage-title-wrap h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.05;
}

.drive-subpage-title-wrap p {
    margin: 0.35rem 0 0;
}

.drive-subpage-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.drive-subpage-card-head h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

.drive-language-form,
.drive-inline-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.drive-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.drive-field-label {
    color: #d7ebf7;
    font-size: 0.96rem;
    font-weight: 600;
}

.drive-language-form select,
.drive-security-form-grid input {
    width: 100%;
    min-height: 3.35rem;
    padding: 0 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(36, 86, 116, 0.86);
    background: rgba(14, 41, 59, 0.92);
    color: #f4f8fb;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.drive-language-form select:focus,
.drive-security-form-grid input:focus {
    outline: none;
    border-color: rgba(91, 181, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(59, 167, 255, 0.16);
}

.drive-checkbox-field {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #d7ebf7;
    font-weight: 600;
    user-select: none;
}

.drive-checkbox-field input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #3ba7ff;
}

.drive-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.drive-status-chip.is-on {
    background: rgba(32, 110, 80, 0.28);
    color: #8cf1c2;
    border: 1px solid rgba(67, 173, 130, 0.42);
}

.drive-status-chip.is-off {
    background: rgba(53, 83, 110, 0.3);
    color: #c7d6e4;
    border: 1px solid rgba(96, 124, 148, 0.42);
}

.drive-totp-setup {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(36, 86, 116, 0.72);
    background: rgba(11, 38, 56, 0.72);
}

.drive-secret-label {
    margin: 0 0 0.45rem;
    color: #59bdf6;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.drive-secret-value {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.02rem;
    letter-spacing: 0.14em;
    word-break: break-word;
}

.drive-qrcode-shell {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.drive-qrcode-target {
    display: grid;
    place-items: center;
    min-width: 220px;
    min-height: 220px;
    padding: 12px;
    border-radius: 1rem;
    background: #ffffff;
}

.drive-totp-uri {
    word-break: break-all;
}

.drive-security-form-grid {
    gap: 1rem;
    margin-top: 1rem;
}

.drive-password-policy {
    border: 1px solid rgba(36, 86, 116, 0.72);
    border-radius: 1rem;
    background: rgba(11, 38, 56, 0.72);
    padding: 0.85rem 0.95rem;
}

.drive-password-policy-title {
    margin: 0 0 0.55rem;
    color: #d7ebf7;
    font-weight: 700;
    font-size: 0.9rem;
}

.drive-password-policy-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.3rem;
}

.drive-password-policy-list li {
    color: #b6c8d5;
    font-size: 0.88rem;
    line-height: 1.2;
}

.drive-password-policy-list li::before {
    content: "[ ] ";
    color: #b6c8d5;
    font-weight: 700;
}

.drive-password-policy-list li.is-ok {
    color: #8cf1c2;
}

.drive-password-policy-list li.is-ok::before {
    content: "[OK] ";
    color: #8cf1c2;
}

.drive-password-policy-list li.is-ko {
    color: #ffb3bf;
}

.drive-password-policy-list li.is-ko::before {
    color: #ff8094;
}

.drive-password-policy-status {
    margin: 0.7rem 0 0;
    font-size: 0.9rem;
    color: #9db4c5;
}

.drive-password-policy-status.is-valid {
    color: #8cf1c2;
}

.drive-password-policy-status.is-invalid {
    color: #ff95a9;
}

.drive-security-form-grid input.is-invalid {
    border-color: rgba(251, 113, 133, 0.72);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.16);
}

.drive-form-actions {
    display: flex;
    gap: 0.75rem;
    align-items: end;
    flex-wrap: wrap;
}

.drive-device-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.drive-device-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(36, 86, 116, 0.72);
    background: rgba(10, 34, 51, 0.82);
}

.drive-device-copy {
    min-width: 0;
}

.drive-device-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.drive-subpage-note-email {
    margin: 0.8rem 0 0;
    font-weight: 600;
    word-break: break-word;
}

.drive-workspace-card {
    padding: 1.15rem;
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at top right, rgba(59, 167, 255, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(7, 28, 43, 0.98) 0%, rgba(8, 34, 52, 0.98) 100%);
    box-shadow: 0 24px 56px rgba(3, 10, 20, 0.32);
}

.drive-workspace-head {
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.drive-workspace-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.drive-workspace-badge {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(18, 48, 69, 0.9);
    display: grid;
    place-items: center;
    flex: none;
}

.drive-workspace-badge .drive-icon {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.45rem;
}

.drive-badge-folder-svg {
    width: 1.85rem;
    height: 1.85rem;
    color: #58a6ff;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drive-workspace-copy {
    min-width: 0;
}

.drive-workspace-copy .eyebrow {
    margin-bottom: 0.25rem;
}

.drive-workspace-copy h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.05;
}

.drive-workspace-path {
    margin: 0.3rem 0 0;
    max-width: min(70vw, 760px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
}

.drive-workspace-count {
    margin: 0.4rem 0 0;
    color: #9fb8cb;
    font-size: 0.92rem;
}

.drive-actions {
    display: block;
    gap: 0;
    margin: 0;
}

.drive-upload-passive {
    position: relative;
    margin: 0;
}

.drive-drop-zone-passive {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
}

.drive-upload-passive .drop-zone-content {
    display: none;
}

.drive-upload-passive .drop-zone-button {
    display: block;
}

.drive-upload-selection:empty {
    display: none;
}

.drive-upload-passive .drive-upload-selection,
.drive-upload-passive .drive-upload-progress:not(.is-hidden) {
    margin-top: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid var(--drive-theme-border);
    background: rgba(13, 37, 54, 0.82);
}

.drive-scroll-head {
    position: sticky;
    top: var(--drive-theme-sticky-top);
    z-index: 24;
    margin: 0 -0.3rem 0.8rem;
    padding: 0.3rem 0.3rem 0.6rem;
    border-bottom: 1px solid var(--drive-theme-border);
    background:
        linear-gradient(180deg, rgba(5, 18, 29, 0.95) 0%, rgba(5, 18, 29, 0.72) 74%, rgba(5, 18, 29, 0) 100%);
    backdrop-filter: blur(10px);
}

.drive-scroll-head .drive-workspace-head {
    margin-bottom: 0.65rem;
}

.drive-scroll-head .drive-breadcrumbs {
    margin-top: 0;
}

.drive-scroll-head .drive-list-toolbar {
    margin-top: 0.55rem;
}

.drive-breadcrumbs {
    margin-top: 0.7rem;
}

.drive-breadcrumbs p {
    margin: 0;
    font-size: 0.9rem;
}

.drive-breadcrumbs a {
    color: #cfe4f2;
    text-decoration: none;
}

.drive-breadcrumbs a:hover {
    color: #ffffff;
}

.drive-list-toolbar {
    margin-top: 0.95rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1.15rem;
    border: 1px solid var(--drive-theme-border);
    background: var(--drive-theme-toolbar);
}

.drive-view-switch {
    background: rgba(13, 38, 56, 0.95);
    border-color: rgba(47, 101, 136, 0.72);
}

.drive-view-switch .btn {
    min-width: 6.35rem;
}

.drive-sort-controls {
    background: rgba(13, 38, 56, 0.9);
    border-color: rgba(47, 101, 136, 0.72);
}

.drive-sort-label {
    color: #c9dae8;
}

.drive-sort-select {
    background: rgba(9, 30, 46, 0.96);
    border-color: rgba(57, 118, 157, 0.76);
    color: #eef7ff;
}

.drive-bulk-actions {
    flex: 1;
    justify-content: flex-end;
}

.drive-bulk-count {
    min-width: auto;
    color: #dce7f1;
    font-weight: 600;
}

.drive-trash-actions {
    margin-left: auto;
}

.table-responsive {
    margin-top: 0.9rem;
    border: 1px solid var(--drive-theme-border);
    border-radius: 1.35rem;
    background: var(--drive-theme-table);
    overflow: auto;
}

.drive-workspace-card table {
    min-width: 100%;
}

.drive-workspace-card thead th {
    background: rgba(8, 29, 43, 0.95);
    color: #9fb8cb;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.drive-workspace-card tbody tr:hover {
    background: rgba(59, 167, 255, 0.08);
}

.drive-cards-wrap {
    margin-top: 0.9rem;
}

.drive-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.9rem;
}

.drive-card {
    border-radius: 1.25rem;
    background: var(--drive-theme-surface);
    border: 1px solid var(--drive-theme-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.drive-card-title {
    font-size: 1rem;
}

.drive-item-menu-button {
    min-width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.95rem;
    background: var(--drive-theme-shell-button);
}

.drive-item-menu-button:hover {
    background: rgba(30, 76, 110, 0.78);
}

@media (max-width: 1023px) {
    body.drive-sidebar-open {
        overflow: hidden;
    }

    .drive-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "main";
    }

    .drive-layout {
        display: block;
        min-height: auto;
    }

    .drive-shell-header {
        margin-left: 0;
    }

    .drive-shell-menu {
        display: inline-flex;
    }

    .drive-shell-brand .muted {
        display: none;
    }

    .drive-sidebar {
        position: fixed;
        top: 1rem;
        left: 1rem;
        bottom: 1rem;
        z-index: 35;
        width: min(360px, calc(100vw - 2rem));
        height: calc(100vh - 2rem);
        max-height: calc(100vh - 2rem);
        height: calc(100dvh - 2rem);
        max-height: calc(100dvh - 2rem);
        overflow-y: auto;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-110%);
        transition: transform 0.24s ease;
    }

    .drive-panel {
        height: auto;
        min-height: 100%;
        max-height: none;
        overflow: visible;
    }

    .drive-content {
        max-width: 1120px;
        margin: 0 auto;
    }

    .drive-workspace-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .drive-scroll-head {
        top: 5.8rem;
    }
}

@media (max-width: 620px) {
    .drive-section-page {
        padding-top: 0.6rem;
    }

    .drive-shell-header {
        top: 0.45rem;
        padding: 0.85rem 0.9rem;
    }

    .drive-scroll-head {
        top: 5.25rem;
    }

    .drive-workspace-badge {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 1rem;
    }

    .drive-workspace-copy h2 {
        font-size: 1.9rem;
    }

    .drive-workspace-path {
        max-width: calc(100vw - 4.5rem);
    }

    .drive-view-switch .btn {
        min-width: 0;
    }

    .drive-sort-controls {
        width: 100%;
        border-radius: 1rem;
        justify-content: space-between;
    }

    .drive-sort-select {
        flex: 1;
        min-width: 0;
    }

    .drive-subpage-header-row {
        align-items: flex-start;
    }

    .drive-subpage-header-card,
    .drive-subpage-card,
    .drive-subpage-note-card {
        padding: 1rem 1.05rem;
        border-radius: 1.3rem;
    }

    .drive-device-card {
        flex-direction: column;
        align-items: stretch;
    }

    .drive-detail-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}

.drive-sidebar ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

@keyframes fade-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .hero-copy,
.hero .hero-panel {
    animation: fade-rise 0.7s ease-out both;
}

.hero .hero-panel {
    animation-delay: 0.08s;
}

.cards-grid > *,
.grid-3 > *,
.grid-2 > *,
.stats-grid > *,
.client-quick-actions > *,
.highlight-grid > * {
    animation: fade-rise 0.6s ease-out both;
}

.cards-grid > *:nth-child(2),
.grid-3 > *:nth-child(2),
.grid-2 > *:nth-child(2),
.stats-grid > *:nth-child(2),
.client-quick-actions > *:nth-child(2),
.highlight-grid > *:nth-child(2) {
    animation-delay: 0.05s;
}

.cards-grid > *:nth-child(3),
.grid-3 > *:nth-child(3),
.grid-2 > *:nth-child(3),
.stats-grid > *:nth-child(3),
.client-quick-actions > *:nth-child(3),
.highlight-grid > *:nth-child(3) {
    animation-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

.eyebrow {

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    color: var(--accent);

}



.muted {

    color: var(--muted);

}



.cards-grid,

.grid-3,

.grid-2 {

    display: grid;

    gap: 1.5rem;

}



.cards-grid {

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    align-items: stretch;

    grid-auto-rows: 1fr;

}



.grid-3 {

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

}



.grid-2 {

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

}



.offer-card {

    padding: 2rem;

    display: flex;

    flex-direction: column;

    gap: 1.2rem;

    position: relative;

    overflow: hidden;

    background: var(--surface);

    color: var(--text-dark);

    border: 1px solid rgba(14, 23, 38, 0.08);

    box-shadow: 0 18px 40px rgba(2, 8, 20, 0.08);

    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

}



.offer-card::before {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background: radial-gradient(circle at top, rgba(46, 170, 220, 0.18), transparent 60%);

    pointer-events: none;

}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(2, 8, 20, 0.14);
}

.offer-card--featured {
    border-color: rgba(46, 170, 220, 0.45);
    box-shadow: 0 24px 52px rgba(46, 170, 220, 0.18);
}

.offer-card--featured::before {
    background: radial-gradient(circle at top, rgba(46, 170, 220, 0.3), transparent 60%);
}

.offer-card::after {
    border: 1px solid rgba(14, 23, 38, 0.06);
}

.offer-card .btn {
    margin-top: auto;
}

.offer-card .card-actions {
    margin-top: auto;
}

.offer-card .card-actions.hero-cta {
    margin-top: auto;
    margin-bottom: 0;
}

.offer-card .card-actions .btn {
    margin-top: 0;
}

.offer-card .offer-price {
    color: var(--text-dark);
}

.offer-card .muted {
    color: var(--muted-dark);
}

.offer-card .badge {
    color: var(--accent-2);
}

.offer-card .period {
    color: var(--muted-dark);
}



.offer-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
    white-space: normal;
    margin-left: auto;
    text-align: right;
}



.offer-price .price {
    font-size: 1.6rem;
    font-weight: 600;
    display: inline-flex;
    align-items: baseline;
    gap: 0.12em;
    white-space: normal;
    line-height: 1.1;
}
.offer-price .custom-price {
    font-size: 1.2rem !important;
    line-height: 1.1;
    word-break: break-word;
    white-space: normal;
    display: inline-block;
    max-width: 100%;
    text-align: left;
}
.offer-price.custom-quote,
.offer-card-custom .offer-price {
    align-items: flex-start;
}
.offer-price.custom-quote .price,
.offer-card-custom .offer-price .price {
    font-size: 1.2rem !important;
    line-height: 1.15;
    white-space: normal;
}
.offer-price.custom-quote .price-value,
.offer-card-custom .offer-price .price-value {
    font-size: 1.2rem !important;
}

.offer-price .price-value {
    font-variant-numeric: tabular-nums;
}

.offer-price .price-currency {
    display: inline-flex;
    align-items: flex-start;
    font-size: 0.78em;
    line-height: 1;
    margin-left: 0.08em;
}

.price-large {
    font-size: 2.6rem;
    font-weight: 600;
}

.price-large span {
    font-size: 1rem;
    color: var(--muted);
    margin-left: 0.3rem;
}

.offer-price .period {
    white-space: nowrap;
}

.offer-specs,
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;

    flex-direction: column;

    gap: 0.4rem;

}



.offer-specs li,

.checklist li {

    padding: 0.4rem 0;

    border-bottom: 1px solid rgba(14, 23, 38, 0.08);

    display: flex;

    align-items: flex-start;

    gap: 0.5rem;

}

.offer-specs li::before,
.checklist li::before {
    content: "•";
    color: var(--accent);
    font-weight: 700;
    line-height: 1.2;
}



.offer-specs-dl {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 0.6rem 1rem;

    margin: 0;

}



.offer-specs-dl dt {

    color: var(--muted);

    font-size: 0.85rem;

}



.offer-specs-dl dd {

    margin: 0;

    font-weight: 600;

}



.highlight {

    background: linear-gradient(120deg, rgba(46, 170, 220, 0.08), rgba(18, 60, 82, 0.12));

    border-top: 1px solid rgba(46, 170, 220, 0.28);

    border-bottom: 1px solid rgba(18, 60, 82, 0.3);

}



.pill {

    padding: 0.55rem 1.2rem;

    border-radius: var(--radius-pill);

    border: 1px solid rgba(148, 163, 184, 0.28);

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

}



.stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 1rem;

}



.stat-card {

    padding: 1.5rem;

    border-radius: var(--radius-md);

    background: rgba(10, 16, 24, 0.72);

    border: 1px solid rgba(148, 163, 184, 0.18);

}



.stat-card span {

    color: var(--muted);

    font-size: 0.85rem;

}



.stat-card strong {

    display: block;

    font-size: 1.8rem;

    margin-top: 0.4rem;

}



.section.auth .card {

    padding: 2.5rem;

}



.form-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 1.2rem;

}

.full-row {
    grid-column: 1 / -1;
}

.checkbox-inline {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
}

.checkbox-inline input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    flex: 0 0 auto;
}

.register-professional-toggle {
    justify-self: start;
    font-size: 1rem;
}

.filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
}

.provisioning-filter {
    margin: 0;
    display: flex;
    align-items: center;
}

.provisioning-filter select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--panel-border);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
    padding: 0.45rem 0.75rem;
    min-width: 140px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--muted);
}



.order-options {

    border: 1px solid var(--panel-border);

    border-radius: var(--radius-md);

    padding: 1.25rem;

    grid-column: 1 / -1;

    margin: 0;

}

.order-options legend {

    padding: 0 0.5rem;

    font-weight: 600;

}

.options-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 1rem;

    margin-top: 1rem;

}

.option-card {

    display: grid;

    grid-template-columns: 1.1rem minmax(0, 1fr);

    align-items: start;

    gap: 0.75rem;

    padding: 1rem;

    border-radius: var(--radius-md);

    border: 1px solid var(--panel-border);

    background: rgba(15, 23, 42, 0.4);

    cursor: pointer;

    transition: border-color 0.2s ease, transform 0.2s ease;

}

.option-card input[type="checkbox"] {

    margin-top: 0.22rem;

    align-self: start;

    justify-self: start;

}

.option-card > div {

    min-width: 0;

}

.option-card strong {

    display: block;

    margin-bottom: 0.25rem;

}

.option-quantity {

    margin-top: 0.7rem;

    display: flex;

    flex-direction: column;

    gap: 0.35rem;

}

.option-qty-label {

    font-size: 0.78rem;

}

.option-qty-controls {

    display: inline-flex;

    align-items: center;

    gap: 0.45rem;

}

.option-qty-btn {

    border: 1px solid var(--panel-border);

    background: rgba(15, 23, 42, 0.7);

    color: var(--text);

    width: 2rem;

    height: 2rem;

    border-radius: 0.45rem;

    font-weight: 600;

    cursor: pointer;

}

.option-qty-btn:hover {

    border-color: var(--accent-3);

}

.option-qty-btn:focus-visible {

    outline: 2px solid var(--accent-3);

    outline-offset: 2px;

}

.option-qty-input {

    width: 4.5rem;

    min-width: 4.5rem;

    text-align: center;

    padding: 0.35rem 0.4rem;

}

.option-card:hover {

    border-color: var(--accent-3);

    transform: translateY(-2px);

}

.order-business,

.order-legal {

    grid-column: 1 / -1;

    margin: 0;

    padding: 1.1rem 1.2rem;

    border: 1px solid var(--panel-border);

    border-radius: var(--radius-md);

    display: grid;

    gap: 0.75rem;

}

.order-legal legend,

.order-business legend {

    padding: 0 0.45rem;

    font-weight: 600;

}

.order-consent-row {

    display: flex;

    flex-direction: row;

    align-items: flex-start;

    gap: 0.7rem;

    line-height: 1.5;

    color: var(--muted);

}

.order-consent-row input[type="checkbox"] {

    margin-top: 0.15rem;

}

.order-submit-btn {

    grid-column: 1 / -1;

    justify-self: start;

    align-self: start;

}

.badge-accent {

    display: inline-flex;

    align-items: center;

    padding: 0.2rem 0.65rem;

    border-radius: 999px;

    border: 1px solid rgba(56, 189, 248, 0.4);

    background: rgba(56, 189, 248, 0.12);

    color: var(--accent-3);

    font-size: 0.75rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}

.badge-warning {

    display: inline-flex;

    align-items: center;

    padding: 0.2rem 0.65rem;

    border-radius: 999px;

    border: 1px solid rgba(245, 158, 11, 0.42);

    background: rgba(245, 158, 11, 0.12);

    color: #fbbf24;

    font-size: 0.75rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}

.vps-name-wrap {

    display: inline-flex;

    align-items: center;

    gap: 0.55rem;

    flex-wrap: wrap;

}

.option-hint {

    font-size: 0.85rem;

    margin: 0.2rem 0 0.6rem;

    color: var(--accent-3);

}

.option-price {

    display: inline-flex;

    font-size: 0.85rem;

    color: var(--accent-3);

    margin-top: 0.35rem;

}

.offer-note,
.option-note {

    margin: 0.5rem 0 0;

    font-size: 0.85rem;

    line-height: 1.45;

}

.offer-note-warning,
.option-note-warning {

    color: #fcd34d;

}

.worm-retention-group {

    margin-top: 0.75rem;

    padding: 0.8rem 0.9rem;

    border-radius: 0.9rem;

    border: 1px solid rgba(245, 158, 11, 0.22);

    background: rgba(120, 53, 15, 0.14);

}

.worm-retention-group[hidden] {

    display: none;

}

.worm-retention-label {

    display: block;

    margin-bottom: 0.4rem;

    font-size: 0.82rem;

    color: var(--text);

}

.worm-retention-group select {

    width: 100%;

}

.option-price-inline {

    margin-left: 0.35rem;

    font-size: 0.85rem;

}

.price-notes {

    margin-top: 0.5rem;

}

.price-notes p {

    margin: 0.15rem 0 0;

}



label {

    font-size: 0.9rem;

    color: var(--muted);

    display: flex;

    flex-direction: column;

    gap: 0.45rem;

}



input:not([type="checkbox"]):not([type="radio"]),

select,

textarea {

    border-radius: var(--radius-sm);

    border: 1px solid rgba(148, 163, 184, 0.25);

    background: rgba(15, 23, 42, 0.6);

    color: var(--text);

    padding: 0.9rem 1rem;

    font-family: inherit;

}

input[type="checkbox"],
input[type="radio"] {

    width: 1.05rem;

    height: 1.05rem;

    margin: 0;

    padding: 0;

    border: 1px solid rgba(148, 163, 184, 0.45);

    border-radius: 0.25rem;

    background: rgba(15, 23, 42, 0.8);

    accent-color: var(--accent);

    flex: 0 0 auto;

}

input[type="radio"] {

    border-radius: 999px;

}



.alert {

    padding: 1rem;

    border-radius: var(--radius-md);

    border: 1px solid rgba(250, 204, 21, 0.4);

    background: rgba(250, 204, 21, 0.08);

    margin-bottom: 1rem;

}



.alert-error {

    border-color: rgba(251, 113, 133, 0.5);

    background: rgba(251, 113, 133, 0.1);

}



.table-responsive {
    overflow-x: auto;
}

.social-auth {
    margin-top: 1.5rem;
    text-align: center;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

details.provisioning-log {
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

details.provisioning-log pre {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.15);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    white-space: pre-wrap;
    color: var(--muted);
}

table {

    width: 100%;

    border-collapse: collapse;

    min-width: 640px;

}



table th,

table td {

    padding: 0.9rem;

    border-bottom: 1px solid rgba(148, 163, 184, 0.14);

    text-align: left;

}



.status-pill {

    padding: 0.25rem 0.85rem;

    border-radius: 999px;

    font-size: 0.85rem;

    background: rgba(59, 130, 246, 0.2);

    border: 1px solid rgba(59, 130, 246, 0.35);

    color: #93c5fd;

}



.status-en_attente {

    background: rgba(250, 204, 21, 0.15);

    border-color: rgba(250, 204, 21, 0.4);

    color: #fde68a;

}



.status-actif {

    background: rgba(34, 197, 94, 0.15);

    border-color: rgba(34, 197, 94, 0.35);

    color: #86efac;

}

.status-suspendu {

    background: rgba(245, 158, 11, 0.16);

    border-color: rgba(245, 158, 11, 0.35);

    color: #fcd34d;

}

.status-resilie {

    background: rgba(239, 68, 68, 0.16);

    border-color: rgba(239, 68, 68, 0.4);

    color: #fca5a5;

}

.instance-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 0.6rem;

    margin-top: 0.75rem;

}

.meta-chip {

    padding: 0.35rem 0.8rem;

    border-radius: 10px;

    border: 1px solid rgba(148, 163, 184, 0.2);

    background: rgba(15, 23, 42, 0.5);

    color: var(--muted);

    font-size: 0.9rem;

}

.info-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 1rem;

}

.info-card {

    border: 1px solid var(--panel-border);

    border-radius: var(--radius-md);

    padding: 1rem 1.25rem;

    background: rgba(15, 23, 42, 0.55);

}

.info-card .muted {

    margin-top: 0;

    margin-bottom: 0.4rem;

}

.info-row {

    display: flex;

    justify-content: space-between;

    gap: 1rem;

    padding: 0.45rem 0;

    border-bottom: 1px solid rgba(148, 163, 184, 0.08);

    font-size: 0.95rem;

}

.info-row:last-child {

    border-bottom: none;

}

.info-row span {

    color: var(--muted);

}

.bucket-form {

    margin-top: 1.25rem;

    padding: 1rem;

    border: 1px dashed rgba(148, 163, 184, 0.25);

    border-radius: var(--radius-md);

    background: rgba(6, 12, 40, 0.4);

}

.tight-grid {

    gap: 0.75rem;

}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.instance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.instance-grid .surface {
    margin-top: 0;
}

.bucket-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-menu {
    position: relative;
    display: inline-block;
}

.action-toggle {
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(37, 99, 235, 0.35);
}

.action-menu-list {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 200px;
    background: rgba(12, 18, 28, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.35);
    padding: 0.4rem 0;
    z-index: 50;
}

.action-item {
    width: 100%;
    display: block;
    background: transparent;
    border: none;
    color: var(--text);
    text-align: left;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.action-item:hover {
    background: rgba(37, 99, 235, 0.12);
}

.vps-table th {
    background: rgba(10, 16, 24, 0.6);
    font-weight: 600;
    color: var(--text);
}

.message-card {
    border-left: 4px solid var(--accent-3);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(12, 18, 28, 0.65);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
}

.highlight-grid strong {
    display: block;
    font-size: 1.05rem;
    margin-top: 0.15rem;
}

.form-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0.5rem;
}

.hidden {

    display: none !important;

}



.step-list {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.step-item {

    display: flex;

    gap: 1rem;

    align-items: flex-start;

}



.step-index {

    width: 2.4rem;

    height: 2.4rem;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.2);

    border: 1px solid rgba(37, 99, 235, 0.4);

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-weight: 600;

}



.site-footer {

    margin-top: 4rem;

    background: #081421;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

}

.site-footer .container {
    color: var(--text);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    padding: 3rem 0 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-brand strong {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.footer-brand .muted {
    color: var(--muted);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.footer-col h4 {
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-col a {
    display: inline-flex;
    padding: 0.2rem 0;
    color: var(--text);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.tab-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.4rem;
    padding: 0.6rem 0.8rem;
    background: linear-gradient(120deg, rgba(12, 18, 28, 0.8), rgba(8, 13, 22, 0.8));
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.tab {
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    color: var(--muted);
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    background: rgba(148, 163, 184, 0.08);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
    overflow: hidden;
}

.tab::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.55), rgba(14, 165, 164, 0.45));
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 0.18s ease, transform 0.2s ease;
}

.tab.active {
    color: var(--text);
    border-color: rgba(37, 99, 235, 0.4);
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 164, 0.14));
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tab.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.tab:hover {
    color: var(--text);
    border-color: rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.55);
    transform: translateY(-1px);
}

.account-panel p,
.billing-panel p {
    margin: 0.5rem 0;
}



.footer-links a {

    margin-right: 1rem;

}



.legal h1 {

    margin-top: 0;

}



.legal h3 {

    margin-top: 2rem;

}



.dashboard-header {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    gap: 1.5rem;

    align-items: center;

}



.stats {

    display: flex;

    gap: 1.5rem;

}



.stats > div {

    padding: 1rem 1.5rem;

    border-radius: var(--radius-md);

    background: rgba(15, 23, 42, 0.65);

    border: 1px solid rgba(148, 163, 184, 0.14);

}



@media (max-width: 760px) {

    .site-header .site-nav {

        justify-content: center;

    }

    table {

        min-width: 100%;

    }

    .hero-actions,

    .hero-cta {

        flex-direction: column;

    }

    .instance-grid {
        grid-template-columns: 1fr;
    }

}




.client-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.8rem;
}

.client-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.quick-card {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.quick-card:hover {
    border-color: var(--accent-3);
    transform: translateY(-2px);
}

.quick-card h4 {
    margin: 0 0 0.4rem;
}

.quick-card p {
    margin: 0;
    color: var(--muted);
}

.client-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.client-main {
    flex: 1 1 600px;
}

.client-aside {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-card h4 {
    margin-top: 0;
}

.mini-card .btn {
    margin-top: 0.5rem;
}

.btn-compact {
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
}
