/* The embeddable widget's document (I-16, web/widget.py). It renders inside
   somebody else's page and never loads app.css, so it brings no web font
   (system faces, nothing to download) and copies four of app.css's tokens as
   literals: --field on the links, --ink, --muted and --line / --grey. */

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body.lw {
  margin: 0;
  padding: 12px 14px;
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #101418;
  background: #ffffff;
  border: 1px solid #D5DAE1;
  border-radius: 8px;
}

.lw-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid #EEF0F3;
}

.lw-head span {
  color: #5F6771;
}

.lw-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lw-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px solid #EEF0F3;
}

.lw-row a {
  color: #0F35A6;
  font-weight: 600;
  text-decoration: none;
}

.lw-row a:hover,
.lw-row a:focus-visible {
  text-decoration: underline;
}

.lw-meta {
  color: #5F6771;
  font-size: 13px;
}

.lw-empty {
  margin: 12px 0;
  color: #5F6771;
}

.lw-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding-top: 8px;
  font-size: 13px;
  color: #5F6771;
}

.lw-foot a {
  color: #0F35A6;
}

/* The preview on /widget-licitaciones frames the real widget; the builder
   page links this file for this one rule rather than growing app.css. */
.lw-preview {
  display: block;
  width: 100%;
  max-width: 640px;
  border: 0;
}
