:root {
  --navy: #102C5A; --blue: #1238A8; --blue-dark: #0B2780; --blue-soft: #EEF2FB;
  --orange: #D9480F; --ink: #14212E; --muted: #4A5866; --line: #D8DEE4; --line-soft: #EEF1F4;
  --field: #B7C2CD; --bg: #F3F5F7;
  --ok-bg: #E6F4EA; --ok-fg: #14532D; --wait-bg: #FFF4E5; --wait-fg: #6B3F00;
  --err-bg: #FDECEC; --err-fg: #8A1C1C;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Roboto, 'Segoe UI', system-ui, sans-serif; color: var(--ink); background: var(--navy);
  font-size: 16px; line-height: 1.4; -webkit-tap-highlight-color: transparent; overscroll-behavior: none;
  padding-top: env(safe-area-inset-top); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
#app { min-height: 100%; display: flex; flex-direction: column; background: var(--bg); }
.hidden { display: none !important; }
/* BO PATCH 124 : la barre d'état de l'iPhone ne recouvre plus l'en-tête quand on fait défiler. */
body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); background: var(--navy); z-index: 60; }
.li-form select { color: var(--navy); }
.pay-opts { display: grid; gap: 10px; }
.item .txt small { display: block; }
.tabbar.corp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; }
.seg.chips button { flex: 1 1 auto; min-width: 0; padding: 8px 10px; font-size: 13px; }
.t-ERR { background: var(--err-bg, #fdecea); color: var(--err-fg, #a12622); }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.pay-opt input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.pay-opt.on { border-color: var(--blue); background: #f2f6ff; }
.pay-opt .grow { flex: 1; min-width: 0; }
.pay-opt b { display: block; font-size: 16px; color: var(--navy); }
.pay-opt .price { font-size: 19px; font-weight: 800; color: var(--navy); }
.pay-opt s, .pay-opt small { color: var(--muted); font-size: 13px; }
.pay-opt .remise { background: #e8f6ee; color: #1d6b3f; border-radius: 8px; padding: 1px 7px; font-size: 12px; font-weight: 800; margin-left: 6px; }
.pay-opt .info { display: none; margin-top: 6px; font-size: 13px; color: var(--muted); }
.pay-opt.on .info { display: block; }
.pay-opt .info strong { display: block; color: var(--navy); font-size: 16px; user-select: all; }

/* Bandeau */
.top { background: var(--navy); color: #fff; padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.top-logo { height: 32px; width: auto; display: block; }
.top small { font-size: 13px; color: #C9D8E6; }
/* BO PATCH 123 : déconnexion toujours accessible + vérification de liste */
.top-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top-right small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-out { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: 13px; }
.li-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.li-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13px; color: var(--navy); }
.li-form label { min-width: 0; }
.li-form select, .li-form input { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; text-align: left; height: 46px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 12px; font-size: 15px; background: #fff; }
.li-form input[type=file] { padding: 10px 12px; height: auto; font-size: 13px; }
.li-form input[type=date]::-webkit-date-and-time-value { text-align: left; }
.li-form .btn { width: 100%; box-sizing: border-box; }
.li-form select { padding-right: 38px; background: #fff 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='%23102c5a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.li-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.li-row input { width: 22px; height: 22px; flex: none; }
.li-row .grow { flex: 1; min-width: 0; }
.li-row small { display: block; color: var(--muted); }
.li-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.li-chip { border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: 13px; background: #eef2f7; color: var(--navy); }
.li-chip.ok { background: #e8f6ee; color: #1d6b3f; } .li-chip.warn { background: #fff4e5; color: #9a5b00; }
.btn.red-out { background: #fff; color: #a12622; border: 1px solid #f3c2bd; }
.top h1 { margin: 0; font-size: 23px; font-weight: 700; }
.back { width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: rgba(255,255,255,.12); padding: 4px; border-radius: 12px; }
.seg button { height: 40px; border: 0; border-radius: 9px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; }
.seg button.on { background: #fff; color: var(--navy); }

main.page { flex: 1; padding: 14px 16px calc(116px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pad { padding: 16px 18px; }
.item { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.item .l1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.item b { font-size: 19px; }
.item .sub { font-size: 14px; color: var(--muted); }
.tag { height: 28px; padding: 0 10px; border-radius: 14px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; white-space: nowrap; }
.t-A_LA_FRONTIERE { background: var(--wait-bg); color: var(--wait-fg); }
.t-SORTI { background: var(--ok-bg); color: var(--ok-fg); }
.t-CONSTATE { background: var(--blue-soft); color: var(--blue-dark); }
.t-ENREGISTRE { background: var(--line-soft); color: var(--muted); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); }
.banner { padding: 12px 14px; border-radius: 12px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.banner.info { background: var(--blue-soft); color: var(--blue-dark); }
.banner.warn { background: var(--wait-bg); color: var(--wait-fg); }
.banner.err { background: var(--err-bg); color: var(--err-fg); }
.banner .grow { flex: 1; }

/* Recherche */
.search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 12px; background: #fff; color: var(--muted); }
.search input { border: 0; flex: 1; font-size: 18px; font-weight: 600; color: var(--ink); background: transparent; min-width: 0; outline: none; }
.result { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.result .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.result b { font-size: 18px; }
.result span { font-size: 13px; color: var(--muted); }
.btn { height: 48px; border-radius: 12px; border: 0; font-weight: 700; font-size: 16px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.orange { background: var(--orange); color: #fff; }
.btn.ghost { background: #fff; border: 2px solid var(--field); color: var(--muted); }
.btn.done { background: var(--ok-bg); color: var(--ok-fg); }
.btn.sm { height: 44px; font-size: 14px; padding: 0 14px; }
.btn[disabled] { opacity: .6; }
.wide { width: 100%; }

/* Fiche */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 14px; }
.step .rail { display: flex; flex-direction: column; align-items: center; width: 18px; }
.step .dot { width: 16px; height: 16px; border-radius: 8px; background: var(--blue); flex: none; }
.step .dot.off { background: #fff; border: 2px solid var(--field); }
.step .bar { width: 2px; flex: 1; background: var(--line); }
.step .bd { flex: 1; padding-bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.step .bd b { font-size: 16px; }
.step .bd span { font-size: 14px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts span { font-size: 13px; color: var(--muted); }
.facts b { font-size: 15px; overflow-wrap: anywhere; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photos button { padding: 0; border: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #CBD5DF; position: relative; }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos em { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 12px; background: rgba(16,44,90,.8); color: #fff; padding: 2px 6px; border-radius: 6px; }
h2 { margin: 0; font-size: 16px; }

/* Alertes, compte */
.ev { display: flex; gap: 12px; align-items: center; }
.ev .ic { width: 40px; height: 40px; border-radius: 20px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.ic.ph-E { background: var(--blue-soft); color: var(--blue-dark); }
.ic.ph-S { background: var(--ok-bg); color: var(--ok-fg); }
.ic.ph-C { background: var(--wait-bg); color: var(--wait-fg); }
.ev .t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ev .t b { font-size: 15px; }
.ev .t span { font-size: 13px; color: var(--muted); }
.ev.new { border-color: var(--blue); }
.gauge { height: 10px; border-radius: 5px; background: var(--line-soft); overflow: hidden; }
.gauge div { height: 100%; background: var(--blue); }
.label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .3px; }
.rowline { min-height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); gap: 10px; }
.rowline:last-child { border-bottom: 0; }

/* Navigation */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); z-index: 20; }
.tabbar button { height: 64px; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: 12px; font-weight: 600; position: relative; }
.tabbar button.on { color: var(--blue); font-weight: 700; }
.badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Connexion */
.login { flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.login-head { background: var(--navy); color: #fff; padding: 48px 26px 32px; border-radius: 0 0 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.login-head img { width: 150px; }
.login-head h1 { margin: 0; font-size: 27px; line-height: 1.15; }
.login-head p { margin: 0; font-size: 16px; color: #D6E2EE; }
.login form { padding: 26px; display: flex; flex-direction: column; gap: 16px; max-width: 480px; width: 100%; margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input { height: 54px; padding: 0 16px; border: 2px solid var(--field); border-radius: 12px; background: #fff; font-size: 17px; width: 100%; }
.field input:focus { outline: none; border-color: var(--blue); }
.pwd { position: relative; }
.pwd button { position: absolute; right: 6px; top: 5px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); }
.center { text-align: center; font-size: 14px; color: var(--muted); margin: 0; }

.modal-bg { position: fixed; inset: 0; background: rgba(20,33,46,.8); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal-bg img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; z-index: 60; max-width: 90vw; }
.spin { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sp .8s linear infinite; display: inline-block; }
@keyframes sp { to { transform: rotate(360deg); } }
@media (min-width: 700px) { main.page { max-width: 720px; width: 100%; margin: 0 auto; } }
.seg.seg-light { background: var(--line-soft); }
.seg.seg-light button { color: var(--muted); }
.seg.seg-light button.on { background: var(--blue); color: #fff; }
/* Quotas (patch 104) */
.quota { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 14px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); font-size: 14px; color: var(--muted); cursor: pointer; }
.quota b { color: var(--ink); }
.quota b.high { color: var(--wait-fg); }
.quota b.full { color: var(--err-fg); }
.quota .sep { color: var(--field); }
.gauge div.g-high { background: #E8890C; }
.gauge div.g-full { background: var(--orange); }
/* Patch 106 : parité avec le portail web */
.col { display: flex; flex-direction: column; gap: 10px; }
.row-sb { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sub-m { font-size: 13px; color: var(--muted); }
.quota .grow-r { margin-left: auto; color: var(--muted); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi b { font-size: 24px; color: var(--navy); }
.kpi small { font-size: 12px; color: var(--muted); }
.shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shortcuts button { min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--navy); font-weight: 700; font-size: 14px; text-align: left; }
.link { border: 0; background: none; color: var(--blue); font-weight: 700; font-size: 14px; padding: 8px 0; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar .btn { height: 40px; }
.btn.active { border-color: var(--blue); color: var(--blue); }
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.filters label.full, .filters .two { grid-column: 1 / -1; }
.filters select, .filters input { height: 44px; border: 2px solid var(--field); border-radius: 10px; padding: 0 10px; background: #fff; font-size: 15px; color: var(--ink); width: 100%; min-width: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item-wrap { display: flex; flex-direction: column; }
.item-wrap .item { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.item-wrap:not(:has(.item-x)) .item { border-radius: 14px; }
.item-x { height: 40px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: #fff; color: var(--err-fg); font-weight: 700; font-size: 14px; }
.item .state { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 10px; }
.item .state.live { background: var(--ok-bg); color: var(--ok-fg); }
.item .state.done { background: var(--blue-soft); color: var(--blue-dark); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.selbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.selbar label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.selbar input, .chk { width: 22px; height: 22px; flex: none; accent-color: var(--blue); }
.chk.done { display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--ok-bg); color: var(--ok-fg); font-size: 13px; font-weight: 700; }
.hint { margin: 0; font-size: 13px; color: var(--muted); }
.addsel { position: fixed; left: 16px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 15; box-shadow: 0 6px 18px rgba(16,44,90,.25); }
.addsel[disabled] { opacity: .55; }
.hist { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.hist:last-child { border-bottom: 0; }
.hist span { color: var(--muted); font-size: 13px; }
.btn.doc { justify-content: flex-start; color: var(--blue); }
.btn.doc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field input { width: 100%; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } .shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .addsel { left: 50%; right: auto; transform: translateX(-50%); width: 420px; } }
.toast { bottom: calc(140px + env(safe-area-inset-bottom)); }
/* Import / Export séparés */
.opswitch { margin-top: 2px; }
.opswitch button { font-size: 15px; }
.opname { font-weight: 800; color: var(--navy); }
.quota .opname { background: var(--blue-soft); color: var(--blue-dark); padding: 2px 8px; border-radius: 8px; font-size: 12px; }
/* Patch 108 : packing Whisky */
.t-EN_ROUTE { background: var(--wait-bg); color: var(--wait-fg); }
.t-AU_PACKING { background: #FFF4E5; color: #9A3412; }
.t-SORTI_PACKING { background: var(--ok-bg); color: var(--ok-fg); }
/* BO PATCH 109 : archive (Clôturés / Retirés) et sélection pour impression */
.banner.ok { background: var(--ok-bg); color: var(--ok-fg); }
.item .state.gone { background: var(--err-bg); color: var(--err-fg); }
.arc-item { flex-direction: row; align-items: stretch; gap: 0; }
.arc-item .item { flex: 1; min-width: 0; border-radius: 0 14px 14px 0 !important; }
.arc-check { display: flex; align-items: center; justify-content: center; width: 48px; flex: 0 0 48px; background: #fff; border: 1px solid var(--line); border-right: 0; border-radius: 14px 0 0 14px; }
.arc-check input, .arc-opt input { width: 22px; height: 22px; accent-color: var(--blue); }
.arc-item.is-sel .arc-check, .arc-item.is-sel .item { border-color: var(--blue); background: var(--blue-soft); }
.arc-opt { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.arc-bar .row-sb { flex-direction: column; align-items: flex-start; gap: 10px; }
.arc-bar .arc-opt { white-space: nowrap; }
/* BO PATCH 109 : iPhone — les champs date ne dépassent plus de la carte */
.filters input[type=date] { -webkit-appearance: none; appearance: none; display: block; box-sizing: border-box; max-width: 100%; line-height: 40px; text-align: left; }
.filters input[type=date]::-webkit-date-and-time-value { text-align: left; }
/* BO PATCH 110 (1.7.1) : 6 onglets, sélection dans Mes suivis et l'archive */
.tabbar button { font-size: 10.5px; gap: 2px; padding: 0 1px; letter-spacing: -.1px; white-space: nowrap; overflow: hidden; }
.tabbar button svg { width: 22px; height: 22px; }
@media (max-width: 360px) { .tabbar button { font-size: 9.5px; } }
.pickable { flex-direction: column; }
.pick-row { display: flex; align-items: stretch; }
.pick-row .item { flex: 1; min-width: 0; border-radius: 0 14px 14px 0 !important; }
.pick-row .arc-check { border-radius: 14px 0 0 14px; }
.pickable.has-x .pick-row .item { border-radius: 0 14px 0 0 !important; }
.pickable.has-x .pick-row .arc-check { border-radius: 14px 0 0 0; }
.pickable.is-sel .arc-check, .pickable.is-sel .item { border-color: var(--blue); background: var(--blue-soft); }
/* BO PATCH 113 : notifications */
.ev-clo { font-style: normal; font-weight: 700; color: var(--ok-fg); }

/* BO PATCH 129 : application Corporate alignée sur le portail */
.tabbar.corp { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tabbar.corp button { font-size: 11px; }
.t-EXPIRE { background: #ECEFF3; color: #5B6673; text-decoration: line-through; }
.corp-search { border: 1px solid var(--line); }
.ckpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ckpis .kpi { text-align: left; cursor: pointer; font: inherit; }
.ckpis .kpi b { font-size: 22px; }
.ckpis .kpi.k-late { background: var(--err-bg); border-color: #F3B4B4; }
.ckpis .kpi.k-late b, .ckpis .kpi.k-late span { color: var(--err-fg); }
.ckpis .kpi.k-verif { background: var(--wait-bg); border-color: #F5D29A; }
.ckpis .kpi.k-verif b, .ckpis .kpi.k-verif span { color: var(--wait-fg); }
.item.is-late { border-left: 5px solid #C62828; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.pill { border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; }
.pill.late { background: var(--err-bg); color: var(--err-fg); }
.pill.verif { background: var(--wait-bg); color: var(--wait-fg); }
.item small.eta { color: var(--blue-dark); font-weight: 700; }
.banner.wide-btn { width: 100%; border: 0; text-align: left; font: inherit; font-weight: 700; cursor: pointer; }
.banner:not(.info):not(.warn):not(.err) { background: var(--line-soft); color: var(--muted); }
@media (min-width: 700px) { .ckpis { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* BO PATCH 129b : filtres alignés à gauche, sans étirement */
.seg.chips { justify-content: flex-start; }
.seg.chips button { flex: 0 0 auto; }
/* BO PATCH 129c : mouvements BO ouvrables dans l'application */
.item.mvt-link { padding: 10px 12px; }
.item.mvt-link .go { color: var(--blue); font-weight: 700; font-size: 13px; }
/* BO PATCH 130 : outils Corporate */
.ctools .card { cursor: pointer; }
.ctools .cnt { font-style: normal; background: var(--orange); color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 12px; margin-left: 4px; }
.cbars { display: flex; align-items: flex-end; gap: 4px; height: 130px; }
.cbar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--muted); }
.cbar div { width: 100%; max-width: 22px; background: var(--blue); border-radius: 4px 4px 0 0; position: relative; }
.cbar div.z { background: var(--line); }
.cbar div i { position: absolute; left: 0; right: 0; bottom: 0; background: #16a34a; border-radius: 4px 4px 0 0; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: middle; }
.lg.b { background: var(--blue); } .lg.g { background: #16a34a; }
.ctable { display: flex; flex-direction: column; }
.crow { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.crow > b:first-child { width: 100%; color: var(--ink); font-size: 15px; }
.crow > small { width: 100%; margin-top: -4px; }
.crow span b { color: var(--navy); }
.crow.cmp .ok { color: var(--ok-fg); font-weight: 800; } .crow.cmp .ko { color: var(--err-fg); font-weight: 800; }
.csites { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.csite { flex-direction: row !important; align-items: center; gap: 8px !important; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-weight: 600 !important; }
.csite input { width: 20px; height: 20px; }
.li-form textarea { border: 2px solid var(--field); border-radius: 10px; padding: 10px; font: inherit; }
.li-form input[type=checkbox] { -webkit-appearance: auto; appearance: auto; width: 20px; height: 20px; padding: 0; flex: none; accent-color: var(--blue); }

/* BO PATCH 131 : quotas Corporate */
.qcard .qline { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.qbar { display: block; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.qbar i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
/* BO PATCH 131b : sélecteur Import / Export */
.opseg { margin-bottom: 10px; }
.opseg em { font-style: normal; font-weight: 800; opacity: .75; margin-left: 4px; }
