/* Upcoming printers */
.ts-up, .ts-up * { box-sizing: border-box; }
.ts-up {
	--u-ink: var(--wp--preset--color--ink, #0E1A2B);
	--u-line: var(--wp--preset--color--line, #E4E4DE);
	--u-soft: var(--wp--preset--color--soft, #EEEEEA);
	--u-muted: var(--wp--preset--color--muted, #5F6672);
	--u-cobalt: var(--wp--preset--color--cobalt, #2446E0);
	--u-surface: var(--wp--preset--color--surface, #FFFFFF);
	--u-mono: var(--wp--preset--font-family--mono, ui-monospace, monospace);
}
.ts-up__legend { margin: 0 0 32px; padding: 14px 18px; border: 1px solid var(--u-line); border-radius: 14px; background: var(--u-surface); }
.ts-up__legend summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.ts-up__legend dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 12px; margin: 14px 0; }
/* One shared label column, as wide as the longest badge ("Coming to crowdfunding"), so badges never run into the text. */
.ts-up__legend dl > div { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; }
@supports not (grid-template-columns: subgrid) { .ts-up__legend dl > div { grid-template-columns: 190px 1fr; gap: 12px; } }
.ts-up__legend dt, .ts-up__legend dd { margin: 0; }
.ts-up__legend p { margin: 0; color: var(--u-muted); font-size: 0.9375rem; }
@media (max-width: 520px) { .ts-up__legend dl { grid-template-columns: 1fr; } .ts-up__legend dl > div { grid-template-columns: 1fr; gap: 4px; } }

.ts-up__group { margin: 0 0 40px; }
.ts-up__group > h3 { margin: 0 0 16px; font-size: clamp(1.375rem, 3vw, 1.75rem); }
.ts-up__count { color: var(--u-muted); font-weight: 500; font-size: 0.8em; }
.ts-up__list { display: grid; gap: 16px; }
@media (min-width: 900px) { .ts-up__list { grid-template-columns: 1fr 1fr; } }

.ts-up__card { padding: 20px; border: 1px solid var(--u-line); border-radius: 18px; background: var(--u-surface); min-width: 0; }
.ts-up__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ts-up__brand { margin: 0; font-family: var(--u-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--u-muted); }
.ts-up__name { margin: 2px 0 0; font-size: 1.375rem; line-height: 1.2; }
.ts-up__summary { margin: 12px 0 8px; }
.ts-up__expected, .ts-up__unknown, .ts-up__tracker { margin: 8px 0; font-size: 0.9375rem; }
.ts-up__unknown { color: var(--u-muted); }
.ts-up__card h5 { margin: 16px 0 6px; font-size: 0.9375rem; }
.ts-up__card ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 0.9375rem; }
.ts-up__sources { list-style: none; padding-left: 0 !important; }
.ts-up__sources li { display: block; line-height: 1.5; }
.ts-up__sources .ts-up__type { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.ts-up__sources .ts-up__date { margin-left: 6px; }
.ts-up__sources a { color: var(--u-cobalt); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.ts-up__type { font-family: var(--u-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 6px; background: var(--u-soft); color: var(--u-ink); white-space: nowrap; }
.ts-up__date { color: var(--u-muted); font-size: 0.8125rem; white-space: nowrap; }

.ts-up__badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.ts-up__badge--launched  { background: #DCFAE6; color: #05603A; }
.ts-up__badge--preorder  { background: #DCE3FF; color: #1A33A8; }
.ts-up__badge--coming    { background: #FFEAD5; color: #8A2C0D; }
.ts-up__badge--announced { background: #E0F2FE; color: #075985; }
.ts-up__badge--teased    { background: #F4EBFF; color: #5B2C9B; }
.ts-up__badge--filing    { background: #FEF0C7; color: #7A3E00; }
.ts-up__badge--leak      { background: #FFE4E8; color: #A11043; }
.ts-up__badge--rumor     { background: #EEEEEA; color: #3F4652; border-color: #C8CCD2; border-style: dashed; }

.ts-up__updated { margin: 8px 0 0; color: var(--u-muted); font-size: 0.9375rem; }

.ts-up__delay { margin: -4px 0 0; font-size: 0.875rem; color: #8A2C0D; }
.ts-up__jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.ts-up__jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--u-line, #D9DCE3); border-radius: 999px; color: inherit; font-weight: 600; text-decoration: none; }
.ts-up__jump a:hover { border-color: currentColor; }
.ts-up__jump span { font-weight: 400; color: var(--u-muted, #5F6672); }
.ts-up__section { margin: 0 0 56px; scroll-margin-top: 96px; }
.ts-up__section-title { margin: 0 0 24px; padding-bottom: 10px; border-bottom: 2px solid currentColor; font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
.ts-embed { margin: 14px 0 4px; padding: 14px 16px; border: 1px dashed #C9C9C9; border-radius: 12px; background: #FAFAFA; }
.ts-embed__note { margin: 0 0 10px; font-size: 14px; color: #5E5E5E; }
.ts-embed__actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; }
.ts-embed__load { min-height: 40px; padding: 0 16px; border: 1.5px solid #0F0F0F; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ts-embed__load:hover { background: #0F0F0F; color: #fff; }
.ts-embed .twitter-tweet { margin: 0 auto !important; }

/* Status filter */
.ts-up__tools:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; }
.ts-up__tools-label { font-size: 14px; font-weight: 600; margin-right: 4px; }
.ts-up__chip { min-height: 40px; padding: 0 14px; border: 1px solid #D4D4D8; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #18181B; cursor: pointer; }
.ts-up__chip span { font-weight: 400; color: #52525B; }
.ts-up__chip:hover { border-color: #A1A1AA; }
.ts-up__chip[aria-pressed="true"] { background: #0F0F0F; border-color: #0F0F0F; color: #fff; }
.ts-up__chip[aria-pressed="true"] span { color: #D4D4D8; }
.ts-up__chip:focus-visible { outline: 3px solid #D7261E; outline-offset: 2px; }
.ts-up__shown { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: #52525B; }
.ts-up__shown:empty { display: none; }

/* Filtered-out cards, groups and the section links stay hidden even where a display rule is set */
.ts-up [hidden] { display: none !important; }
/* Sort: Newest update shows every card in one list with the date of its newest source. */
.ts-up__sort:not([hidden]) { margin-top: -12px; }
.ts-up__flat { margin-bottom: 32px; }
.ts-up__updated { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #52525B; }

/* Dark mode (Oct 14 2026): see the "Dark mode" section at the end of the theme's site.css.
   :where() adds no specificity, so each rule replaces the one above it by coming later. */
:where(:root[data-theme="dark"]) .ts-up { --u-cobalt: var(--ts-cobalt, #FF6A60); }
:where(:root[data-theme="dark"]) .ts-up__badge--launched  { background: #0F2A1C; color: #74DFA2; }
:where(:root[data-theme="dark"]) .ts-up__badge--preorder  { background: #1C2550; color: #B4C1FF; }
:where(:root[data-theme="dark"]) .ts-up__badge--coming    { background: #3A1E0C; color: #FFB98A; }
:where(:root[data-theme="dark"]) .ts-up__badge--announced { background: #0C2A3D; color: #8CD3FB; }
:where(:root[data-theme="dark"]) .ts-up__badge--teased    { background: #2A1C45; color: #D2B8FF; }
:where(:root[data-theme="dark"]) .ts-up__badge--filing    { background: #33270A; color: #F7CF6B; }
:where(:root[data-theme="dark"]) .ts-up__badge--leak      { background: #3A1222; color: #FF9DB5; }
:where(:root[data-theme="dark"]) .ts-up__badge--rumor     { background: #26262A; color: #C8C8CD; border-color: #55555C; }
:where(:root[data-theme="dark"]) .ts-up__delay { color: #FFB98A; }
:where(:root[data-theme="dark"]) .ts-embed { border-color: #4A4A52; background: #1F1F22; }
:where(:root[data-theme="dark"]) .ts-embed__note { color: var(--u-muted); }
:where(:root[data-theme="dark"]) .ts-embed__load { border-color: var(--u-ink); background: var(--u-surface); color: var(--u-ink); }
:where(:root[data-theme="dark"]) .ts-embed__load:hover { background: #EDEDEF; color: #111113; }
:where(:root[data-theme="dark"]) .ts-up__chip { border-color: #4A4A52; background: var(--u-surface); color: var(--u-ink); }
:where(:root[data-theme="dark"]) .ts-up__chip span,
:where(:root[data-theme="dark"]) .ts-up__shown,
:where(:root[data-theme="dark"]) .ts-up__updated { color: var(--u-muted); }
:where(:root[data-theme="dark"]) .ts-up__chip:hover { border-color: #5C5C66; }
:where(:root[data-theme="dark"]) .ts-up__chip[aria-pressed="true"] { background: #EDEDEF; border-color: #EDEDEF; color: #111113; }
:where(:root[data-theme="dark"]) .ts-up__chip[aria-pressed="true"] span { color: #55555C; }
:where(:root[data-theme="dark"]) .ts-up__chip:focus-visible { outline-color: var(--ts-cobalt, #FF6A60); }
