.article-workbench .byline-assignment {
  display: grid;
  gap: 8px;
}

/* Keep inspector navigation outside the disabled writing fieldset. */
fieldset.article-editor__fields{min-inline-size:0;margin:0;padding:0}

/* Keep issue, story and queue context in one compact band above the editor. */
.article-workbench__issuebar:not(.article-workbench__issuebar--individual) {
  grid-template-columns: 150px minmax(240px, 1fr) auto auto auto;
  gap: 0;
}

.article-workbench__issuebar > .article-workbench__issue-story {
  min-width: 0;
  gap: 4px;
  padding-right: 20px;
}

.article-workbench__new-story {
  min-height: 28px;
  border: 1px solid #c8c1b8;
  border-radius: 999px;
  padding: 0 9px;
  background: #fffefa;
  color: #171513;
  font: 900 7px/1 Arial, sans-serif;
  letter-spacing: .035em;
  cursor: pointer;
  text-transform: uppercase;
}

.article-workbench__new-story:hover,
.article-workbench__new-story:focus-visible {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
}

.article-workbench__issue-story strong,
.article-workbench__issue-story span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-workbench__issue-story span {
  font-family: Arial, sans-serif !important;
  font-size: 8px !important;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.article-workbench__issue-sequence {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  border-left: 1px solid #d8d2c9;
  padding: 0 18px;
  white-space: nowrap;
}

.article-workbench__issue-sequence a,
.article-workbench__issue-sequence .is-disabled {
  color: #171513;
  font: 900 8px/1 Arial, sans-serif;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-workbench__issue-sequence a:hover,
.article-workbench__issue-sequence a:focus-visible {
  color: #99192f;
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-workbench__issue-sequence .is-disabled {
  color: #aaa39b;
}

.article-workbench__issue-sequence > span:nth-child(2) {
  color: #716a63;
  font: 10px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-transform: none;
}

.article-workbench__issuebar > .article-workbench__issue-status {
  display: flex;
  align-items: center;
  border-left: 1px solid #d8d2c9;
  padding: 0 18px;
}

.article-workbench__issue-status .status-pill {
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.article-workbench:has(.writer-review-handoff) {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.article-workbench:has(.writer-review-handoff) > .article-workbench__issuebar {
  grid-row: 1;
}

.writer-review-handoff {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #c8c1b8;
  padding: 9px 26px;
  background: #f1f7f2;
  color: #171513;
}

.writer-review-handoff__summary {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
}

.writer-review-handoff__summary > span,
.writer-review-handoff__next b {
  color: #24613c;
  font: 900 8px/1 Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.writer-review-handoff__summary > strong,
.writer-review-handoff__next strong {
  overflow: hidden;
  font: 700 11px/1.25 Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.writer-review-handoff__summary time {
  color: #716a63;
  font: 10px/1.2 Georgia, "Times New Roman", serif;
  white-space: nowrap;
}

.writer-review-handoff__next {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  border-left: 1px solid #b9cdbf;
  padding-left: 20px;
}

.writer-review-handoff__next > span {
  display: grid;
  gap: 3px;
}

.writer-review-handoff__next[data-state="needed"] b {
  color: #99192f;
}

.writer-review-handoff__next .button {
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 8px;
}

.article-workbench:has(.writer-review-handoff) > .article-workbench__queue,
.article-workbench:has(.writer-review-handoff) > .article-workbench__copy,
.article-workbench:has(.writer-review-handoff) > .article-workbench__context {
  grid-row: 3;
}

.article-workbench:has(.writer-review-handoff) .article-editor__fields {
  height: max(320px, calc(100dvh - 307px));
}

.article-workbench__story-status--writer-returned {
  color: #24613c;
  font-weight: 900;
}

.article-workbench__story-status--writer-returned::before {
  background: #27864d;
}

.article-workbench--individual .article-workbench__issuebar--individual {
  grid-template-columns: 210px minmax(0, 1fr) auto;
}

.article-workbench:not(.article-workbench--individual) .article-editor__fields {
  height: max(360px, calc(100dvh - 249px));
}

.article-workbench--individual .article-editor__fields {
  height: max(360px, calc(100dvh - 248px));
}

.article-workbench:not(.article-workbench--individual) .article-editor__form {
  padding-top: 14px;
}

@media (max-width: 1400px) {
  .article-workbench__issuebar:not(.article-workbench__issuebar--individual) {
    grid-template-columns: 128px minmax(210px, 1fr) auto auto auto;
  }

  .article-workbench__issue-sequence {
    gap: 9px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .article-workbench__issuebar > .article-workbench__issue-status {
    padding-right: 12px;
    padding-left: 12px;
  }

  .article-workbench__issuebar dl div {
    min-width: 82px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .writer-review-handoff {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 960px) {
  .writer-review-handoff {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .writer-review-handoff__summary {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .writer-review-handoff__next {
    justify-content: space-between;
    border-top: 1px solid #b9cdbf;
    border-left: 0;
    padding-top: 8px;
    padding-left: 0;
  }
}

.article-workbench .byline-assignment__writer {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #c9c2ba;
  border-radius: 12px;
  padding: 9px 11px 9px 14px;
  background: #fffefa;
}

.article-workbench .byline-assignment__writer.is-unlinked {
  border-color: #d7a7af;
  background: #fff8f8;
  box-shadow: inset 3px 0 0 #99192f;
}

.article-workbench .byline-assignment__writer > span:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.article-workbench .byline-assignment__writer strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-workbench .byline-assignment__writer small {
  color: #716a63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
}

.article-workbench .byline-assignment__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.article-workbench .byline-assignment__actions .text-button {
  min-height: 30px;
  border: 1px solid #c9c2ba;
  border-radius: 999px;
  padding: 0 10px;
  background: #fffefa;
  color: #4d4741;
  font-size: 7px;
  text-decoration: none;
}

.article-workbench .byline-assignment__writer.is-unlinked .byline-assignment__actions .text-button:first-child {
  border-color: #99192f;
  color: #99192f;
}

.article-workbench .byline-assignment__actions .text-button:hover,
.article-workbench .byline-assignment__actions .text-button:focus-visible {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
  box-shadow: 0 0 0 3px rgb(153 25 47 / 9%);
}

.article-workbench__optional > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-workbench__optional > summary small {
  border: 1px solid #c9c2ba;
  border-radius: 999px;
  padding: 4px 8px;
  color: #6f6962;
  font-size: 7px;
  letter-spacing: .03em;
  white-space: nowrap;
}

.article-workbench__optional > div {
  gap: 16px;
}

.article-workbench__optional-intro {
  max-width: 760px;
  margin: -2px 0 0;
  color: #665f58;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.5;
}

.article-workbench__optional-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-workbench__optional-field {
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid #d2ccc3;
  border-radius: 12px;
  padding: 14px;
  background: #fbfaf7;
}

.article-workbench__optional-field--location {
  grid-column: 1 / -1;
}

.article-workbench__optional-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.article-workbench__optional-field > span strong {
  font-size: 10px;
}

.article-workbench__optional-field > span small,
.article-workbench__optional-field > small {
  color: #77716a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
}

.article-workbench__optional-field textarea.field {
  min-height: 108px;
}

.article-editor__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(238px, 286px);
  align-items: start;
  gap: 24px;
}

.article-editor__workspace.article-editor__workspace--without-media {
  grid-template-columns: minmax(0, 1fr);
}

.article-editor__fields {
  display: grid;
  min-width: 0;
  gap: 13px;
}

.article-workbench .article-editor__fields > label {
  display: grid;
  gap: 7px;
  color: #2d2925;
  font-size: 10px;
  font-weight: 900;
}

.article-workbench .article-editor__fields > label:first-of-type input {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.article-workbench .article-editor__fields > label:nth-of-type(2) textarea {
  min-height: 76px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.45;
}

.article-media-stack {
  position: sticky;
  top: 18px;
  display: grid;
  min-width: 0;
  gap: 8px;
}

.article-media-stack > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-media-stack > header div {
  display: grid;
  gap: 2px;
}

.article-media-stack > header span,
.article-media-stack__copy > strong {
  color: #99192f;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.article-media-stack > header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.article-media-stack > header > strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e1dcd4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 400;
}

.article-media-stack__hint,
.article-media-stack__status {
  margin: 0;
  color: #716a63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  line-height: 1.4;
}

.article-media-stack__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-media-stack__item {
  position: relative;
  min-width: 0;
  border: 1px solid #d2ccc4;
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 5px 14px rgb(35 27 22 / 7%), 0 1px 2px rgb(35 27 22 / 6%);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: border-color .15s ease, opacity .15s ease, transform .15s ease, box-shadow .15s ease;
}

.article-media-stack__item.is-lead {
  border-color: #99192f;
  box-shadow: 0 7px 18px rgb(91 19 33 / 11%), 0 1px 2px rgb(35 27 22 / 6%);
}

.article-media-stack__item.is-dragging {
  z-index: 3;
  opacity: .18;
  transform: none;
  box-shadow: none;
  cursor: grabbing;
}

.article-media-stack__list.is-reordering .article-media-stack__item:not(.is-dragging) {
  border-color: #bdb6ad;
}

.article-media-stack__drag-ghost {
  position: fixed;
  z-index: 1002;
  overflow: hidden;
  margin: 0;
  border: 1px solid #99192f;
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 18px 42px rgb(35 27 22 / 24%);
  pointer-events: none;
  will-change: transform;
}

.article-media-stack__drag-ghost .article-media-stack__remove {
  display: none;
}

body.is-reordering-media,
body.is-reordering-media * {
  cursor: grabbing !important;
}

.article-media-stack__card {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  padding: 7px 28px 7px 7px;
  background: transparent;
  color: #171513;
  text-align: left;
  cursor: grab;
}

.article-media-stack__card:hover,
.article-media-stack__card:focus-visible {
  background: #fffaf8;
  outline: 0;
  box-shadow: inset 0 0 0 2px rgb(153 25 47 / 9%);
}

.article-media-stack__thumbnail {
  width: 84px;
  height: 64px;
  border-radius: 6px;
  background: #e8e3dc;
  object-fit: contain;
}

.article-media-stack__thumbnail[draggable="true"] {
  -webkit-user-drag: element;
  cursor: copy;
}

.story-details-rail .article-media-stack__insert {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 8px 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 1px;
  background: transparent;
  color: #6f6962;
  font: 900 8px/1.3 Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
}

.story-details-rail .article-media-stack__insert:hover,
.story-details-rail .article-media-stack__insert:focus-visible {
  color: #99192f;
}
.story-details-rail .article-media-stack__insert:focus-visible {
  outline: 2px solid #99192f;
  outline-offset: 3px;
}

.article-media-stack__list[hidden],
.story-details-rail__images-empty[hidden] {
  display: none;
}

.article-media-stack__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.article-media-stack__copy > span {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-media-stack__copy small {
  color: #24613c;
  font-size: 8px;
}

.article-media-stack__copy small[data-state="required"] {
  color: #99192f;
}

.article-media-stack__remove {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgb(255 254 250 / 94%);
  box-shadow: 0 2px 8px rgb(35 27 22 / 12%);
  cursor: pointer;
}

.article-media-stack__remove {
  position: absolute;
  top: 5px;
  right: 5px;
  opacity: 0;
  color: #99192f;
  transform: translateY(-2px) scale(.92);
  transition: opacity .15s ease, transform .15s ease, background-color .15s ease;
}

.article-media-stack__item:hover .article-media-stack__remove,
.article-media-stack__remove:focus-visible {
  opacity: 1;
  transform: none;
}

.article-media-stack__remove:hover {
  background: #fff0f2;
}

.article-media-stack__remove img {
  width: 11px;
  height: 11px;
}

.article-media-stack__gallery-link {
  justify-self: start;
  min-height: 28px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 1px;
  background: transparent;
  color: #6f6962;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.article-media-stack__gallery-link:hover,
.article-media-stack__gallery-link:focus-visible {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
}

.article-workbench__panel-dialog[open] {
  width: min(var(--panel-width, 700px), calc(100vw - 24px)) !important;
  min-width: min(420px, calc(100vw - 24px));
  height: min(var(--panel-height, 650px), calc(100vh - 24px)) !important;
  min-height: min(360px, calc(100vh - 24px));
}

.article-workbench__panel-paper {
  position: relative;
  container-type: inline-size;
}

.article-workbench__panel-scroll,
.article-workbench__source-reader,
.article-workbench__gallery .issue-photo-library__grid {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.article-workbench__panel-scroll::-webkit-scrollbar,
.article-workbench__source-reader::-webkit-scrollbar,
.article-workbench__gallery .issue-photo-library__grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.article-workbench__panel-scroll {
  overscroll-behavior: contain;
}

.article-workbench__panel-dialog[data-active-panel="source"] .article-workbench__source-reader {
  display: grid;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  align-content: start;
  justify-items: center;
  overflow: auto;
  padding: 8px;
  background: #292929;
  outline: 0;
  overscroll-behavior: contain;
}

.article-workbench__source-reader:focus-visible {
  box-shadow: inset 0 0 0 3px rgb(244 187 35 / 78%);
}

.article-workbench__source-canvas {
  display: block;
  max-width: none;
  background: #fff;
  box-shadow: 0 4px 22px rgb(0 0 0 / 32%);
}

.article-workbench__source-canvas[hidden] {
  display: none;
}

.article-workbench__source-status {
  align-self: center;
  margin: min(28vh, 180px) 20px 0 !important;
  color: #f3efe9 !important;
  font-size: 13px !important;
  text-align: center;
}

.article-workbench__source-status[data-state="error"] {
  color: #ffd7de !important;
}

.article-workbench__gallery .issue-photo-library__grid {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.article-workbench__panel-resize {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 4;
  min-width: 54px;
  min-height: 28px;
  border: 1px solid #aaa299;
  border-radius: 999px;
  padding: 0 9px;
  background: #fffefa;
  color: #4c4640;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgb(20 16 12 / 12%);
  cursor: nwse-resize;
  touch-action: none;
}

.article-workbench__panel-resize:hover,
.article-workbench__panel-resize:focus-visible,
.article-workbench__panel-dialog.is-resizing .article-workbench__panel-resize {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
  box-shadow: 0 0 0 3px rgb(153 25 47 / 10%);
}

.article-workbench__gallery .issue-photo-library__footer {
  padding-right: 84px;
}

.article-workbench__panel-dialog[data-active-panel="gallery"] [data-workbench-panel="gallery"] {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.article-workbench__gallery .issue-photo-library__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  border-bottom: 1px solid #d3cec6;
  padding: 10px 14px;
  background: #f1eee8;
}

.article-workbench__gallery .issue-photo-library__filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  gap: 6px;
}

.article-workbench__gallery .issue-photo-library__filters--with-uploaded {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.article-workbench__gallery .issue-photo-library__filters button {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 11px;
  white-space: nowrap;
}

.article-workbench__gallery .issue-photo-library__filters button strong {
  min-width: 16px;
  border-left: 1px solid #d1cbc3;
  padding-left: 8px;
  color: #706961;
  font: 400 10px/1 Georgia, "Times New Roman", serif;
  text-align: right;
}

.article-workbench__gallery .issue-photo-library__filters button.is-active strong,
.article-workbench__gallery .issue-photo-library__filters button:hover strong,
.article-workbench__gallery .issue-photo-library__filters button:focus-visible strong {
  border-left-color: rgb(255 255 255 / 45%);
  color: inherit;
}

@container (max-width: 620px) {
  .article-workbench__gallery .issue-photo-library__toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-workbench__gallery .issue-photo-library__upload-control {
    justify-content: flex-start;
  }
}

@container (max-width: 460px) {
  .article-workbench__gallery .issue-photo-library__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.issue-photo-library__upload-control {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.article-workbench__gallery .issue-photo-library__upload {
  display: inline-flex;
  min-width: auto;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid #bdb6ad;
  border-radius: 999px;
  padding: 0 12px;
  background: #fffefa;
  color: #3e3934;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.article-workbench__gallery .issue-photo-library__upload:hover,
.article-workbench__gallery .issue-photo-library__upload:focus-within {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
  box-shadow: 0 0 0 3px rgb(153 25 47 / 9%);
}

.article-workbench__gallery .issue-photo-library__upload input {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.article-workbench__gallery .issue-photo-library__upload img {
  width: 15px;
  height: 15px;
}

.issue-photo-library__filename {
  max-width: 150px;
  overflow: hidden;
  color: #6d665f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-workbench__gallery .issue-photo-library__upload-control .button {
  min-height: 34px;
  border-radius: 999px;
  padding-right: 12px;
  padding-left: 12px;
  white-space: nowrap;
}

.article-workbench__gallery .issue-photo-library__upload-control .button[hidden] {
  display: none;
}

.article-workbench__gallery .issue-photo-library__toolbar > .form-note {
  grid-column: 1 / -1;
  margin: 0;
}

.article-workbench__gallery .issue-photo-library__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  align-content: start;
  gap: 10px;
  padding: 12px 14px;
}

.article-workbench__gallery .issue-photo-card {
  display: block;
  min-width: 0;
  border: 1px solid #cbc4bb;
  border-radius: 10px;
  padding: 6px;
  background: #fffefa;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.article-workbench__gallery .issue-photo-card[hidden] {
  display: none;
}

.article-workbench__gallery .issue-photo-card.is-current {
  border-color: #99192f;
  box-shadow: 0 0 0 2px rgb(153 25 47 / 12%);
}

.article-workbench__gallery .issue-photo-card__choose {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  padding: 0;
  background: #e8e3dc;
  cursor: pointer;
}

.article-workbench__gallery .issue-photo-card__visual {
  position: absolute;
  inset: 0;
  display: block;
}

.article-workbench__gallery .issue-photo-card__visual > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #e8e3dc;
  object-fit: contain;
  transition: transform .18s ease;
}

.article-workbench__gallery .issue-photo-card__source,
.article-workbench__gallery .issue-photo-card__suggested,
.article-workbench__gallery .issue-photo-card__lead-mark {
  position: absolute;
  left: 7px;
  border-radius: 999px;
  padding: 5px 7px;
  background: rgb(23 21 19 / 82%);
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.article-workbench__gallery .issue-photo-card__source {
  bottom: 7px;
}

.article-workbench__gallery .issue-photo-card__suggested {
  top: 7px;
  background: #fffefa;
  color: #99192f;
}

.article-workbench__gallery .issue-photo-card__lead-mark {
  top: 7px;
  left: 7px;
  background: #99192f;
}

.article-workbench__gallery .issue-photo-card__edit-mark {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #99192f;
  color: #fff;
  box-shadow: 0 3px 10px rgb(33 17 20 / 28%);
}

.article-workbench__gallery .issue-photo-card__edit-mark img {
  width: 15px;
  height: 15px;
  border-radius: 0;
  background: transparent;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.article-workbench__gallery .issue-photo-card__choose:not(:disabled):hover .issue-photo-card__visual > img,
.article-workbench__gallery .issue-photo-card__choose:not(:disabled):focus-visible .issue-photo-card__visual > img {
  transform: scale(1.025);
}

.article-workbench__gallery .issue-photo-card:has(.issue-photo-card__choose:not(:disabled):hover),
.article-workbench__gallery .issue-photo-card:has(.issue-photo-card__choose:not(:disabled):focus-visible) {
  border-color: #99192f;
  box-shadow: 0 0 0 3px rgb(153 25 47 / 9%);
}

.article-workbench__gallery .issue-photo-card__choose:focus-visible {
  outline: 2px solid #99192f;
  outline-offset: 2px;
}

.article-workbench__gallery .issue-photo-card__dismiss {
  margin: 7px 2px 1px;
}

.article-workbench__gallery .issue-photo-library__footer {
  display: flex;
  justify-content: flex-start;
  border-top: 1px solid #d3cec6;
  padding: 9px 76px 9px 14px;
}

/* Keep the workbench geometry stable while either editorial column scrolls. */
body:has(.article-workbench) {
  height: 100dvh;
  overflow: hidden;
}

body:has(.article-workbench) .site-shell,
body:has(.article-workbench) #app,
body:has(.article-workbench) .admin-shell,
body:has(.article-workbench) .admin-workspace {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Private writer reviews include notes beneath the editor and need a document
   scroll area plus clearance for the two persistent writer actions. */
body[data-route="story-review"]:has(.article-workbench) {
  height: auto;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

body[data-route="story-review"]:has(.article-workbench) .site-shell,
body[data-route="story-review"]:has(.article-workbench) #app {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.article-workbench {
  height: calc(100dvh - 94px);
}

.article-workbench__queue {
  overflow: hidden;
  overscroll-behavior: none;
}

/* The issue queue now lives in the shared workspace rail instead of duplicating a column. */
.article-workbench--rail-queue {
  --queue-width: 0px;
  grid-template-columns: minmax(600px, 1fr);
  min-width: 600px;
}

.article-workbench--rail-queue > .article-workbench__issuebar,
.article-workbench--rail-queue > .writer-review-handoff,
.article-workbench--rail-queue > .article-workbench__copy {
  grid-column: 1;
}

.article-workbench__queue--rail {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-right: 0;
  background: transparent;
}

.article-workbench__queue--rail .article-workbench__stories {
  min-height: 0;
}

.article-workbench__queue--rail .article-workbench__queue-footer {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
}

.article-workbench__queue--rail .article-workbench__review-export-trigger {
  flex: none;
}

.admin-shell--article-editor.is-rail-collapsed .article-workbench__queue--rail {
  visibility: hidden;
}

@media (max-width: 900px) {
  .article-workbench--rail-queue {
    min-width: 0;
  }
}

.article-workbench__stories,
.article-workbench__copy {
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}

@media (max-width: 800px) {
  .article-workbench .byline-assignment__writer {
    align-items: stretch;
    flex-direction: column;
  }

  .article-workbench .byline-assignment__actions {
    justify-content: flex-start;
  }

  .article-workbench__optional-grid {
    grid-template-columns: 1fr;
  }

  .article-workbench__optional-field--location {
    grid-column: auto;
  }

  .article-editor__workspace {
    grid-template-columns: 1fr;
  }

  .article-media-stack {
    position: static;
    grid-row: 1;
  }

  .article-workbench__gallery .issue-photo-library__footer {
    padding-right: 14px;
    padding-bottom: 48px;
  }

  .article-workbench__gallery .issue-photo-library__toolbar {
    grid-template-columns: 1fr;
  }

  .issue-photo-library__upload-control {
    justify-content: flex-start;
  }
}

/* Universal editor: one compact writing surface, with issue imagery kept in its own rail. */
.article-editor__workspace {
  grid-template-columns: minmax(560px, 1fr) minmax(220px, 268px);
  align-items: stretch;
  gap: 18px;
}

.article-editor__workspace--standalone {
  grid-template-columns: minmax(0, 1fr);
}

.article-editor__fields {
  display: grid;
  height: min(730px, calc(100vh - 250px));
  min-height: 540px;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #bdb6ad;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 12px 34px rgb(31 25 20 / 8%);
}

.universal-editor__identity {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(218px, .7fr);
  gap: 24px;
  border-bottom: 1px solid #d4cec5;
  padding: 18px 22px 16px;
  background: #fbfaf7;
}

.universal-editor__lead-fields {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 7px;
}

.universal-editor__lead-field > label,
.universal-editor__lead-fields > label,
.universal-editor__metadata > label,
.universal-editor__metadata .byline-assignment {
  display: grid;
  gap: 5px;
  color: #4a443e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.universal-editor__lead-field {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.universal-editor__lead-fields .field,
.universal-editor__metadata .field {
  border: 0 !important;
  border-bottom: 1px solid #d0c9c0 !important;
  border-radius: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.universal-editor__lead-fields input.field {
  min-height: 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.15;
}

.universal-editor__lead-fields textarea.field {
  min-height: 58px;
  padding-top: 9px;
  padding-bottom: 9px;
  resize: vertical;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.42;
}

.universal-editor__lead-fields .field:focus,
.universal-editor__metadata .field:focus {
  border-bottom-color: #99192f !important;
  outline: 0;
  box-shadow: 0 2px 0 rgb(153 25 47 / 12%) !important;
}

.universal-editor__lead-field > .article-workbench__field-note,
.universal-editor__identity > .article-workbench__field-note {
  grid-column: 1;
  margin: 0;
  line-height: 1.25;
}

.universal-editor__metadata {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start;
  gap: 8px !important;
  margin: 0 !important;
  border-left: 1px solid #d4cec5;
  padding-left: 20px;
}

.universal-editor__metadata > label:first-child,
.universal-editor__metadata .byline-assignment {
  grid-column: auto !important;
}

.universal-editor__metadata input.field,
.universal-editor__metadata select.field {
  min-height: 31px;
  height: 31px;
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.universal-editor__metadata .byline-assignment__writer {
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid #d0c9c0;
  border-radius: 0;
  padding: 3px 0;
  background: transparent;
  box-shadow: none;
}

.universal-editor__metadata .byline-assignment__writer strong {
  font-size: 10px;
}

.universal-editor__metadata .byline-assignment__writer small {
  font-size: 8px;
}

.universal-editor__metadata .byline-assignment__actions .text-button {
  min-height: 26px;
  padding: 0 8px;
  background: transparent;
}

.article-composer {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fffefa;
}

.article-composer__toolbar {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  border-bottom: 1px solid #d8d2ca;
  padding: 10px 14px;
  background: #f3f0eb;
  box-shadow: 0 5px 14px rgb(30 25 20 / 4%);
}

.article-composer__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-composer__label label {
  color: #4a443e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.article-composer__label small {
  color: #6d665f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
}

.article-composer__label small[data-state="dirty"],
.article-composer__label small[data-state="conflict"],
.article-composer__label small[data-state="error"] {
  color: #99192f;
}

.article-composer__tools {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 1px;
  scrollbar-width: thin;
}

.article-composer__tools button {
  min-width: 32px;
  min-height: 30px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 9px;
  background: transparent;
  color: #39342f;
  font: 800 9px/1 Arial, sans-serif;
  cursor: pointer;
}

.article-composer__tools button:hover,
.article-composer__tools button:focus-visible {
  border-color: #bdb6ad;
  background: #fffefa;
  color: #99192f;
  outline: 0;
}

.article-composer__tools button[aria-pressed="true"] {
  border-color: #99192f;
  background: #99192f;
  color: #fffefa;
}

.article-composer__tools button[aria-pressed="true"]:hover,
.article-composer__tools button[aria-pressed="true"]:focus-visible {
  border-color: #751124;
  background: #751124;
  color: #fff;
}

.article-composer__tools button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.article-composer__tools button:disabled:hover,
.article-composer__tools button:disabled:focus-visible {
  border-color: transparent;
  background: transparent;
  color: #39342f;
}

.article-composer__tools button:active {
  transform: translateY(1px);
}

.article-composer__tool-divider {
  width: 1px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0 4px;
  background: #c8c1b8;
}

.article-workbench textarea.article-composer__body {
  width: 100%;
  min-height: 0 !important;
  height: 100%;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  padding: 23px 26px 28px;
  resize: none;
  background: #fffefa;
  color: #201d1a;
  box-shadow: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.article-workbench textarea.article-composer__body:focus {
  border: 0;
  background: #fff;
  box-shadow: inset 3px 0 0 #99192f;
}

.article-composer__status {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e1dcd5;
  padding: 8px 14px;
  background: #fbfaf7;
  color: #716a63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
}

.article-composer__status span:last-child {
  margin-left: auto;
}

.article-media-stack {
  position: sticky;
  top: 0;
  height: min(730px, calc(100vh - 250px));
  max-height: min(730px, calc(100vh - 250px));
  align-content: start;
  overflow-y: auto;
  border-radius: 14px;
  scrollbar-width: thin;
}

.article-story-details,
.article-location-tool {
  align-content: start;
}

.article-story-details__intro {
  margin: 0 !important;
  border-left: 3px solid #99192f;
  padding-left: 12px;
}

.article-story-details__field {
  display: grid;
  gap: 8px;
  border: 1px solid #d0c9c0;
  border-radius: 11px;
  padding: 14px;
  background: #fffefa;
}

.article-story-details__field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.article-story-details__field > span strong {
  font-size: 10px;
}

.article-story-details__field > span small,
.article-story-details__field > small {
  color: #716a63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
}

.article-story-details__field textarea.field {
  min-height: 112px;
}

.article-story-details__summary,
.article-location-tool__preview,
.article-location-tool__suggest {
  display: grid;
  gap: 5px;
  border-top: 1px solid #d4cec5;
  padding-top: 18px;
}

.article-story-details__summary > span,
.article-location-tool__preview > span,
.article-location-tool__intro > span {
  color: #99192f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.article-story-details__summary p,
.article-location-tool__preview p,
.article-location-tool__suggest span {
  margin: 0 !important;
}

.article-location-tool__intro h2 {
  margin: 5px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.article-location-tool__intro p {
  margin: 0 !important;
}

.support a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 1180px) {
  .article-editor__workspace {
    grid-template-columns: minmax(500px, 1fr) minmax(204px, 238px);
  }

  .universal-editor__identity {
    grid-template-columns: minmax(0, 1.35fr) minmax(200px, .65fr);
    gap: 18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .article-composer__status span:last-child {
    display: none;
  }
}

@media (max-width: 860px) {
  .article-editor__workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-editor__fields,
  .article-media-stack {
    height: auto;
    max-height: none;
  }

  .article-editor__fields {
    min-height: 700px;
  }

  .article-media-stack {
    position: static;
    grid-row: auto;
  }

  .universal-editor__identity {
    grid-template-columns: minmax(0, 1fr);
  }

  .universal-editor__metadata {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    border-top: 1px solid #d4cec5;
    border-left: 0;
    padding-top: 14px;
    padding-left: 0;
  }

  .universal-editor__metadata .byline-assignment {
    grid-column: 1 / -1 !important;
  }

  .article-workbench textarea.article-composer__body {
    min-height: 430px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-composer__tools button {
    transition: none;
  }
}

/* Editor refinement: keep metadata compact and reserve the surface for the article itself. */
.article-editor__workspace {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 232px);
}

.article-editor__fields,
.article-media-stack {
  height: clamp(390px, calc(100vh - 320px), 760px);
  min-height: 0;
}

.article-workbench--standalone .article-editor__fields {
  height: max(540px, calc(100dvh - 156px));
}

.universal-editor__identity {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 28px;
  padding: 20px 22px;
}

.universal-editor__lead-fields {
  gap: 16px;
}

.universal-editor__lead-fields input.field {
  min-height: 42px;
  font-size: clamp(19px, 1.7vw, 25px);
}

.universal-editor__lead-fields textarea.field {
  height: 64px;
  min-height: 64px;
  max-height: 120px;
  padding-top: 8px;
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
}

.universal-editor__metadata {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 9px !important;
  padding-left: 16px;
}

.universal-editor__writer-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  width: 100%;
  min-height: 43px;
  border: 0;
  border-bottom: 1px solid #d0c9c0;
  padding: 2px 0 7px;
  background: transparent;
  color: #28231f;
  text-align: left;
  cursor: pointer;
}

.universal-editor__writer-trigger > span {
  grid-column: 1 / -1;
  color: #4a443e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.universal-editor__writer-trigger strong {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.universal-editor__writer-trigger small {
  color: #99192f;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.universal-editor__writer-trigger:hover,
.universal-editor__writer-trigger:focus-visible {
  border-bottom-color: #99192f;
  color: #99192f;
  outline: 0;
}

.universal-editor__compact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.universal-editor__compact-fields label {
  display: grid;
  gap: 7px;
  color: #4a443e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.universal-editor__compact-fields select.field {
  width: 100%;
  min-height: 38px;
  height: 38px;
  padding-right: 18px !important;
  padding-left: 0 !important;
  font-size: 12px;
}

.article-composer {
  grid-template-rows: 31px minmax(0, 1fr) auto;
}

.article-composer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e1dcd5;
  padding: 0 14px;
  background: #fbfaf7;
}

.article-composer__header label,
.article-composer__header [data-primary-copy-label] {
  color: #4a443e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.article-composer__header small {
  color: #6d665f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
}

.article-workbench textarea.article-composer__body {
  height: auto;
  padding: 19px 21px 24px;
  font-size: 15px;
  line-height: 1.62;
}

.article-composer__visual[hidden] { display: none !important; }
.article-composer--visual textarea.article-composer__body[hidden] { display: none !important; }

.article-composer__visual {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
  background: #fffefa;
  color: #201d1a;
  font: 15px/1.62 Georgia, "Times New Roman", serif;
}

.article-composer__visual:focus-within {
  background: #fff;
  box-shadow: inset 3px 0 0 #99192f;
}

.article-composer__visual .tiptap {
  min-height: 100%;
  padding: 19px 21px 24px;
  outline: none;
  overflow-wrap: anywhere;
}

.article-composer__visual .tiptap > :first-child { margin-top: 0; }
.article-composer__visual .tiptap p { margin: 0 0 1em; }
.article-composer__visual .tiptap h2,
.article-composer__visual .tiptap h3 {
  margin: 1.2em 0 .45em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.22;
}
.article-composer__visual .tiptap h2 { font-size: 1.55em; }
.article-composer__visual .tiptap h3 { font-size: 1.28em; }
.article-composer__visual .tiptap ul,
.article-composer__visual .tiptap ol { margin: 0 0 1em; padding-left: 1.65em; }
.article-composer__visual .tiptap li { margin: .2em 0; }
.article-composer__visual .tiptap li p { margin: 0; }
.article-composer__visual .tiptap blockquote {
  margin: 1em 0;
  border-left: 3px solid #99192f;
  padding: .2em 0 .2em 1em;
  color: #514941;
  font-style: italic;
}
.article-composer__visual .tiptap a { color: #85182c; text-decoration: underline; }
.article-composer__visual .tiptap img { display: block; max-width: 100%; height: auto; margin: 1em 0; }
.article-composer__visual .tiptap figure.standalone-rich-editor__media {
  display: block;
  margin: 1em 0;
  border: 1px solid #d9d1c8;
  border-radius: 5px;
  padding: 10px 12px;
  background: #f7f2ec;
  color: #4a413b;
}
.article-composer__visual .tiptap p.is-editor-empty:first-child::before {
  float: left;
  height: 0;
  color: #817a73;
  content: attr(data-placeholder);
  pointer-events: none;
}

.article-composer--visual .article-composer__footer .article-composer__tools button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 11px;
}

.article-composer__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #d8d2ca;
  padding: 7px 10px;
  background: #f3f0eb;
  box-shadow: 0 -5px 14px rgb(30 25 20 / 4%);
}

.article-composer__footer .article-composer__tools {
  padding: 0;
}

.article-composer__footer .article-composer__tools button {
  min-height: 27px;
  padding: 0 7px;
  font-size: 8px;
}

.article-composer__footer .article-composer__status {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  border: 0;
  padding: 0;
  background: transparent;
  white-space: nowrap;
}

.article-composer__footer .article-composer__status span:last-child {
  display: none;
}

.writer-workspace {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: min(680px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid #aaa299;
  border-radius: 12px;
  padding: 0;
  background: #fffefa;
  color: #171513;
  box-shadow: 0 18px 50px rgb(22 17 14 / 22%);
}

.writer-workspace::backdrop {
  background: rgb(23 20 17 / 24%);
}

.writer-workspace__paper {
  border-top: 3px solid #99192f;
}

.writer-workspace__paper > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #ccc5bc;
  padding: 17px 22px 15px;
  background: #fffefa;
}

.writer-workspace__paper > header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.writer-workspace__paper > header button {
  min-height: 30px;
  border: 1px solid #bbb4aa;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.writer-workspace__body {
  display: grid;
  gap: 10px;
  padding: 16px 22px 18px;
}

.writer-workspace__field {
  display: grid;
  gap: 10px;
  color: #3f3934;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.writer-workspace__field > .actions {
  display: block;
  margin-top: 2px;
  border-top: 1px solid #d8d1c8;
  padding-top: 14px;
}

.writer-workspace__field > .actions .field {
  width: 100%;
}

.writer-workspace__body .byline-assignment {
  display: grid;
  gap: 7px;
}

.writer-workspace__body .byline-assignment__writer {
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid #c9c2ba;
  border-radius: 0;
  padding: 7px 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

.writer-workspace__body .byline-assignment__actions {
  position: relative;
  z-index: 1;
}

.writer-workspace__body .byline-assignment__writer.is-unlinked {
  border-bottom-color: #d7a7af;
  border-left: 2px solid #99192f;
  padding-left: 12px;
  background: transparent;
  box-shadow: none;
}

.writer-workspace__body .byline-assignment__writer strong {
  font-size: 11px;
}

.writer-workspace__body .byline-assignment__writer small {
  font-size: 9px;
}

.writer-workspace__body .byline-assignment__actions .text-button {
  min-height: 26px;
  border: 0;
  border-bottom: 1px solid #bcb4ab;
  border-radius: 0;
  padding: 0 2px;
  background: transparent;
}

.writer-workspace__body .byline-assignment__actions .text-button--primary {
  border-bottom-color: #99192f;
  color: #99192f;
}

.writer-workspace__body .form-note {
  margin: 0;
  color: #716a63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.writer-workspace__body > .article-workbench__field-note {
  margin: 0;
  padding: 2px 0 0 11px;
  line-height: 1.4;
}

/* The writer picker belongs to the metadata field, with the same compact chrome. */
.writer-picker{position:relative;min-width:0}
.writer-picker.is-open{z-index:25}
.writer-picker .universal-editor__writer-trigger>.disclosure-indicator{grid-column:2;grid-row:2;width:12px;height:12px;justify-self:end}
.writer-picker .universal-editor__writer-trigger:focus-visible{outline:2px solid #99192f;outline-offset:3px}
.writer-picker__panel{position:absolute;z-index:25;top:100%;right:0;width:max(100%,310px);max-width:min(380px,calc(100vw - 40px));border:1px solid #c9c2b8;background:#fffefa;box-shadow:0 10px 25px rgb(31 23 17 / 12%);opacity:0;transform:translateY(-4px);transition:opacity 150ms ease,transform 150ms ease}
.writer-picker__panel[data-open="true"]{opacity:1;transform:translateY(0)}
.writer-picker__panel[hidden]{display:none}
.writer-picker__panel .writer-workspace__body{padding:12px;gap:12px}
.writer-picker__panel .writer-workspace__field{gap:10px;text-transform:none;letter-spacing:0}
.writer-picker__panel .byline-assignment:empty{display:none}
.writer-picker__panel .byline-assignment__writer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;padding:4px 0 8px}
.writer-picker__panel .byline-assignment__actions{display:flex;align-items:center;gap:8px}
.writer-picker__panel .byline-assignment__writer strong{font-size:12px;font-weight:500}
.writer-picker__search{display:grid;gap:6px;min-width:0}
.writer-picker__search>.field{width:100%;min-height:36px;margin:0;font-size:12px;font-weight:400;text-transform:none;letter-spacing:0}
.writer-picker__options{display:grid;max-height:230px;overflow:auto;overscroll-behavior:contain}
.writer-picker__options>button{width:100%;min-height:34px;border:0;border-bottom:1px solid #e5dfd7;padding:8px;background:transparent;color:#28231f;font-size:12px;font-weight:400;text-align:left;cursor:pointer}
.writer-picker__options>button:hover,.writer-picker__options>button[aria-selected="true"]{background:#f4ebe7;color:#99192f}
.writer-picker__options>button:focus-visible{outline:2px solid #99192f;outline-offset:-2px}
.writer-picker__options>p{margin:5px 0;color:#6d665f;font-size:11px;font-weight:400}
.writer-picker__options>button{display:flex;align-items:center;justify-content:space-between;gap:12px}
.writer-picker__options>button small,.byline-assignment__label{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#99192f}
.writer-picker__options>button.is-active{background:#f4ebe7;color:#99192f;outline:1px solid #99192f;outline-offset:-1px}
.byline-assignment__label{display:block;padding:2px 0 4px}
.writer-workspace__print-exception{display:grid;gap:9px;border-top:1px solid #e5dfd7;padding-top:9px}
.writer-workspace__print-exception[hidden],.writer-workspace__print-exception [hidden]{display:none}
.writer-workspace__print-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;padding:4px 0;background:transparent;color:#6d665f;font-size:10px;text-align:left;cursor:pointer}
.writer-workspace__print-toggle:hover{color:#99192f}
.writer-workspace__print-toggle:focus-visible{outline:2px solid #99192f;outline-offset:3px}
.writer-workspace__print-toggle span{color:#99192f;font-size:15px;line-height:1}
.writer-workspace__print-exception label{display:grid;gap:5px;color:#514a44;font-size:10px}
.writer-workspace__print-exception textarea{min-height:64px;font-size:11px;line-height:1.4}
@media(prefers-reduced-motion:reduce){.writer-picker__panel{transition:none;transform:none}}
@media(max-width:620px){.writer-picker__panel{right:0;width:max(100%,280px)}}

@media (max-width: 620px) {
  .writer-workspace__paper > header {
    gap: 14px;
    padding: 17px 18px 15px;
  }

  .writer-workspace__body {
    padding: 16px 18px 18px;
  }

  .writer-workspace__field > .actions {
    grid-template-columns: 1fr;
  }

  .writer-workspace__field > .actions .button {
    width: 100%;
  }
}

@media (max-width: 1400px) {
  .article-workbench {
    --queue-width: 280px;
  }

  .article-workbench__copy {
    padding-right: 112px;
    padding-left: 20px;
  }

  .article-editor__workspace {
    grid-template-columns: minmax(0, 1fr) 204px;
    gap: 13px;
  }
}

@media (max-width: 980px) {
  .article-editor__workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-media-stack {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .universal-editor__identity {
    grid-template-columns: minmax(0, 1fr);
  }

  .universal-editor__metadata {
    border-top: 1px solid #d4cec5;
    border-left: 0;
    padding-top: 10px;
    padding-left: 0;
  }

  .article-composer__footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-composer__footer .article-composer__status {
    justify-content: flex-end;
  }
}

/* The writing canvas keeps a small gutter; secondary story material lives in its inspector. */
.article-workbench {
  --article-editor-edge-gap: clamp(20px, 1.6vw, 32px);
  --article-story-tools-width: 104px;
}

.article-workbench .article-editor__form {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.article-workbench .article-editor__workspace {
  grid-template-columns: minmax(0, 1fr);
}

.article-workbench__dock button .article-workbench__dock-icon {
  display: grid;
  min-width: 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
}

.article-workbench__dock-icon img {
  display: block;
  width: 15px;
  height: 15px;
  filter: brightness(0) saturate(100%) invert(14%) sepia(55%) saturate(3294%) hue-rotate(327deg) brightness(89%) contrast(98%);
}

.article-workbench__copy {
  box-sizing: border-box;
  padding-right: calc(var(--article-story-tools-width) + var(--article-editor-edge-gap));
  padding-left: var(--article-editor-edge-gap);
}

/* Story details is an attached inspector, sharing the editor's right-hand rail. */
.article-editor__workspace:has(.story-details-rail:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(286px, 330px) !important;
  align-items: stretch;
  gap: 0;
}

.article-editor__workspace:has(.story-details-rail:not([hidden])) .article-editor__fields {
  border-top-color: #bdb6ad !important;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow: -8px 12px 34px rgb(31 25 20 / 8%);
}

.article-workbench.has-story-details-rail .article-workbench__copy {
  padding-right: 122px;
}

.story-details-rail {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #bdb6ad;
  border-top-color: #bdb6ad !important;
  border-left-color: #d4cec5;
  border-radius: 0 14px 14px 0;
  background: #fffefa;
  box-shadow: 10px 12px 34px rgb(31 25 20 / 7%);
}

.story-details-rail[hidden] {
  display: none;
}

.story-details-rail__header {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 0;
  border-bottom: 1px solid #d4cec5;
  padding: 12px 15px;
  background: #fbfaf7;
}

.story-details-rail__header span,
.story-details-rail__preview > span,
.location-workspace__header span,
.location-workspace__newsroom > div > span,
.location-workspace__selection > span {
  color: #99192f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.story-details-rail__header h2 {
  margin: 3px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.story-details-rail__header button,
.location-workspace__header button {
  min-height: 30px;
  border: 1px solid #bdb6ad;
  border-radius: 999px;
  padding: 0 12px;
  background: #fffefa;
  color: #332f2b;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.story-details-rail__header button:hover,
.story-details-rail__header button:focus-visible,
.location-workspace__header button:hover,
.location-workspace__header button:focus-visible {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
  box-shadow: 0 0 0 3px rgb(153 25 47 / 9%);
}

.story-details-rail__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #d4cec5;
  background: #f4f1ec;
}

.story-details-rail__tabs button {
  position: relative;
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-right: 1px solid #d4cec5;
  padding: 0 14px;
  background: transparent;
  color: #615a53;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
}

.story-details-rail__tabs button:last-child {
  border-right: 0;
}

.story-details-rail__tabs button::after {
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 3px;
  background: #99192f;
  content: "";
  opacity: 0;
}

.story-details-rail__tabs button[aria-selected="true"] {
  background: #fffefa;
  color: #99192f;
}

.story-details-rail__tabs button[aria-selected="true"]::after {
  opacity: 1;
}

.story-details-rail__tabs button:focus-visible {
  z-index: 1;
  outline: 2px solid #99192f;
  outline-offset: -3px;
}

.story-details-rail__tabs strong {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #e8e3dc;
  color: #4f4943;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 400;
}

.story-details-rail__tabs button[aria-selected="true"] strong {
  background: #f4e7ea;
  color: #99192f;
}

.story-details-rail__body {
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: thin;
}

.story-details-rail__panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.story-details-rail__panel[hidden] {
  display: none;
}

.story-details-rail__images.article-media-stack {
  position: static;
  top: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  gap: 12px;
}

.story-details-rail__images-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.story-details-rail__images-heading > div {
  display: grid;
  gap: 4px;
}

.story-details-rail__images-heading strong {
  color: #99192f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.story-details-rail__images-heading p,
.story-details-rail__images-empty p {
  margin: 0;
  color: #706961;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  line-height: 1.4;
}

.story-details-rail__images-heading > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eeeae4;
  color: #99192f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.story-details-rail__images .article-media-stack__card {
  grid-template-columns: 76px minmax(0, 1fr);
}

.story-details-rail__images .article-media-stack__thumbnail {
  width: 76px;
  height: 58px;
}

.story-details-rail__images-empty {
  display: grid;
  gap: 5px;
  border: 1px dashed #c8c0b7;
  border-radius: 10px;
  padding: 18px;
  background: #fbfaf7;
}

.story-details-rail__images-empty strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
}

.story-details-rail__field {
  display: grid;
  gap: 8px;
}

.story-details-rail__field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.story-details-rail__field > span strong {
  font-size: 10px;
}

.story-details-rail__field > span small,
.story-details-rail__field > small {
  color: #706961;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
}

.story-details-rail__field textarea.field {
  min-height: 112px;
  resize: vertical;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.45;
}

.story-details-rail__preview {
  display: grid;
  gap: 8px;
  border-top: 1px solid #d4cec5;
  padding-top: 14px;
}

.story-details-rail__preview div {
  display: grid;
  gap: 7px;
  color: #4c4640;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  line-height: 1.45;
}

.story-details-rail__preview p {
  margin: 0;
}

.story-details-rail__preview a {
  color: #99192f;
  overflow-wrap: anywhere;
  text-underline-offset: 2px;
}

/* Location is a map-led workspace rather than another draggable utility. */
.location-workspace {
  width: 82vw;
  height: 82vh;
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
  box-shadow: 0 30px 90px rgb(24 18 14 / 28%);
}

.location-workspace::backdrop {
  background: rgb(27 23 20 / 44%);
  backdrop-filter: blur(3px);
}

.location-workspace__paper {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #aaa299;
  border-top: 5px solid #99192f;
  border-radius: inherit;
  background: #f8f6f2;
}

.location-workspace__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid #d2ccc4;
  padding: 22px 26px 19px;
  background: #fffefa;
}

.location-workspace__header h2 {
  margin: 5px 0 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.05;
}

.location-workspace__header p {
  margin: 0;
  color: #655f58;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.location-workspace__layout {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(340px, 400px) minmax(0, 1fr);
}

.location-workspace__controls {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 16px;
  overflow-y: auto;
  border-right: 1px solid #d2ccc4;
  padding: 22px 22px 88px;
  scrollbar-width: thin;
}

.location-workspace__search {
  display: grid;
  gap: 9px;
}

.location-workspace__search label {
  display: grid;
  gap: 7px;
  font-size: 10px;
  font-weight: 900;
}

.location-workspace__search .field {
  min-height: 44px;
}

.location-workspace__search-note,
.location-workspace__results > p {
  margin: -8px 0 0;
  color: #716a63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  line-height: 1.4;
}

.location-workspace__results,
.location-workspace__quick-list {
  display: grid;
  gap: 7px;
}

.location-workspace__result,
.location-workspace__quick-list button {
  display: grid;
  gap: 3px;
  border: 1px solid #d0c9c0;
  border-radius: 9px;
  padding: 10px 11px;
  background: #fffefa;
  color: #24211e;
  text-align: left;
  cursor: pointer;
}

.location-workspace__result:hover,
.location-workspace__result:focus-visible,
.location-workspace__result[aria-selected="true"],
.location-workspace__quick-list button:hover,
.location-workspace__quick-list button:focus-visible {
  border-color: #99192f;
  background: #fff7f7;
  outline: 0;
  box-shadow: 0 0 0 3px rgb(153 25 47 / 8%);
}

.location-workspace__result strong,
.location-workspace__quick-list strong {
  font-size: 10px;
}

.location-workspace__result span,
.location-workspace__quick-list small {
  color: #716a63;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  line-height: 1.35;
}

.location-workspace__quick-list button.is-suggested {
  border-color: #caa33f;
}

.location-workspace__newsroom {
  display: grid;
  gap: 9px;
  border-top: 1px solid #d4cec5;
  padding-top: 15px;
}

.location-workspace__newsroom h3 {
  margin: 3px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.location-workspace__selection {
  display: grid;
  gap: 4px;
  border-left: 3px solid #99192f;
  padding: 5px 0 5px 12px;
}

.location-workspace__selection[hidden] {
  display: none;
}

.location-workspace__selection strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

.location-workspace__selection p,
.location-workspace__selection small {
  margin: 0;
  color: #655f58;
  font-size: 9px;
  line-height: 1.4;
}

.location-workspace__actions {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  display: flex;
  width: 400px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #d4cec5;
  padding: 14px 22px 18px;
  background: rgb(248 246 242 / 97%);
  box-shadow: 0 -8px 20px rgb(31 25 20 / 5%);
}

.location-workspace__map {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #e9e6df;
}

.location-workspace__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #e9e6df;
}

.location-workspace__map-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgb(167 158 148 / 70%);
  border-radius: 9px;
  padding: 9px 11px;
  background: rgb(255 254 250 / 94%);
  box-shadow: 0 8px 22px rgb(31 25 20 / 12%);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-workspace__map-caption a {
  color: #5b554e;
  text-underline-offset: 2px;
}

@media (max-width: 980px) {
  .article-editor__workspace:has(.story-details-rail:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .story-details-rail {
    height: auto;
    max-height: min(620px, 72vh);
    border-left: 1px solid #bdb6ad;
    border-radius: 0 0 14px 14px;
  }

  .article-editor__workspace:has(.story-details-rail:not([hidden])) .article-editor__fields {
    border-right: 1px solid #bdb6ad;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -6px 28px rgb(31 25 20 / 7%);
  }

  .location-workspace {
    width: calc(100vw - 28px);
    height: calc(100vh - 32px);
  }

  .location-workspace__layout {
    grid-template-columns: minmax(270px, 42%) minmax(0, 1fr);
  }

  .location-workspace__actions {
    width: 42%;
  }
}

@media (max-width: 680px) {
  .location-workspace__header {
    padding: 17px;
  }

  .location-workspace__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(300px, 1fr) minmax(280px, 46%);
  }

  .location-workspace__controls {
    border-right: 0;
    border-bottom: 1px solid #d2ccc4;
    padding: 16px;
  }

  .location-workspace__actions {
    position: static;
    width: auto;
    padding: 14px 0 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 800px) {
  .article-workbench__copy {
    padding-right: 88px;
  }
}


/* Story actions keep recovery tools close to the story they affect. */
.article-workbench__story-row {
  position: relative;
}

.article-workbench__story-row[hidden] {
  display: none;
}

.article-workbench__story-row::before {
  position: absolute;
  z-index: 2;
  top: 10px;
  bottom: 10px;
  left: -8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  content: "";
}

.article-workbench__story-row .article-workbench__story {
  margin: 0 !important;
  padding-right: 48px !important;
  padding-left: 12px !important;
}

.article-workbench__story-row .article-workbench__story::before {
  display: none;
}

.article-workbench__story-row:hover,
.article-workbench__story-row:focus-within,
.article-workbench__story-row.is-current {
  margin-right: -8px;
  margin-left: -8px;
}

.article-workbench__story-row:hover .article-workbench__story,
.article-workbench__story-row:focus-within .article-workbench__story {
  padding-right: 56px !important;
  padding-left: 20px !important;
  background: #fbfaf7;
}

.article-workbench__story-row.is-current .article-workbench__story {
  padding-right: 56px !important;
  padding-left: 20px !important;
  background: #fff9f8;
}

.article-workbench__story-row.is-current::before {
  left: 0;
  background: #99192f;
}

.article-workbench__story-menu-trigger {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 7px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #5f5953;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .14s ease, border-color .14s ease, background-color .14s ease, color .14s ease;
}

.article-workbench__story-menu-trigger img {
  width: 16px;
  height: 16px;
}

.article-workbench__story-row:hover .article-workbench__story-menu-trigger,
.article-workbench__story-row:focus-within .article-workbench__story-menu-trigger,
.article-workbench__story-row.is-current .article-workbench__story-menu-trigger,
.article-workbench__story-menu-trigger[aria-expanded="true"] {
  opacity: 1;
}

.article-workbench__story-menu-trigger:hover,
.article-workbench__story-menu-trigger:focus-visible,
.article-workbench__story-menu-trigger[aria-expanded="true"] {
  border-color: #aaa299;
  background: #fffefa;
  color: #99192f;
  outline: 0;
}

.article-workbench__story-menu {
  position: fixed;
  z-index: 1400;
  width: min(278px, calc(100vw - 20px));
  overflow: visible;
  border: 1px solid #aaa299;
  border-radius: 12px;
  padding: 6px;
  background: #fffefa;
  box-shadow: 0 18px 48px rgb(22 17 14 / 24%);
}

.article-workbench__story-menu[hidden] {
  display: none;
}

.article-workbench__story-menu > [hidden],
.article-workbench__story-menu [role="menuitemcheckbox"][hidden],
.article-workbench__story-menu .article-workbench__writer-assigned[hidden] {
  display: none !important;
}

.article-workbench__story-menu {
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.article-workbench__story-menu[aria-busy="true"] {
  opacity: .72;
  pointer-events: none;
}

.article-workbench__story-menu-heading {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #ddd7cf;
  padding: 9px 10px 11px;
}

.article-workbench__story-menu-heading span {
  color: #99192f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.article-workbench__story-menu-heading strong {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-workbench__story-menu > a,
.article-workbench__story-menu > button,
.article-workbench__story-menu-branch > button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  border: 0;
  border-radius: 7px;
  padding: 0 10px;
  background: transparent;
  color: #292521;
  font: 700 10px/1.2 Arial, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.article-workbench__story-menu > a:hover,
.article-workbench__story-menu > a:focus-visible,
.article-workbench__story-menu > button:hover,
.article-workbench__story-menu > button:focus-visible,
.article-workbench__story-menu-branch > button:hover,
.article-workbench__story-menu-branch > button:focus-visible,
.article-workbench__story-menu-branch > button[aria-expanded="true"] {
  background: #eeeae4;
  color: #99192f;
  outline: 0;
}

.article-workbench__story-menu > .is-danger {
  margin-top: 5px;
  border-top: 1px solid #ddd7cf;
  border-radius: 0 0 7px 7px;
  color: #a81631;
}

.article-workbench__writer-assigned {
  margin-left: 8px;
  color: #99192f;
  font-family: var(--font-sans, sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.article-workbench__story-menu [role="menuitemcheckbox"][aria-checked="true"] {
  background: #f4ebe7;
  color: #99192f;
}

.article-workbench__story-menu-separator {
  height: 1px;
  margin: 4px 7px;
  background: #ddd7cf;
}

.article-workbench__story-menu-branch[hidden],
.article-workbench__story-submenu[hidden] {
  display: none;
}

.article-workbench__story-menu-branch > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding-block: 7px;
}

.article-workbench__story-menu-branch > button > span:first-child,
.article-workbench__story-menu-branch > button > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-workbench__story-menu-branch > button > small {
  color: #756e67;
  font-size: 8px;
  font-weight: 500;
}

.article-workbench__story-menu-branch > button > .disclosure-indicator {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.article-workbench__story-submenu {
  position: fixed;
  z-index: 1401;
  width: min(264px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  overflow: auto;
  margin: 0;
  border: 1px solid #aaa299;
  border-radius: 10px;
  padding: 7px;
  background: #fffefa;
  box-shadow: 0 18px 48px rgb(22 17 14 / 24%);
}

.article-workbench__story-submenu-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 6px 7px;
  color: #756e67;
  font: 700 8px/1.2 Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-workbench__story-submenu-heading strong {
  color: #292521;
}

.article-workbench__story-submenu--writers {
  width: min(360px, calc(100vw - 20px));
  overflow: hidden;
}

.article-workbench__writer-search {
  display: block;
  padding: 2px 5px 8px;
}

.article-workbench__writer-search input {
  width: 100%;
  min-height: 36px;
  border: 1px solid #c8c0b7;
  border-radius: 7px;
  padding: 7px 10px;
  background: #fffefa;
  color: #211d1a;
  font: 600 10px/1.3 Arial, sans-serif;
}

.article-workbench__writer-search input:focus {
  border-color: #99192f;
  outline: 2px solid rgb(153 25 47 / 16%);
  outline-offset: 1px;
}

.article-workbench__story-submenu-options {
  display: grid;
  max-height: min(360px, calc(100vh - 90px));
  overflow-y: auto;
}

.article-workbench__story-submenu-options--writers {
  max-height: min(460px, calc(100vh - 120px));
  padding: 0 4px 4px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.article-workbench__writer-group {
  display: grid;
  border-top: 1px solid #ddd5cd;
  padding-top: 3px;
}

.article-workbench__writer-group > header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 27px;
  padding: 6px 7px 4px;
  background: #fffefa;
  color: #756e67;
  font: 700 8px/1.2 Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.article-workbench__writer-group > header span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #f0ebe5;
  color: #5d5650;
  font-size: 8px;
}

.article-workbench__writer-group--archive {
  margin-top: 5px;
  border-top-color: #99192f;
}

.article-workbench__writer-group--archive > header {
  color: #99192f;
}

.article-workbench__writer-unassign {
  margin-bottom: 5px;
  border: 1px solid #ddd5cd !important;
}

.article-workbench__writer-empty {
  margin: 0;
  padding: 22px 10px;
  color: #756e67;
  font: 600 10px/1.45 Arial, sans-serif;
  text-align: center;
}

.article-workbench__story-submenu-options--sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-workbench__story-submenu-options button {
  display: grid;
  gap: 2px;
  min-height: 36px;
  align-content: center;
  border: 0;
  border-radius: 5px;
  padding: 5px 7px;
  background: transparent;
  color: #292521;
  font: 700 9px/1.2 Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.article-workbench__writer-group > button {
  width: 100%;
}

.article-workbench__story-submenu-options button small {
  color: #756e67;
  font-size: 8px;
  font-weight: 500;
}

.article-workbench__story-submenu-options button:hover,
.article-workbench__story-submenu-options button:focus-visible,
.article-workbench__story-submenu-options button[aria-checked="true"] {
  background: #e9e3dc;
  color: #99192f;
  outline: 0;
}

.article-workbench__story-submenu-options button[aria-checked="true"] {
  box-shadow: inset 3px 0 0 #99192f;
}

.article-workbench__story-submenu--details {
  display: grid;
  width: min(344px, calc(100vw - 20px));
  gap: 0;
  border-color: var(--line);
  border-radius: 11px;
  padding: 14px;
  background: #fffefa;
  box-shadow: 0 16px 40px rgb(22 17 14 / 18%);
}

.article-workbench__story-submenu--details[hidden] {
  display: none;
}

.article-workbench__story-submenu--details dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

.article-workbench__story-submenu--details dl div {
  display: grid;
  min-width: 0;
  min-height: 42px;
  align-content: start;
  gap: 5px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
  margin-right: 12px;
}

.article-workbench__story-submenu--details dl div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.article-workbench__story-submenu--details dt,
.article-workbench__story-submenu--details label > span {
  color: #625c56;
  font: 800 9px/1.15 Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.article-workbench__story-submenu--details dd {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font: 700 11px/1.2 Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-workbench__story-submenu--details dl div:first-child dd {
  color: var(--red);
  font: 600 21px/.9 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}

.article-workbench__story-submenu--details label {
  display: grid;
  gap: 5px;
  margin: 0 0 10px;
}

.article-workbench__story-submenu--details .field {
  width: 100%;
  min-height: 36px;
  border-color: var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  background: #fffefa;
  color: var(--ink);
  font: 600 11px/1.35 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.article-workbench__story-submenu--details .field:focus {
  border-color: var(--red);
  outline: 2px solid color-mix(in srgb, var(--red) 18%, transparent);
  outline-offset: 1px;
}

.article-workbench__story-submenu--details select.field {
  align-items: center;
}

.article-workbench__story-submenu--details textarea.field {
  min-height: 62px;
  max-height: 140px;
  resize: vertical;
}

.article-workbench__story-details-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.article-workbench__story-submenu--details .button.button--primary {
  width: auto;
  min-height: 34px;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 8px 14px;
  background: transparent;
  color: var(--red);
  font: 900 10px/1 Arial, sans-serif;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.article-workbench__story-submenu--details .button.button--primary:hover,
.article-workbench__story-submenu--details .button.button--primary:focus-visible {
  background: var(--red);
  color: #fffefa;
}

.article-workbench__queue-footer-actions {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.article-workbench__review-export-trigger {
  min-height: 34px;
  border: 1px solid #99192f;
  border-radius: 999px;
  padding: 0 9px;
  background: #fff9f8;
  color: #8e1429;
  font: 900 8px/1 Arial, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.article-workbench__queue-footer {
  gap: 7px;
  padding-right: 8px;
  padding-left: 10px;
}

.article-workbench__queue-footer .article-workbench__queue-count {
  flex: 1 1 54px;
  font-size: 9px;
}

.article-workbench__queue-footer .article-workbench__queue-toggle {
  gap: 6px;
  padding-right: 8px;
  padding-left: 8px;
}

.article-workbench__review-export-trigger:hover,
.article-workbench__review-export-trigger:focus-visible {
  background: #99192f;
  color: #fff;
  outline: 0;
}

.article-workbench__review-export-trigger:focus-visible {
  box-shadow: 0 0 0 2px #f7f4ef, 0 0 0 4px #99192f;
}

.article-workbench__review-export-trigger:disabled {
  cursor: wait;
  opacity: .55;
}

.article-workbench.is-queue-collapsed .article-workbench__queue-footer-actions {
  width: 100%;
}

.article-workbench.is-queue-collapsed .article-workbench__review-export-trigger {
  display: none;
}

.story-review-export {
  width: min(700px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: #f9f7f2;
  color: #181513;
  box-shadow: 0 30px 100px rgb(0 0 0 / 30%);
}

.story-review-export::backdrop {
  background: rgb(17 15 13 / 70%);
  backdrop-filter: blur(3px);
}

.story-review-export__paper {
  display: grid;
  max-height: calc(100vh - 36px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-top: 5px solid #99192f;
}

.story-review-export header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d2cbc2;
  padding: 27px 30px 22px;
}

.story-review-export header span {
  color: #99192f;
  font: 900 9px/1 Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.story-review-export header h2 {
  margin: 7px 0 6px;
  font: 400 32px/1.05 Georgia, "Times New Roman", serif;
}

.story-review-export header p {
  margin: 0;
  color: #6b655f;
  font: 14px/1.45 Georgia, "Times New Roman", serif;
}

.story-review-export header > button {
  min-height: 34px;
  border: 1px solid #b8b1a8;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: #3e3934;
  font: 900 8px/1 Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.story-review-export__body {
  display: grid;
  min-height: 0;
  gap: 12px;
  padding: 22px 30px;
}

.story-review-export__status {
  margin: 0;
  color: #655f58;
  font: 700 11px/1.4 Arial, sans-serif;
}

.story-review-export__status[data-state="ready"] {
  color: #356249;
}

.story-review-export__status[data-state="error"],
.story-review-export__status[data-state="warning"] {
  color: #99192f;
}

.story-review-export__skipped {
  display: grid;
  min-height: min(130px, 20vh);
  max-height: 150px;
  gap: 8px;
  overflow-y: auto;
  border: 1px solid #d7c4c7;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff8f8;
}

.story-review-export__skipped[hidden] {
  display: none;
}

.story-review-export__skipped > strong {
  color: #99192f;
  font: 900 9px/1.2 Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.story-review-export__skipped ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-review-export__skipped li {
  display: grid;
  gap: 2px;
}

.story-review-export__skipped li strong {
  font: 700 11px/1.3 Arial, sans-serif;
}

.story-review-export__skipped li span {
  color: #655f58;
  font: 10px/1.35 Arial, sans-serif;
}

.story-review-export__body textarea.field {
  width: 100%;
  min-height: min(360px, 46vh);
  resize: vertical;
  border-color: #bdb5ac;
  border-radius: 8px;
  padding: 15px;
  background: #fffefa;
  color: #292521;
  font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.story-review-export__body:has(.story-review-export__skipped:not([hidden])) textarea.field {
  min-height: min(250px, 26vh);
}

.story-review-export footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #d2cbc2;
  padding: 18px 30px 24px;
}

.story-review-export footer .button {
  border-radius: 999px;
}

@media (max-width: 720px) {
  .article-workbench__queue-footer-actions {
    gap: 5px;
  }

  .article-workbench__review-export-trigger {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .story-review-export header,
  .story-review-export__body,
  .story-review-export footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .story-review-export header h2 {
    font-size: 27px;
  }
}

/* Version history is a recovery surface opened from a story's action menu. */
.article-workbench__panel-dialog[data-active-panel="history"] .article-workbench__panel-scroll {
  padding: 0 22px 28px;
}

.article-history__intro {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 18px 0 14px;
}

.article-history__intro h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.08;
}

.article-history__intro p {
  max-width: 620px;
  margin: 5px 0 0 !important;
  color: #6d665f;
  font: 9px/1.35 Arial, sans-serif;
}

.article-history__intro time {
  font-family: Georgia, "Times New Roman", serif;
}

.article-history__intro > strong {
  color: #77716a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-history .article-revisions-panel {
  padding-top: 0 !important;
}

.article-revisions-list .article-history__event {
  grid-template-columns: 100px minmax(0, 1fr) auto;
  min-height: 62px;
  gap: 12px;
  padding: 11px 9px;
}

.article-history__event.is-autosave {
  border-left-color: #c8c1b8;
}

.article-history__event.is-revision {
  border-left-color: #99192f;
}

.article-history__event .article-history__restore {
  min-height: 30px;
  border: 1px solid #aaa299;
  border-radius: 999px;
  padding: 0 11px;
  background: transparent;
  color: #292521;
  font: 900 8px/1 Arial, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.article-history__event .article-history__restore:hover,
.article-history__event .article-history__restore:focus-visible {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
}

.article-history__show-all {
  width: 100%;
  min-height: 36px;
  margin-top: 10px;
  border: 1px solid #bbb4aa;
  border-radius: 999px;
  background: transparent;
  color: #4e4842;
  font: 900 8px/1 Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.article-history__show-all:hover,
.article-history__show-all:focus-visible {
  border-color: #99192f;
  color: #99192f;
  outline: 0;
}

@media (hover: none) {
  .article-workbench__story-menu-trigger {
    opacity: 1;
  }
}

@media (max-width: 800px) {
  .article-history__intro {
    grid-template-columns: 1fr;
  }

  .article-history__intro > strong {
    justify-self: start;
  }

  .article-revisions-list .article-history__event {
    grid-template-columns: 1fr;
  }

  .article-history__event time,
  .article-history__event > div,
  .article-history__event .article-history__restore {
    grid-column: 1;
  }

  .article-history__event .article-history__restore {
    width: max-content;
  }
}

/* A private review is the newsroom editor with a narrower permission set. */
body[data-route="story-review"]:has(.writer-review-workbench) {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

body[data-route="story-review"]:has(.writer-review-workbench) > .site-shell,
body[data-route="story-review"]:has(.writer-review-workbench) #app,
.writer-review-shell,
.writer-review-shell > .admin-workspace {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.writer-review-workbench.article-workbench {
  height: calc(100dvh - 94px);
}

.writer-review-workbench .article-editor__form {
  padding-top: 14px;
}

.writer-review-masthead .admin-masthead__actions {
  padding-right: 0;
}

.writer-review-masthead__identity {
  cursor: default;
}

.writer-review-masthead__identity:hover strong {
  color: #171513;
}

.writer-review-primary-action .approval-quickcheck__edit-actions {
  grid-template-columns: minmax(0, 1fr);
}

.writer-review-primary-action .approval-quickcheck__save {
  width: 100%;
}

body[data-route="story-review"]:has(.writer-review-shell--complete) {
  min-height: 100dvh;
  background: #f3f2ef;
}

.writer-review-shell--complete,
.writer-review-shell--complete > .admin-workspace {
  min-height: 100dvh;
  height: auto;
  overflow: visible;
}

.writer-review-complete {
  display: grid;
  min-height: calc(100dvh - 94px);
  place-items: center;
  padding: clamp(24px, 5vh, 64px) 24px;
}

.writer-review-complete__panel {
  width: min(680px, 100%);
  border: 1px solid #c9c4bc;
  border-top: 4px solid #99192f;
  border-radius: 18px;
  padding: clamp(30px, 5vw, 54px);
  background: #fffefa;
  box-shadow: 0 20px 56px rgb(30 24 18 / 10%);
}

.writer-review-complete__panel .eyebrow {
  margin: 0 0 12px;
  color: #99192f;
}

.writer-review-complete__panel h2 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.writer-review-complete__lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: #5e5953;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
}

.writer-review-complete__next {
  display: grid;
  gap: 7px;
  margin: 30px 0 26px;
  border-top: 1px solid #d8d3cc;
  border-bottom: 1px solid #d8d3cc;
  padding: 20px 0;
}

.writer-review-complete__next strong {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.writer-review-complete__next p {
  margin: 0;
  color: #5e5953;
  line-height: 1.5;
}

.writer-review-complete__panel > .button {
  min-height: 44px;
}

@media (max-width: 760px) {
  .writer-review-shell--complete .admin-masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 78px;
    padding-inline: 18px;
  }

  .writer-review-shell--complete .admin-masthead__page {
    display: none;
  }

  .writer-review-shell--complete .admin-masthead__account > span:last-child {
    display: none;
  }

  .writer-review-complete {
    min-height: calc(100dvh - 78px);
    padding: 24px 12px;
  }

  .writer-review-complete__panel {
    border-radius: 14px;
    padding: 28px 22px;
  }
}

/* Keep the story canvas usable on phones; the queue opens above the copy. */
@media (max-width: 680px) {
  .article-workbench.has-story-details-rail .article-workbench__copy { padding-right: 16px; }
  .article-workbench .story-details-rail:not([hidden]) {
    position: fixed;
    z-index: 130;
    top: 130px;
    right: 12px;
    bottom: 122px;
    left: 12px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgb(31 25 20 / 30%);
  }
  .article-workbench,
  .article-workbench.is-queue-collapsed {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 122px);
    min-height: 0;
  }
  .article-workbench .article-workbench__issuebar {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 16px;
  }
  .article-workbench__issue-actions { grid-column: 1; grid-row: 1; }
  .article-workbench__issue-status { grid-column: 2; grid-row: 1; }
  .article-workbench .article-workbench__issue-story {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    border: 0;
    padding: 0;
  }
  .article-workbench .article-workbench__issue-sequence {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: space-between;
    min-width: 0;
  }
  .article-workbench .article-workbench__issuebar > dl { display: none; }
  .article-workbench .article-workbench__queue {
    flex: 0 0 auto;
    width: 100%;
    max-height: 34dvh;
    border-right: 0;
    border-bottom: 1px solid #d3cec6;
  }
  .article-workbench.is-queue-collapsed .article-workbench__queue { height: 44px; }
  .article-workbench.is-queue-collapsed .article-workbench__queue-footer,
  .article-workbench.is-queue-collapsed .article-workbench__queue-toggle {
    height: 44px;
    min-height: 44px;
  }
  .article-workbench.is-queue-collapsed .article-workbench__queue-toggle { color: #fff; }
  .article-workbench.is-queue-collapsed .article-workbench__queue-toggle span { display: inline; font-size: 10px; color: inherit; }
  .article-workbench .article-workbench__copy {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 16px 16px 150px;
  }
  .article-workbench .article-workbench__dock {
    top: auto;
    right: 12px;
    bottom: 62px;
    left: 12px;
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    transform: none;
  }
  .article-workbench .article-workbench__dock > button {
    width: 100%;
    min-width: 0;
    height: 54px;
    min-height: 54px;
    padding: 5px;
    font-size: 8px;
  }
  .article-workbench .article-workbench__sticky-action {
    right: 12px;
    bottom: 8px;
    left: 12px;
    width: auto;
    max-width: none;
  }
  .article-workbench .approval-quickcheck__popover {
    right: 0;
    width: min(366px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }
}

/* Keep manual review controls within the existing compact checklist rows. */
@media (max-width: 360px) {
  .writer-picker__panel { width: 100%; min-width: 0; max-width: 100%; }
  .writer-picker__panel .byline-assignment__writer strong { overflow-wrap: anywhere; }
}

.approval-checklist-toggle {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.approval-checklist-toggle:disabled { cursor: default; }
.approval-checklist-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Retain the menu position while display transitions out. The parent stays
   untransformed because its submenus use viewport coordinates. */
.article-workbench__story-menu,
.article-workbench__story-submenu {
  opacity: 1;
  transition: opacity 180ms ease, display 180ms allow-discrete;
}
.article-workbench__story-menu[hidden],
.article-workbench__story-submenu[hidden] {
  opacity: 0;
  pointer-events: none;
}
@starting-style {
  .article-workbench__story-menu:not([hidden]),
  .article-workbench__story-submenu:not([hidden]) { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .article-workbench__story-menu,
  .article-workbench__story-submenu { transition: none; }
}

/* Excluded print drafts stay available for source review and restoration. */
.article-exclusion-note { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:12px 0; padding:16px 20px; border:1px solid #cfc8bd; background:#f1eee7; }
.article-exclusion-note p { margin:4px 0 0; color:#655f56; }
.article-workbench__sticky-action[hidden] { display:none !important; }
.article-workbench__story-status--excluded { color:#6e665b; }
@media (max-width:680px) { .article-exclusion-note { align-items:flex-start; flex-direction:column; } }

/* Measure the writing column after the navigation and details rails take space. */
.article-editor__workspace {
  container: article-workspace / inline-size;
}
.article-editor__fields {
  container: article-copy / inline-size;
}

/* Both authored languages belong to one story and must remain reachable in the writing surface. */
.article-editor__fields.is-bilingual{height:auto;max-height:none;grid-template-rows:auto auto auto;overflow:visible}
.article-editor__fields.is-bilingual .article-composer{min-height:480px}
.article-bilingual-fields{display:grid;gap:20px;border-top:3px solid #99192f;padding:24px 26px 30px;background:#fbfaf7}
.article-bilingual-fields[hidden]{display:none}
.article-bilingual-fields>header{display:flex;align-items:end;justify-content:space-between;gap:20px}
.article-bilingual-fields>header span{color:#99192f;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.article-bilingual-fields h2{margin:5px 0;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:400}
.article-bilingual-fields>header p{max-width:560px;margin:0;color:#655f58;font-size:11px;line-height:1.45}
.article-bilingual-fields>header [data-bilingual-status]{max-width:230px;color:#756046;font-size:10px;font-weight:700}
.article-bilingual-fields fieldset{display:grid;min-width:0;gap:16px;margin:0;border:0;padding:0}
.article-bilingual-fields label{display:grid;gap:7px;color:#4a443e;font-size:9px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.article-bilingual-fields .field{width:100%;border:1px solid #c8c0b6;border-radius:8px;padding:12px;background:#fffefa;color:#201d1a;font-family:Georgia,"Times New Roman",serif;font-size:15px;font-weight:400;line-height:1.5;text-transform:none}
.article-bilingual-fields textarea[name="welshStandfirst"]{min-height:84px;resize:vertical}
.article-bilingual-fields textarea[name="welshBody"]{min-height:360px;resize:vertical}
.article-bilingual-copy .article-composer{min-height:420px;border:1px solid #c8c0b6;border-radius:8px;overflow:hidden}
.article-bilingual-copy .article-composer__visual{min-height:300px}
.article-bilingual-copy .article-composer__header [data-primary-copy-label],
.article-bilingual-copy .article-composer__header span{color:#4a443e;font-size:9px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.article-bilingual-copy .article-composer__footer .article-composer__tools{min-width:0}
.article-bilingual-fields .field:focus-visible{border-color:#99192f;outline:2px solid #99192f;outline-offset:2px}
.bilingual-story-preview{margin-top:28px;border-top:2px solid #99192f;padding-top:22px}
.bilingual-story-preview>span{color:#99192f;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.bilingual-story-preview h2{margin:8px 0;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:400;line-height:1.15}
.bilingual-story-preview>p{color:#5d574f;font-family:Georgia,"Times New Roman",serif;font-size:13px;line-height:1.5}
.bilingual-story-preview>div{margin-top:18px}
@media(max-width:720px){.article-bilingual-fields{padding:20px 16px}.article-bilingual-fields>header{align-items:start;flex-direction:column}.article-bilingual-fields>header [data-bilingual-status]{max-width:none}.article-bilingual-fields textarea[name="welshBody"]{min-height:260px}.article-bilingual-copy .article-composer{min-height:360px}}

@container article-copy (max-width: 760px) {
  .universal-editor__identity {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .universal-editor__metadata {
    min-width: 0;
    border-left: 0;
    border-top: 1px solid #d4cec5;
    padding: 12px 0 0;
  }
  .article-composer__footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  .article-composer__footer .article-composer__tools {
    flex-wrap: wrap;
    overflow: visible;
  }
  .article-composer__footer .article-composer__status {
    flex-wrap: wrap;
    justify-content: flex-end;
    white-space: normal;
  }
  .article-composer {
    min-height: 360px;
    grid-template-rows: 31px minmax(240px, 1fr) auto;
  }
  .article-workbench textarea.article-composer__body {
    min-height: 240px !important;
  }
}

/* A stacked header needs content height; the enclosing article area scrolls. */
@container article-workspace (max-width: 762px) {
  .article-editor__workspace .article-editor__fields {
    height: auto;
    min-height: 640px;
    grid-template-rows: auto minmax(min-content, 1fr);
  }
}
@container article-workspace (max-width: 1092px) {
  .article-editor__workspace:has(.story-details-rail:not([hidden])) .article-editor__fields {
    height: auto;
    min-height: 640px;
    grid-template-rows: auto minmax(min-content, 1fr);
  }
}
