/* [99-zdossier-folder] Dossier en chemise confidentielle (refonte du 22/11/2026) :
   chemise kraft, intercalaires à droite pour les onglets, feuille dactylographiée, tampon « Confidentiel »,
   fiches bristol agrafées à la place des publicités. Plus de journal. */
#dossier-modal .ny-window {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  padding: 16px 0 16px 16px;
  box-sizing: border-box;
  background:
    repeating-linear-gradient(0deg, rgba(90, 60, 25, 0.05) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #c9a66b, #b38c4f 60%, #9c7740);
  border: 1px solid #6e4f28;
  border-radius: 4px 0 4px 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 200, 0.35);
}

/* Intercalaires : à droite de la feuille, le premier en haut, la fermeture en tête */
#dossier-modal .ny-tabs {
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 5px;
  padding: 44px 0 0;
  background: none;
  border: none;
  border-radius: 0;
  position: relative;
}
#dossier-modal .ny-tab {
  flex: 0 0 auto;
  padding: 10px 8px 10px 12px;
  text-align: left;
  font-size: 13px;
  color: #3a2a15;
  background: linear-gradient(90deg, #d8bc86, #e6cf9f);
  border: 1px solid #7a5a2e;
  border-left: none;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
}
#dossier-modal .ny-tab:hover { background: linear-gradient(90deg, #e4cb98, #f1dfb7); }
#dossier-modal .ny-tab.active {
  margin: 0 0 0 -6px;
  padding: 10px 8px 10px 18px;
  color: #1c1309;
  background: #f4efe2;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
#dossier-modal .ny-close {
  position: absolute;
  top: 0;
  right: 10px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  line-height: 30px;
  color: var(--deco-ivory);
  background: var(--deco-charcoal);
  border: 2px solid var(--deco-brass);
  border-radius: 50%;
}
#dossier-modal .ny-close:hover { color: #fff; border-color: var(--deco-brass-hi); }

/* La feuille dactylographiée, tenue par un trombone */
#dossier-modal .ny-paper {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  min-height: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 25px, rgba(120, 140, 170, 0.12) 25px 26px),
    linear-gradient(180deg, #f6f1e4, #ece4d1);
  border: 1px solid #a8946c;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.35);
}
#dossier-modal .ny-paper.cityscapes { background: linear-gradient(180deg, #f6f1e4, #e8dcc3); }

/* En-tête : service, numéro du dossier, heure, tampon */
#dossier-modal .ny-masthead { position: relative; grid-template-columns: 150px 1fr 110px; }
#dossier-modal .ny-tagline { font-size: 11px; line-height: 1.4; border: 1px dashed #8a7a5c; color: #4a4134; text-transform: uppercase; }
#dossier-modal .ny-title {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 34px;
  letter-spacing: 2px;
  color: #2a241b;
  text-shadow: none;
  text-transform: uppercase;
}
#dossier-modal .ny-clock { border: 1px dashed #8a7a5c; color: #4a4134; }
#dossier-modal .ny-stamp {
  position: absolute;
  left: 70px;
  top: 430px;
  z-index: 2;
  padding: 4px 16px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(150, 40, 28, 0.78);
  border: 3px double rgba(150, 40, 28, 0.7);
  transform: rotate(-9deg);
  pointer-events: none;
}
#dossier-modal .ny-dateline { color: #4a4134; border-bottom: 1px solid #8a7a5c; }
#dossier-modal .ny-columns > :first-child { border-right: 1px dashed #8a7a5c; }
#dossier-modal .ny-more a { color: #7a2a1c; }

/* Fiches bristol agrafées */
#dossier-modal .ny-ad {
  position: relative;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 16px 14px;
  text-align: left;
  color: #2a241b;
  background:
    linear-gradient(180deg, transparent 0 30px, rgba(170, 60, 50, 0.45) 30px 31px, transparent 31px),
    repeating-linear-gradient(180deg, transparent 0 19px, rgba(90, 120, 170, 0.22) 19px 20px),
    #fbf8ef;
  border: 1px solid #b9ab8c;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}
#dossier-modal .ny-ad:nth-child(2) { transform: rotate(-1deg); }
#dossier-modal .ny-ad:nth-child(3) { transform: rotate(0.8deg); }
#dossier-modal .ny-ad::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  width: 34px;
  height: 4px;
  margin-left: -17px;
  background: linear-gradient(180deg, #d7d7d7, #8c8c8c);
  border-radius: 1px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}
#dossier-modal .ny-ad-title { font-family: 'Special Elite', 'Courier New', monospace; font-style: normal; font-weight: 400; font-size: 20px; color: #2a241b; }
#dossier-modal .ny-ad-sub { font-size: 13px; color: #4a4134; }
#dossier-modal .ny-ad-btn {
  align-self: flex-end;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--deco-ivory);
  background: var(--deco-bottle);
  border: 1px solid var(--deco-brass);
  border-radius: 0;
}
