@import "./commons-ui.css";
.attention-app {
  --cu-bg: #fbf8ef;
  --cu-accent: #e8d86b;
}
.attention-app .cu-head h1 {
  font-family: Georgia, serif;
  font-weight: 600;
}
.attention-app .cu-tabs {
  border-top: 3px double var(--cu-ink);
}
.ac-lead {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 23px;
  align-items: center;
  border-bottom: 2px solid var(--cu-ink);
  padding: 0 0 20px;
}
.ac-lead h2 {
  font:
    600 clamp(31px, 4.2vw, 59px)/0.98 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 10px 0;
}
.ac-lead svg {
  display: block;
  width: 100%;
  max-height: 255px;
  background: #f4dc68;
}
.ac-lead p {
  font:
    20px/1.3 Georgia,
    serif;
}
.ac-item {
  border-top: 1px solid var(--cu-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
}
.ac-item h3 {
  font:
    600 25px/1.1 Georgia,
    serif;
  margin: 6px 0 0;
}
.ac-reading {
  max-width: 710px;
  margin: auto;
  padding: 18px 0;
}
.ac-reading h2 {
  font:
    600 clamp(35px, 5vw, 58px)/1.03 Georgia,
    serif;
  margin: 12px 0;
}
.ac-reading p {
  font:
    23px/1.55 Georgia,
    serif;
}
.ac-reading aside,
.ac-compare {
  margin: 16px 0;
  padding: 14px;
  border-left: 3px solid var(--cu-accent);
  background: var(--cu-card);
}
@media (max-width: 660px) {
  .ac-lead {
    grid-template-columns: 1fr;
  }
  .ac-lead svg {
    max-height: 125px;
  }
  .ac-item {
    flex-wrap: wrap;
  }
}
.attention-app .cu-head h1,
.ac-lead h2,
.ac-item h3,
.ac-reading h2 {
  font-family: system-ui, sans-serif;
}
.ac-lead {
  background: var(--fx-sidebar);
  border: 1px solid var(--fx-border);
  border-radius: 4px;
  padding: 16px;
}
.ac-lead h2 {
  font-weight: 600;
  font-size: clamp(23px, 3.1vw, 40px);
}
.ac-rankbar,
.ac-editions header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ac-rankbar {
  padding: 10px;
  background: var(--fx-sidebar);
  border: 1px solid var(--fx-border);
  margin: 10px 0;
}
.ac-rankbar label {
  display: grid;
  gap: 3px;
  font-size: 12px;
}
.ac-orders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ac-orders section {
  border: 1px solid var(--fx-border);
  background: var(--fx-surface);
}
.ac-orders section > small {
  display: block;
  background: var(--fx-sidebar);
  padding: 8px;
}
.ac-orders button {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: baseline;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--fx-border);
  background: transparent;
  border-radius: 0;
}
.ac-orders button[aria-pressed="true"] {
  background: var(--fx-selected);
  color: var(--fx-selected-text);
}
.ac-orders time {
  font: 12px var(--cu-mono);
}
.ac-editions > article {
  max-width: 76ch;
  padding: 14px 0;
}
.ac-editions > article small {
  color: var(--fx-muted);
}
@media (max-width: 550px) {
  .ac-orders {
    grid-template-columns: 1fr;
  }
}
.attention-app {
  --ac-page: #f7f4e9;
  --ac-type: #252722;
  --ac-press: #475643;
  --ac-rule: #aba99c;
  --ac-screen: #d9ddc2;
}
[data-theme="dark"] .attention-app {
  --ac-page: #30332c;
  --ac-type: #ece9dc;
  --ac-press: #d3daca;
  --ac-rule: #747b69;
  --ac-screen: #3d493d;
}
.attention-app .cu-head h1 {
  font:
    600 20px/1.2 system-ui,
    sans-serif;
  letter-spacing: -0.04em;
}
.attention-app .cu-head p {
  display: none;
}
.attention-app .cu-tabs {
  border: 0;
  border-block: 1px solid var(--fx-border);
  border-radius: 0;
  background: transparent;
  margin: 7px 0 13px;
}
.ac-broadsheet,
.ac-reading,
.ac-editions {
  color: var(--ac-type);
  background: var(--ac-page);
  border: 1px solid var(--ac-rule);
  padding: clamp(14px, 2vw, 27px);
}
.ac-broadsheet > header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  border-bottom: 3px double var(--ac-type);
  gap: 10px;
  padding: 2px 0 9px;
}
.ac-broadsheet > header h2 {
  font:
    650 clamp(31px, 4.4vw, 65px)/0.92 Georgia,
    serif;
  letter-spacing: -0.065em;
  margin: 0;
}
.ac-broadsheet > header > span,
.ac-broadsheet small,
.ac-broadsheet figcaption,
.ac-sectionbar > span {
  font: 11px/1.4 var(--cu-mono);
}
.ac-broadsheet > header > span:last-child {
  text-align: right;
}
.ac-sectionbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 5px 0;
  border-bottom: 1px solid var(--ac-rule);
}
.ac-sectionbar button {
  background: none;
  color: inherit;
  border: 0;
  border-radius: 0;
  font: 500 12px system-ui;
  padding: 3px 7px;
}
.ac-sectionbar button[aria-pressed="true"] {
  box-shadow: inset 0 -2px var(--ac-type);
  font-weight: 650;
}
.ac-spread {
  display: grid;
  grid-template-columns: 1fr 0.77fr 0.62fr;
  gap: 17px;
  padding-top: 17px;
  align-items: start;
}
.ac-front h3 {
  font:
    550 clamp(28px, 3.75vw, 52px)/0.98 Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 10px 0;
}
.ac-front p,
.ac-reading > p {
  font:
    17px/1.45 Georgia,
    serif;
}
.ac-front .cu-button {
  background: transparent;
  color: var(--ac-type);
  border: 1px solid var(--ac-rule);
  font: 600 12px system-ui;
  padding: 5px 8px;
  margin-right: 3px;
}
.ac-spread figure {
  margin: 3px 0;
}
.ac-cut {
  display: block;
  width: 100%;
  color: var(--ac-press);
  background: var(--ac-screen);
}
.ac-engraving {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.ac-cut-dots {
  stroke: currentColor;
  stroke-width: 0.65;
  stroke-dasharray: 0.8 3;
  opacity: 0.5;
}
.ac-hatch {
  stroke: currentColor;
  fill: none;
  stroke-width: 0.8;
}
.ac-broadsheet figcaption {
  padding: 5px 0;
}
.ac-spread aside {
  border-left: 1px solid var(--ac-rule);
  padding-left: 13px;
}
.ac-spread aside h3 {
  font:
    600 13px/1.2 system-ui,
    sans-serif;
  margin: 0 0 8px;
}
.ac-spread aside button {
  display: block;
  width: 100%;
  padding: 8px 0;
  color: var(--ac-type);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ac-rule);
  border-radius: 0;
  text-align: left;
}
.ac-spread aside strong {
  display: block;
  font:
    550 17px/1.15 Georgia,
    serif;
}
.ac-editions > header h2,
.ac-reading h2 {
  font-family: Georgia, serif;
}
@media (max-width: 700px) {
  .ac-spread {
    grid-template-columns: 1.15fr 1fr;
  }
  .ac-spread aside {
    grid-column: 1/-1;
    border: 0;
    border-top: 1px solid var(--ac-rule);
    padding: 8px 0;
  }
  .ac-spread aside button {
    display: inline-block;
    vertical-align: top;
    width: 33%;
    padding: 2px 6px 2px 0;
    border: 0;
  }
  .ac-spread aside strong {
    font-size: 13px;
  }
  .ac-broadsheet > header {
    grid-template-columns: auto 1fr;
  }
  .ac-broadsheet > header h2 {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .ac-broadsheet > header span {
    grid-row: 2;
  }
  .ac-spread {
    gap: 10px;
  }
  .ac-front h3 {
    font-size: 25px;
  }
}
