/* Minimal first-party chapter sharing, only rendered by JS on public EN/ES studies. */
.study-share {
  box-sizing: border-box;
  padding: 1.2rem;
  margin: 2rem 0 0;
  border: 1px solid #6b726a;
  border-radius: 10px;
  background: #17292f;
  color: #f4f0e6;
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
}
.study-share h2 { margin: 0 0 .45rem; color: #f1d397; font-size: 1.2rem; line-height: 1.4; }
.study-share-hint { margin: 0 0 1rem; color: #d0d9d5; font-size: .9rem; }
.study-share-controls { display: flex; gap: .75rem; flex-wrap: wrap; }
.study-share-button {
  min-height: 44px; min-width: 120px; padding: .7rem 1rem; cursor: pointer;
  border: 1px solid #c9a96e; border-radius: 7px;
  background: #203a42; color: #f8eccd; font: 700 .97rem/1.25 Arial, sans-serif;
}
.study-share-button:hover { background: #2b4a53; }
.study-share-primary { color: #101d24; background: #edcd8e; border-color: #edcd8e; }
.study-share-primary:hover { background: #f5dba8; }
.study-share-status { margin: .7rem 0 0; font-size: .9rem; }
.study-share-status:empty { display: none; }
.study-share-manual { margin-top: .8rem; }
.study-share-manual[hidden] { display: none; }
.study-share-manual label { display: block; margin-bottom: .25rem; font-size: .9rem; }
.study-share-manual input {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px;
  padding: .55rem; border-radius: 6px; background: #f5f1e7; color: #101d24;
  font: .9rem/1.4 Arial, sans-serif;
}
@media(max-width:520px) {
  .study-share { padding: 1rem; }
  .study-share-controls { flex-direction: column; }
  .study-share-button { width: 100%; }
}
