/* Common notice-detail preparation checklist. Presentation only. */
#notice-preparation.nr-disclosure {
  border-color: #d9e7eb;
  overflow: hidden;
}
#notice-preparation.nr-disclosure > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(100deg, #f1f9f8 0%, #f9fcfd 80%);
  border-bottom: 1px solid transparent;
}
#notice-preparation.nr-disclosure > details[open] > summary {
  border-bottom-color: #deeced;
}
#notice-preparation.nr-disclosure > details > summary h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #143e4b;
}
#notice-preparation.nr-disclosure > details > summary > span {
  width: 29px;
  height: 29px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e3f2f0;
  color: #127a79;
  font-size: 18px;
}
#notice-preparation .nr-rich {
  padding: 18px 22px 20px;
}
#notice-preparation .nr-guidance-label {
  margin: 0 0 15px;
  padding: 11px 13px;
  border: 1px solid #e1ebef;
  border-left: 3px solid #12a49a;
  border-radius: 9px;
  background: #f5fafb;
  color: #496575;
  font-size: 12px;
  line-height: 1.65;
}
/* GPT's saved checklist cards have nested divs; sanitizing removes old classes. */
#notice-preparation .nr-rich > div {
  margin: 0 0 10px;
  padding: 13px 14px;
  border: 1px solid #e2ebef;
  border-radius: 12px;
  background: #fcfefe;
  box-shadow: 0 1px 2px rgba(15, 62, 79, 0.03);
}
#notice-preparation .nr-rich > div:last-child {
  margin-bottom: 0;
}
#notice-preparation .nr-rich > div > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
#notice-preparation .nr-rich > div > div > div:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-height: 30px;
  border-radius: 9px;
  background: #e0f3ef;
  color: #08736d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
#notice-preparation .nr-rich > div > div > div:nth-child(2) {
  padding-top: 3px;
  color: #2b4755;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
/* Other source-backed tips may arrive as a semantic ordered list. */
#notice-preparation .nr-rich > ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: notice-prep;
}
#notice-preparation .nr-rich > ol > li {
  counter-increment: notice-prep;
  position: relative;
  padding: 15px 14px 15px 54px;
  margin: 0 0 10px;
  border: 1px solid #e2ebef;
  border-radius: 12px;
  background: #fcfefe;
  color: #2b4755;
  font-size: 14px;
  line-height: 1.65;
}
#notice-preparation .nr-rich > ol > li::before {
  content: counter(notice-prep);
  position: absolute;
  top: 13px;
  left: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e0f3ef;
  color: #08736d;
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 640px) {
  #notice-preparation.nr-disclosure > details > summary { padding: 15px 16px; }
  #notice-preparation .nr-rich { padding: 15px 14px 17px; }
  #notice-preparation .nr-rich > div { padding: 12px; }
  #notice-preparation .nr-rich > div > div { gap: 10px; }
  #notice-preparation .nr-rich > div > div > div:nth-child(2),
  #notice-preparation .nr-rich > ol > li { font-size: 13px; }
}

/* On narrow notice pages the two fixed social shortcuts cover the application
   CTA and text. Keep both links available after the article, without overlay. */
@media (max-width: 640px) {
  body.nb-notice-view-page .nb-float {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    transform: none !important;
    width: max-content !important;
    height: auto !important;
    max-width: calc(100vw - 32px);
    margin: 20px auto 88px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
  }
  body.nb-notice-view-page .nb-float .nb-float-btn,
  body.nb-notice-view-page .nb-float .nb-float-btn img {
    width: 52px !important;
    height: 52px !important;
  }
}
