@import url("fonts.css");

/* National Planning Congress - own skin over the shared state frame. */

:root {
  --accent:      #8a6a3a;
  --accent-deep: #5f4623;
  --accent-soft: #f2e9dc;
  --accent-ink:  #ffffff;

  --org-measure: 36rem;

  --edge: #ddd0bb;
}

/* ---------- ground, masthead and navigation ---------- */

body {
  background: #ece4d9;
}

.sheet {
  background: #fdfaf5;
}

.orghead {
  background: var(--accent-deep);
}

.orghead .kicker {
  color: #e0cba8;
  letter-spacing: 0.15em;
}

.orghead .orgname,
.orghead .orgname a {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
}

.orghead .basis {
  color: #c9b391;
}

.orgnav {
  background: var(--accent);
}

.orgnav a[aria-current="page"] {
  border-bottom-color: #f0dfc2;
}

h2 {
  font-weight: 500;
  color: var(--accent-deep);
}

.legal {
  background: var(--accent-soft);
}

/* ---------- composition of the Congress ---------- */

.compose {
  margin: 1.3rem 0;
}

.compose .bar {
  display: flex;
  height: 2.3rem;
  border: 1px solid var(--edge);
  overflow: hidden;
}

.compose .bar span {
  display: block;
  height: 100%;
}

.compose .floor {
  position: relative;
  height: 0.9rem;
  margin-top: 0.2rem;
}

.compose .floor i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--f-ink);
}

.compose .floor em {
  position: absolute;
  font-family: var(--f-sans);
  font-size: .72rem;
  font-style: normal;
  color: var(--f-ink);
  transform: translateX(-50%);
  top: .1rem;
}

.compose .key {
  font-family: var(--f-sans);
  font-size: 0.84rem;
}

.compose .key span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.compose .key i {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
}

.compose .key b {
  font-family: var(--f-mono);
  font-weight: 400;
  color: var(--f-ink-soft);
  margin-left: auto;
}

/* ---------- decisions with dissent recorded ---------- */

.decisions article {
  border: 1px solid var(--edge);
  border-left: 5px solid var(--accent);
  background: var(--f-paper);
  padding: .95rem 1.1rem;
  margin-bottom: .7rem;
}

.decisions h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.decisions .meta {
  font-family: var(--f-sans);
  font-size: 0.76rem;
  color: var(--f-ink-soft);
  margin: 0 0 0.55rem;
}

.decisions p {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
}

.decisions p:last-child {
  margin: 0;
}

.decisions .against {
  border-left: 3px solid var(--edge);
  padding-left: .8rem;
  font-size: .88rem;
  color: var(--f-ink-soft);
  margin-top: .6rem;
}

table.reg thead th {
  border-bottom-color: var(--accent);
}

table.reg tbody tr:hover {
  background: var(--accent-soft);
}
