/* Policy answer panel + document-style cards + detail */

.policy-answer {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.95), rgba(232, 238, 244, 0.9));
  border: 1.5px solid rgba(91, 124, 153, 0.32);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.35rem;
  margin: 0 0 1.1rem;
  box-shadow: 0 1px 0 rgba(91, 124, 153, 0.08);
}
.policy-answer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: #5b7c99;
}
.policy-answer-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #3d5a73;
  background: rgba(91, 124, 153, 0.18);
  padding: .2rem .55rem;
  border-radius: 999px;
}
.policy-answer-cite {
  font-family: var(--display, inherit);
  font-size: 1.15rem;
  margin: .55rem 0 .25rem;
  line-height: 1.25;
  color: var(--espresso, #1a1a1a);
}
.policy-answer-section {
  margin: 0 0 .7rem;
  font-size: .82rem;
  color: #3d5a73;
  opacity: .9;
}
.policy-answer-quote {
  margin: 0;
  padding: .75rem 1rem;
  border-left: 3px solid #5b7c99;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 12px 12px 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--espresso-80, #333);
  white-space: pre-wrap;
}
.policy-answer-note {
  margin: .65rem 0 .85rem;
  font-size: .78rem;
  opacity: .72;
}
.policy-answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .35rem;
}
.policy-doc-mark {
  position: absolute;
  right: .85rem;
  bottom: .55rem;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .03em;
  color: #5b7c99;
  opacity: .85;
}

/* Document-style card — same skeleton as .res-card, distinct paint */
.policy-card {
  --cat: #5b7c99;
  --cat-ink: #fff;
  position: relative;
  background:
    linear-gradient(165deg, #fbf8f2 0%, #f3f6f9 55%, #e8eef4 100%);
  border: 1.5px solid rgba(91, 124, 153, 0.38);
  text-align: left;
  cursor: pointer;
  padding-bottom: 1.55rem;
  overflow: hidden;
}
.policy-card::after {
  /* folded corner */
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 1.1rem 1.1rem 0;
  border-color: transparent rgba(91, 124, 153, 0.22) transparent transparent;
  pointer-events: none;
}
.policy-cat-strip,
.policy-card .cat-strip {
  background: #5b7c99 !important;
  width: 5px;
}
.policy-card .res-name {
  display: block;
  width: 100%;
  color: #243746;
}
.policy-card .res-sub {
  color: #5b7c99;
  font-weight: 650;
}
.policy-card .res-desc {
  color: var(--espresso-70, #444);
}
.policy-card-mark {
  position: absolute;
  right: .75rem;
  bottom: .55rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: none;
  color: #3d5a73;
  opacity: .9;
  white-space: nowrap;
}

.policy-detail-head .policy-sheet-cat,
.policy-sheet-cat {
  background: #5b7c99 !important;
}
.policy-expect {
  margin: .65rem 0 0;
  padding: .65rem .8rem;
  border-radius: 12px;
  background: rgba(91, 124, 153, 0.1);
  border: 1px solid rgba(91, 124, 153, 0.2);
  font-size: .9rem;
  line-height: 1.45;
  color: #2c3e4c;
}
.policy-official-link {
  margin: .75rem 0 0;
}
.policy-detail .policy-sections {
  margin-top: 1rem;
}
.policy-section {
  padding: .85rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.policy-section-title {
  font-size: .95rem;
  margin: 0 0 .45rem;
  color: #3d5a73;
}
.policy-section-body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: .92rem;
  color: var(--espresso-70, #444);
}
