liasse-site-source {
  display: block;
  width: 100%;
  margin: 16px 0;
  color: #192b35;
  font:
    15px/1.5 system-ui,
    sans-serif;
}
.source-panel {
  padding: 18px;
  border: 1px solid #d3ddd9;
  border-radius: 14px;
  background: #f8faf9;
}
.source-panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.source-panel p {
  margin: 10px 0;
}
.source-panel label {
  display: block;
  margin: 10px 0;
}
.source-panel select,
.source-panel input[type="url"],
.source-panel textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin-top: 5px;
  background: #fff;
  border: 1px solid #aebdb7;
  border-radius: 7px;
  color: #192b35;
  font: inherit;
}
.source-panel button {
  padding: 10px 14px;
  margin: 8px 8px 0 0;
  background: #244fe4;
  color: white;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
}
.source-panel button:disabled {
  opacity: 0.6;
}
.source-panel .source-secondary {
  background: #e5ebe9;
  color: #192b35;
}
.source-check {
  display: flex !important;
  gap: 9px;
  align-items: flex-start;
}
.source-check input {
  margin-top: 5px;
  flex-shrink: 0;
}
.source-panel fieldset {
  border: 0;
  padding: 0;
  margin: 14px 0;
}
.source-panel legend {
  font-weight: 600;
}
.source-panel details {
  margin: 12px 0;
}
.source-panel summary {
  cursor: pointer;
  font-weight: 600;
}
.source-panel ul {
  list-style: disc;
  padding-left: 24px;
}
.source-panel li {
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.source-panel code {
  overflow-wrap: anywhere;
  display: block;
  font-size: 12px;
}
.source-assets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 10px;
}
.source-assets img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  background: #e8eeeb;
  border-radius: 6px;
}
.source-assets span {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.source-progress {
  padding: 12px;
  border-radius: 9px;
  background: #e9efff;
}
.source-progress small {
  display: block;
}
.source-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2452ee;
  animation: source-pulse 1.4s ease-in-out infinite;
}
.source-gaps {
  padding: 10px;
  background: #fff5da;
  border-radius: 8px;
}
.source-error {
  color: #a52c24;
}
.source-confirmed {
  color: #22613c;
  font-weight: 600;
}
@keyframes source-pulse {
  50% {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .source-pulse {
    animation: none;
  }
}

liasse-site-source[hidden], .source-panel [hidden] { display: none !important; }
.source-chat-panel { padding: 14px 16px; background: #fff; border-color: #e0e5e3; }
.source-address { overflow-wrap: anywhere; font-weight: 600; }
.source-small { font-size: 13px; color: #566570; }
.source-panel .source-text-button { background: transparent; color: #425469; padding: 5px 0; font-size: 13px; }
.brief-draft-toggle { cursor: pointer; font-size: 13px; color: #52626d; padding: 8px 0; }

.source-mode-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.source-mode-choices button { margin: 0; }
.source-mode-choices button[aria-pressed="true"] { outline: 2px solid #244fe4; outline-offset: 2px; }
liasse-site-source[compact] > details { padding: 12px 16px; border: 1px solid #d3ddd9; border-radius: 12px; background: #f8faf9; }
liasse-site-source[compact] > details > summary { cursor: pointer; overflow-wrap: anywhere; font-size: 14px; }
liasse-site-source[compact] > details > .source-panel { border: 0; padding: 12px 0 0; background: transparent; }
.source-panel a { overflow-wrap: anywhere; }
