@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap");

/* ── Design tokens (matched from wmodel_doc) ── */
:root {
    --primary-color: #0b1b33;
    --bg-color: #f8f9fb;
    --navy: #0b1b33;
    --muted: #5b6b84;
    --joligros-color: #7e7982;
    --hovered-color: #397594;
    --light-hovered-color: #ebf2f6;
    --navbar-color: #458c85;
    --orange-color: #ff9900;
    --buttonorange-color: #e48b39;
    --late-color: #8c1d18;
    --late-background-color: #f9dedc;
    --important-color: #af6600;
    --important-background-color: #ffecd1;
    --done-color: #0e8f6a;
    --done-background-color: #d6f5eb;
    --normalgros-color: #ccc;
    --lightgros-color: #f4f4f4;
    --title-white-color: #fff8f1;
    --border-subtle: rgba(11, 27, 51, 0.1);
    --shadow-sm: 0 4px 12px rgba(11, 27, 51, 0.06);
    --shadow-md: 0 12px 36px rgba(11, 27, 51, 0.06);
    --shadow-lg: 0 18px 60px rgba(11, 27, 51, 0.08);
    --shadow-dropdown: 0 8px 28px rgba(11, 27, 51, 0.13);
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-bg-solid: rgba(255, 255, 255, 0.92);
    --focus-ring: rgba(111, 168, 255, 0.5);
    --focus-border: rgba(111, 168, 255, 0.7);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --transition-fast: 0.12s ease;
    --transition-med: 0.18s ease;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

textarea {
    padding: 10px;
}

/* Collapsible content styling */
.collapsible-content {
    visibility: visible;
    opacity: 1;
    overflow: hidden;
    transition: all 0.5s ease;
}

button,
input {
    all: unset;
    padding: 10px;
    width: fit-content;
    appearance: none;
    background-color: var(--bg-color);
    -webkit-appearance: none;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
}

div.quartile {
    width: fit-content;
    vertical-align: middle;
    background-color: var(--important-background-color);
    color: var(--buttonorange-color);
    font-weight: 800;
    height: auto;
    line-height: 1;
    padding: 4px 10px;
    box-sizing: border-box;
    border: 0;
    border-radius: var(--radius-pill);
    font-size: 12px;
}

.collapsible-content.hidden {
    opacity: 0;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--border-subtle);
    width: 100%;
    margin-top: -1px;
}
hr.verif {
    background-color: var(--important-color);
}
.verif h1 {
    color: var(--orange-color);
}

/* ── Base typography ── */
body {
    font-size: 14px;
    color: var(--navy);
    line-height: 1.5;
    width: 100%;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: Nunito, "Open Sans", "Helvetica Neue", sans-serif;
}
body.dark-mode {
    background-color: #1a1a2e;
    color: #fff;
}

a {
    text-decoration: none;
    color: var(--hovered-color);
}
a:hover {
    text-decoration: none;
}

h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: -0.35px;
    line-height: 1.15;
}
h2 {
    padding-bottom: 0.8em;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.15px;
}
h3 {
    display: flex;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-bottom: 0.6em;
    color: var(--buttonorange-color);
}
h6 {
    color: var(--muted);
    padding-bottom: 10px;
    line-height: 1em;
    font-weight: 500;
    font-size: 13px;
}
h6.dark-mode {
    color: #fff;
}

.title-container {
    color: var(--navy);
    font-family: Fraunces, Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.2px;
}
.info-box .title-container {
    text-align: left;
    padding-bottom: 12px;
    margin-bottom: 12px;
    position: relative;
}
.info-box .title-container::after {
    content: "";
    bottom: 0;
    left: 0;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: var(--border-subtle);
}

.form-row h3 {
    color: var(--buttonorange-color);
}

.cepheus .welcome-section h1 {
    color: #fff;
    font-family: Fraunces, Georgia, serif;
}

var {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    background: transparent;
}

:focus {
    outline: 0;
}

section {
    display: block;
}
input[type="file"]:disabled {
    color: var(--muted);
    opacity: 0.5;
}

/* ── Layout containers ── */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}
.container-vert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 40vh;
    width: 400px;
    padding-left: 25px;
    padding-top: 25px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-left: auto;
    margin-right: auto;
    background: var(--glass-bg);
    box-shadow: var(--shadow-md);
}
.file-input.dark-mode {
    background-color: #454754;
    color: #fff;
}
.container-right {
    display: flex;
    justify-content: flex-end;
}
.container-left {
    display: flex;
    justify-content: flex-start;
}
.container-line {
    display: flex;
    justify-content: space-between;
}
.container-line-no-space {
    display: flex;
    align-items: center;
}
.line-left {
    text-align: left;
}
.line-right {
    text-align: right;
}

.info-box hr {
    margin-top: auto;
}
.info-box .progress-container {
    width: 100%;
    text-align: center;
    padding-top: 0.5rem;
    display: flex;
    overflow: hidden;
    flex-direction: column;
}

/* ── Page wrapper ── */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content {
    flex: 1;
    padding-top: 30px;
    padding-right: 28px;
    padding-bottom: calc(44px + 24px);
    padding-left: 28px;
}

/* Spotlight gradient overlay — on body so it never interferes with header/footer stacking */
body::after {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 520px;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(
            640px 420px at 14% 6%,
            rgba(240, 138, 26, 0.34),
            transparent 62%
        ),
        radial-gradient(
            760px 520px at 78% 10%,
            rgba(111, 168, 255, 0.28),
            transparent 62%
        ),
        radial-gradient(
            980px 640px at 52% -18%,
            rgba(11, 27, 51, 0.16),
            transparent 66%
        ),
        linear-gradient(180deg, rgba(11, 27, 51, 0.03), rgba(255, 255, 255, 0));
    filter: saturate(1.12) contrast(1.02);
}
/* Suppress the spotlight on the login page */
.cepheus body::after,
body:has(.cepheus)::after {
    display: none;
}

/* ── Header & Footer ── */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 2rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.82),
        rgba(255, 255, 255, 0.96)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-subtle);
    box-sizing: border-box;
    border-radius: 0;
    z-index: 1000;
    color: var(--muted);
    text-align: center;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    height: 32px;
}
.cepheus footer {
    display: none;
}

header {
    position: sticky;
    top: 0;
    padding: 0.5rem 2rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(255, 255, 255, 0.82)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    box-sizing: border-box;
    border-radius: 0;
    z-index: 1000;
    color: var(--navy);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.logo {
    color: var(--navy);
    display: flex;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 18px;
}

header a,
footer a {
    color: var(--navy);
    text-decoration: none;
    align-items: center;
    display: flex;
}
header a:hover,
footer a:hover {
    color: var(--buttonorange-color);
}

.account-trigger {
    height: 100%;
    display: inline-block;
    padding: 5px 40px 5px 10px;
}
.account-trigger span {
    display: flex;
    width: 100%;
    height: 3px;
    background: #fff;
    margin-bottom: 5px;
    position: absolute;
    top: 50%;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    transition:
        transform 0.3s,
        opacity 0.3s;
}

.account-icon {
    display: flex;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    gap: 0.3rem;
    cursor: pointer;
}
.logo img {
    height: 100%;
    max-height: 26px;
    width: auto;
    object-fit: contain;
}
.logo img:hover {
    transform: scale(1.03) translateZ(0);
    filter: brightness(1.05);
    will-change: transform;
}
.account-icon img {
    height: 100%;
    max-height: 18px;
    filter: none;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
}
.account-icon p {
    padding: 0;
    font-size: 13px;
}

/* ── Nav dropdown ── */
.nav-list {
    display: none;
    justify-content: flex-end;
    position: absolute;
    box-shadow: 0 12px 42px rgba(11, 27, 51, 0.14);
    top: 100%;
    right: 0;
    min-width: 170px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius-md);
    z-index: 1000;
}
.nav-list.active {
    transform: translateX(0);
}
.nav-list ul {
    flex-direction: column;
    justify-content: flex-end;
    list-style: none;
    padding: 5px 0;
    text-align: right;
    align-items: flex-end;
    margin: 0;
    width: 100%;
}
.menu-container {
    position: relative;
    display: inline-block;
}
.header-right:hover + .nav-list,
.nav-list:hover {
    display: block;
}
.nav-list li {
    padding: 7px 14px;
}
.header-right p {
    text-decoration: none;
    color: var(--navy);
    padding: 0;
}
.nav-list a,
.nav-list p,
.nav-list button.reset-style,
.nav-list.nested-dropdown {
    width: 100%;
    text-decoration: none;
    justify-content: flex-end;
    color: var(--navy);
    text-align: right;
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}
.nav-list li:hover {
    background: rgba(111, 168, 255, 0.08);
    border-radius: 6px;
}

.nested-dropdown {
    display: flex;
    position: relative;
}
.nested-dropdown-content {
    display: flex;
    border-radius: var(--radius-md);
    flex-direction: column;
    position: absolute;
    right: 100%;
    top: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-dropdown);
    border: 1px solid var(--border-subtle);
    padding: 12px;
    gap: 4px;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    z-index: 1010;
}
.nested-dropdown-content .form-input {
    margin: 2px 0 8px 0;
    font-size: 12px;
    padding: 7px 8px;
    background-color: #fff;
    border-color: var(--border-subtle);
}
.nested-dropdown-content .button {
    font-size: 12px;
    padding: 6px 14px;
    height: auto;
    margin: 4px 0 0 0;
}

/* ── Header layout ── */
.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.header-center {
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.header-right {
    display: flex;
    right: 0;
    height: 100%;
    align-items: center;
    padding: 0.5rem 2rem;
    gap: 0.5rem;
}
.nav-link {
    text-decoration: none;
    color: var(--muted);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition:
        background var(--transition-fast),
        color var(--transition-fast);
    font-size: 13px;
}
.nav-link.active {
    color: var(--navy) !important;
    font-weight: 800;
}
.nav-link:hover {
    color: var(--navy);
    background: rgba(11, 27, 51, 0.05);
}
.reset-style {
    all: unset;
}

/* ── Buttons ── */
.button {
    box-sizing: border-box;
    border: none;
    display: flex;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(
        180deg,
        rgba(240, 138, 26, 0.96),
        rgba(225, 120, 5, 0.96)
    );
    box-shadow: 0 16px 38px rgba(240, 138, 26, 0.22);
    margin: auto;
    height: auto;
    margin-bottom: 20px;
    font-family: Nunito, "Helvetica Neue", sans-serif;
    width: max-content;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition:
        transform 0.12s ease,
        filter 0.14s ease,
        box-shadow 0.14s ease;
    position: relative;
    cursor: pointer;
}
.button:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 18px 44px rgba(240, 138, 26, 0.26);
}
.button:active {
    transform: translateY(0) scale(0.99);
}

.launch-button {
    box-sizing: border-box;
    border: none;
    display: flex;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(
        180deg,
        rgba(240, 138, 26, 0.96),
        rgba(225, 120, 5, 0.96)
    );
    box-shadow: 0 16px 38px rgba(240, 138, 26, 0.22);
    margin: auto;
    height: auto;
    margin-bottom: 20px;
    font-family: Nunito, "Helvetica Neue", sans-serif;
    width: 100%;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition:
        transform 0.12s ease,
        filter 0.14s ease,
        box-shadow 0.14s ease;
    position: relative;
    cursor: pointer;
}
.launch-button:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 18px 44px rgba(240, 138, 26, 0.26);
}
.launch-button:active {
    transform: translateY(0) scale(0.99);
}
.launch-button:hover::before {
    width: 120%;
}
.launch-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(
        to right,
        var(--navbar-color),
        var(--buttonorange-color)
    );
    width: 0;
    transition: width 0.4s ease-out;
    z-index: 0;
    clip-path: polygon(0 0, 85% 0, 90% 50%, 85% 100%, 0 100%);
}
.launch-button.delete {
    color: var(--navy);
    background-color: var(--glass-bg-solid);
    border: 1px solid var(--border-subtle);
}
.launch-button.delete::before {
    background: linear-gradient(
        to right,
        var(--navy),
        rgba(255, 255, 255, 0.92)
    );
    clip-path: polygon(0 100%, 85% 100%, 90% 50%, 85% 0, 0 0);
}
.launch-button span {
    z-index: 1;
    position: relative;
}

.button-tinkering {
    display: flex;
    justify-content: center;
    width: 100%;
    line-height: 1.4;
    background-color: #fff;
    color: var(--buttonorange-color);
    border: 2px solid var(--buttonorange-color);
    font-size: 13px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    cursor: pointer;
    height: auto;
    padding: 8px 16px;
    align-items: center;
    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast);
}
.button-tinkering.finance {
    background-color: var(--buttonorange-color);
    border: 0;
    width: 25px;
    height: 25px;
    padding: 0;
    border-radius: var(--radius-sm);
    align-items: center;
    color: #fff;
}
.button-tinkering.finance:hover {
    color: var(--navy);
    padding: 0 8px;
    background-color: var(--glass-bg-solid);
    border: 1px solid var(--border-subtle);
    width: fit-content;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
.button-tinkering.finance:hover .text-finance {
    opacity: 1;
    transition: all 0.3s ease 0s;
}
.text-finance {
    opacity: 0;
    transition: all 0.1s;
}
.button-tinkering:hover {
    transform: translateY(-1px);
    background-color: var(--buttonorange-color);
    color: #fff;
}
.button-tinkering:disabled {
    background-color: var(--lightgros-color);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.version-selection-button {
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--muted);
    padding: 0.3em 1em;
    background-color: transparent;
    border: 1px solid var(--border-subtle);
    width: 100%;
    height: auto;
    font-style: italic;
    margin-left: 1em;
}

/* ── Form containers ── */
.launch-form-container {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    width: 88vw;
    max-width: 56em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    border-radius: var(--radius-lg);
    padding: 3em 3.5em;
    border: 1px solid rgba(11, 27, 51, 0.12);
    box-shadow: 0 30px 90px rgba(11, 27, 51, 0.1);
    position: relative;
    overflow: hidden;
}
.launch-form-container::before {
    content: "";
    position: absolute;
    inset: -220px -240px auto auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(240, 138, 26, 0.1),
            transparent 62%
        ),
        radial-gradient(
            circle at 60% 60%,
            rgba(111, 168, 255, 0.08),
            transparent 58%
        );
    transform: rotate(10deg);
    pointer-events: none;
}
.col-container {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-width: 0;
    height: auto;
    flex-direction: column;
}
.launch-form-container,
.launch-form-container .col-container,
.select-container,
.line-container {
    font-size: 14px;
    color: var(--navy);
}

#auto-submit-form {
    padding-bottom: 20px;
}
.col-title {
    padding-top: 6px;
    height: auto;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--buttonorange-color);
    margin-bottom: 18px;
}
.col-title h3 {
    font-size: 16px;
    padding-bottom: 0;
    margin: 0;
}
.col-label {
    font-size: 14px;
    font-weight: 800;
    padding-bottom: 4px;
    color: var(--navy);
}
.launch-form-container .col-label {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--muted);
    padding-bottom: 6px;
}
.launch-form-container textarea,
.launch-form-container select {
    box-shadow: none;
}
.launch-form-container textarea.form-input,
.launch-form-container textarea.select-input {
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
    resize: none;
    line-height: 20px;
}
.launch-form-container textarea.form-input[readonly] {
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
}
.launch-form-container textarea.form-input[readonly].has-content {
    max-height: none;
    height: auto;
}
.launch-form-container .select-input {
    height: 40px;
}

/* ── Launch form: hero, steps, choices ── */
.launch-hero {
    margin-bottom: 0.5em;
}
.launch-hero .form-title {
    font-size: 28px;
    padding-bottom: 0.3em;
}
.launch-subtitle {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Step section header */
.launch-section {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    margin-top: 4px;
}
.launch-step-num {
    font-family: Fraunces, Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    color: rgba(69, 140, 133, 0.25);
    line-height: 1;
    letter-spacing: -1px;
}
.launch-step-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--navbar-color);
}

/* Ternary color labels inside launch form */
.launch-form-container .col-label.field-teal {
    color: color-mix(in srgb, var(--navbar-color) 60%, var(--navy));
}
.launch-form-container .col-label.field-orange {
    color: color-mix(in srgb, var(--buttonorange-color) 55%, var(--navy));
}
.launch-form-container .col-label.field-navy {
    color: var(--navy);
}
.launch-optional {
    font-size: 10px;
    font-weight: 500;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    color: var(--joligros-color);
    margin-left: 4px;
}

/* Section divider */
.launch-divider {
    width: 60%;
    height: 1px;
    margin: 1.8em auto;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(69, 140, 133, 0.3) 30%,
        rgba(228, 139, 57, 0.3) 70%,
        transparent
    );
}

/* Data source choice layout */
.launch-choices {
    display: flex;
    align-items: flex-start;
    gap: 0;
    min-height: 50px;
    width: 100%;
}
.launch-choice {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.launch-choice-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted);
}
.launch-choice-title {
    font-family: Fraunces, Georgia, serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.2px;
}

/* OR separator */
.launch-or {
    font-family: Fraunces, Georgia, serif;
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    color: var(--joligros-color);
    align-self: center;
    padding: 0 16px;
    flex-shrink: 0;
}

/* Preview note */
.launch-preview-note {
    font-size: 13.5px;
    font-style: italic;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

/* Confirm step text */
.launch-confirm-text {
    line-height: 1.6;
}
.launch-confirm-text b {
    color: var(--navbar-color);
}

/* Confirm actions */
.launch-confirm-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 2em;
    justify-content: center;
}
.launch-btn-yes {
    box-sizing: border-box;
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--navbar-color);
    padding: 12px 32px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(69, 140, 133, 0.25);
    transition:
        transform 0.12s ease,
        box-shadow 0.14s ease;
}
.launch-btn-yes:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(69, 140, 133, 0.3);
}
.launch-btn-yes:active {
    transform: translateY(0) scale(0.98);
}
.launch-btn-no {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    padding: 10px 24px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast);
    cursor: pointer;
    background: transparent;
}
.launch-btn-no:hover {
    color: var(--navy);
    border-color: rgba(11, 27, 51, 0.25);
}

.col-container.h1 {
    all: unset;
}
.form-tabs-wrapper {
    display: flex;
    flex-direction: column;
    margin: auto;
    color: inherit;
    width: 80vw;
    max-width: 100em;
}

/* Align text boxes in a row */
.form-row {
    display: flex;
    gap: 40px;
    background-color: #fff;
    border-top: none;
    padding: 20px;
    z-index: 0;
    align-items: stretch;
}
.form-row > .col-container {
    flex: 1;
}
.form-background {
    background: linear-gradient(to bottom right, #29576e, #64b6ac);
    width: 100%;
    display: flex;
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ── Tabs ── */
.tabs-container {
    display: flex;
    margin-bottom: -1px;
    position: relative;
    font-size: 12px;
}
.tab {
    padding: 6px 14px;
    position: relative;
    border: 1px solid var(--border-subtle);
    font-family: inherit;
    background-color: rgba(245, 247, 250, 0.8);
    cursor: pointer;
    color: var(--muted);
    border-radius: 0 var(--radius-sm) 0 0;
    margin-left: -1px;
    margin-right: -11px;
    transition: background-color 0.15s ease;
    font-weight: 600;
    font-size: 12px;
}
.tabs-container button:hover {
    z-index: 14;
    background-color: var(--light-hovered-color);
    color: var(--navy);
}
.tabs-container button.active {
    background-color: #fff;
    z-index: 15;
    margin-bottom: 1px;
    border-bottom: 0;
    color: var(--navy);
    font-weight: 800;
}

/* ── Choice / select inputs ── */
.choice-input {
    box-sizing: border-box;
    position: relative;
    resize: none;
    overflow-x: hidden;
    overflow-y: hidden;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    width: 100%;
    cursor: pointer;
    transition: all 0.15s ease;
}
.choice-input:hover {
    color: var(--hovered-color);
}
.choice-input::after {
    position: absolute;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.4'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
    width: 1em;
    height: 1em;
    right: 5px;
    transition: transform 0.3s ease;
    opacity: 0.35;
}
.choice-input:hover::after {
    opacity: 0.7;
}
.choice-input.active::after {
    position: absolute;
    transform: rotate(180deg);
}

.select-input {
    box-sizing: border-box;
    border: 1px solid rgba(69, 140, 133, 0.25);
    border-radius: var(--radius-sm);
    resize: none;
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--navy);
    background-color: #fafcfb;
    max-height: 60%;
    width: 100%;
    min-width: 0;
    padding: 10px;
    margin: 5px 0 16px 0;
    appearance: auto;
    white-space: normal;
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}
.select-input:hover {
    border-color: rgba(69, 140, 133, 0.45);
}
.select-input:focus {
    border-color: var(--focus-border);
    box-shadow: 0 0 0 4px rgba(111, 168, 255, 0.16);
    transform: translateY(-1px);
}

/* ── Line / flex containers ── */
.line-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 2px;
    flex-direction: row;
    align-items: center;
}
.line-container-buttons {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 2px;
    flex-direction: row;
    align-items: center;
}
.line-container.left-content {
    display: flex;
    gap: 1em;
    align-items: baseline;
}
.years-container {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}
.verif.progress-box {
    max-width: 50vw;
    width: 30em;
}
.left-content {
    flex: 0;
    white-space: nowrap;
}
.right-content {
    position: relative;
    font-size: 13px;
}
.line-container h2 {
    color: var(--buttonorange-color);
    padding: 0;
}

.entourage {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    z-index: 0;
}

.form-title {
    font-family: Fraunces, Georgia, serif;
    font-weight: 400;
    color: var(--navy);
    font-size: 24px;
    padding-top: 0.5em;
    padding-bottom: 1.2em;
    letter-spacing: -0.25px;
}
.blanco {
    padding: 8px;
    margin-top: 75px;
}
.finance-area {
    width: 80vw;
    font-size: 14px;
    margin-top: 2em;
    background-color: var(--important-background-color);
    border-radius: var(--radius-md);
    padding: 2em;
    border: 1px solid var(--border-subtle);
}

.progress-box {
    box-sizing: border-box;
    resize: none;
    gap: 0.5rem;
    line-height: 1.4;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    width: 100%;
    min-width: 0;
    margin: 5px 0 20px 0;
    margin-top: auto;
    margin-bottom: 30px;
    padding: 10px;
    padding-bottom: 2em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* ── Form inputs ── */
.form-input {
    box-sizing: border-box;
    border: 1px solid rgba(69, 140, 133, 0.25);
    border-radius: var(--radius-sm);
    resize: none;
    overflow-x: hidden;
    overflow-y: hidden;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.5px;
    color: var(--navy);
    font-family: inherit;
    background-color: #fafcfb;
    max-height: 60%;
    width: 100%;
    min-width: 0;
    margin: 5px 0 16px 0;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}
.cepheus .form-input,
.form-tabs-wrapper .form-input {
    border-width: 1px;
}
.form-input:hover {
    border-color: rgba(69, 140, 133, 0.45);
}
.form-input:focus {
    border-color: var(--focus-border);
    box-shadow: 0 0 0 4px rgba(111, 168, 255, 0.16);
    transform: translateY(-1px);
}

.file-input {
    box-sizing: border-box;
    box-shadow: none;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    resize: none;
    line-height: 1.4;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0;
    color: var(--navy);
    font-family: inherit;
    background-color: var(--lightgros-color);
    max-height: 60%;
    width: 100%;
    min-width: 0;
    padding: 5px;
    margin: 5px 0 10px 0;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.file-input:hover {
    background: var(--light-hovered-color);
}

/* ── Dropdowns ── */
.dropdown {
    box-sizing: border-box;
    position: absolute;
    color: var(--navy);
    max-width: 150%;
    font-size: 13px;
    left: 0;
    border-radius: var(--radius-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.18s ease-out;
    z-index: 10001;
    background: #fff;
}
.dropdown.open {
    max-height: 400px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-dropdown);
    overflow-y: auto;
}
.bg-even {
    background-color: #fff;
}
.bg-odd {
    background-color: rgba(245, 247, 250, 0.85);
}
.option {
    padding: 10px 14px;
    transition: background var(--transition-fast);
    font-size: 13px;
    font-weight: 500;
}
.option:hover {
    background: rgba(111, 168, 255, 0.08);
    cursor: pointer;
}
.option.selected {
    background: rgba(111, 168, 255, 0.12);
}

.selected-item {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    margin: 4px 0;
    background: var(--lightgros-color);
    max-width: 100%;
    border-radius: var(--radius-sm);
    animation: fadeIn 0.3s ease;
    overflow-wrap: break-word;
}
.selectable-btn {
    padding: 8px 14px;
    margin: 4px;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    background-color: var(--glass-bg-solid);
    color: var(--navy);
    animation: fadeIn 0.5s ease;
    font-weight: 800;
    font-size: 12px;
    transition:
        transform var(--transition-fast),
        background var(--transition-fast);
}
.selectable-btn.selected {
    background-color: var(--buttonorange-color);
    color: #fff;
    border-color: var(--buttonorange-color);
}
.selectable-btn:hover {
    transform: translateY(-1px);
}

.arrow {
    transition: transform 0.3s ease;
}
.arrow.open {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.select-input option {
    padding: 10px;
    font-family: inherit;
    background-color: white;
    color: var(--navy);
}
.select-input.placeholder-select {
    color: var(--muted);
}
.form-input.dark-mode {
    background-color: #454754;
    color: #fff;
}

.form-container-input {
    height: 70px;
    border-radius: var(--radius-md);
    resize: none;
    overflow: hidden;
    font-size: 13px;
    letter-spacing: 0;
    display: flex;
    width: 350px;
}
.form-input-small {
    height: 30px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    resize: none;
    line-height: 1.2;
    overflow: hidden;
    font-size: 13px;
    letter-spacing: 0;
    display: block;
    background-color: var(--lightgros-color);
    width: 100%;
    padding: 8px;
}
.form-input-small.dark-mode {
    background-color: #45475122;
    color: #fff;
}

/* ── Sort controls ── */
.sort-controls {
    position: relative;
}
.sort-btn-group {
    display: flex;
    align-items: stretch;
}
.sort-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 400;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border-right: none;
    cursor: pointer;
    transition: border-color var(--transition-fast);
    width: auto;
}
.sort-btn:hover {
    border-color: rgba(11, 27, 51, 0.25);
}
.sort-dir-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    color: var(--navy);
    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
    width: auto;
}
.sort-dir-btn:hover {
    background: rgba(11, 27, 51, 0.04);
}
.sort-dir-btn.desc svg {
    transform: rotate(180deg);
}
.sort-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dropdown);
    min-width: 160px;
    padding: 4px 0;
    z-index: 100;
}
.sort-menu.open {
    display: block;
}
.sort-option {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    transition: background var(--transition-fast);
    text-align: right;
}
.sort-option:hover {
    background: rgba(11, 27, 51, 0.04);
}

/* ── Card grids ── */
.frame-title {
    padding: 16px 20px 6px;
}
.frame {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    padding: 20px 32px;
    max-width: 1200px;
    margin: 0 auto;
}
.frame-verif {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    padding: 20px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Info box (cards) — used in non-mgmt contexts ── */
.info-box {
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
    margin: 0 auto;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-med),
        box-shadow var(--transition-med),
        border-color var(--transition-med);
}
.info-box.verif {
    border-left: 4px solid var(--buttonorange-color);
}
.info-box:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Card color palette */
.info-box.card-color-0 {
    border-left-color: #29576e;
}
.info-box.card-color-1 {
    border-left-color: #e48b39;
}
.info-box.card-color-2 {
    border-left-color: #458c85;
}
.info-box.card-color-3 {
    border-left-color: #8a3e37;
}
.info-box.card-color-4 {
    border-left-color: #556b2f;
}
.info-box.card-color-5 {
    border-left-color: #4682b4;
}
.info-box.card-color-6 {
    border-left-color: #6a4c93;
}
.info-box.card-color-7 {
    border-left-color: #d2691e;
}

/* ── Progress bar ── */
.progress-bar {
    display: flex;
    height: 10px;
    box-sizing: border-box;
    background: transparent;
    border: 1.5px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}
.progress-container {
    box-sizing: border-box;
    color: var(--navy);
    font-weight: 800;
    font-style: italic;
    font-size: 15px;
    margin: auto;
}
.progress-container.verif {
    color: var(--important-color);
}
.progress-bar .progress {
    height: calc(100% + 3px);
    width: var(--progress-width, 40%);
    background-color: #1391c7;
    transition: width 0.3s ease;
    border-radius: 3px 0 0 3px;
    margin: -1.5px;
}
@keyframes moveDiagonal {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 22px 47px;
    }
}

a.nounderline {
    text-decoration: none;
}
.nounderline,
.frame > div {
    display: flex;
}
.frame > div > .info-box,
.frame > .nounderline > .info-box {
    flex: 1;
}
a.info-box {
    color: var(--navy);
    text-decoration: none;
}
a.info-box.verif {
    color: var(--important-color);
    text-decoration: none;
}

.button_hr {
    display: flex;
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-color);
    border-top-width: 0px;
    border-bottom-right-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
    height: 0.3em;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 10em;
    align-items: center;
}
.container_hr {
    height: 10px;
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}

/* ── Help bubble ── */
.help-bubble {
    display: inline-block;
    position: relative;
    z-index: 1000;
}
.help-btn {
    background-color: var(--muted);
    color: #ffffff;
    font-size: 8px;
    border: none;
    border-radius: 50%;
    padding: 3px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    justify-content: center;
    display: flex;
    align-items: center;
    transition: background-color 0.15s ease;
    font-weight: 700;
}
.help-btn:hover {
    background-color: var(--buttonorange-color);
}
.help-window {
    display: none;
    position: absolute;
    background-color: var(--navy);
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dropdown);
    width: 340px;
    text-align: left;
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.65;
    letter-spacing: 0.1px;
}
.help-window p {
    margin-bottom: 10px;
}
.help-window p:last-child {
    margin-bottom: 0;
}
.help-window strong,
.help-window b {
    color: #fff;
    font-weight: 700;
}
.help-window em {
    color: rgba(240, 138, 26, 0.92);
    font-style: normal;
    font-weight: 600;
}
.help-window code {
    font-family: inherit;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
}
.help-bubble:hover .help-window {
    display: block;
}

.close-btn {
    background-color: transparent;
    color: var(--muted);
    border: none;
    border-radius: var(--radius-sm);
    padding: 5px 10px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
}
.close-btn:hover {
    color: var(--navy);
}

/* ── AG Grid ── */
.ag-row-striped {
    background-color: rgba(240, 243, 248, 0.75);
}
.ag-theme-quartz {
    --ag-row-height: 32px;
    --ag-header-height: 36px;
    --ag-font-size: 12.5px;
    --ag-header-font-size: 11px;
    --ag-header-font-weight: 700;
    --ag-row-border-width: 0px;
    --ag-cell-horizontal-padding: 10px;
    --ag-header-foreground-color: var(--joligros-color);
    --ag-row-hover-color: rgba(111, 168, 255, 0.05);
    --ag-selected-row-background-color: rgba(111, 168, 255, 0.08);
    --ag-range-selection-border-color: var(--focus-border);
    --ag-border-color: var(--border-subtle);
    --ag-header-background-color: transparent;
    position: static !important;
    z-index: auto !important;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    font-family: Nunito, "Open Sans", "Helvetica Neue", sans-serif;
}
.ag-theme-quartz .ag-header {
    background: rgba(11, 27, 51, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-bottom: 1.5px solid rgba(11, 27, 51, 0.12);
}
.ag-theme-quartz .ag-header-cell {
    border-right: 1px solid rgba(11, 27, 51, 0.04);
}
.ag-theme-quartz .ag-row {
    border-bottom: 1px solid rgba(11, 27, 51, 0.05);
    transition: background 0.1s ease;
}
.ag-theme-quartz .ag-row:last-child {
    border-bottom: none;
}
.ag-theme-quartz .ag-cell {
    line-height: 1.45;
}
/* Company name column */
.ag-theme-quartz .ag-cell[col-id="name_latin_alphabet"] {
    font-family: Fraunces, Georgia, serif;
    font-weight: 400;
    font-size: 12.5px;
    color: #3a4a5c;
    letter-spacing: -0.15px;
}
/* Description fallback for unreachable */
.desc-unreachable {
    color: var(--joligros-color);
    font-style: italic;
    font-size: 11.5px;
}
/* Description column — slightly smaller, relaxed line-height */
.ag-theme-quartz .ag-cell[col-id="description"] {
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
}
/* URL columns — link style */
.ag-theme-quartz .ag-cell[col-id="url"] a,
.ag-theme-quartz .ag-cell[col-id="suggested_url"] a,
.ag-theme-quartz .ag-cell[col-id="verified_url"] a {
    color: var(--hovered-color);
    text-decoration: none;
    font-size: 12px;
}
.ag-theme-quartz .ag-cell[col-id="url"] a:hover,
.ag-theme-quartz .ag-cell[col-id="suggested_url"] a:hover,
.ag-theme-quartz .ag-cell[col-id="verified_url"] a:hover {
    text-decoration: underline;
}
/* Country column — flag + code */
.country-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}
.country-flag {
    width: 34px;
    height: 24px;
    border-radius: 3px;
    border: 1px solid rgba(11, 27, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #fff, #f2f2f2);
}
.country-name {
    font-size: 11px;
    font-style: italic;
    color: var(--joligros-color);
}
/* Status pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1.4;
    white-space: nowrap;
}
.status-pill--ok {
    background: var(--done-background-color);
    color: var(--done-color);
}
.status-pill--info {
    background: var(--important-background-color);
    color: var(--important-color);
}
.status-pill--forbidden {
    background: #fce4ec;
    color: #b71c1c;
}
.status-pill--down {
    background: var(--late-background-color);
    color: var(--late-color);
}
/* Rank badge */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
/* Q answer icons */
.q-cell {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Accepted checkbox column */
.ag-theme-quartz .ag-cell[col-id="accepted"] {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Verified URL column highlight */
.ag-theme-quartz .verified-url-cell {
    background: rgba(14, 143, 106, 0.05);
}
.ag-theme-quartz .verified-url-cell a {
    font-weight: 600;
}
/* Editable cells subtle highlight */
.ag-theme-quartz .ag-cell-inline-editing {
    border-radius: 4px;
    box-shadow: 0 0 0 3px rgba(111, 168, 255, 0.16);
}
/* Cluster cell */
.cluster-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--joligros-color);
}
.cluster-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
/* Cluster row tints */
.ag-theme-quartz .cluster-0 { background-color: rgba(91, 141, 184, 0.06) !important; }
.ag-theme-quartz .cluster-1 { background-color: rgba(212, 136, 14, 0.06) !important; }
.ag-theme-quartz .cluster-2 { background-color: rgba(14, 143, 106, 0.06) !important; }
.ag-theme-quartz .cluster-3 { background-color: rgba(168, 92, 158, 0.06) !important; }
.ag-theme-quartz .cluster-4 { background-color: rgba(192, 57, 43, 0.06) !important; }
.ag-theme-quartz .cluster-5 { background-color: rgba(61, 122, 106, 0.06) !important; }
.ag-theme-quartz .cluster-6 { background-color: rgba(124, 107, 79, 0.06) !important; }

/* ── Screenshot dots ── */
.ag-theme-quartz .ag-cell[col-id="_screenshots"] {
    overflow: visible;
}
.sshot-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}
.sshot-dot--ok {
    background: var(--done-color);
    box-shadow: 0 0 0 2px var(--done-background-color);
}
.sshot-dot--warn {
    background: var(--important-color);
    box-shadow: 0 0 0 2px var(--important-background-color);
}
.sshot-dot--pending {
    background: var(--normalgros-color);
    opacity: 0.5;
}

/* ── Messages ── */
ul.messages {
    margin: 0;
    padding: 0;
    list-style: none;
}
.message {
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-in-out;
    font-size: 13px;
}
.message .close-btn {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    font-size: 1.2rem;
    padding: 0 0.5rem;
}
.message .close-btn:hover {
    opacity: 1;
}
.message.success {
    background-color: var(--done-background-color);
    color: #155724;
    border: 1px solid rgba(14, 143, 106, 0.2);
}
.message.error {
    background-color: var(--late-background-color);
    color: var(--late-color);
    border: 1px solid rgba(140, 29, 24, 0.2);
}
.message.warning {
    background-color: var(--important-background-color);
    color: var(--important-color);
    border: 1px solid rgba(175, 102, 0, 0.2);
}
.message.info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: var(--columns, 1fr 0.5fr 0.5fr 2fr);
    gap: 20px;
}
.grid-item {
    text-align: left;
}
.hide-column {
    width: 0;
    overflow: hidden;
}

.box-specifics {
    padding-left: 0;
    padding-right: 10px;
    padding-bottom: 8px;
    gap: 0.3em;
    display: flex;
    font-size: 13px;
    flex-direction: column;
    color: var(--muted);
    line-height: 1.5;
}
.box-specifics b,
.box-specifics i {
    color: var(--navy);
}

.info-box .progress-bar {
    margin-top: 6px;
    margin-left: 0;
    margin-right: 0;
}
.folder-lookup {
    display: flex;
    height: 85px;
    padding-left: 10px;
    padding-right: 30px;
}
.folder-lookup img {
    display: flex;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    opacity: 0.05;
}
input[type="file"] {
    display: none;
}
.remember-me input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    width: 16px;
    height: 16px;
    margin: 0;
}
.custom-file-upload {
    border: 1px solid var(--border-subtle);
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: var(--lightgros-color);
    border-radius: var(--radius-sm);
}

.button-logout {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    background: transparent;
    color: var(--buttonorange-color);
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 13px;
    padding: 7px 14px;
    border: 1.5px solid var(--buttonorange-color);
    width: 100%;
    height: auto;
    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}
.button-logout:hover {
    background: var(--buttonorange-color);
    color: #fff;
}

#search-results div:hover {
    background: rgba(111, 168, 255, 0.08);
}

/* ── Dialogs ── */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 27, 51, 0.15);
    display: none;
    justify-content: center;
    z-index: 1000;
    align-items: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.dialog {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 60%;
    box-shadow: 0 30px 90px rgba(11, 27, 51, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
}
.dialog .line-container {
    justify-content: center;
    font-size: 14px;
}
.dialog .button {
    margin: 0 5px;
    inline-size: fit-content;
}

/* ── Tables ── */
table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    width: 100%;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--shadow-sm);
}
th {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: var(--joligros-color);
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 12px;
    background: linear-gradient(
        180deg,
        rgba(245, 247, 250, 0.85),
        rgba(255, 255, 255, 0)
    );
    text-align: left;
}
td {
    font-size: 13px;
    color: var(--navy);
    border: none;
    border-bottom: 1px solid rgba(11, 27, 51, 0.06);
    padding: 10px 12px;
}
tr:hover {
    background: rgba(11, 27, 51, 0.02);
}
tr:last-child td {
    border-bottom: none;
}

.text-comps {
    display: inline-block;
    font-size: 12px;
    font-style: normal;
    color: var(--muted);
}

.column-3 {
    position: relative;
}
.column-3::before {
    content: "";
    left: -20px;
    position: absolute;
    height: 80%;
    top: 10%;
    width: 1px;
    background-color: rgba(11, 27, 51, 0.15);
}

.text-wrap {
    align-items: center;
}
