/**
 * Grypes Share Cards sheet styles.
 *
 * Visual language follows the Platform's own dialogs (.gyp-share-dialog,
 * .gyp-toast): white sheet, ink text (#14243e), electric blue primary
 * (#304edb), 20px radius. Classes are .gysc- prefixed; the kebab menu
 * item itself inherits the Platform's .gyp-kebab-menu button styles.
 */
.gysc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, .55);
  z-index: 100001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gysc-overlay[hidden] { display: none; }

.gysc-sheet {
  background: #fff;
  color: #14243e;
  border-radius: 20px 20px 0 0;
  padding: 22px;
  width: min(100%, 460px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 20px 90px rgba(0, 0, 0, .27);
  font-family: 'Bricolage Grotesque', Inter, ui-sans-serif, system-ui, sans-serif;
}
@media (min-width: 640px) {
  .gysc-overlay { align-items: center; padding: 24px; }
  .gysc-sheet { border-radius: 20px; }
}

.gysc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.gysc-head strong { font-size: 1.15rem; font-weight: 850; letter-spacing: -.02em; }

.gysc-close {
  background: #eef2f8;
  border: 0;
  border-radius: 50%;
  color: #14243e;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  width: 35px;
  height: 35px;
  cursor: pointer;
  padding: 0;
}

.gysc-note {
  background: #eef2ff;
  border: 1px solid #d7dffc;
  color: #26357c;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: .9rem;
  margin: 10px 0 0;
}

.gysc-group { border: 0; padding: 0; margin: 16px 0 0; }
.gysc-group legend {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64708a;
  padding: 0;
  margin-bottom: 8px;
}

.gysc-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.gysc-pill { position: relative; cursor: pointer; }
.gysc-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.gysc-pill span {
  display: inline-block;
  border: 1px solid #d6deea;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .88rem;
  font-weight: 700;
  background: #fff;
  color: #14243e;
}
.gysc-pill input:checked + span {
  background: #304edb;
  border-color: #304edb;
  color: #fff;
}
.gysc-pill input:focus-visible + span {
  outline: 2px solid #304edb;
  outline-offset: 2px;
}

.gysc-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: .87rem;
  line-height: 1.45;
  cursor: pointer;
}
.gysc-consent[hidden] { display: none; }
.gysc-consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; }

.gysc-status {
  font-size: .87rem;
  color: #64708a;
  min-height: 1.2em;
  margin: 14px 0 0;
}

.gysc-actions { display: flex; gap: 9px; margin-top: 14px; flex-wrap: wrap; }
.gysc-create {
  background: #304edb;
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: 13px 18px;
  font-size: .92rem;
  font-weight: 850;
  cursor: pointer;
  flex: 1;
  font-family: inherit;
}
.gysc-create:hover { background: #2440c1; }
.gysc-create:disabled { opacity: .6; cursor: default; }

.gysc-share,
.gysc-download {
  background: #edf1ff;
  color: #2541bd;
  border: 0;
  border-radius: 11px;
  padding: 13px 16px;
  font-size: .92rem;
  font-weight: 850;
  cursor: pointer;
  font-family: inherit;
}
.gysc-share:hover,
.gysc-download:hover { background: #dfe6ff; }
