/* season.css — protest-season UX chrome (banner / chip / watermark / footnote).
   Loaded only on the six main HTML pages; do not fold into style.css. */

.season-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff5ec;
  border-bottom: 1px solid #f0d3ba;
  color: #7a3e12;
  font-size: 12.5px;
  line-height: 1.35;
  padding: 6px 12px;
  text-align: left;
  transition: height 150ms ease, opacity 150ms ease, padding 150ms ease,
    border-bottom-width 150ms ease;
}
.season-banner-leaving {
  pointer-events: none;
}
.season-banner-msg {
  flex: 1 1 auto;
  min-width: 0;
}
.season-banner-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.season-banner-details {
  flex: 0 0 auto;
  margin: 0;
  padding: 2px 6px;
  border: none;
  background: transparent;
  color: #7a3e12;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  border-radius: 4px;
  white-space: nowrap;
}
.season-banner-details:hover,
.season-banner-details:focus {
  background: rgba(122, 62, 18, 0.08);
  outline: none;
}
.season-banner-dismiss {
  flex: 0 0 auto;
  margin: -2px 0 0;
  padding: 2px 6px;
  border: none;
  background: transparent;
  color: #7a3e12;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
  border-radius: 4px;
}
.season-banner-dismiss:hover,
.season-banner-dismiss:focus {
  opacity: 1;
  background: rgba(122, 62, 18, 0.08);
  outline: none;
}
@media (max-width: 560px) {
  .season-banner {
    font-size: 11.5px;
    line-height: 1.3;
    padding: 5px 10px;
    gap: 6px;
    align-items: center;
  }
  .season-banner-dismiss { font-size: 18px; padding: 0 2px; margin-top: 0; }
}

/* Mute closed chip under search: removed — banner alone. */
.season-exceptions-fold {
  margin-top: 6px;
  padding-top: 6px;
}
.season-exceptions-fold > summary {
  cursor: pointer;
  font-weight: 600;
  color: #5a6067;
  list-style: none;
}
.season-exceptions-fold > summary::-webkit-details-marker { display: none; }
.season-exceptions-fold > summary::before {
  content: "▸ ";
  color: #9aa0a6;
}
.season-exceptions-fold[open] > summary::before { content: "▾ "; }
.season-exceptions-fold > p {
  margin: 6px 0 0;
  font-weight: 400;
}

.season-exceptions {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #6b7278;
  max-width: 72rem;
}
footer.site-footer .season-exceptions {
  display: block;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e6e8eb;
}

/* Homepage footer: Late notices on-page pop (locked COPY.exceptions). */
.late-notices-btn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #1b6fe6;
  cursor: pointer;
  text-decoration: none;
}
.late-notices-btn:hover { text-decoration: underline; }
.late-notices-pop {
  position: fixed;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 1003;
  width: min(420px, calc(100vw - 24px));
  max-height: min(50vh, 320px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  font-size: 13px;
  line-height: 1.5;
  color: #1b1d1e;
}
.late-notices-pop h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}
.late-notices-pop p {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #5a6573;
}
.late-notices-pop .info-close { margin-top: 0; }
@media (max-width: 560px) {
  .late-notices-pop {
    bottom: 48px;
    max-height: min(55vh, 360px);
  }
}

.season-account-chip {
  display: inline-block;
  margin: 6px 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  border: 1px solid #f0d3ba;
  background: #fff5ec;
  color: #7a3e12;
}
.season-account-chip.open {
  border-color: #b7e0c2;
  background: #eefaf1;
  color: #1d6b3a;
}

.season-vintage-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  border: 1px solid #d9dde2;
  background: #f6f7f8;
  color: #3c4248;
}
.season-vintage-badge.certified {
  border-color: #cfd3d8;
  background: #eef0f2;
  color: #4a5056;
}
.season-vintage-badge.preliminary {
  border-color: #c5d4f0;
  background: #eef3fc;
  color: #2a4a86;
}

/* Packet / print watermark — reference-only when chip closed. */
.pk-watermark {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1.5px dashed #b4541a;
  background: #fff8f0;
  color: #7a3e12;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
}
@media print {
  .season-banner,
  .season-exceptions,
  .season-account-chip { display: none !important; }
  .pk-watermark {
    display: block !important;
    border-color: #333;
    color: #333;
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Week-2 §3 — Notice vs certified (reusable two-up; stack ≤560) */
.notice-vs-certified {
  margin: 14px 0 18px;
}
.notice-vs-certified > .nvc-title,
.doc-section.notice-vs-certified > h2.nvc-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink, #1b1d1e);
  margin: 0 0 10px;
  letter-spacing: 0;
}
@media (min-width: 561px) {
  .notice-vs-certified > .nvc-title,
  .doc-section.notice-vs-certified > h2.nvc-title {
    font-size: 18px;
  }
}
.nvc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 560px) {
  .nvc-grid { grid-template-columns: 1fr; }
}
.nvc-card {
  background: #fff;
  border: 1px solid var(--rule, #e3e6ea);
  border-radius: 8px;
  padding: 12px;
}
.nvc-card .season-vintage-badge {
  display: inline-block;
  margin: 0 0 8px;
}
.nvc-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #3c4248;
}
.nvc-footer {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7278;
}
.nvc-footer a { color: #1b6fe6; }
.doc-nvc-link {
  margin: -4px 0 14px;
  font-size: 13px;
  line-height: 1.4;
}
.doc-nvc-link a { color: #1b6fe6; }
/* Year-help pop: always stack; tighten chrome */
#year-help-pop {
  width: min(360px, calc(100vw - 32px));
}
#year-help-pop .notice-vs-certified { margin: 8px 0 4px; }
#year-help-pop .nvc-grid { grid-template-columns: 1fr; }
#year-help-pop .nvc-card p { font-size: 12.5px; }
#year-help-pop .nvc-footer { font-size: 11.5px; }
