@import url("fonts.css");

/* Assembly of the Republic - own skin over the shared state frame. */

:root {
  --accent:      #2f5680;
  --accent-deep: #1d3a58;
  --accent-soft: #dce6f0;
  --accent-ink:  #ffffff;

  --org-measure: 36rem;

  --edge: #cdd8e3;
}

/* ---------- ground, masthead and navigation ---------- */

body {
  background: #e4eaf0;
}

.orghead {
  background: var(--f-paper);
  border-bottom: 3px solid var(--accent);
}

.orghead .wrap {
  padding-top: 1.55rem;
  padding-bottom: 1.4rem;
}

.orghead .kicker {
  color: var(--accent);
  letter-spacing: 0.15em;
}

.orghead .orgname {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0-.015em;
}

.orgnav {
  background: var(--accent-deep);
}

h2 {
  font-weight: 600;
  color: var(--accent-deep);
}

.legal {
  background: var(--accent-soft);
}

/* ---------- seat chart ---------- */

.chamber {
  margin: 1.3rem 0;
}

.chamber .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.chamber .s {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 2px;
  background: var(--f-rule);
}

.chamber .key {
  display: grid;
  gap: .25rem .9rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  font-family: var(--f-sans);
  font-size: .83rem;
  margin-top: 1rem;
}

.chamber .key span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.chamber .key i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 2px;
  flex: none;
}

.chamber .key b {
  font-family: var(--f-mono);
  font-weight: 400;
  color: var(--f-ink-soft);
  margin-left: auto;
}

/* ---------- bills with their assessment ---------- */

.bills article {
  border: 1px solid var(--edge);
  background: var(--f-paper);
  padding: .95rem 1.1rem;
  margin-bottom: .7rem;
  border-left: 5px solid var(--accent);
}

.bills h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.bills .meta {
  font-family: var(--f-sans);
  font-size: 0.76rem;
  color: var(--f-ink-soft);
  margin: 0 0 0.55rem;
}

.bills dl {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: .25rem .9rem;
  margin: .6rem 0 0;
  font-size: .87rem;
}

.bills dt {
  font-weight: 600;
  color: var(--accent-deep);
}

.bills dd {
  margin: 0;
}

.bills .blocked {
  border-left-color: var(--f-warn);
}

.bills .blocked h3 {
  color: var(--f-warn);
}

table.reg thead th {
  border-bottom-color: var(--accent);
}

/* ---------- narrow screens ---------- */

@media (max-width: 40rem) {
  .bills dl { grid-template-columns: 1fr;
  gap: 0.05rem;
}

.bills dd {
  margin-bottom: 0.45rem;
}
}
