.module-source-card{
  border:1px solid var(--line, #d9e4ef);
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
  padding:14px;
  margin:10px 0 14px;
  box-shadow:0 8px 22px rgba(15, 23, 42, .04);
}
.module-source-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.module-source-header strong{
  color:var(--ink, #223047);
  font-size:14px;
}
.module-source-header small{
  color:var(--muted, #718096);
  font-size:12px;
  text-align:right;
}
.module-source-options{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}
.module-source-options label{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:9px 10px;
  border:1px solid var(--line, #d9e4ef);
  border-radius:13px;
  background:#fff;
  color:var(--ink, #223047);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.module-source-options label:has(input:checked){
  border-color:var(--primary, #0899d1);
  background:rgba(14,165,233,.08);
  box-shadow:0 0 0 3px rgba(14,165,233,.12);
}
.module-source-options label:hover{
  transform:translateY(-1px);
  border-color:rgba(14,165,233,.7);
}
.module-attached-card{
  border-style:dashed;
  background:#fffdf7;
}
@media (max-width: 760px){
  .module-source-header{flex-direction:column;gap:4px;}
  .module-source-header small{text-align:left;}
  .module-source-options{grid-template-columns:1fr;}
}
