.cards .laboratory-card{padding:0;display:flex;flex-direction:column;overflow:visible;gap:0;min-height:0;margin-top:16px;align-items:stretch;text-align:left}
.laboratory-cover{position:relative;display:block;width:100%;height:154px;background:#edf1e7;overflow:visible;border-top-left-radius:inherit;border-top-right-radius:inherit}
.laboratory-cover img{display:block;width:100%;height:100%;object-fit:cover;border-top-left-radius:inherit;border-top-right-radius:inherit}
.laboratory-label{position:absolute;top:0;left:12px;transform:translateY(-50%);z-index:1;display:block;width:max-content;max-width:calc(100% - 24px);min-width:0;padding:4px 7px;border-radius:5px;box-shadow:0 1px 4px #0002;text-align:left;line-height:1.2}
.laboratory-label strong{display:block;font-size:9px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.laboratory-label small{display:block;margin-top:2px;font-size:8px;font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.laboratory-label small b{font-weight:650}
.status-ongoing{background:#d8eedb;color:#1c5734}.status-completed{background:#f0dadd;color:#78353b}.status-planned{background:#fff0c8;color:#75541c}
.laboratory-copy{display:flex;flex-direction:column;padding:12px 13px;flex:1;gap:7px}.laboratory-copy h3{margin:0;font-size:20px;line-height:1.2}.laboratory-excerpt{font-size:11px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.laboratory-more{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:650;color:var(--brand);margin-top:auto;padding-top:3px}.laboratory-more>span{font-size:15px;line-height:1}.laboratory-detail-photo{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px}.laboratory-detail-meta{font-size:12px;color:var(--muted);line-height:1.7;margin-top:12px}.laboratory-placeholder{padding:24px;display:block;font:24px Georgia,serif}
.laboratory-page-title{font:28px/1.2 Georgia,serif;margin:18px 0}.laboratory-page .laboratory-detail-photo{max-height:300px;object-fit:cover}.laboratory-page{max-width:100%}
@media(max-width:700px){.laboratory-cover{height:175px}.laboratory-copy h3{font-size:21px}.laboratory-page .laboratory-detail-photo{max-height:220px}}



.laboratory-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.laboratory-controls>.btn,.laboratory-filter{height:36px;min-height:36px;padding:0 12px;font:600 11px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;border-radius:8px}.laboratory-filter{appearance:none;-webkit-appearance:none;background:#fff;background-image:none;border:1px solid var(--border);color:var(--ink);min-width:120px;cursor:pointer}.laboratory-add{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;padding:0;border-radius:50%;border:1px solid #dce3d4;background:#edf1e7;color:var(--brand)}.laboratory-add svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.laboratory-add:hover{background:#e1e8d8}

/* Foto, calendario e componenti hanno lo stesso spazio; gli elenchi scorrono. */
.laboratory-page{container-type:inline-size}
.laboratory-page-title{border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:16px}
.laboratory-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;height:clamp(155px,22cqw,250px)}
.laboratory-photo-frame{min-width:0;min-height:0;border-radius:10px;overflow:hidden;background:var(--tint)}
.laboratory-page .laboratory-photo-frame .laboratory-detail-photo{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:0}
.laboratory-overview-column{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}
.laboratory-overview-column>h3{flex-shrink:0;display:flex;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);font:18px/1.2 Georgia,serif}
.laboratory-overview-column>h3 span{font:11px/1.8 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--muted)}
.laboratory-scroll-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 12px}
.laboratory-scroll-list ul{list-style:none;margin:0;padding:0}
.laboratory-meeting{display:flex;flex-direction:column;gap:3px;padding:10px 0;border-bottom:1px solid var(--border);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.laboratory-meeting strong{font-size:11px}.laboratory-meeting small{color:var(--muted);font-size:10px}.laboratory-meeting .meeting-cancelled{color:#913b3b}
.laboratory-member{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--border);font-size:12px;overflow-wrap:anywhere}
.laboratory-member>span{flex:0 0 26px;display:grid;place-items:center;height:26px;border-radius:50%;background:var(--tint);font-size:11px;color:var(--brand)}
.laboratory-list-empty{font-size:12px;line-height:1.6;color:var(--muted);padding:14px 0}
.laboratory-narrative{margin:20px 0}.laboratory-narrative h3{font:23px/1.2 Georgia,serif;margin-bottom:9px}.laboratory-narrative p{white-space:pre-line;overflow-wrap:anywhere;font-size:14px;line-height:1.8}
.laboratory-editor-group{border:1px solid var(--border);border-radius:10px;padding:14px;margin:12px 0}.laboratory-editor-group summary{cursor:pointer;font-weight:600}.laboratory-editor-row{border:1px solid var(--border);padding:14px;margin:14px 0;border-radius:8px;min-width:0}.laboratory-editor-row legend{padding:0 6px;font-size:12px}.laboratory-editor-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.laboratory-editor-group>.btn{margin-top:10px}
@media(max-width:700px){.laboratory-overview{grid-template-columns:1fr 1fr;height:auto;gap:10px}.laboratory-photo-frame{grid-column:1/-1;height:180px}.laboratory-overview-column{height:180px}.laboratory-overview-column>h3{font-size:16px;padding:9px}.laboratory-scroll-list{padding:0 9px}.laboratory-editor-pair{grid-template-columns:1fr}}

/* Dettaglio compatto: 30% foto, 50% incontri in un'unica colonna, 20% nickname. */
.laboratory-page .btn{height:32px;min-height:32px;padding:0 12px;font-size:11px;border-radius:7px;gap:8px}
.laboratory-page .laboratory-page-heading{margin:14px 2px 26px;padding:0 0 6px;gap:0;align-items:center}
.laboratory-page-heading .laboratory-page-title{border:0;padding:0;margin:0;min-width:0}
.laboratory-page-title:focus{outline:none}
.laboratory-title-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:12px}
.laboratory-page .laboratory-interest{background:#edf1e7;border-color:#dce3d4;color:#315c46}
.laboratory-page .laboratory-interest:hover{background:#e1e8d8}
.laboratory-lead:empty{display:none}
.laboratory-overview{grid-template-columns:30fr 50fr 20fr;height:calc(20cqw - 5.6px)}
.laboratory-photo-frame{position:relative;overflow:visible}
.laboratory-page .laboratory-photo-frame .laboratory-detail-photo{border-radius:10px}
.laboratory-photo-frame .laboratory-label{left:10px;max-width:calc(100% - 20px)}
.laboratory-scroll-list h4{font-size:11px;line-height:1.5;font-weight:650;color:var(--muted);padding:9px 0 3px}
.laboratory-meeting{flex-direction:row;justify-content:space-between;align-items:baseline;gap:8px;padding:8px 0;font-size:11px}
.laboratory-next-meetings .laboratory-meeting strong{font-size:13px;color:var(--brand)}
.laboratory-meeting>span{flex-shrink:0;font-variant-numeric:tabular-nums;color:var(--muted)}
.laboratory-past-meetings{margin-top:7px}
.laboratory-journal-entry{padding:15px 0;border-bottom:1px solid var(--border)}
.laboratory-journal-entry h4{font-size:13px;font-weight:650;margin-bottom:6px}
.laboratory-journal-entry:first-child{padding-top:0}
.laboratory-conclusion{margin-top:18px}
@container(max-width:650px){.laboratory-overview{grid-template-columns:1fr 1fr;height:auto}.laboratory-photo-frame{grid-column:1/-1;height:auto;aspect-ratio:3/2}.laboratory-overview-column{height:200px}.laboratory-meetings-column{grid-column:1/-1}.laboratory-overview-column:last-child{grid-column:1/-1;height:150px}.laboratory-page-heading .laboratory-page-title{flex-basis:100%;font-size:25px}.laboratory-title-actions{margin-left:0}.laboratory-meeting{font-size:12px}}
.laboratory-overview-column:last-child>h3{font-size:16px}
.laboratory-demo-label{font-size:10px;color:var(--muted);flex:0 0 100%}

/* Informazioni e calendario affiancati soltanto nell’area centrale. */
.laboratory-meetings-area{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0;min-height:0}
.laboratory-meetings-area .laboratory-overview-column>h3{font:600 11px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:8px}
.laboratory-meetings-area .laboratory-scroll-list{padding:0 8px;font-size:10px;line-height:1.35}
.laboratory-contact,.laboratory-routine,.laboratory-next-summary{display:flex;flex-direction:column;gap:1px;padding:7px 0;overflow-wrap:anywhere}
.laboratory-routine,.laboratory-next-summary{border-top:1px solid var(--border)}
.laboratory-contact a{text-decoration:underline}.laboratory-next-summary>b{font-size:11px;color:var(--brand)}
.laboratory-scroll-list h4{margin:0;padding:6px 0 2px;font-size:10px;line-height:1.3}
.laboratory-meeting{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:5px 0;font-size:10px;line-height:1.3}
.laboratory-next-meetings .laboratory-meeting strong,.laboratory-meeting strong{font-size:10px}
.laboratory-past-meetings{margin-top:3px}.laboratory-list-empty{padding:6px 0;font-size:10px}
.laboratory-page .laboratory-narrative{margin:12px 0}
.laboratory-page .laboratory-narrative h3{font:700 13px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0 0 4px}
.laboratory-page .laboratory-narrative p{font-size:12px;line-height:1.45;white-space:normal;margin:0}
.laboratory-journal-entry{padding:6px 0;border:0}.laboratory-journal-entry h4{font-size:11px;line-height:1.35;margin:0 0 2px}
.laboratory-conclusion{margin-top:6px!important}
@container(max-width:650px){.laboratory-meetings-area{grid-column:1/-1;height:260px}.laboratory-meetings-area .laboratory-overview-column{grid-column:auto;height:260px}.laboratory-page .laboratory-page-heading{flex-wrap:wrap;gap:8px}.laboratory-page-heading .page-heading-copy{flex-basis:100%}.laboratory-title-actions{margin-left:0}}

/* Intestazioni allineate, nickname compatti e incontri futuri evidenziati. */
.laboratory-overview .laboratory-overview-column>h3{height:32px;min-height:32px;margin:0;padding:8px;font:600 11px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;align-items:center}
.laboratory-overview .laboratory-overview-column>h3 span{font:400 10px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.laboratory-overview>.laboratory-overview-column .laboratory-scroll-list{padding:0 8px;font-size:10px;line-height:1.35}
.laboratory-member{gap:6px;padding:4px 0;font:400 10px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.laboratory-member>span{flex-basis:16px;height:16px;font-size:9px}
.laboratory-meetings-column .laboratory-scroll-list h4{color:#674b2b}
.laboratory-next-meetings .laboratory-meeting{background:#fff4d2;border-bottom:0;border-radius:4px;margin:3px 0;padding:5px 6px}
@container(max-width:650px){.laboratory-overview .laboratory-overview-column>h3{height:46px;min-height:46px}}
.laboratory-next-summary{background:#fff4d2;border-top:0;border-radius:4px;margin:4px 0;padding:5px 6px}
.laboratory-page .laboratory-upcoming-objectives{background:#fff4d2;border-radius:5px;padding:7px 8px}
.laboratory-page .laboratory-upcoming-objectives p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Tre sezioni narrative con allineamento e separatori uniformi, senza bordi esterni. */
.laboratory-page .laboratory-narrative{padding:7px 8px;border:0;border-radius:5px;box-shadow:none}
.laboratory-page .laboratory-objectives{background:#edf4e9}
.laboratory-page .laboratory-progress{background:#f7f8f6}
.laboratory-page .laboratory-narrative>h3{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid var(--border)}
.laboratory-overview .laboratory-overview-column>h3{background:#f0f2f3}

.webinar-badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;background:#a73535;color:#fff;font:700 10px/1.4 system-ui,sans-serif;white-space:nowrap}.laboratory-cover>.webinar-badge,.laboratory-photo-frame>.webinar-badge{position:absolute;bottom:9px;right:9px;z-index:2}.laboratory-webinar-connection .laboratory-scroll-list{padding:10px;overflow-wrap:anywhere}.laboratory-webinar-connection p{margin-bottom:8px}.laboratory-webinar-connection .btn{padding:7px;font-size:10px;line-height:1.4;height:auto;min-height:32px}.webinar-demo-page{max-width:640px;margin:10vh auto;padding:24px}.webinar-demo-page h1{font:32px/1.2 Georgia,serif;margin:16px 0}.webinar-demo-page p{margin:12px 0}.webinar-demo-page .btn{margin-top:12px}
