/* DX.Wire recessed glassless status annunciator, November 2026.
   The STATUS pocket matches the physical HOLD lamp's exact height (19px, mobile 17px).
   Reuse the existing red HOLD lamp bezel exactly; change its filament cadence
   ONLY when verified state events arrive from app.js. No extra lamp artwork. */
html:is([data-theme=newsprint],[data-theme=dark]) .edition-dateline.dx-signal-ready .edition-live{
  display:inline-flex;align-items:center;gap:5px;max-width:100%;min-width:0;
  cursor:inherit;
}
html:is([data-theme=newsprint],[data-theme=dark]) .edition-dateline.dx-signal-ready .edition-live .dx-watch-status{
  display:inline-flex;flex:0 0 auto;min-width:0;width:auto;
  height:19px!important;min-height:19px!important;max-height:19px!important;
  padding:0!important;align-self:center;
}
.edition-dateline.dx-signal-ready .edition-live .dx-watch-status .dx-watch-digits{
  font-size:clamp(7px,.72vw,9px);
  letter-spacing:-.02em;
}
.edition-dateline.dx-signal-ready .edition-live .dx-watch-status .dx-watch-face{padding:0 3px}
.edition-dateline.dx-signal-ready .edition-live > b{
  position:absolute!important;width:1px!important;height:1px!important;
  clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important
}
html[data-theme=dark] #mast>.edition-dateline.dx-signal-ready .edition-live{
  min-height:33px;gap:6px
}
html[data-theme=newsprint] #bar>.edition-dateline.dx-signal-ready .edition-live{
  gap:5px;padding:0 6px 0 0!important
}
@media(min-width:701px) and (max-width:900px){
  html[data-theme=newsprint] #bar>.edition-dateline.dx-signal-ready .edition-live{
    padding-right:5px!important
  }
  html[data-theme=newsprint] #bar>.edition-dateline.dx-signal-ready .dx-watch-status .dx-watch-digits{
    font-size:8px
  }
}
/* The existing physical lamp is never resized or re-skinned. Filament only. */
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=boot] .edition-live .edition-dot::after{
  animation:dx-signal-boot .85s steps(1,end) infinite!important
}
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=connect] .edition-live .edition-dot::after{
  animation:dx-signal-connect 1.85s ease-in-out infinite!important
}
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=fetch] .edition-live .edition-dot::after{
  animation:dx-signal-fetch 1.55s steps(1,end) infinite!important
}
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=sync] .edition-live .edition-dot::after{
  animation:dx-signal-sync 1.65s steps(1,end) infinite!important
}
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=updated] .edition-live .edition-dot::after{
  animation:dx-signal-updated .95s steps(1,end) infinite!important
}
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=ready] .edition-live .edition-dot::after{
  animation:none!important;opacity:.36!important
}
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=cached] .edition-live .edition-dot::after{
  animation:dx-signal-cached 8s steps(1,end) infinite!important
}
html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=offline] .edition-live .edition-dot::after{
  animation:none!important;opacity:.045!important
}
/* Existing LIVE keeps the approved 1.65s HOLD-key cycle untouched. */
@keyframes dx-signal-boot{0%,11%,24%,35%{opacity:.95}12%,23%,36%,100%{opacity:.045}}
@keyframes dx-signal-connect{0%,100%{opacity:.045}45%{opacity:.78}}
@keyframes dx-signal-fetch{0%,8%,18%,26%,36%,44%{opacity:1}9%,19%,27%,37%,45%,100%{opacity:.045}}
@keyframes dx-signal-sync{0%,10%,23%,32%,48%,70%{opacity:1}11%,24%,33%,49%,71%,100%{opacity:.045}}
@keyframes dx-signal-updated{0%,19%,39%,59%{opacity:1}20%,40%,60%,100%{opacity:.045}}
@keyframes dx-signal-cached{0%,2%{opacity:.55}3%,100%{opacity:.045}}
@media(max-width:700px){
 /* No new hardware is squeezed into the existing 38px NewsTalker/date/clock/search row.
    If audio owns the left cell, the SAME status/lamp button docks in a 25px
    silver-backed station shelf directly underneath, preserving those controls. */
 html:is([data-theme=newsprint],[data-theme=dark]) #mast:has(>.edition-dateline.edition-audio-mobile.dx-signal-ready){
   padding-bottom:63px!important
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready{
   bottom:25px!important
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready::after{
   content:'';position:absolute;top:100%;left:0;right:0;height:25px;z-index:0;
   box-sizing:border-box;border-bottom:1px solid #5f646b;
   background:linear-gradient(180deg,#292a30,#161a20 65%,#101216);
   pointer-events:none
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready .edition-live{
   position:absolute!important;top:calc(100% + 1px);left:10px;z-index:1;
   display:inline-flex!important;align-items:center;gap:4px;
   height:23px;min-height:23px!important;max-width:calc(100% - 20px);
   padding:0!important;margin:0!important;white-space:nowrap
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.dx-signal-ready:not(.edition-audio-mobile) .edition-live{
   gap:4px;min-height:38px;padding:0!important
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.dx-signal-ready .dx-watch-status{
   height:17px!important;min-height:17px!important;max-height:17px!important;padding:0!important
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.dx-signal-ready .dx-watch-status .dx-watch-digits{
   font-size:8px
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.dx-signal-ready .dx-watch-status .dx-watch-face{
   padding-inline:3px
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline.dx-signal-ready .edition-live::after{
   font-size:9px
 }
}
@media(prefers-reduced-motion:reduce){
 html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal] .edition-live .edition-dot::after{
   animation:none!important;opacity:.72!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
  :is(#bar .edition-dateline,#mast>.edition-dateline)[data-dx-signal=offline] .edition-live .edition-dot::after{
   opacity:.045!important
 }
}
html:is([data-theme=newsprint],[data-theme=dark])
 :is(#bar .edition-dateline,#mast>.edition-dateline)[data-hidden=true] .edition-live .edition-dot::after{
 animation-play-state:paused!important
}

/* Metropolitan is a newspaper. Open the status capsule with headline count;
   keep the authentic wire-state annunciator active but displayed in Night Shift. */
@media(min-width:701px){
 html[data-theme=newsprint] #bar .edition-dateline.dx-signal-ready{
   min-width:0!important;
 }
 html[data-theme=newsprint] #bar .edition-dateline.dx-signal-ready .edition-live{
   display:none!important;
 }
 html[data-theme=newsprint] #bar .edition-dateline.dx-signal-ready .edition-count{
   display:inline-flex;align-items:center;white-space:nowrap;
   padding-left:0!important;border-left:0!important;
 }
}
/* Phone: NewsTalker owns the left, original date the center, clock the right.
   No ghost status shelf beneath Metropolitan's 38px strip. */
@media(max-width:700px){
 html[data-theme=newsprint] #mast:has(>.edition-dateline.edition-audio-mobile.dx-signal-ready){
   padding-bottom:38px!important;
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready{
   bottom:0!important;
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready::after{
   content:none!important;display:none!important;
 }
 html[data-theme=newsprint] #mast>.edition-dateline.dx-signal-ready .edition-live{
   display:none!important;
 }
 /* Before audio mounts, replace the left status button with actual count. */
 html[data-theme=newsprint] #mast>.edition-dateline.dx-signal-ready:not(.edition-audio-mobile) .edition-count{
   display:inline-block!important;grid-column:1;grid-row:1;
   justify-self:start;align-self:center;min-width:0;padding:0!important;
   border:0!important;color:#fff;font:700 9px/1.1 EditionMono,ui-monospace,monospace;
   white-space:nowrap;
 }
}

/* Leading whitespace in flex text items collapses. Enforce visual spacing. */
html[data-theme=newsprint] .edition-dateline.dx-signal-ready .edition-count > b{
 margin-right:5px!important
}

/* Phone-only instrument reduction, owner-approved 2026-11-15.
   Cosmopolitan (the dark/mono palette) alone retains the authentic LIVE
   wire annunciator. Other rooms keep the real wire state in JS, but do not
   devote a second row or an extra button to it. Search remains on >=701px. */
@media(max-width:700px){
  /* Search's JS node may be docked to either toolbar during theme/size swaps. */
  #mast>.edition-dateline>#wire-search,
  #bar>#wire-search{display:none!important}

  /* Remove the vacant fourth column after the phone search key disappears. */
  html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline:has(>#wire-search){
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }

  /* Never show an extra masthead LIVE control in Metropolitan, Arcade or
     the three Night Shift color palettes. Keep Cosmopolitan's unchanged. */
  html:is([data-theme=newsprint],[data-theme=terminal],[data-theme=dark]:not([data-night-palette=mono]))
    #mast>.edition-dateline .edition-live{display:none!important}

  /* Override the higher-specificity physical status-shelf layout only for
     colored Night Shift. The existing 38px audio/date/clock bar stays put. */
  html[data-theme=dark]:not([data-night-palette=mono])
    #mast:has(>.edition-dateline.edition-audio-mobile.dx-signal-ready){
    padding-bottom:38px!important;
  }
  html[data-theme=dark]:not([data-night-palette=mono])
    #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready{
    bottom:0!important;
  }
  html[data-theme=dark]:not([data-night-palette=mono])
    #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready::after{
    content:none!important;display:none!important;
  }
  html[data-theme=dark]:not([data-night-palette=mono])
    #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready .edition-live{
    display:none!important;
  }
}

/* Owner-approved 2026-11-16: one mobile/tablet station, no second LIVE instrument.
   The wire signal still runs in JS; NewsTalker's genuine edition pilot is the CTA.
   Phone keeps its original 38px three-register strip and working morphing keys. */
@media(max-width:700px){
 html:is([data-theme=newsprint],[data-theme=dark],[data-theme=terminal])
 #mast>.edition-dateline .edition-live{display:none!important}
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast:has(>.edition-dateline.edition-audio-mobile.dx-signal-ready){
  padding-bottom:38px!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready{
  bottom:0!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready::after{
  content:none!important;display:none!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile.dx-signal-ready .edition-live{
  display:none!important
 }
 /* Keep date truly centered between the real NewsTalker and clock registers. */
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  column-gap:clamp(3px,1.2vw,7px)!important;
  padding-inline:clamp(8px,2.1vw,12px)!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile .express-transport.talker-morph-console{
  grid-column:1!important;grid-row:1!important;justify-self:start!important;
  max-width:100%!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile .edition-mobile-updated{
  grid-column:3!important;grid-row:1!important;justify-self:end!important;
  min-width:0!important
 }
}
@media(min-width:701px) and (max-width:1366px) and (any-pointer:coarse){
 /* Remove the separate LIVE/status control from tablet, not the real signal. */
 html:is([data-theme=newsprint],[data-theme=dark]) #bar .edition-dateline .edition-live,
 html:is([data-theme=newsprint],[data-theme=dark]) #mast>.edition-dateline .edition-live{
  display:none!important
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #bar .edition-dateline .edition-count{
  padding-left:0!important;border-left:0!important
 }
}



/* Image-2 geometry, corrected to the owner's three real touch instruments.
   Grey NewsTalker left | original electronic DATE centered | CLOCK right.
   Search is DESKTOP ONLY; the headline counts/status remain in JS but have
   no redundant upper row on mobile or touch tablet. */
@media(max-width:700px),(min-width:701px) and (max-width:1366px) and (any-pointer:coarse){
 html[data-theme=newsprint][data-statusat=top] body>#bar,
 html[data-theme=dark][data-statusat=top] body>#bar,
 html[data-theme=dark][data-night-palette][data-statusat=top] body>#bar,
 html:is([data-theme=newsprint],[data-theme=dark]) body>.t{
  display:none!important
 }
 html:is([data-theme=newsprint],[data-theme=dark]) #mast{
  position:relative!important;overflow:visible!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile{
  display:grid!important;position:absolute!important;z-index:4;
  left:0!important;right:0!important;top:auto!important;bottom:0!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  margin:0!important;padding-inline:clamp(8px,2vw,18px)!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  column-gap:clamp(3px,.9vw,8px)!important;align-items:center!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile::before,
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile::after{
  content:none!important;display:none!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile
 :is(.edition-live,.edition-count,.edition-sources,.edition-updated,.edition-time,.edition-mobile-updated,#wire-search){
  display:none!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile .talker-single-key{
  grid-column:1!important;grid-row:1!important;justify-self:start!important;
  align-self:center!important;margin:0!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile .dx-watch-date{
  display:inline-flex!important;grid-column:2!important;grid-row:1!important;
  justify-self:center!important;align-self:center!important;
  max-width:100%!important;min-width:0!important;margin:0!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile .dx-watch-clock{
  display:inline-flex!important;grid-column:3!important;grid-row:1!important;
  justify-self:end!important;align-self:center!important;
  min-width:0!important;max-width:100%!important;margin:0!important
 }
}
@media(max-width:700px){
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast:has(>.edition-dateline.edition-audio-mobile){
  padding-bottom:38px!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile{
  height:38px!important;min-height:38px!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile
 :is(.dx-watch-date,.dx-watch-clock){
  min-height:24px!important;height:24px!important
 }
}
@media(min-width:701px) and (max-width:1366px) and (any-pointer:coarse){
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast:has(>.edition-dateline.edition-audio-mobile){
  padding-bottom:46px!important
 }
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile{
  height:46px!important;min-height:46px!important
 }
 html[data-theme=newsprint] .mast-date{display:none!important}
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile
 :is(.dx-watch-date,.dx-watch-clock){
  min-height:26px!important;height:26px!important
 }
}

/* Metropolitan touch masthead typography: printed date and live white clock on red.
   No white boxes, digit-card seams, individual colon tile or clock animation.
   Desktop mechanical clock and NewsTalker are unchanged. */
@media(max-width:700px),(min-width:701px) and (max-width:1366px) and (any-pointer:coarse){
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile :is(.dx-watch-date,.dx-watch-clock).dx-watch-unit,
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile :is(.dx-watch-date,.dx-watch-clock) .dx-watch-face{
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:0!important;overflow:visible!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile :is(.dx-watch-date,.dx-watch-clock) .dx-watch-digits{
  display:inline-flex!important;gap:0!important;color:#fff!important;
  text-shadow:none!important;font-variant-numeric:tabular-nums!important;white-space:pre!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile .dx-watch-date .dx-watch-digits{
  font:700 clamp(9px,2.45vw,12px)/1.1 Arial,Helvetica,sans-serif!important;
  letter-spacing:.045em!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile .dx-watch-clock .dx-watch-digits{
  font:700 clamp(11px,2.8vw,14px)/1.1 'IBM Plex Mono',ui-monospace,monospace!important;
  letter-spacing:-.02em!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile :is(.dx-watch-date,.dx-watch-clock) .dx-watch-cell{
  display:inline-flex!important;min-width:0!important;height:auto!important;overflow:visible!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile .dx-watch-clock .dx-watch-cell[data-character=":"]{
  min-width:0!important;background:transparent!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile :is(.dx-watch-date,.dx-watch-clock) .dx-watch-front{
  display:inline!important;width:auto!important;height:auto!important;
  color:#fff!important;text-shadow:none!important;animation:none!important;transform:none!important;filter:none!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile :is(.dx-watch-date,.dx-watch-clock) .dx-watch-ghost{
  display:none!important;animation:none!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile .dx-watch-clock .dx-watch-cell:not([data-character=":"])::before,
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile :is(.dx-watch-date,.dx-watch-clock) .dx-watch-cell.is-changing::after{
  content:none!important;display:none!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile .dx-watch-clock .dx-watch-micro{
  background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin-left:1px!important;
  font:600 clamp(5px,1.2vw,7px)/1 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-shadow:none!important
 }
 html[data-theme=newsprint] #mast>.edition-dateline.edition-audio-mobile>#wire-search{
  display:none!important
 }
}

/* PHONE CLOCK: stack the meridiem above the local zone alongside live seconds.
   No watch-digit, date, NewsTalker appliance, masthead grid or desktop change. */
@media(max-width:700px){
 html:is([data-theme=newsprint],[data-theme=dark])
 #mast>.edition-dateline.edition-audio-mobile .dx-watch-clock .dx-watch-micro{
  display:inline-block!important;white-space:pre-line!important;
  line-height:1.12!important;text-align:left!important;
  vertical-align:middle!important;font-size:clamp(5px,1.45vw,6px)!important;
  font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,monospace!important;
  letter-spacing:0!important;width:3ch!important;min-width:3ch!important;
  margin-left:2px!important;opacity:.72!important
 }
}
