body.updatesActive #top .filters,body.updatesActive #locatedBar,body.updatesActive #newBtn { display:none!important; }
.updatesWrap { max-width:1200px;margin:0 auto;padding:38px 30px 90px; }
.updatesHeading,.updateToolbar,.updateActions,.updateMeta,.updateCard footer,.updateDialogHead,.updateDialogFoot { display:flex;align-items:center;gap:12px;flex-wrap:wrap; }
.updatesHeading,.updateToolbar { justify-content:space-between;margin-bottom:26px; }
.updatesHeading h1 { font:40px/1.15 Georgia,serif;letter-spacing:-1px;margin:8px 0; }
.updatesHeading p { margin:5px 0; }
.updateEyebrow { color:var(--muted);font-size:12px;letter-spacing:.09em;text-transform:uppercase; }
.updateTabs { display:flex;gap:4px;flex-wrap:wrap; }
.updateTabs button { border-color:transparent;border-radius:20px;padding:7px 13px; }
.updateTabs button.on { background:var(--theme-primaryTint);color:var(--accent);border-color:var(--accent); }
.updateHome { display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px; }
.updateHome input,.updateCheck input { width:auto;flex:none;accent-color:var(--accent); }
.updatesLayout { display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:28px;align-items:start; }
.updateCard { background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:20px;overflow:hidden; }
.updateCard h2 { font:27px/1.25 Georgia,serif;margin:18px 0 12px; }
.updateCard h2 a { color:var(--fg);text-decoration:none; }
.updateCard h2 a:hover { color:var(--accent);text-decoration:underline; }
.updateMeta time { margin-left:auto;color:var(--muted);font-size:12px; }
.updateBadge { display:inline-block;padding:4px 10px;border-radius:14px;font-size:12px;font-weight:600;color:var(--theme-secondaryText);background:var(--theme-secondaryTint); }
.updateBadge.shipped { color:var(--ok);background:var(--theme-goodTint); }
.updateBadge.decision { color:var(--warn);background:var(--theme-warnTint); }
.updateCopy { white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:10px 0;font-size:15px; }
.updateBenefit { border-left:3px solid var(--accent);padding:8px 16px;margin:20px 0;background:var(--bg);border-radius:0 8px 8px 0; }
.updateBenefit strong { font-size:12px;color:var(--muted); }
.updateBenefit .updateCopy { margin:4px 0;font-size:14px; }
.updateNext { background:var(--bg);padding:12px 16px;border-radius:8px;overflow-wrap:anywhere;white-space:pre-wrap; }
.updateNext strong { display:block;font-size:12px;margin-bottom:3px;color:var(--muted); }
.updateCard footer { border-top:1px solid var(--line);padding-top:16px;margin-top:20px;justify-content:space-between;color:var(--muted);font-size:12px; }
.updateCard footer button { border:0;color:var(--accent);padding:4px 0; }
.updatesAside section { border-bottom:1px solid var(--line);padding:0 0 22px;margin-bottom:22px; }
.updatesAside h3 { font:19px Georgia,serif;margin:0 0 12px; }
.updatesAside p { color:var(--muted);line-height:1.65; }
.updateCandidate { display:block;width:100%;text-align:left;white-space:normal;margin-top:8px;font-size:12px; }
.updateCandidate span { display:block;color:var(--accent);margin-top:4px; }
.updateBrief,.updateEmpty { border:1px solid var(--line);padding:22px;border-radius:12px;margin-bottom:24px;background:var(--panel); }
.updateBrief p { margin-bottom:0;color:var(--muted); }
.updateEmpty h2 { font:25px Georgia,serif; }
.updateMore { display:block;margin:20px auto; }
.updateMedia { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin:18px 0; }
.updateMedia figure { margin:0;min-width:0; }
.updateMedia.compact { grid-template-columns:repeat(var(--media-columns),minmax(0,1fr)); }
.updateMedia img,.updateMedia video { display:block;width:100%;height:auto;max-height:440px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:var(--bg); }
.updateMedia.compact img,.updateMedia.compact video { height:160px;max-height:160px; }
.updateMedia figcaption { font-size:12px;line-height:1.5;color:var(--muted);margin-top:6px;overflow-wrap:anywhere; }
.updateDialog { width:min(800px,calc(100vw - 32px));max-width:800px;max-height:calc(100dvh - 40px);padding:0;background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:18px;overflow:auto; }
.updateDialog::backdrop { background:rgb(0 0 0 / .5); }
.updateDialogHead { padding:20px 28px;border-bottom:1px solid var(--line);justify-content:space-between; }
.updateDialogHead h2 { margin:5px 0;font:25px Georgia,serif; }
.updateDialogHead button { margin-left:auto;min-width:42px;min-height:42px; }
.updateDialogBody { padding:24px 28px; }
.updateDialogBody h1 { font:34px/1.2 Georgia,serif;margin:8px 0 22px;overflow-wrap:anywhere; }
.updateDialogBody h2 { font:24px Georgia,serif; }
.updateDialogBody h3 { font:20px Georgia,serif; }
.updateDialogBody section { margin:26px 0; }
.updateDialogFoot { padding:18px 28px;border-top:1px solid var(--line);justify-content:flex-end; }
.updateDialogFoot [data-save-state] { margin-right:auto;color:var(--muted);font-size:12px; }
.updateContext a { display:block;padding:12px 16px;border:1px solid var(--line);border-radius:8px;margin:8px 0;color:var(--fg);text-decoration:none; }
.updateContext a:hover { border-color:var(--accent); }
.updateContext span { display:block;font-size:12px;color:var(--muted);margin-bottom:4px; }
.updateSources { border-top:1px solid var(--line);padding:14px 0;color:var(--muted);font-size:12px; }
.updateSources summary { cursor:pointer; }
.updateSources a { display:block;padding:8px 0;color:var(--accent); }
.updateComment { border-bottom:1px solid var(--line);padding:10px 0; }
.updateComment time { color:var(--muted);font-size:12px;margin-left:8px; }
.updateComment .updateCopy { font-size:14px; }
.updateDialog label { display:block;font-size:13px;font-weight:600;margin:15px 0 7px; }
.updateDialog input:not([type=checkbox]),.updateDialog textarea,.updateDialog select { display:block;width:100%;min-width:0;margin-top:7px;font:inherit;font-weight:400; }
.updateDialog textarea { resize:vertical; }
.updateDialog .updateCheck { display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5; }
.updateDialog .updateCheck input { margin-top:4px; }
.updateEditorSources { background:var(--bg);padding:2px 18px 10px;border-radius:10px;margin:20px 0; }
.updateEditorSources p { font-size:12px; }
.updateMediaEditor { padding:0 0 16px;border-bottom:1px solid var(--line); }
.updatePreview { margin-top:20px; }
.updateError { color:var(--bad);background:var(--theme-badTint);padding:14px 20px;white-space:pre-wrap; }
.updateDialog [data-error] { position:sticky;top:0;z-index:2;margin:0; }
@media(max-width:900px) {
  .updatesLayout { grid-template-columns:minmax(0,1fr); }
  .updatesAside { display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px; }
}
@media(max-width:700px) {
  .updatesWrap { padding:24px 14px 100px; }
  .updatesHeading h1 { font-size:33px; }
  .updateActions { width:100%; }
  .updateActions button { flex:1; }
  .updateToolbar { gap:16px; }
  .updateTabs { gap:3px; }
  .updateTabs button { font-size:12px;padding:7px 11px;min-height:40px; }
  .updateCard { padding:19px 17px; }
  .updateCard h2 { font-size:25px; }
  .updateCard footer { align-items:flex-start; }
  .updateCard footer button { min-height:40px; }
  .updateDialog { width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px; }
  .updateDialogBody,.updateDialogHead,.updateDialogFoot { padding:18px; }
  .updateDialogBody h1 { font-size:29px; }
  .updateDialog input:not([type=checkbox]),.updateDialog textarea,.updateDialog select { font-size:16px; }
  .updateMedia img,.updateMedia video { max-height:300px; }
  .updateMedia.compact img,.updateMedia.compact video { height:100px;max-height:100px; }
}

.updateHome { position:relative;flex-direction:row;min-height:44px;cursor:pointer; }
.updateHome input { position:absolute;opacity:0;width:40px;height:24px;margin:0; }
.updateSwitch { width:40px;height:24px;flex:none;border:1px solid var(--muted);border-radius:20px;position:relative;background:var(--panel); }
.updateSwitch::before { content:'';width:18px;height:18px;border-radius:50%;background:var(--muted);position:absolute;left:2px;top:2px; }
.updateHome input:checked+.updateSwitch { background:var(--accent);border-color:var(--accent); }
.updateHome input:checked+.updateSwitch::before { transform:translateX(16px);background:var(--theme-on); }
.updateHome input:focus-visible+.updateSwitch { outline:2px solid var(--accent);outline-offset:3px; }
.updateDialog .updateCheck { flex-direction:row; }

.updateSwitch { pointer-events:none; }
