:root {
  --navy: #17233b;
  --blue: #2a4e7d;
  --slate: #566171;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --soft-blue: #eef3f8;
  --line: rgba(23, 35, 59, 0.14);
  --draft: #9a6400;
  --draft-bg: #fff3d8;
  --success: #20592f;
  --success-bg: #eef8f0;
  --danger: #8a1f1f;
  --danger-bg: #fff0f0;
}

.update-page {
  min-height: 100vh;
  padding: 44px 0 72px;
}

.update-hero {
  padding: clamp(32px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 22px 64px rgba(23, 35, 59, .08);
}

.update-hero h1 {
  max-width: 940px;
  margin: 4px 0 16px;
  color: var(--navy);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.update-hero .subtitle {
  max-width: 900px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 900;
  line-height: 1.4;
}

.update-hero .summary {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.72;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.meta-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.meta-pill.internal {
  background: var(--navy);
  color: #fff;
}

.meta-pill.draft {
  background: var(--draft-bg);
  color: var(--draft);
}

.meta-pill.action {
  background: #dce9f7;
  color: var(--blue);
}

.update-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr);
  gap: 22px;
  margin-top: 24px;
}

.update-card,
.action-required,
.contribution-card,
.feedback-form-card,
.change-card,
.assignment-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(23, 35, 59, .06);
}

.update-card h2,
.update-card h3,
.action-required h2,
.contribution-card h2,
.contribution-card h3,
.feedback-form-card h2,
.change-card h2,
.assignment-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  line-height: 1.2;
}

.update-card h2,
.action-required h2,
.contribution-card h2,
.feedback-form-card h2,
.change-card h2,
.assignment-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.update-card h3,
.contribution-card h3 {
  margin-top: 24px;
  font-size: 1.3rem;
}

.update-card p,
.update-card li,
.action-required p,
.action-required li,
.contribution-card p,
.contribution-card li,
.feedback-form-card p,
.change-card p,
.assignment-card p,
.assignment-card td {
  color: var(--slate);
  line-height: 1.65;
}

.update-card ul,
.update-card ol,
.action-required ol,
.contribution-card ul,
.contribution-card ol {
  margin: 0;
  padding-left: 22px;
}

.update-card li + li,
.action-required li + li,
.contribution-card li + li {
  margin-top: 7px;
}

.video-frame {
  overflow: hidden;
  border-radius: 18px;
  background: #0e1728;
  box-shadow: 0 12px 30px rgba(10, 20, 38, .22);
}

.video-frame video {
  display: block;
  width: 100%;
  background: #0e1728;
}

.callout {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 7px solid var(--blue);
  background: var(--soft-blue);
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.feedback-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.feedback-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--slate);
}

.feedback-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.related-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--navy);
  font-weight: 900;
}

.related-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.archive-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(23, 35, 59, .06);
}

.archive-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

.archive-media img,
.archive-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.archive-media video {
  opacity: 0;
}

.archive-media video.ready { opacity: 1; }

.archive-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,17,33,.75), rgba(8,17,33,0) 60%);
}

.archive-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-play {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.archive-body { padding: 24px; }
.archive-body h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.6rem; line-height: 1.2; }
.archive-body p { margin: 0; color: var(--slate); }
.archive-body .update-meta { margin-top: 18px; }
.archive-button { display: inline-flex; margin-top: 20px; padding: 12px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 900; }
.archive-button:hover { background: var(--blue); }

.action-required {
  margin-top: 24px;
  border: 2px solid var(--blue);
  background: linear-gradient(135deg, #ffffff 0%, #eef3f8 100%);
}

.action-required-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.action-time {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.action-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.action-fact {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.8);
}

.action-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.action-fact strong {
  color: var(--navy);
  line-height: 1.35;
}

.action-steps {
  display: grid;
  gap: 10px;
  counter-reset: action-step;
  padding: 0 !important;
  list-style: none;
}

.action-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.action-steps li::before {
  counter-increment: action-step;
  content: counter(action-step);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.action-deadline {
  margin: 18px 0 0 !important;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--draft-bg);
  color: var(--draft) !important;
  font-weight: 900;
}

.review-path {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.review-path-list {
  display: grid;
  gap: 8px;
  padding: 0 !important;
  list-style: none;
  counter-reset: review-step;
}

.review-path-list li {
  margin: 0 !important;
}

.review-path-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 800;
}

.review-path-list a::before {
  counter-increment: review-step;
  content: counter(review-step);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.review-path-list a::after {
  content: '→';
  color: var(--blue);
}

.review-path-list a:hover {
  border-color: var(--blue);
  background: var(--soft-blue);
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.pathway-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 0 !important;
  list-style: none;
}

.pathway-list li {
  margin: 0 !important;
  padding: 11px 13px;
  border-radius: 11px;
  background: #fbfaf7;
  border: 1px solid var(--line);
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.secondary-action {
  background: var(--soft-blue);
  color: var(--navy);
}

.primary-action:hover { background: var(--blue); }
.secondary-action:hover { background: #dce9f7; }

.feedback-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feedback-example {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.feedback-example.good { background: var(--success-bg); }
.feedback-example.weak { background: var(--danger-bg); }
.feedback-example strong { display: block; margin-bottom: 10px; color: var(--navy); }
.feedback-example blockquote { margin: 0; color: var(--slate); line-height: 1.55; }
.feedback-example blockquote + blockquote { margin-top: 12px; }

.change-card,
.assignment-card,
.feedback-form-card {
  margin-top: 24px;
}

.change-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.change-step {
  padding: 18px;
  border-radius: 14px;
  background: #fbfaf7;
  border: 1px solid var(--line);
}

.change-step span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.change-step strong {
  color: var(--navy);
  line-height: 1.4;
}

.assignment-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.assignment-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.assignment-table th {
  padding: 12px 14px;
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.assignment-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.assignment-table tr:nth-child(even) td { background: #fbfaf7; }

.status-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--draft-bg);
  color: var(--draft);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge.received {
  background: var(--success-bg);
  color: var(--success);
}

.response-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
}

.response-choice {
  position: relative;
}

.response-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.response-choice label {
  min-height: 100%;
  display: block;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fbfaf7;
  cursor: pointer;
}

.response-choice label strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

.response-choice label span {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.45;
}

.response-choice input:checked + label {
  border-color: var(--blue);
  background: var(--soft-blue);
  box-shadow: 0 0 0 3px rgba(42,78,125,.1);
}

.feedback-form {
  display: grid;
  gap: 17px;
}

.feedback-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feedback-form label,
.feedback-form fieldset {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

.feedback-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fbfaf7;
  color: var(--navy);
  font: inherit;
}

.feedback-form textarea {
  min-height: 110px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: 3px solid rgba(42,78,125,.12);
  border-color: var(--blue);
}

.feedback-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  white-space: pre-line;
}

.form-status.success {
  display: block;
  background: var(--success-bg);
  color: var(--success);
}

.form-status.error {
  display: block;
  background: var(--danger-bg);
  color: var(--danger);
}

.form-note {
  margin: 0 !important;
  font-size: 14px;
}

@media (max-width: 900px) {
  .update-layout,
  .contribution-grid,
  .feedback-examples,
  .change-flow,
  .response-choice-grid {
    grid-template-columns: 1fr;
  }

  .action-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .archive-grid,
  .feedback-form-grid {
    grid-template-columns: 1fr;
  }

  .update-page { padding-top: 28px; }
  .update-hero { padding: 28px 22px; }
  .action-required-top { flex-direction: column; }
  .action-facts { grid-template-columns: 1fr; }
  .review-path-list a { grid-template-columns: 28px minmax(0, 1fr); }
  .review-path-list a::after { display: none; }
}