/* One compact desk. Editions and intraday updates open only when requested. */
#newspaper-archive[hidden], #sdb-newspaper [hidden] { display: none !important; }
#sdb-newspaper .sdb-paper-desk { --desk-ink: #27212b; --desk-line: #d7cbd9; color: var(--desk-ink); background: #fbf9fc; border: 1px solid var(--desk-line); border-radius: 18px; overflow: clip; font: 15px/1.5 var(--paper-sans, Arial, sans-serif); }
#sdb-newspaper .sdb-paper-desk * { box-sizing: border-box; }
#sdb-newspaper .sdb-paper-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--desk-line); background: #f1ebf4; }
#sdb-newspaper .sdb-paper-tabs [role="tab"] { flex: 1 1 120px; min-width: 0; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 10px; color: #62556a; background: transparent; font: 700 14px/1.4 var(--paper-sans, Arial, sans-serif); cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
#sdb-newspaper .sdb-paper-tabs [aria-selected="true"] { color: #fff; background: #623281; box-shadow: 0 2px 7px #62328124; }
#sdb-newspaper .sdb-paper-tabs [role="tab"]:hover { color: #432157; background: #e8ddee; }
#sdb-newspaper .sdb-paper-tabs [aria-selected="true"]:hover { color: #fff; background: #54266f; }
#sdb-newspaper .sdb-paper-desk :is(button, input, summary, a):focus-visible { outline: 3px solid #9a54b5; outline-offset: 3px; }
#sdb-newspaper [data-paper-panel] { min-width: 0; padding: 20px; }
#sdb-newspaper .sdb-desk-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .5fr) auto; align-items: end; gap: 12px; margin: 0 0 16px; }
#sdb-newspaper .sdb-desk-filters label { display: flex; flex-direction: column; min-width: 0; gap: 5px; font-size: 12px; font-weight: 700; }
#sdb-newspaper .sdb-desk-filters input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid #bcaac5; border-radius: 8px; background: #fff; color: #27212b; font: inherit; font-size: 15px; color-scheme: light; }
#sdb-newspaper .sdb-paper-desk :is(.sdb-desk-filters, .sdb-desk-pagination) button { min-height: 44px; max-width: 100%; border: 1px solid #bcaac5; border-radius: 8px; padding: 9px 14px; background: #fff; color: #53266f; cursor: pointer; font: 700 13px/1.4 var(--paper-sans, Arial, sans-serif); white-space: normal; }
#sdb-newspaper .sdb-paper-desk :is(.sdb-desk-filters, .sdb-desk-pagination) button:hover { background: #f2eaf6; }
#sdb-newspaper .sdb-paper-desk button:disabled { opacity: .4; cursor: default; }
#sdb-newspaper .sdb-desk-archive-list, #sdb-newspaper .sdb-desk-updates-list { list-style: none; margin: 0; padding: 0; display: grid; }
#sdb-newspaper .sdb-desk-archive-row { min-width: 0; border-bottom: 1px solid #e6deea; }
#sdb-newspaper .sdb-desk-archive-row a { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; min-height: 66px; color: #27212b; text-decoration: none; }
#sdb-newspaper .sdb-desk-archive-row a:hover .sdb-desk-row-title { color: #71358a; text-decoration: underline; }
#sdb-newspaper .sdb-desk-archive-row time { font-size: 12px; color: #6b5d73; }
#sdb-newspaper .sdb-desk-archive-row small { max-width: 100px; border-radius: 20px; padding: 4px 8px; background: #ece0f3; color: #653181; font: 700 10px/1.4 var(--paper-sans, Arial, sans-serif); }
#sdb-newspaper .sdb-desk-row-title { min-width: 0; font: 700 15px/1.45 var(--paper-sans, Arial, sans-serif); overflow-wrap: anywhere; }
#sdb-newspaper .sdb-desk-archive-row .sdb-desk-row-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#sdb-newspaper .sdb-desk-pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 12px; color: #6b5d73; }
#sdb-newspaper .sdb-desk-pagination > span { text-align: center; }
#sdb-newspaper .sdb-desk-update-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#sdb-newspaper .sdb-desk-update-heading h3 { margin: 0; font: 700 17px/1.4 var(--paper-sans, Arial, sans-serif); }
#sdb-newspaper .sdb-desk-update-heading > span { min-width: 28px; border-radius: 20px; padding: 3px 8px; color: #653181; background: #ece0f3; font-size: 12px; text-align: center; }
#sdb-newspaper .sdb-desk-update { border-bottom: 1px solid #e6deea; }
#sdb-newspaper .sdb-desk-update > summary { min-height: 70px; cursor: pointer; padding: 12px 22px 12px 0; position: relative; list-style: none; }
#sdb-newspaper .sdb-desk-update > summary::-webkit-details-marker { display: none; }
#sdb-newspaper .sdb-desk-update > summary::after { content: '+'; position: absolute; inset-inline-end: 2px; top: 28px; color: #71358a; font-size: 18px; }
#sdb-newspaper .sdb-desk-update[open] > summary::after { content: '−'; }
#sdb-newspaper .sdb-desk-update-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 5px; color: #77667f; font-size: 11px; }
#sdb-newspaper .sdb-desk-update-meta > span { color: #653181; font-weight: 700; }
#sdb-newspaper .sdb-desk-update summary > .sdb-desk-row-title { display: block; }
#sdb-newspaper .sdb-desk-update-body { padding: 2px 0 18px; max-width: 78ch; }
#sdb-newspaper .sdb-desk-update-body p { color: #3e3344; font: 15px/1.65 var(--paper-sans, Arial, sans-serif); margin: 0 0 14px; white-space: pre-line; }
#sdb-newspaper .sdb-desk-update-body .sdb-desk-update-status { color: #7b6585; font-size: 11px; }
#sdb-newspaper .sdb-desk-update-body .sdb-desk-update-sources { display: flex; flex-wrap: wrap; gap: 5px; font-size: 12px; }
#sdb-newspaper .sdb-desk-update-body a { color: #653181; }
#sdb-newspaper .sdb-desk-source-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; font-weight: 700; }
#sdb-newspaper .sdb-desk-empty, #sdb-newspaper .sdb-desk-service-note { padding: 12px 0; margin: 0; color: #6b5d73; font-size: 13px; }
@media (max-width: 600px) {
  #sdb-newspaper [data-paper-panel] { padding: 16px; }
  #sdb-newspaper .sdb-paper-tabs { gap: 3px; padding: 6px; }
  #sdb-newspaper .sdb-paper-tabs [role="tab"] { flex-basis: 75px; padding: 9px 7px; font-size: 12px; }
  #sdb-newspaper .sdb-desk-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  #sdb-newspaper .sdb-desk-filters label:first-child { grid-column: 1 / -1; }
  #sdb-newspaper .sdb-desk-archive-row a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  #sdb-newspaper .sdb-desk-archive-row time { grid-column: 1; }
  #sdb-newspaper .sdb-desk-archive-row .sdb-desk-row-title { grid-column: 1; grid-row: 2; }
  #sdb-newspaper .sdb-desk-archive-row a > :last-child { grid-column: 2; grid-row: 1 / 3; }
  #sdb-newspaper .sdb-desk-pagination { gap: 6px; }
  #sdb-newspaper .sdb-desk-pagination button { padding-inline: 9px; }
}
@media print {
  #sdb-newspaper .sdb-paper-tabs, #sdb-newspaper [data-paper-panel="archive"], #sdb-newspaper [data-paper-panel="updates"] { display: none !important; }
}
