/* Native sharing disclosure: scoped to the existing public teacher surfaces. */
.docenti-share {
  position: relative;
  max-width: 100%;
  color: var(--ink, #17374b);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
.docenti-share[open] { flex-basis: 100%; width: 100%; max-width: 24rem; }
.docenti-share-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.6rem 1rem;
  list-style: none;
  border: 1px solid currentColor;
  color: var(--ink, #17374b);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}
.docenti-share-trigger::-webkit-details-marker { display: none; }
.docenti-share-trigger::marker { content: ''; }
.docenti-share-trigger svg { flex: none; }
.docenti-share-trigger:hover,
.docenti-share[open] > .docenti-share-trigger {
  color: #fff;
  background: var(--ink, #17374b);
}
.teacher-cover .docenti-share-trigger {
  color: #fff;
  background: transparent;
}
.teacher-cover .docenti-share-trigger:hover,
.teacher-cover .docenti-share[open] > .docenti-share-trigger {
  color: #17374b;
  background: #fff;
}
.docenti-share-panel {
  margin-top: 0.5rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border, #d2dce1);
  background: #fff;
  color: #17374b;
}
.docenti-share-help {
  margin: 0 0 0.75rem !important;
  font-size: 1rem;
}
.docenti-share-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.docenti-share-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #526675;
  color: #17374b;
  background: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.docenti-share-option:hover { background: #edf2f5; color: #17374b; }
.docenti-share :is(summary, a, button, input):focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}
.teacher-cover .docenti-share-trigger:focus-visible { outline-color: #fff; }
.docenti-share-status { margin: 0.75rem 0 0 !important; font-size: 0.94rem; }
.docenti-share-status:empty { display: none; }
.docenti-share-manual { margin-top: 1rem; }
.docenti-share-manual[hidden] { display: none; }
.docenti-share-manual label { display: block; margin-bottom: 0.35rem; }
.docenti-share-input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem;
  border: 1px solid #526675;
  border-radius: 0;
  color: #17374b;
  background: #fff;
  font: inherit;
  font-size: 1rem;
}
.work-head > .docenti-share { width: fit-content; margin: -0.5rem 0 2rem; }
.teacher-work-actions > .docenti-share { margin-top: 0; }
.docenti-heading .scuola-section-actions:has(> .docenti-share[open]) { align-items: flex-start; }
@media (max-width: 680px) {
  .docenti-share[open] { flex-basis: 100%; width: 100%; }
  .work-head > .docenti-share[open] { width: 100%; }
}
@media print {
  .docenti-share { display: none; }
}
