/* Bayān 10.31 — Mon travail : archives recherches/laboratoires + audit navbars. */

/* Mīzān possède deux libellés alternatifs : un seul doit être visible à la fois. */
@media (min-width:901px){
  body.app-quran .app-local-nav .nav-label-full{display:inline!important}
  body.app-quran .app-local-nav .nav-label-mobile{display:none!important}
}
@media (max-width:900px){
  body.app-quran .app-local-nav .nav-label-full{display:none!important}
  body.app-quran .app-local-nav .nav-label-mobile{display:block!important;color:inherit!important;font-size:9.4px!important}
}

/* Protection commune desktop/mobile des navbars internes. */
:is(.app-quran,.app-torah,.app-gospels,.app-peshitta) .app-local-nav{
  box-sizing:border-box!important;min-width:0!important
}
:is(.app-quran,.app-torah,.app-gospels,.app-peshitta) .app-local-nav > :is(.nav-button,.nav-btn){
  min-width:0!important;max-width:100%!important
}

/* Sept onglets dans Mon travail, sans scroll horizontal. */
@media (min-width:901px){
  #researchWorkView .v7-tabs{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}
@media (max-width:900px){
  #researchWorkView .v7-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:430px){
  #researchWorkView .v7-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

.v1031-archives-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px;border:1px solid var(--bayaan-border,#d7cba8);border-radius:18px;background:var(--bayaan-surface,#fff)}
.v1031-archives-head h3{margin:3px 0 6px}.v1031-archives-head p{margin:0;color:var(--bayaan-muted,#6f685d);max-width:720px;line-height:1.55}
.v1031-archive-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.v1031-archive-list{display:grid;gap:18px}.v1031-archive-list>section{display:grid;gap:9px}.v1031-archive-list h4{margin:0 0 3px}
.v1031-archive-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border:1px solid var(--bayaan-border,#d7cba8);border-radius:15px;background:var(--bayaan-surface,#fff);color:var(--bayaan-text,#17352e);box-shadow:0 6px 20px rgba(20,50,43,.045)}
.v1031-archive-card>div:first-child{display:grid;gap:4px;min-width:0}.v1031-archive-card strong{overflow-wrap:anywhere}.v1031-archive-card small,.v1031-archive-card p{color:var(--bayaan-muted,#6f685d);margin:0;line-height:1.45}.v1031-kind{width:max-content;padding:4px 8px;border-radius:999px;background:var(--bayaan-surface-2,#f3eee3);color:var(--bayaan-emphasis,#8b6b23);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.v1031-card-actions{display:flex!important;flex-wrap:wrap;gap:6px;justify-content:flex-end;flex:0 0 auto}.v1031-card-actions button{min-height:36px}
@media(max-width:680px){
  .v1031-archives-head,.v1031-archive-card{display:grid}.v1031-archive-actions,.v1031-card-actions{justify-content:stretch!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.v1031-archive-actions button,.v1031-card-actions button{width:100%}
}
.v1031-save-search{margin-left:auto;min-height:34px;padding:6px 11px;border:1px solid var(--bayaan-border,#d7cba8);border-radius:999px;background:var(--bayaan-surface,#fff);color:var(--bayaan-text,#17352e);font-weight:800;cursor:pointer}
@media(max-width:680px){.v1031-save-search{width:100%;margin:6px 0 0}}
