/* isoGo Live — canevas commun (1 unité = 1 px de maquette 1024 × 576) */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: #f6f7fc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.lv-stage { width: 100%; container-type: inline-size; }

.lv {
    --u: calc(100cqw / 1024);
    position: relative;
    width: calc(var(--u) * 1024);
    height: calc(var(--u) * 576);
    margin: 0 auto;
    overflow: hidden;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: #15171d;
}

.lv > * { position: absolute; margin: 0; }

.t {
    display: block;
    line-height: 1;
    white-space: nowrap;
    font-weight: 400;
}

.t a { color: inherit; text-decoration: none; }

.ic {
    position: absolute;
    display: block;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.ic::before { display: block; }

.spark { overflow: visible; }

button, input, select { font: inherit; color: inherit; }

/* =================================================================
   Connexion
   ================================================================= */

.lv-body--login {
    min-height: 100vh;
    background: linear-gradient(90deg, #17304f 0 50%, #fdfdfd 50% 100%);
}

.lv--login { --u: min(calc(100cqw / 1024), calc(100vh / 576)); }

.lg-photo { display: block; object-fit: cover; object-position: 0 0; }

/* Contenu du panneau de connexion, réduit à 90 % et centré dans le panneau (686 → 1024). */
.lg-side {
    left: 0;
    top: 0;
    width: calc(var(--u) * 1024);
    height: calc(var(--u) * 576);
    transform-origin: calc(var(--u) * 842) calc(var(--u) * 288);
    transform: translateX(calc(var(--u) * 13)) scale(0.9);
    pointer-events: none;
}

.lg-side > * {
    position: absolute;
    margin: 0;
    pointer-events: auto;
}

.lg-logo-img {
    display: block;
    object-fit: contain;
    object-position: left top;
    z-index: 2;
}

.lg-bar { background: #ee6517; border-radius: calc(var(--u) * 1); }

.lg-logo {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #072a55;
}

.lg-go { color: #2c7b84; }

.lg-tag {
    font-weight: 500;
    color: #13284a;
}

.lg-h1 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}

.lg-p {
    font-weight: 500;
    color: #fff;
}

.lg-fi { color: #fff; }

.lg-f {
    font-weight: 700;
    color: #fff;
}

.lg-vsep { background: rgba(255, 255, 255, 0.4); }
.lg-vsep--dark { background: #c4c6cc; }

.lg-panel {
    background: #fdfdfd;
    border-radius: calc(var(--u) * 29) 0 0 calc(var(--u) * 29);
}

.lg-lang {
    border: calc(var(--u) * 1) solid #d9dce1;
    border-radius: calc(var(--u) * 5);
    background: #fff;
    box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 3) rgba(20, 24, 40, 0.08);
}

.lg-lang__txt { font-weight: 500; color: #121722; }
.lg-lang__chev { color: #1d2230; }

.lg-lang__sel {
    opacity: 0;
    cursor: pointer;
    border: 0;
}

.lg-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0b1030;
}

.lg-sub { font-weight: 400; color: #4c4f57; }
.lg-err { font-weight: 600; color: #c62828; }

.lg-label { font-weight: 700; color: #10121c; }
.lg-label label { cursor: pointer; }

.lg-input {
    padding: 0 calc(var(--u) * 12) 0 calc(var(--u) * 43.4);
    border: calc(var(--u) * 1.1) solid #cdd0d6;
    border-radius: calc(var(--u) * 7);
    background: #fff;
    font-family: inherit;
    font-size: calc(var(--u) * 11.5);
    font-weight: 500;
    color: #15171d;
    outline: 0;
    box-shadow: 0 calc(var(--u) * 0.6) calc(var(--u) * 1.6) rgba(20, 24, 40, 0.05);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.lg-input::placeholder { color: #7f838b; font-weight: 500; }

.lg-input:focus {
    border-color: #2c7b84;
    box-shadow: 0 0 0 calc(var(--u) * 2.5) rgba(44, 123, 132, 0.15);
}

#lgPwd { padding-right: calc(var(--u) * 34); }

.lg-input__ic { color: #9a9da3; pointer-events: none; }

.lg-eye {
    color: #6e727a;
    cursor: pointer;
}

.lg-btn {
    padding: 0;
    border: 0;
    border-radius: calc(var(--u) * 7);
    background: #00244d;
    cursor: pointer;
    transition: background 0.15s;
}

.lg-btn:hover { background: #063263; }

.lg-btn__txt {
    font-weight: 700;
    color: #fff;
    pointer-events: none;
}

.lg-link {
    font-weight: 500;
    color: #2a6b6c;
}

.lg-link a {
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 0.08em;
}

.lg-ms {
    border: calc(var(--u) * 1.2) solid #b8bbc1;
    border-radius: calc(var(--u) * 7);
    background: #fff;
    box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 2) rgba(20, 24, 40, 0.1);
}

.lg-ms:hover { background: #fafbfc; }

.lg-ms__logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--u) * 1);
    pointer-events: none;
}

.lg-ms__logo i:nth-child(1) { background: #f25022; }
.lg-ms__logo i:nth-child(2) { background: #7fba00; }
.lg-ms__logo i:nth-child(3) { background: #00a4ef; }
.lg-ms__logo i:nth-child(4) { background: #ffb900; }

.lg-ms__txt {
    font-weight: 700;
    color: #11131a;
    pointer-events: none;
}

.lg-hr { background: #d3d4d7; }

.lg-trust__ic { color: #3d7a77; }
.lg-trust { font-weight: 500; color: #3f424a; }

.lg-foot { font-weight: 500; color: #70747c; }

/* ───────── Écrans connectés ───────── */

.lv-body--app { background: #f6f7fc; }
.lv--app { background: #f6f7fc; }
.lv--app a { color: inherit; text-decoration: none; }
.lv--app .t:not(.tb-t), .lv--app .ic { pointer-events: none; }

.sb { background: #f2f5fe; border-right: calc(var(--u) * 1) solid #e7e9f1; }
.sb-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sb-pill { background: #149f26; border-radius: calc(var(--u) * 4); box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 2) rgba(20, 120, 35, .25); }
.sb-hit { border-radius: calc(var(--u) * 4); }
.sb-hit:hover { background: rgba(20, 159, 38, .07); }
.sb-ic { color: #2a2d35; pointer-events: none; }
.sb-t { font-weight: 500; color: #1c1d22; pointer-events: none; }
.sb-ic.is-active, .sb-t.is-active { color: #fff; }
.sb-foot { font-weight: 500; color: #3d4048; }
.sb-ver { color: #6b6f78; }

.hd-ic { color: #2a2d35; pointer-events: none; }
.hd-ic--search { color: #4a4e57; }
.hd-btn { background: none; border: 0; padding: 0; cursor: pointer; border-radius: calc(var(--u) * 3); }
.hd-back { font-weight: 500; color: #23262e; pointer-events: none; }
.hd-search { background: #fff; border: calc(var(--u) * 1) solid #dcdfe6; border-radius: calc(var(--u) * 4); }
.hd-search input {
    display: block; width: 100%; height: 100%; border: 0; outline: 0; background: transparent;
    padding: 0 calc(var(--u) * 8) 0 calc(var(--u) * 22);
    font-size: calc(var(--u) * 8.6); color: #23262e; border-radius: inherit;
}
.hd-search:focus-within { border-color: #149f26; box-shadow: 0 0 0 calc(var(--u) * 2) rgba(20, 159, 38, .15); }
.hd-ph { color: #6c7079; pointer-events: none; }
.hd-search:has(input:not(:placeholder-shown)) ~ .hd-ph { visibility: hidden; }
.hd-badge {
    display: flex; align-items: center; justify-content: center;
    background: #d9261c; color: #fff; border-radius: 50%;
    font-size: calc(var(--u) * 7); font-weight: 700; line-height: 1;
    border: calc(var(--u) * 1) solid #f6f7fc;
}
.hd-date { background: #fff; border: calc(var(--u) * 1) solid #dcdfe6; border-radius: calc(var(--u) * 4); }
.hd-date__t { font-weight: 600; color: #1c1e25; }
.hd-div { background: #dcdfe5; }
.hd-av { border-radius: 50%; object-fit: cover; }
.hd-name { font-weight: 700; color: #15171d; }
.hd-role { color: #50545c; }

/* bannière */
.bn-img { border-radius: calc(var(--u) * 8); object-fit: cover; }
.bn-h { font-weight: 700; color: #fff; }
.bn-p { font-weight: 500; color: #fff; }
.bn-m { font-weight: 500; color: rgba(255, 255, 255, .92); }
.bn-btn { background: #149a25; border-radius: calc(var(--u) * 4); box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 2) rgba(0, 0, 0, .2); }
.bn-btn:hover { background: #118a20; }
.bn-btn--ghost { background: rgba(10, 25, 45, .25); border: calc(var(--u) * 1) solid rgba(255, 255, 255, .85); box-shadow: none; }
.bn-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.bn-btn__ic { color: #fff; pointer-events: none; }
.bn-btn__t { font-weight: 600; color: #fff; pointer-events: none; }

/* onglets */
.tb-line { background: #e3e5ea; }
.tb-ul { background: #1b9a2b; border-radius: calc(var(--u) * 1); }
.tb-t { font-weight: 500; color: #2a2d34; cursor: pointer; }
.tb-t.is-active { font-weight: 600; color: #101217; }
.tb-sep { background: #cfd2d8; }
.tb-badge {
    display: flex; align-items: center; justify-content: center;
    background: #f06d0d; color: #fff; border-radius: calc(var(--u) * 3);
    font-size: calc(var(--u) * 8); font-weight: 700; line-height: 1;
}

/* cartes */
.cd {
    background: #fff;
    border: calc(var(--u) * 1) solid #e6e8ee;
    border-radius: calc(var(--u) * 6);
    box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 3) rgba(30, 40, 80, .05);
}
.cd-h { font-weight: 700; color: #111318; }
.cd-sub { color: #4a4e57; }
.cd-hic { color: #22252c; }

.kp-tile { border-radius: calc(var(--u) * 6); }
.kp-tile--g { background: #1aa02c; }
.kp-tile--b { background: #0661e1; }
.kp-tile--p { background: #5824ef; }
.kp-tile--o { background: #f67105; }
.kp-ic { color: #fff; }
.kp-title { font-weight: 600; color: #20232b; }
.kp-val { font-weight: 700; }
.kp-val--g { color: #178e28; }
.kp-val--b { color: #0a55c9; }
.kp-val--p { color: #4f22d8; }
.kp-val--o { color: #f07010; }

.ic-g { color: #1a922b; }
.ic-b { color: #1d5fd0; }
.ic-p { color: #5a35d8; }
.ic-o { color: #ee7d16; }
.ic-r { color: #d32a22; }

/* tableau klanten */
.tbl { border: calc(var(--u) * 1) solid #e8eaef; border-radius: calc(var(--u) * 5); }
.tbl-hl { background: #eef8f0; }
.tbl-line { background: #eceef2; }
.tbl-th { font-weight: 500; color: #30333a; }
.av {
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff; font-weight: 700;
    font-size: calc(var(--u) * 9); line-height: 1;
}
.tbl-name { font-weight: 700; color: #121419; }
.tbl-td { font-weight: 500; color: #23262e; }
.tbl-pct { font-weight: 700; color: #15171d; }
.bar { background: #e4e6ec; border-radius: calc(var(--u) * 3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; }
.bar--g { background: #178e2d; }
.bar--y { background: #f4b325; }
.bar--r { background: #e4513e; }
.tbl-open { font-weight: 700; }
.tbl-open--r { color: #d8261e; }
.tbl-open--o { color: #ee7d16; }
.tbl-open--d { color: #2c2f36; }
.st { border-radius: calc(var(--u) * 3); }
.st--warn { background: #fdefdc; }
.st--ok { background: #e2f3e4; }
.st--review { background: #fdeedd; }
.st--new { background: #e2ecfd; }
.st-ic--warn, .st-ic--review { color: #ef8a16; }
.st-ic--ok { color: #1a922b; }
.st-ic--new { color: #2463d6; }
.st-t { font-weight: 500; }
.st-t--warn, .st-t--review { color: #a8570a; }
.st-t--ok { color: #1c6f2a; }
.st-t--new { color: #1f4fae; }
.tbl-more { color: #3a3d45; }
.btn-g { background: #169a28; border-radius: calc(var(--u) * 3); }
.btn-g:hover { background: #118a20; }
.btn-g__t, .btn-g__ic { color: #fff; font-weight: 600; pointer-events: none; }
.btn-o { background: #fff; border: calc(var(--u) * 1) solid #cfd2d8; border-radius: calc(var(--u) * 3); }
.btn-o:hover { background: #f6f7f9; }
.btn-o__ic { color: #2a2d35; pointer-events: none; }
.btn-o__t { font-weight: 500; color: #23262e; pointer-events: none; }

/* vandaag / direct / snelle acties */
.vd-bar { background: #1f8f2e; border-radius: calc(var(--u) * 1.5); }
.vd-time { background: #e6f4e8; border-radius: calc(var(--u) * 3); }
.vd-time__t { font-weight: 700; color: #1b7a2b; }
.vd-name { font-weight: 700; color: #15171d; }
.vd-sub { color: #3d4048; }
.da-row { border: calc(var(--u) * 1) solid #eceef2; border-radius: calc(var(--u) * 3); background: #fff; }
.da-row:hover { background: #f8f9fb; }
.da-t { font-weight: 500; color: #23262e; pointer-events: none; }
.da-t--r { font-weight: 600; color: #cc2a24; }
.da-chev { color: #3a3d45; }
.qa { background: #fff; border: calc(var(--u) * 1) solid #d9dce2; border-radius: calc(var(--u) * 4); box-shadow: 0 calc(var(--u) * .5) calc(var(--u) * 1.5) rgba(30, 40, 80, .06); }
.qa:hover { background: #f6faf6; border-color: #b9dcbd; }
.qa-t { font-weight: 600; color: #1f2229; pointer-events: none; }
.qa-chev { color: #3a3d45; pointer-events: none; }

/* werkstroom */
.ws-line { background: #d3d5d9; }
.ws-line--done { background: #1f8f2e; }
.ws-c { display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-size: calc(var(--u) * 15); }
.ws-c--done { background: #1a922b; }
.ws-c--active { background: #f1fbf3; border: calc(var(--u) * 2) solid #1a922b; }
.ws-c--todo { background: #f4f5f6; border: calc(var(--u) * 2) solid #b9bcc1; }
.ws-n { font-weight: 600; }
.ws-n--active { color: #1a922b; }
.ws-n--todo { color: #6a6d73; }
.ws-l { font-weight: 600; color: #1f2229; }
.ws-p { border-radius: calc(var(--u) * 3); }
.ws-p--done, .ws-p--active { background: #def0df; }
.ws-p--todo { background: #e2e3e6; }
.ws-pt { font-weight: 700; }
.ws-pt--done, .ws-pt--active { color: #1c7a2b; }
.ws-pt--todo { color: #3a3d45; }

.as-tile { border-radius: calc(var(--u) * 5); }
.as-tile--b { background: #e6effd; }
.as-tile--g { background: #e6f4e8; }
.as-tile--o { background: #fdf0e1; }
.as-l { font-weight: 500; color: #23262e; }
.as-n { font-weight: 700; }

.lnk { font-weight: 600; color: #213a9a; pointer-events: none; }
.lnk-hit { border-radius: calc(var(--u) * 3); }
.ra-line { background: #eef0f3; }
.ra-ic { border-radius: 50%; }
.ra-ic--g { background: #e3f4e6; }
.ra-ic--b { background: #e3ecfd; }
.ra-ic--p { background: #ebe6fd; }
.ra-ic--o { background: #fdeedd; }
.ra-t b { font-weight: 700; color: #15171d; }
.ra-t { color: #3a3d45; }
.ra-time { color: #50545c; }

.wk-hl { background: #e6f4e8; border-radius: calc(var(--u) * 2); }
.wk-line { background: #eef0f3; }
.wk-vline { background: #e3e5ea; }
.wk-d, .wk-date { color: #3a3d45; }
.wk-d.is-hl, .wk-date.is-hl { color: #1b7a2b; font-weight: 600; }
.wk-time { font-weight: 700; color: #15171d; }
.wk-ev { color: #3a3d45; }
.wk-ev b { font-weight: 700; color: #15171d; }
.wk-none { color: #5a5e66; }

.dq-ok { background: #e3f4e6; border-radius: 50%; }
.dq-t { font-weight: 500; color: #23262e; }
.dq-n { font-weight: 700; color: #d8261e; }

.msg { background: #fbfcfe; border: calc(var(--u) * 1) solid #e6e8ee; border-radius: calc(var(--u) * 4); }
.msg:hover { background: #f4f6fb; }
.msg-s { font-weight: 700; color: #15171d; pointer-events: none; }
.msg-t { color: #3a3d45; pointer-events: none; }

/* fiche klant */
.kl-logo { background: #fff; border-radius: calc(var(--u) * 5); overflow: hidden; }
.kl-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kl-pill { border-radius: calc(var(--u) * 6); }
.kl-pill--ok { background: #e9f6ea; }
.kl-pill__t--ok { font-weight: 600; color: #15171d; }
.kl-pill--warn { background: rgba(150, 85, 30, .55); border: calc(var(--u) * 1) solid rgba(240, 160, 90, .8); }
.kl-warn-ic { color: #ffb020; }
.kl-vsep { background: rgba(255, 255, 255, .35); }
.tb-badge--wide { font-size: calc(var(--u) * 7.6); }
.kp-tile--round { border-radius: 50%; }
.kp-tile--r { background: #ee3f2d; }
.kp-val--r { color: #f07010; }
.ic-n { color: #6a6d73; }
.tbl-th--b { font-weight: 700; color: #15171d; }
.st--plan { background: #eceef1; }
.st--late { background: #fde7e5; }
.st-ic--plan { color: #2a2d35; }
.st-ic--late { color: #d32a22; }
.st-t--plan { color: #23262e; }
.st-t--late { color: #c0261f; }
.pr { border-radius: calc(var(--u) * 3); }
.pr--hoog { background: #fde3e1; }
.pr--mid { background: #fdeedb; }
.pr--laag { background: #e2f3e4; }
.pr-ic--hoog, .pr-t--hoog { color: #d32a22; }
.pr-ic--mid, .pr-t--mid { color: #e5770f; }
.pr-ic--laag, .pr-t--laag { color: #1a922b; }
.pr-t { font-weight: 600; }
.fd-img { border-radius: calc(var(--u) * 3); object-fit: cover; }
.ra-ic--sq { border-radius: calc(var(--u) * 3); }
.ra-t--d { font-weight: 500; color: #1f2229; }
.ct-mail { background: #fff; border: calc(var(--u) * 1) solid #dfe2e8; border-radius: calc(var(--u) * 4); }
.ct-mail:hover { background: #f4f6fa; }
.ms-line { background: #cfe5d2; }
.ms-dot { background: #fff; border: calc(var(--u) * 1.5) solid #1a922b; border-radius: 50%; }
.ms-date { background: #e6f4e8; border-radius: calc(var(--u) * 3); }
.ms-date__t { font-weight: 700; color: #1c3a22; }
