        @font-face {
      font-family: 'Geist';
      src: url('/Geist.ttf') format('truetype-variations'), url('/Geist.ttf') format('truetype');
      font-weight: 100 900;
      font-style: normal;
      font-display: swap;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --bg: #000; --bg-elevated: #0a0a0c;
      --text: var(--wc-text); --text-secondary: var(--wc-text-secondary); --text-tertiary: var(--wc-text-tertiary);
      --accent: var(--wc-accent); --separator: var(--wc-separator);
      --card-bg: rgba(255,255,255,0.03); --card-border: rgba(255,255,255,0.08);
      --green: var(--wc-green); --red: var(--wc-red); --orange: var(--wc-orange);
    }
    html, body { background: var(--bg); color: var(--text); font-family: var(--wc-police); -webkit-font-smoothing: antialiased; min-height: 100vh; }
    .bg-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--wc-accent-rgb),0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 100%, rgba(175,82,222,0.07) 0%, transparent 55%); }
    #bubbles-wrap { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
    .bubble { position: absolute; border-radius: 50%; filter: blur(130px); pointer-events: none; will-change: transform; transform: translateZ(0); }
    .b1 { animation: f1 44s ease-in-out infinite; }
    .b2 { animation: f2 60s ease-in-out infinite; }
    .b3 { animation: f3 50s ease-in-out infinite; }
    .b4 { animation: f4 70s ease-in-out infinite; }
    @keyframes f1 { 0%{transform:translate(0,0) scale(1)} 15%{transform:translate(35vw,20vh) scale(1.1)} 35%{transform:translate(60vw,-10vh) scale(0.9)} 55%{transform:translate(20vw,55vh) scale(1.05)} 75%{transform:translate(-10vw,30vh) scale(0.95)} 100%{transform:translate(0,0) scale(1)} }
    @keyframes f2 { 0%{transform:translate(0,0) scale(1)} 20%{transform:translate(-40vw,25vh) scale(1.08)} 40%{transform:translate(-60vw,-20vh) scale(0.93)} 65%{transform:translate(15vw,50vh) scale(1.06)} 85%{transform:translate(-25vw,-35vh) scale(0.97)} 100%{transform:translate(0,0) scale(1)} }
    @keyframes f3 { 0%{transform:translate(0,0) scale(1)} 25%{transform:translate(-30vw,40vh) scale(0.92)} 45%{transform:translate(50vw,30vh) scale(1.07)} 70%{transform:translate(30vw,-40vh) scale(0.96)} 88%{transform:translate(-50vw,10vh) scale(1.04)} 100%{transform:translate(0,0) scale(1)} }
    @keyframes f4 { 0%{transform:translate(0,0) scale(1)} 18%{transform:translate(55vw,-30vh) scale(1.06)} 42%{transform:translate(-20vw,-50vh) scale(0.94)} 68%{transform:translate(40vw,45vh) scale(1.03)} 82%{transform:translate(-45vw,20vh) scale(0.97)} 100%{transform:translate(0,0) scale(1)} }
    .page { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; }

    nav {
      position: sticky; top: 0; z-index: 1000;
      height: 64px;
      display: grid; grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 0 24px;
      background: rgba(0,0,0,0.75);
      backdrop-filter: saturate(180%) blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    nav .brand { justify-self: start; display: inline-flex; align-items: center; height: 100%; }
    nav .brand img { height: 24px; display: block; }
    nav .nav-pill {
      justify-self: center;
      display: inline-flex; align-items: center;
      padding: 6px 14px;
      font-size: 12px; font-weight: 500;
      color: var(--wc-text-secondary);
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--wc-r-pilule);
      max-width: 60vw;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
      line-height: 1;
    }
    nav .nav-user {
      justify-self: end;
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px;
      border-radius: var(--wc-r-pilule);
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      font-size: 12px; font-weight: 500;
      color: var(--wc-text-secondary);
      cursor: pointer;
      transition: all .15s;
      line-height: 1;
    }
    nav .nav-user:hover { background: rgba(255,69,58,0.15); border-color: rgba(255,69,58,0.3); color: var(--wc-red); }
    nav .nav-user .x { opacity: 0.5; font-size: 10px; }
    @media (max-width: 600px) {
      nav { padding: 0 14px; height: 56px; }
      nav .brand img { height: 13px; }
      nav .nav-pill { font-size: 9px; padding: 4px 8px; max-width: 50vw; }
      nav .nav-user { font-size: 10px; padding: 4px 11px; }
    }

    h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
    .subtitle { color: var(--text-secondary); font-size: 15px; margin-bottom: 32px; }

    .tabs { display: flex; gap: 4px; background: rgba(255,255,255,0.05); border-radius: var(--wc-r-m); padding: 4px; margin-bottom: 32px; width: fit-content; }
    .tab { padding: 8px 20px; border-radius: var(--wc-r-s); cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: all .2s; border: none; background: none; }
    .tab.active { background: rgba(255,255,255,0.1); color: var(--text); }

    .section { display: none; }
    .section.active { display: block; }

    /* ─── Toolbar ─── */
    .toolbar { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
    .search-wrap { flex: 1; min-width: 160px; position: relative; }
    .search-wrap input { width: 100%; padding: 10px 12px 10px 36px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--wc-r-m); color: var(--text); font-size: 14px; outline: none; }
    .search-wrap input:focus { border-color: var(--accent); }
    .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: .4; font-size: 14px; }
    select { padding: 10px 12px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--wc-r-m); color: var(--text); font-size: 14px; outline: none; cursor: pointer; }
    select:focus { border-color: var(--accent); }

    /* ─── Buttons ─── */
    .btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--wc-r-m); font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: all .15s; white-space: nowrap; }
    .btn-primary { background: var(--accent); color: #fff; }
    .btn-primary:hover { background: #0a84ff; }
    .btn-secondary { background: rgba(255,255,255,0.08); color: var(--text); }
    .btn-secondary:hover { background: rgba(255,255,255,0.13); }
    .btn-danger { background: rgba(255,69,58,0.15); color: var(--red); }
    .btn-danger:hover { background: rgba(255,69,58,0.25); }
    .btn-sm { padding: 6px 11px; font-size: 13px; border-radius: var(--wc-r-s); }
    .btn-green { background: rgba(48,209,88,0.15); color: var(--green); }
    .btn-green:hover { background: rgba(48,209,88,0.25); }

    /* ─── Items list ─── */
    .cat-group { margin-bottom: 28px; }
    .cat-group-title { font-size: var(--wc-surtitre-taille); font-weight: var(--wc-surtitre-graisse); color: var(--wc-surtitre-couleur); text-transform: var(--wc-surtitre-casse); letter-spacing: var(--wc-surtitre-espacement); padding: 0 0 8px; border-bottom: 1px solid var(--separator); margin-bottom: 4px; }
    .item-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--wc-r-m); transition: background .15s; }
    .item-row:hover { background: rgba(255,255,255,0.04); }
    .item-num { font-size: 12px; font-family: var(--wc-police-mono); color: var(--text-tertiary); width: 44px; flex-shrink: 0; }
    .item-name { font-size: 15px; font-weight: 500; flex: 1; min-width: 0; }
    .item-notes-inline { font-size: 12px; color: var(--text-secondary); margin-left: 8px; }
    .item-actions { display: flex; gap: 6px; flex-shrink: 0; }

    /* ─── Barcode modal ─── */
    .barcode-wrap { background: #fff; border-radius: var(--wc-r-m); padding: 16px; text-align: center; margin: 16px 0 0; }
    .barcode-wrap svg { max-width: 100%; height: auto; }
    .barcode-id { font-size: 13px; color: #333; font-family: var(--wc-police-mono); margin-top: 6px; font-weight: 600; }

    /* ─── Lists ─── */
    .lists-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
    .lists-sidebar { }
    .list-entry { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--wc-r-m); padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .2s; }
    .list-entry:hover, .list-entry.active { border-color: var(--accent); }
    .list-entry-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
    .list-entry-meta { font-size: 12px; color: var(--text-secondary); }
    .list-detail { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--wc-r-l); padding: 24px; }
    .list-detail-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
    .list-detail-title { font-size: 20px; font-weight: 700; }
    .list-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
    .list-items { }
    .list-item-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--wc-r-s); margin: 0 -14px; transition: background 0.15s; }
    .list-item-row:nth-child(odd) { background: rgba(255,255,255,0.025); }
    .list-item-row:hover { background: rgba(255,255,255,0.05); }
    .list-item-name { font-size: 15px; font-weight: 500; }
    .list-item-cat { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
    .empty-list { text-align: center; padding: 40px; color: var(--text-secondary); font-size: 14px; }

    /* ─── Add items to list panel ─── */
    .add-items-panel { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--separator); }
    .add-items-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
    .add-item-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; cursor: pointer; border-radius: var(--wc-r-s); margin: 0 -14px; transition: background 0.15s; }
    .add-item-row:nth-child(odd) { background: rgba(255,255,255,0.025); }
    .add-item-row:hover { background: rgba(255,255,255,0.06); }
    .add-item-info { font-size: 14px; }
    .add-item-row.reserved { opacity: .4; cursor: default; pointer-events: none; }

    /* ─── Status badges ─── */
    .status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--wc-r-xl); font-size: 12px; font-weight: 600; white-space: nowrap; }
    .status-pending  { background: rgba(255,159,10,0.15); color: var(--orange); }
    .status-approved { background: rgba(48,209,88,0.15);  color: var(--green); }
    .status-rejected { background: rgba(255,69,58,0.15);  color: var(--red); }

    /* ─── Checkout ─── */
    .checkout-badge { display:inline-flex; align-items:center; gap:4px; padding:2px 8px; border-radius:var(--wc-r-xl); font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; background:rgba(255,159,10,0.18); color:var(--orange); border:1px solid rgba(255,159,10,0.35); white-space:nowrap; flex-shrink:0; }
    .item-state-badge { display:inline-flex; align-items:center; gap:3px; padding:2px 8px; border-radius:var(--wc-r-xl); font-size:11px; font-weight:700; letter-spacing:.02em; margin-left:6px; white-space:nowrap; flex-shrink:0; }
    /* Calendrier */
    .cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
    .cal-dow { text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--text-secondary); padding:6px 0; }
    .cal-cell { min-height:96px; background:rgba(255,255,255,0.03); border:1px solid var(--card-border); border-radius:var(--wc-r-s); padding:6px; display:flex; flex-direction:column; gap:3px; }
    .cal-cell.cal-empty { background:transparent; border:none; }
    .cal-cell.cal-today { border-color:var(--accent); background:rgba(var(--wc-accent-rgb),0.07); }
    .cal-daynum { font-size:12px; font-weight:600; color:var(--text-secondary); margin-bottom:2px; }
    .cal-today .cal-daynum { color:var(--accent); }
    .cal-pill { font-size:10px; font-weight:600; padding:2px 6px; border-radius:var(--wc-r-xs); cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .cal-pill:hover { filter:brightness(1.3); }
    .cal-more { font-size:10px; color:var(--text-secondary); padding-left:4px; }
    .cal-legend { display:flex; gap:18px; margin-top:14px; font-size:12px; color:var(--text-secondary); }
    .cal-legend span { display:inline-flex; align-items:center; gap:6px; }
    .cal-legend i { width:11px; height:11px; border-radius:3px; display:inline-block; }
    @media (max-width:600px) {
      .cal-cell { min-height:64px; padding:3px; }
      .cal-pill { font-size:8px; padding:1px 3px; }
      .cal-dow { font-size:9px; }
    }
    .btn-checkout { padding:4px 10px; border-radius:var(--wc-r-s); font-size:11px; font-weight:600; cursor:pointer; font-family:inherit; border:none; transition:all .15s; white-space:nowrap; flex-shrink:0; }
    .btn-checkout.out  { background:rgba(255,159,10,0.15); color:var(--orange); border:1px solid rgba(255,159,10,0.35); }
    .btn-checkout.out:hover  { background:rgba(255,159,10,0.28); }
    .btn-checkout.back { background:rgba(48,209,88,0.12); color:var(--green); border:1px solid rgba(48,209,88,0.3); }
    .btn-checkout.back:hover { background:rgba(48,209,88,0.22); }
    .item-row.checked-out .item-name { opacity:.55; }
    .item-row.checked-out { background:rgba(255,159,10,0.04) !important; }

    /* ─── Modal ─── */
    .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; }
    .modal-backdrop.open { display: flex; }
    .modal { background: #111; border: 1px solid var(--card-border); border-radius: var(--wc-r-xl); padding: 28px; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; }
    .modal h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
    .field { margin-bottom: 16px; }
    .field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
    .field input, .field textarea, .field select { width: 100%; padding: 10px 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--card-border); border-radius: var(--wc-r-m); color: var(--text); font-size: 16px; font-family: inherit; outline: none; resize: vertical; }
    .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
    .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }

    /* ─── Mobile ─── */
    @media (max-width: 700px) {
      .page { padding: 20px 16px 100px; }
      nav { padding: 0 14px; height: 56px; margin-bottom: 24px; }
      .brand img { height: 18px; }
      h1 { font-size: 24px; }
      .subtitle { font-size: 14px; margin-bottom: 24px; }
      /* Tabs : scroll horizontal au lieu de tout compresser */
      .tabs { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; }
      .tabs::-webkit-scrollbar { display: none; }
      .tab { flex: 0 0 auto; padding: 8px 14px; font-size: 12px; white-space: nowrap; }
      .toolbar { gap: 8px; }
      .lists-layout { grid-template-columns: 1fr; gap: 0; }
      /* Sur mobile : liste des tournages en scroll horizontal compact */
      .lists-sidebar { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
      .list-entry { border-radius: 0; border-left: 1px solid var(--card-border); border-right: 1px solid var(--card-border); border-top: none; border-bottom: none; margin-bottom: 0; padding: 14px 16px; }
      .list-entry:first-child { border-radius: var(--wc-r-m) var(--wc-r-m) 0 0; border-top: 1px solid var(--card-border); }
      .list-entry:last-child { border-radius: 0 0 var(--wc-r-m) var(--wc-r-m); border-bottom: 1px solid var(--card-border); }
      .list-entry:first-child:last-child { border-radius: var(--wc-r-m); }
      .list-entry + .list-entry { border-top: 1px solid var(--separator); }
      /* Détail liste en plein écran mobile */
      .list-detail { border-radius: var(--wc-r-m); padding: 16px; }
      .list-detail-header { flex-direction: column; gap: 10px; }
      .list-detail-actions { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
      .list-detail-actions .btn-sm { flex-shrink: 0; }
      .list-detail-title { font-size: 17px; }
      /* Items dans la liste */
      .list-item-row { padding: 10px 12px; margin: 0 -12px; gap: 8px; }
      .list-item-name { font-size: 14px; }
      /* Boutons nav plus compacts */
      .nav-right .btn-sm { padding: 5px 9px; font-size: 12px; }
      #user-badge { padding: 4px 9px; font-size: 12px; }
      /* Item rows */
      .item-num { width: 36px; font-size: 11px; }
      .item-row { padding: 10px 8px; }
      .btn-sm { padding: 7px 10px; font-size: 13px; }
      /* Modal full-bottom sur mobile */
      .modal-backdrop { align-items: flex-end; padding: 0; }
      .modal { border-radius: var(--wc-r-xl) var(--wc-r-xl) 0 0; max-height: 92vh; padding: 24px 20px 32px; }
      /* Toolbar listes */
      #tab-lists .toolbar { margin-bottom: 16px; }
      /* Barre recherche + filtres */
      #toolbar-search { margin-bottom: 8px; }
      #toolbar-search .search-wrap { flex: 1 1 100%; }
      #toolbar-search #filter-cat { flex: 1; min-width: 0; }
      #toolbar-search #sort-items { flex: 1; min-width: 0; }
      /* Barre actions : icônes seulement pour les boutons secondaires */
      #toolbar-actions .btn-label { display: none; }
      #toolbar-actions .btn-secondary:not(#btn-filter-shooting) { padding: 9px 11px; }
      #toolbar-actions { margin-bottom: 16px; }
    }
    @media (max-width: 400px) {
      .nav-right .btn-secondary { display: none; }
    }

    /* ─── Print ─── */
    @media print {
      nav, .toolbar, .tabs, .btn, .item-actions, .modal-backdrop { display: none !important; }
      .page { max-width: 100%; padding: 0; }
      .item-row { color: black; border-bottom: 1px solid #eee; }
      .cat-group-title { color: #666; border-color: #ccc; }
    }

  
    /* ── Login overlay harmonisé ── */
    #login-backdrop {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(12px) saturate(0.7);
      z-index: 1900;
      opacity: 0; pointer-events: none;
      transition: opacity .25s;
      display: block;
    }
    #login-backdrop.open { opacity: 1; pointer-events: auto; }
    .login-popover {
      position: fixed; top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: min(340px, calc(100vw - 32px));
      background: rgba(12,18,40,0.97);
      border: 1px solid rgba(var(--wc-accent-rgb),0.2);
      border-radius: var(--wc-r-l); padding: 24px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
      backdrop-filter: blur(20px);
      z-index: 2000; display: none;
    }
    .login-popover.open { display: block; animation: loginPopIn .18s cubic-bezier(0.16,1,0.3,1); }
    @keyframes loginPopIn {
      from { opacity:0; transform: translate(-50%,-50%) scale(0.95); }
      to   { opacity:1; transform: translate(-50%,-50%) scale(1); }
    }
    .login-popover img { height: 28px; display: block; margin: 0 auto 18px; }
    .login-popover h3 { font-size: 14px; font-weight: 600; color: var(--wc-texte-bleute); margin-bottom: 4px; }
    .login-popover p { font-size: 12px; color: var(--wc-gris-nuit); margin-bottom: 14px; }
    .login-popover input {
      width: 100%; padding: 9px 12px;
      background: rgba(10,18,40,0.8);
      border: 1px solid rgba(var(--wc-accent-rgb),0.2);
      border-radius: var(--wc-r-s); color: var(--wc-text);
      font-family: inherit; font-size: 13px;
      outline: none; transition: border-color .2s;
      margin-bottom: 10px; display: block;
    }
    .login-popover input:focus { border-color: var(--wc-accent); }
    .login-popover .pop-btn {
      width: 100%; padding: 9px;
      background: var(--wc-accent); color: #fff;
      border: none; border-radius: var(--wc-r-s);
      font-family: inherit; font-size: 13px; font-weight: 600;
      cursor: pointer; transition: background .15s; display: block;
    }
    .login-popover .pop-btn:hover { background: #1a7fd4; }
    .login-popover .pop-btn-secondary {
      width: 100%; padding: 8px; margin-top: 8px;
      background: transparent; color: var(--wc-bleu-clair);
      border: 1px solid rgba(var(--wc-bleu-clair-rgb),0.25); border-radius: var(--wc-r-s);
      font-family: inherit; font-size: 13px;
      cursor: pointer; transition: background .15s; display: block;
    }
    .login-popover .pop-btn-secondary:hover { background: rgba(var(--wc-bleu-clair-rgb),0.08); }
    .login-popover .pop-error { font-size: 11px; color: var(--wc-rouge-clair); margin-top: 7px; display: none; }
    .login-popover .pop-success { font-size: 11px; color: var(--wc-vert-clair); margin-top: 7px; display: none; }
  
    /* ─── Footer ─── */
    .page-footer {
      padding: 18px 32px;
      border-top: 1px solid rgba(255,255,255,0.07);
      display: flex; justify-content: center; align-items: center;
      font-size: 12px; color: rgba(255,255,255,0.3);
      margin-top: auto;
    }
    .page-footer a { color: rgba(255,255,255,0.3); text-decoration: none; }
    .page-footer a:hover { color: rgba(255,255,255,0.6); }

    /* ── Lignes d'objets : éléments du rendu téléphone, absents sur ordinateur (21/10) ── */
    .item-row .in-num, .item-row .item-plus { display: none; }

    /* ── Téléphone : une ligne lisible par objet, actions dans la feuille (feuille.js) ──
       Avant : 3 à 4 boutons par ligne (40 % de la largeur), noms sur 3 lignes, pastilles
       « Inutilisé » / « Sans étiquette » répétées partout. */
    @media (max-width: 600px) {
      .tab { padding: 11px 15px; font-size: 13px; }
      .item-row { gap: 12px; padding: 11px 6px 11px 10px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06);
        cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
      .item-row:active { background: rgba(255,255,255,.05); }
      .item-row .item-num, .item-row .item-actions { display: none; }
      .item-row .item-thumb { width: 48px !important; height: 48px !important; border-radius: var(--wc-r-m) !important; }
      .item-row .item-name { cursor: pointer !important; }
      .item-row .in-nom { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text, var(--wc-text)); }
      .item-row .in-meta { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--text-secondary);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .item-row .in-num { display: inline; font-family: var(--wc-police-mono); font-size: 12px; opacity: .75; }
      .item-row .in-meta .item-notes-inline { margin-left: 0; font-size: 12.5px; }
      .item-row .in-meta .item-notes-inline::before { content: ' · '; opacity: .6; }
      /* « Inutilisé » marque presque tous les objets : sur téléphone il n'apprend rien et
         ajoutait une 3e ligne à chaque fiche. Les états utiles (panne, tournage…) restent. */
      .item-row .etat-inutilise { display: none !important; }
      .item-row .in-etats:not(:has(> :not(.etat-inutilise))) { display: none; }
      .item-row .in-etats:empty { display: none; }
      .item-row .in-etats { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; }
      /* États en clair, plus de pastilles */
      .item-row .status-badge, .item-row .checkout-badge, .item-row .item-state-badge { background: none !important; border: 0 !important;
        padding: 0 !important; margin: 0 !important; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
      .item-row .item-plus { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
        border: 0; background: rgba(255,255,255,.06); color: var(--text-secondary); pointer-events: none; }
    }

/* Fenêtres : défilement vertical seulement (plus de glissement latéral ni de zoom en faisant défiler) */
.modal-backdrop .modal { overflow-x: hidden; overflow-wrap: anywhere; touch-action: pan-y; }
.modal-backdrop .modal * { touch-action: pan-y; }
