/* Opus — le sole regole che Bootstrap non copre: il logotipo, la pagina d’accesso, l’editor visuale dei testi, la galleria delle immagini, l’elenco delle schede, la selezione multipla, gli artisti collegati, il regesto dei documenti, gli elementi degli oggetti complessi, la struttura della scheda. */
/* Logotipo: Schibsted Grotesk ExtraBold (Google Fonts, licenza OFL), in locale in assets/vendor */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url(vendor/schibsted-grotesk/schibsted-grotesk-800-latin.woff2) format('woff2'); }
.opus-logo { font-family: 'Schibsted Grotesk', var(--bs-body-font-family); font-weight: 800; letter-spacing: -.02em; }
/* Ritocchi generali: tipografia più calibrata, menu e finestre sollevati, voci attive a pillola (ombre e raggi dal tema) */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background-color: rgba(var(--bs-primary-rgb), .25); }
h1, .h1, h2, .h2, h3, .h3 { font-weight: 600; letter-spacing: -.015em; }
.form-label { font-weight: 500; }
.btn { --bs-btn-font-weight: 500; }
/* La barra ha uno z-index sopra le barre sticky (1020), così i suoi menu non finiscono sotto la barra degli strumenti dell’editor */
.navbar { --bs-navbar-nav-link-padding-x: .75rem; z-index: 1030; }
.navbar-nav { gap: .125rem; }
/* I menu a tendina del modulo (qualificatore, ricerca artisti…) passano sopra le barre sticky (1020) dell'editor e del
   salvataggio quando si aprono verso l'alto o verso il basso; restano sotto la barra di navigazione (1030) e le finestre */
.dropdown-menu { --bs-dropdown-zindex: 1025; }
.navbar-nav .nav-link { border-radius: var(--bs-border-radius); transition: color .15s, background-color .15s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible { background-color: var(--bs-secondary-bg); }
.navbar-nav .nav-link.active { background-color: var(--op-active, var(--bs-primary-bg-subtle)); font-weight: 500; }
@media (max-width: 991.98px) { .navbar-nav .nav-link { padding-left: .75rem; padding-right: .75rem; } }
.nav-pills { --bs-nav-pills-border-radius: var(--bs-border-radius-pill); gap: .25rem; }
.nav-pills .nav-link:not(.active):hover { background-color: var(--bs-secondary-bg); }
.card { --bs-card-cap-bg: transparent; --bs-card-border-radius: var(--bs-border-radius-lg); box-shadow: var(--op-shadow, none); }
.list-group { --bs-list-group-border-color: var(--bs-border-color-translucent); }
.table { --bs-table-border-color: var(--bs-border-color-translucent); }
.table > thead th { font-weight: 600; color: var(--bs-secondary-color); }
.dropdown-menu {
  --bs-dropdown-padding-x: .375rem; --bs-dropdown-item-padding-x: .75rem; --bs-dropdown-item-border-radius: var(--bs-border-radius-sm);
  --bs-dropdown-border-radius: var(--bs-border-radius-lg); --bs-dropdown-header-padding-x: .75rem;
  box-shadow: var(--op-shadow-lg, var(--bs-box-shadow));
}
.modal { --bs-modal-border-radius: var(--bs-border-radius-xl); --bs-modal-border-color: var(--bs-border-color-translucent); --bs-modal-header-border-color: var(--bs-border-color-translucent); --bs-modal-footer-border-color: var(--bs-border-color-translucent); }
.modal-content { box-shadow: var(--op-shadow-lg, var(--bs-box-shadow)); }
.alert { --bs-alert-border-radius: var(--bs-border-radius-lg); }
.badge { --bs-badge-font-weight: 600; }
.mk-editor { position: relative; overflow-wrap: anywhere; }
.mk-editor.is-empty::before { content: attr(data-placeholder); position: absolute; color: var(--bs-secondary-color); pointer-events: none; }
.mk-editor p, .mk-editor ul { margin-bottom: 0; }
.mk-editor h2, .mk-editor h3 { font-size: 1.15rem; margin: .75rem 0 .25rem; }
.mk-text { min-height: 5rem; }
.mk-long { min-height: 15rem; }
.mk-scope { counter-reset: mknote; }
.mk-note.badge { display: inline-block; cursor: pointer; font-size: .6em; vertical-align: super; margin: 0 .1em; } /* il numero è generato: Bootstrap nasconderebbe il badge «vuoto» */
.mk-note::after { counter-increment: mknote; content: counter(mknote); }
/* Elenco schede: miniatura contenuta e centrata in un quadrato di 120 px (72 px sul telefono) */
.work-thumb { --size: 120px; flex: 0 0 var(--size); width: var(--size); height: var(--size); display: flex; align-items: center; justify-content: center; }
.work-thumb img { max-width: 100%; max-height: 100%; }
.work-text { min-width: 0; overflow-wrap: break-word; }
.work-title { font-size: 1.25rem; }
@media (max-width: 575.98px) {
  .work-thumb { --size: 72px; }
  .work-title { font-size: 1.05rem; }
}
/* Selezione multipla (stile Google Drive): la casella compare al passaggio del mouse (sempre, sugli schermi a sfioramento
   e mentre si seleziona), le righe scelte si colorano e la barra delle azioni copre i filtri e resta in vista scorrendo */
.sel-item { position: relative; }
.sel-check { font-size: 1.15rem; cursor: pointer; opacity: 0; transition: opacity .12s; }
.sel-item:hover .sel-check, .sel-check:focus-visible, .sel-check:checked, .is-selecting .sel-check, thead .sel-check, .sel-bar .sel-check { opacity: 1; }
@media (hover: none) { .sel-check { opacity: 1; } }
.list-group-item > .sel-check { position: absolute; z-index: 2; top: .75rem; left: 1.25rem; margin: 0; border-color: var(--bs-secondary-color); box-shadow: 0 0 0 3px var(--bs-body-bg); }
.sel-cell { width: 1%; padding-right: 0 !important; }
.sel-cell .sel-check { margin: 0; vertical-align: middle; }
.is-selecting .sel-item { cursor: pointer; user-select: none; }
.sel-item { --sel-bg: rgba(var(--bs-primary-rgb), .14); --sel-hover-bg: rgba(var(--bs-primary-rgb), .2); }
.list-group-item.sel-item.is-selected { background-color: var(--sel-bg); }
.list-group-item.sel-item.is-selected:hover { background-color: var(--sel-hover-bg); }
.table > tbody > tr.is-selected > * { --bs-table-bg-state: var(--sel-bg); }
.table-hover > tbody > tr.is-selected:hover > * { --bs-table-bg-state: var(--sel-hover-bg); }
.sel-host { position: relative; }
.sel-host.is-selecting { position: sticky; top: 0; z-index: 1020; background: var(--bs-tertiary-bg); box-shadow: 0 -.5rem 0 var(--bs-tertiary-bg), 0 .5rem 0 var(--bs-tertiary-bg); }
.sel-host.is-selecting > .nav { visibility: hidden; }
.sel-bar { position: absolute; inset: 0; display: flex; align-items: center; gap: .75rem; padding: 0 .375rem 0 .25rem; border-radius: var(--bs-border-radius-pill); background: var(--bs-secondary-bg); }
.sel-btn { --bs-btn-padding-y: .25rem; --bs-btn-padding-x: .6rem; --bs-btn-border-width: 0; --bs-btn-hover-bg: var(--bs-tertiary-bg); --bs-btn-active-bg: var(--bs-tertiary-bg); border-radius: var(--bs-border-radius-pill); }
.sel-btn.dropdown-toggle::after { display: none; }
/* Trascinamento di file nella finestra (caricamento immagini): velo a tutta pagina; non intercetta il puntatore */
.drop-veil { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; pointer-events: none;
  background: rgba(var(--bs-body-bg-rgb), .8); outline: 3px dashed var(--bs-primary); outline-offset: -.75rem; }
.drop-veil[hidden] { display: none; }
.drop-veil > div { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--bs-primary); font-size: 1.25rem; font-weight: 500; text-align: center; }
.drop-veil .bi { font-size: 3rem; }
/* Visualizzatore delle immagini (OpenSeadragon): altezza fissa, l'immagine si adatta; a schermo intero occupa tutto */
.osd-viewer { height: min(70vh, 52rem); background: var(--bs-tertiary-bg); }
.osd-frame:fullscreen { background: var(--bs-tertiary-bg); }
.osd-frame:fullscreen .osd-viewer { height: 100vh; }
.osd-frame:-webkit-full-screen .osd-viewer { height: 100vh; }
.osd-tools { z-index: 2; }
/* Durante il caricamento del JPG: miniatura (già in cache) sfocata con lo spinner; se non arriva, messaggio con «Riprova» */
.osd-loading, .osd-error { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bs-tertiary-bg); }
.osd-loading img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: blur(4px); opacity: .6; }
.osd-loading .spinner-border { position: relative; }
.osd-error { display: none; }
.osd-frame.is-ready .osd-loading, .osd-frame.is-error .osd-loading { display: none; }
.osd-frame.is-error .osd-error { display: flex; }
.osd-frame:not(.is-ready) .osd-tools { visibility: hidden; }
/* Galleria delle immagini della scheda: a schermo pieno, l'immagine su fondo scuro con la barra in alto e le miniature
   in basso; a destra (sul telefono sotto) didascalia, elemento e dati, nei colori del tema */
.gallery .modal-content { flex-direction: row; border: 0; border-radius: 0; box-shadow: none; background: var(--bs-body-bg); }
.gallery-main { --g-bg: #121212; --g-fg: #ececec; --g-muted: rgba(255, 255, 255, .62); position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; background: var(--g-bg); color: var(--g-fg); }
.gallery-bar { display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .375rem .5rem .375rem 1rem; }
.gallery-count { flex: none; color: var(--g-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.gallery-title { min-width: 0; font-size: .9375rem; }
.gallery-btn { --bs-btn-color: var(--g-fg); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .12); --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255, 255, 255, .2); --bs-btn-border-width: 0; --bs-btn-padding-x: .55rem; --bs-btn-padding-y: .3rem; --bs-btn-focus-box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .45); font-size: 1.1rem; line-height: 1; border-radius: 50rem; }
.gallery-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .14); }
.gallery-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.gallery-viewer { position: absolute; inset: 0; }
.gallery-loading, .gallery-error, .gallery-none { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--g-muted); background: var(--g-bg); }
.gallery-loading img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: blur(6px); opacity: .5; }
.gallery-loading img:not([src]), .gallery-loading img[src=""] { display: none; }
.gallery-loading .spinner-border { position: relative; color: var(--g-fg); }
.gallery-stage[data-state="loading"] .gallery-loading, .gallery-stage[data-state="error"] .gallery-error, .gallery-stage[data-state="none"] .gallery-none { display: flex; }
.gallery-nav { position: absolute; top: 50%; z-index: 4; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-top: -1.5rem; padding: 0; border: 0; border-radius: 50%; font-size: 1.5rem; color: #fff; background: rgba(0, 0, 0, .45); opacity: .75; transition: opacity .15s, background-color .15s; }
.gallery-nav:hover, .gallery-nav:focus-visible { opacity: 1; background: rgba(0, 0, 0, .7); }
.gallery-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gallery-nav:disabled { display: none; }
.gallery-prev { left: .75rem; }
.gallery-next { right: .75rem; }
.gallery-strip { display: flex; flex: none; gap: .5rem; overflow-x: auto; padding: .625rem .75rem .75rem; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.gallery-strip:has(.gallery-thumb:only-child) { display: none; }
.gallery-thumb { position: relative; flex: none; width: 4.5rem; height: 4.5rem; padding: 0; border: 0; border-radius: var(--bs-border-radius); overflow: hidden; background: #000; opacity: .5; transition: opacity .15s, box-shadow .15s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb.active { opacity: 1; box-shadow: 0 0 0 2px var(--g-bg), 0 0 0 4px #fff; }
.gallery-thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gallery-thumb .badge { position: absolute; font-size: .65rem; }
.gallery-star { top: .2rem; left: .2rem; }
.gallery-letter { bottom: .2rem; left: .2rem; }
.gallery-side { flex: 0 0 24rem; width: 24rem; overflow-y: auto; padding: 1.25rem; border-left: var(--bs-border-width) solid var(--bs-border-color); }
.gallery-no-side .gallery-side { display: none; }
.gallery-side .mk-editor { min-height: 4.5rem; }
.gallery-info { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; }
.gallery-info dt { font-weight: 500; color: var(--bs-secondary-color); }
.gallery-info dd { margin: 0; }
.gallery:fullscreen { background: var(--bs-body-bg); }
/* Sul telefono la finestra scorre: immagine e miniature in alto, didascalia e dati sotto */
@media (max-width: 767.98px) {
  .gallery .modal-content { flex-direction: column; overflow-y: auto; }
  .gallery-main { flex: none; height: 78vh; height: 78dvh; }
  .gallery-side, .gallery-no-side .gallery-side { display: block; flex: none; width: auto; overflow: visible; border-left: 0; border-top: var(--bs-border-width) solid var(--bs-border-color); }
  .gallery-bar { gap: .5rem; padding-left: .75rem; }
  .gallery-title { display: none; }
  .gallery-nav { width: 2.5rem; height: 2.5rem; margin-top: -1.25rem; font-size: 1.25rem; }
  .gallery-thumb { width: 3.5rem; height: 3.5rem; }
}
/* Visualizzatore dei PDF (pdf.js, assets/pdfview.js): barra, miniature a sinistra, pagine su fondo grigio; a schermo intero
   o nella pagina a tutta finestra (.pdfv-page) occupa tutto lo spazio */
.pdfv { display: flex; flex-direction: column; height: min(78vh, 60rem); text-align: start; border: var(--bs-border-width) solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); overflow: hidden; background: var(--bs-body-bg); }
.modal .pdfv { height: min(70vh, 52rem); }
/* pdf_viewer.css impone «light dark» a tutta la pagina: vale invece il modo scelto in Opus */
:root[data-bs-theme=light] { color-scheme: light; }
:root[data-bs-theme=dark] { color-scheme: dark; }
.pdfv:fullscreen { height: 100vh; border: 0; border-radius: 0; }
.pdfv:-webkit-full-screen { height: 100vh; border: 0; border-radius: 0; }
.pdfv-page { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--bs-body-bg); }
.pdfv-page .pdfv { flex: 1 1 auto; height: auto; min-height: 0; border: 0; border-radius: 0; }
.pdfv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; padding: .375rem .5rem; border-bottom: var(--bs-border-width) solid var(--bs-border-color); background: var(--bs-body-bg); }
.pdfv-btn { --bs-btn-padding-y: .25rem; --bs-btn-padding-x: .45rem; --bs-btn-border-width: 0; --bs-btn-color: var(--bs-body-color); --bs-btn-hover-bg: var(--bs-secondary-bg); --bs-btn-hover-color: var(--bs-body-color); --bs-btn-active-bg: var(--bs-secondary-bg); --bs-btn-disabled-color: var(--bs-secondary-color); --bs-btn-disabled-border-color: transparent; line-height: 1.2; }
.pdfv-btn.active { --bs-btn-active-color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .12); }
.pdfv-sep { width: 1px; height: 1.25rem; margin: 0 .25rem; background: var(--bs-border-color); }
.pdfv-pages { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--bs-secondary-color); white-space: nowrap; }
.pdfv-pages .form-control { width: 4ch; min-width: 3.25rem; padding-inline: .25rem; text-align: center; }
.pdfv-zoom { width: auto; max-width: 11rem; }
.pdfv-find { display: flex; align-items: center; gap: .125rem; margin-left: .5rem; }
.pdfv-find .input-group { flex-wrap: nowrap; width: 15rem; }
.pdfv-find .input-group-text { background: transparent; }
.pdfv-hits { min-width: 4.5rem; justify-content: center; font-size: .75rem; color: var(--bs-secondary-color); }
.pdfv-hits:empty { display: none; }
.pdfv-nohits [data-pdf-find] { border-color: var(--bs-danger-border-subtle); }
.pdfv-body { position: relative; display: flex; flex: 1 1 auto; min-height: 0; }
.pdfv-side { flex: none; width: 10.5rem; overflow-y: auto; padding: .75rem .5rem; border-right: var(--bs-border-width) solid var(--bs-border-color); background: var(--bs-tertiary-bg); }
.pdfv-side[hidden] { display: none; }
.pdfv-thumb { display: flex; flex-direction: column; align-items: center; gap: .25rem; width: 100%; padding: .375rem; margin-bottom: .25rem; border: 0; border-radius: var(--bs-border-radius); background: transparent; color: var(--bs-secondary-color); font-size: .75rem; }
.pdfv-thumb:hover { background: var(--bs-secondary-bg); }
.pdfv-thumb-img { display: block; width: 7rem; max-height: 10rem; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .12); }
.pdfv-thumb-img canvas { display: block; width: 100%; height: 100%; }
.pdfv-thumb.active { color: var(--bs-primary); font-weight: 600; }
.pdfv-thumb.active .pdfv-thumb-img { box-shadow: 0 0 0 3px var(--bs-primary); }
.pdfv-stage { position: relative; flex: 1 1 auto; min-width: 0; background: var(--bs-secondary-bg); }
.pdfv-scroll { position: absolute; inset: 0; overflow: auto; outline: 0; touch-action: pan-x pan-y; } /* il pizzico lo gestisce pdfview.js */
.pdfv .pdfViewer { padding: .75rem 0; }
.pdfv .pdfViewer .page { border: 0; margin: 0 auto 1rem; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .16); }
.pdfv-status { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; text-align: center; background: var(--bs-secondary-bg); }
.pdfv-status[hidden] { display: none; }
.pdfv-status .progress { width: min(16rem, 80%); height: .375rem; }
@media (max-width: 767.98px) {
  .pdfv, .modal .pdfv { height: 70vh; }
  .pdfv-find { order: 10; flex: 1 1 100%; margin: .125rem 0 0; }
  .pdfv-find .input-group { width: auto; flex: 1 1 auto; }
  .pdfv-zoom { max-width: 8.5rem; }
  .pdfv-side { position: absolute; inset: 0 auto 0 0; z-index: 4; box-shadow: var(--bs-box-shadow); }
}
/* Sul telefono lo zoom si fa con il pizzico: la barra resta su due righe (comandi e ricerca) */
@media (max-width: 575.98px) {
  .pdfv-bar { gap: .125rem; }
  .pdfv-sep:not(.ms-auto), .pdfv-zoom, .pdfv [data-pdf-do="in"], .pdfv [data-pdf-do="out"] { display: none; }
}
/* Sul telefono la finestra è a schermo intero: scorre tutta, così i piè di pagina (dati, didascalia) non schiacciano l'immagine */
@media (max-width: 575.98px) {
  .osd-viewer { height: 60vh; }
  .osd-modal .modal-content { overflow-y: auto; }
  .osd-modal .modal-body { flex-shrink: 0; overflow: visible; }
}
/* Artisti collegati nel modulo della scheda: crocetta piccola accanto al nome, qualificatore come testo tra parentesi
   (o «+ qualificatore» appena accennato) che apre il menu, campo di ricerca compatto */
.artist-chip { min-height: calc(1.5em + .75rem + var(--bs-border-width) * 2); }
.artist-chip .btn-close { font-size: .55rem; }
.artist-chip > .dropdown { margin-left: -.2rem; }
.artist-q { --bs-btn-font-size: inherit; --bs-btn-font-weight: inherit; color: var(--bs-body-color); }
.artist-q:hover, .artist-q:focus-visible, .artist-q.show { color: var(--bs-link-color); }
.artist-q.is-empty { --bs-btn-font-size: .8125rem; color: var(--bs-tertiary-color); }
.artist-q.is-empty:hover, .artist-q.is-empty:focus-visible, .artist-q.is-empty.show { color: var(--bs-link-color); }
.artist-search { min-width: 12rem; max-width: 22rem; }
/* Documenti: il regesto è in corsivo come nella stampa, e i corsivi scritti al suo interno tornano in tondo */
.doc-regest { font-style: italic; }
.doc-regest em { font-style: normal; }
/* Oggetti complessi: elementi del modulo con la lettera (a, b, c…) a sinistra */
.part-body { min-width: 0; }
.part-letter { min-width: 1.9em; font-size: .9rem; }
/* Indice laterale della modifica della scheda (come in Wikipedia): resta in vista, segna la sezione in cui ci si trova
   e ne apre i campi; i punti d'arrivo si fermano sotto la barra dell'editor (--toc-offset, misurata da app.js) */
.edit-toc { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; font-size: .875rem; padding-bottom: 1rem; }
.edit-toc-title { font-weight: 600; padding: 0 0 .5rem .75rem; margin-bottom: .25rem; border-bottom: var(--bs-border-width) solid var(--bs-border-color); }
.edit-toc a { display: block; padding: .2rem .5rem .2rem .75rem; border-left: 2px solid transparent; color: var(--bs-body-color); text-decoration: none; line-height: 1.3; }
.edit-toc a:hover { color: var(--bs-primary); }
.edit-toc a.active { border-left-color: var(--bs-primary); color: var(--bs-primary); font-weight: 600; }
.edit-toc ol ol a { padding-left: 1.5rem; color: var(--bs-secondary-color); }
.edit-toc ol ol a:hover, .edit-toc ol ol a.active { color: var(--bs-primary); }
.edit-toc li:not(.open) > ol { display: none; }
[data-toc-target] { scroll-margin-top: var(--toc-offset, 4.5rem); }
/* Struttura della scheda: sezioni, campi e paragrafi si trascinano dalla maniglia (o si spostano con le frecce) */
.st-grip { cursor: grab; }
.st-item[draggable="true"], .st-group > .card-header { cursor: grab; }
.st-item .btn, .st-group .btn { cursor: pointer; }
.st-text { min-width: 0; overflow-wrap: anywhere; }
.st-num { min-width: 1.5em; text-align: right; }
.st-dragging { opacity: .45; }
@media (min-width: 992px) {
  .st-print-card { position: sticky; top: 1rem; }
}
/* Accesso (stile Google): una scheda larga al centro della pagina, in due colonne dal tablet in su; sul telefono
   la scheda si fonde con la pagina. Gli account ricordati hanno un cerchio colorato con l'iniziale (avatar()) */
.auth-main { display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 1056px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 1.5rem 1rem; }
.auth-card { --bs-card-border-width: 0; --bs-card-border-radius: var(--bs-border-radius-xl); --bs-card-spacer-x: 2.25rem; --bs-card-spacer-y: 2.25rem; }
.auth-card .card-body { min-height: 24rem; display: flex; flex-direction: column; }
.auth-card .card-body > .row { flex-grow: 1; }
.auth-logo { font-size: 1.75rem; line-height: 1; margin-bottom: 1.5rem; }
h1.auth-title { font-size: 2.25rem; font-weight: 400; letter-spacing: 0; margin-bottom: .75rem; }
.auth-sub { font-size: 1rem; }
.auth-chip { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; margin-top: .25rem; padding: .25rem .75rem .25rem .25rem; border: 1px solid var(--bs-border-color); border-radius: 50rem; color: var(--bs-body-color); font-weight: 500; text-decoration: none; transition: background-color .15s; }
.auth-chip:hover, .auth-chip:focus-visible { background-color: var(--bs-secondary-bg); color: var(--bs-body-color); }
.auth-accounts { --bs-list-group-item-padding-x: .5rem; --bs-list-group-item-padding-y: .875rem; --bs-list-group-bg: transparent; border-top: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color); border-bottom: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color); }
.auth-link { --bs-btn-font-weight: 500; text-decoration: none; }
.auth-link:hover, .auth-link:focus-visible { text-decoration: underline; }
.auth-icon { flex: none; width: 2rem; text-align: center; font-size: 1.25rem; color: var(--bs-secondary-color); }
.auth-footer { margin-top: .5rem; font-size: .875rem; }
.auth-footer .nav-link { color: var(--bs-secondary-color); }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; font-size: .9375rem; font-weight: 500; line-height: 1; }
.avatar-sm { width: 1.5rem; height: 1.5rem; font-size: .75rem; }
@media (max-width: 767.98px) {
  .auth-card .card-body { min-height: 0; }
  h1.auth-title { font-size: 1.75rem; }
}
@media (max-width: 575.98px) {
  .auth-main { justify-content: flex-start; padding: 1rem 0; }
  .auth-card { --bs-card-spacer-x: 1.5rem; --bs-card-bg: transparent; box-shadow: none; }
  .auth-footer { padding: 0 1rem; }
}
