/* stx role tokens — override any of these to re-theme by meaning. */
:root {
  --stx-fg: oklch(20.5% 0 0);
  --stx-fg-strong: oklch(37.1% 0 0);
  --stx-fg-muted: oklch(43.9% 0 0);
  --stx-fg-soft: oklch(55.6% 0 0);
  --stx-fg-subtle: oklch(70.8% 0 0);
  --stx-surface: oklch(98.5% 0 0);
  --stx-surface-raised: oklch(97% 0 0);
  --stx-surface-sunken: oklch(92.2% 0 0);
  --stx-panel: #fff;
  --stx-field: #fff;
  --stx-page: oklch(98.5% 0 0);
  --stx-content: #fff;
  --stx-surface-hover: oklch(97% 0 0);
  --stx-surface-raised-hover: oklch(92.2% 0 0);
  --stx-surface-sunken-hover: oklch(87% 0 0);
  --stx-field-hover: oklch(98.5% 0 0);
  --stx-link: oklch(62.3% 0.214 259.815);
  --stx-link-hover: oklch(54.6% 0.245 262.881);
  --stx-inverse: oklch(20.5% 0 0);
  --stx-inverse-ink: #fff;
  --stx-line: oklch(92.2% 0 0);
  --stx-line-strong: oklch(87% 0 0);
  --stx-line-hover: oklch(70.8% 0 0);
  --stx-accent: oklch(54.6% 0.245 262.881);
  --stx-info: oklch(60.9% 0.126 221.723);
  --stx-danger: oklch(57.7% 0.245 27.325);
  --stx-success: oklch(62.7% 0.194 149.214);
  --stx-warning: oklch(68.1% 0.162 75.834);
  --stx-accent-solid: oklch(62.3% 0.214 259.815);
  --stx-info-solid: oklch(71.5% 0.143 215.221);
  --stx-danger-solid: oklch(63.7% 0.237 25.331);
  --stx-success-solid: oklch(72.3% 0.219 149.579);
  --stx-warning-solid: oklch(79.5% 0.184 86.047);
  --stx-accent-solid-hover: oklch(54.6% 0.245 262.881);
  --stx-info-solid-hover: oklch(60.9% 0.126 221.723);
  --stx-danger-solid-hover: oklch(57.7% 0.245 27.325);
  --stx-success-solid-hover: oklch(62.7% 0.194 149.214);
  --stx-warning-solid-hover: oklch(68.1% 0.162 75.834);
  --stx-accent-ink: #fff;
  --stx-info-ink: oklch(20.5% 0 0);
  --stx-danger-ink: #fff;
  --stx-success-ink: oklch(20.5% 0 0);
  --stx-warning-ink: oklch(20.5% 0 0);
  --stx-accent-soft: oklch(93.2% 0.032 255.585);
  --stx-accent-soft-ink: oklch(42.4% 0.199 265.638);
  --stx-info-soft: oklch(95.6% 0.045 203.388);
  --stx-info-soft-ink: oklch(45% 0.085 224.283);
  --stx-danger-soft: oklch(93.6% 0.032 17.717);
  --stx-danger-soft-ink: oklch(44.4% 0.177 26.899);
  --stx-success-soft: oklch(96.2% 0.044 156.743);
  --stx-success-soft-ink: oklch(44.8% 0.119 151.328);
  --stx-warning-soft: oklch(97.3% 0.071 103.193);
  --stx-warning-soft-ink: oklch(47.6% 0.114 61.907);
  --stx-secondary: oklch(55.8% 0.288 302.321);
  --stx-secondary-solid: oklch(62.7% 0.265 303.9);
  --stx-secondary-solid-hover: oklch(55.8% 0.288 302.321);
  --stx-secondary-ink: #fff;
  --stx-secondary-soft: oklch(94.6% 0.033 307.174);
  --stx-secondary-soft-ink: oklch(43.8% 0.218 303.724);
  --stx-danger-fg: oklch(39.6% 0.141 25.723);
  --stx-danger-fg-subtle: oklch(80.8% 0.114 19.571);
  --stx-danger-line: oklch(80.8% 0.114 19.571);
  --stx-danger-focus: oklch(63.7% 0.237 25.331);
}
.dark {
  --stx-fg: oklch(97% 0 0);
  --stx-fg-strong: oklch(87% 0 0);
  --stx-fg-muted: oklch(70.8% 0 0);
  --stx-fg-soft: oklch(70.8% 0 0);
  --stx-fg-subtle: oklch(55.6% 0 0);
  --stx-surface: oklch(26.9% 0 0);
  --stx-surface-raised: oklch(37.1% 0 0);
  --stx-surface-sunken: oklch(37.1% 0 0);
  --stx-panel: oklch(26.9% 0 0);
  --stx-field: oklch(37.1% 0 0);
  --stx-page: oklch(20.5% 0 0);
  --stx-content: oklch(20.5% 0 0);
  --stx-surface-hover: oklch(37.1% 0 0);
  --stx-surface-raised-hover: oklch(43.9% 0 0);
  --stx-surface-sunken-hover: oklch(43.9% 0 0);
  --stx-field-hover: oklch(43.9% 0 0);
  --stx-link: oklch(70.7% 0.165 254.624);
  --stx-link-hover: oklch(80.9% 0.105 251.813);
  --stx-inverse: oklch(37.1% 0 0);
  --stx-inverse-ink: #fff;
  --stx-line: oklch(37.1% 0 0);
  --stx-line-strong: oklch(43.9% 0 0);
  --stx-line-hover: oklch(55.6% 0 0);
  --stx-accent: oklch(70.7% 0.165 254.624);
  --stx-info: oklch(78.9% 0.154 211.53);
  --stx-danger: oklch(70.4% 0.191 22.216);
  --stx-success: oklch(79.2% 0.209 151.711);
  --stx-warning: oklch(85.2% 0.199 91.936);
  --stx-accent-solid: oklch(54.6% 0.245 262.881);
  --stx-info-solid: oklch(60.9% 0.126 221.723);
  --stx-danger-solid: oklch(57.7% 0.245 27.325);
  --stx-success-solid: oklch(62.7% 0.194 149.214);
  --stx-warning-solid: oklch(68.1% 0.162 75.834);
  --stx-accent-solid-hover: oklch(48.8% 0.243 264.376);
  --stx-info-solid-hover: oklch(52% 0.105 223.128);
  --stx-danger-solid-hover: oklch(50.5% 0.213 27.518);
  --stx-success-solid-hover: oklch(52.7% 0.154 150.069);
  --stx-warning-solid-hover: oklch(55.4% 0.135 66.442);
  --stx-accent-ink: #fff;
  --stx-info-ink: oklch(20.5% 0 0);
  --stx-danger-ink: #fff;
  --stx-success-ink: oklch(20.5% 0 0);
  --stx-warning-ink: oklch(20.5% 0 0);
  --stx-accent-soft: oklch(37.9% 0.146 265.522);
  --stx-accent-soft-ink: oklch(88.2% 0.059 254.128);
  --stx-info-soft: oklch(39.8% 0.07 227.392);
  --stx-info-soft-ink: oklch(91.7% 0.08 205.041);
  --stx-danger-soft: oklch(39.6% 0.141 25.723);
  --stx-danger-soft-ink: oklch(88.5% 0.062 18.334);
  --stx-success-soft: oklch(39.3% 0.095 152.535);
  --stx-success-soft-ink: oklch(92.5% 0.084 155.995);
  --stx-warning-soft: oklch(42.1% 0.095 57.708);
  --stx-warning-soft-ink: oklch(94.5% 0.129 101.54);
  --stx-secondary: oklch(71.4% 0.203 305.504);
  --stx-secondary-solid: oklch(55.8% 0.288 302.321);
  --stx-secondary-solid-hover: oklch(49.6% 0.265 301.924);
  --stx-secondary-ink: #fff;
  --stx-secondary-soft: oklch(38.1% 0.176 304.987);
  --stx-secondary-soft-ink: oklch(90.2% 0.063 306.703);
  --stx-danger-fg: oklch(80.8% 0.114 19.571);
  --stx-danger-fg-subtle: oklch(63.7% 0.237 25.331);
  --stx-danger-line: oklch(57.7% 0.245 27.325);
  --stx-danger-focus: oklch(70.4% 0.191 22.216);
}
/* stx shape tokens — a radius by what the thing is. */
:root {
  --stx-radius-control: 0.375rem;
  --stx-radius-panel: 0.5rem;
  --stx-radius-pill: 9999px;
}
/* stx density tokens — how much room a control or a table cell takes. */
:root {
  --stx-control-px: 1rem;
  --stx-control-py: 0.5rem;
  --stx-control-text: 1rem;
  --stx-control-leading: 1.5rem;
  --stx-cell-px: 1.5rem;
  --stx-cell-py: 1rem;
  --stx-cell-text: 0.875rem;
  --stx-cell-leading: 1.25rem;
  --stx-cell-head-py: 0.75rem;
  --stx-cell-head-text: 0.75rem;
  --stx-cell-head-leading: 1rem;
}
@layer tc-base {
/*
! Tailwind CSS Preflight | MIT License | https://tailwindcss.com
*/

/*
  The fallback is a neutral grey, not currentColor.

  currentColor makes every border whose colour was never set take the TEXT
  colour, which is near-black on a light page and near-white on a dark one.
  That is never what an author means by a divider: the divide-* and
  border-width utilities set a width and no colour, so a plain divide-y
  rendered as a heavy black rule instead of a hairline.

  It also punished the obvious workaround. Setting border-color on a parent
  does not reach divide-* children, because divide targets
  "> :not([hidden]) ~ :not([hidden])" and the child declaration from this
  block wins.

  Tailwind preflight resolves this the same way (its default is gray-200).
  --border-color stays the escape hatch: set it once on :root, or per
  theme, and every uncoloured border follows.
*/
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border-color, #e5e7eb);
}

::before,
::after {
  --tc-content: '';
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-sans);
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: var(--border-color, inherit);
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: color-mix(in oklab, currentColor 50%, transparent);
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}
}

@layer tc-base {
/*
! Tailwind CSS Preflight | MIT License | https://tailwindcss.com
*/

/*
  The fallback is a neutral grey, not currentColor.

  currentColor makes every border whose colour was never set take the TEXT
  colour, which is near-black on a light page and near-white on a dark one.
  That is never what an author means by a divider: the divide-* and
  border-width utilities set a width and no colour, so a plain divide-y
  rendered as a heavy black rule instead of a hairline.

  It also punished the obvious workaround. Setting border-color on a parent
  does not reach divide-* children, because divide targets
  "> :not([hidden]) ~ :not([hidden])" and the child declaration from this
  block wins.

  Tailwind preflight resolves this the same way (its default is gray-200).
  --border-color stays the escape hatch: set it once on :root, or per
  theme, and every uncoloured border follows.
*/
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border-color, #e5e7eb);
}

::before,
::after {
  --cw-content: '';
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-sans);
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: var(--border-color, inherit);
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: color-mix(in oklab, currentColor 50%, transparent);
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}
}

@layer tc-base {

:root { 
  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --font-label: var(--font-mono);
  --font-typewriter: var(--font-mono);
 font-family: var(--font-sans); }
.brand-mark { position: relative; display: inline-block; flex-shrink: 0; background: var(--ink); border-radius: 23.4%; }
.brand-mark::before { content: ''; position: absolute; left: 27.3%; top: 23.4%; width: 10.9%; height: 53.2%; border-radius: 999px; background: var(--bg); }
.brand-mark::after { content: ''; position: absolute; left: 40.2%; top: 23.4%; width: 32.8%; height: 32.8%; border-radius: 50%; background: var(--brand); }
:root { 
  color-scheme: light;
  background: #fafafa;
  --bg: #fafafa;
  --panel: #ffffff;
  --panel-2: #f4f4f5;
  --panel-3: #ececef;
  --line: #e4e4e7;
  --ink: #0a0a0b;
  --body: #3f3f46;
  --muted: #67676f;
  --accent: #0a0a0b;
  --on-accent: #fafafa;
  --brand: #f0441e;
  --raised: #ffffff;
  --nav-active: rgba(232, 232, 230, 0.9);
  --hover: #fafafa;
  --line-strong: #d4d4d8;
  --field-line: #86868f;
  --focus-ring: #2563eb;
  --accent-hover: #262626;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --glass-hover: rgba(255, 255, 255, 0.4);
  --focus: rgba(161, 161, 170, 0.5);
  --on-solid: #ffffff;
  --success: #047857;
  --success-soft: #ecfdf5;
  --success-line: #a7f3d0;
  --success-solid: #10b981;
  --warning: #92400e;
  --warning-soft: #fffbeb;
  --warning-line: #fde68a;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --danger-line: #fecaca;
  --danger-solid: #dc2626;
  --danger-solid-hover: #b91c1c;
  --info: #1d4ed8;
  --info-soft: #eff6ff;
  --info-line: #bfdbfe;
  --info-solid: #3b82f6;
  --note: #6d28d9;
  --note-soft: #f5f3ff;
  --note-line: #ede9fe;
  --net-x: #18181b;
  --net-mastodon: #4f46e5;
  --net-instagram: #db2777;
  --net-bluesky: #2563eb;
 }
html.dark { 
  color-scheme: dark;
  background: #0b0b0d;
  --bg: #0b0b0d;
  --panel: #131316;
  --panel-2: #1a1a1e;
  --panel-3: #232329;
  --line: #2a2a30;
  --ink: #f4f4f5;
  --body: #d4d4d8;
  --muted: #a1a1aa;
  --accent: #f4f4f5;
  --on-accent: #0b0b0d;
  --brand: #ff6a45;
  --raised: #232329;
  --nav-active: rgba(63, 63, 70, 0.6);
  --hover: #26262a;
  --line-strong: #52525b;
  --field-line: #6e6e78;
  --focus-ring: #60a5fa;
  --accent-hover: #d4d4d8;
  --glass: rgba(63, 63, 70, 0.72);
  --glass-strong: rgba(39, 39, 42, 0.95);
  --glass-hover: rgba(63, 63, 70, 0.55);
  --focus: rgba(161, 161, 170, 0.55);
  --on-solid: #ffffff;
  --success: #6ee7b7;
  --success-soft: #052e2b;
  --success-line: #0f766e;
  --success-solid: #10b981;
  --warning: #fcd34d;
  --warning-soft: #3a2a08;
  --warning-line: #78500a;
  --danger: #fca5a5;
  --danger-soft: #3a1414;
  --danger-line: #7f1d1d;
  --danger-solid: #dc2626;
  --danger-solid-hover: #b91c1c;
  --info: #93c5fd;
  --info-soft: #172554;
  --info-line: #1e3a8a;
  --info-solid: #3b82f6;
  --note: #c4b5fd;
  --note-soft: #251a47;
  --note-line: #3b2a6b;
  --net-x: #3f3f46;
  --net-mastodon: #4f46e5;
  --net-instagram: #db2777;
  --net-bluesky: #2563eb;
 }
html.marketing { 
  color-scheme: light;
  background: #fafafa;
  --bg: #fafafa;
  --panel: #ffffff;
  --panel-2: #f4f4f5;
  --panel-3: #ececef;
  --line: #e4e4e7;
  --ink: #0a0a0b;
  --body: #3f3f46;
  --muted: #67676f;
  --accent: #0a0a0b;
  --on-accent: #fafafa;
  --brand: #f0441e;
  --raised: #ffffff;
  --nav-active: rgba(232, 232, 230, 0.9);
  --hover: #fafafa;
  --line-strong: #d4d4d8;
  --field-line: #86868f;
  --focus-ring: #2563eb;
  --accent-hover: #262626;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --glass-hover: rgba(255, 255, 255, 0.4);
  --focus: rgba(161, 161, 170, 0.5);
  --on-solid: #ffffff;
  --success: #047857;
  --success-soft: #ecfdf5;
  --success-line: #a7f3d0;
  --success-solid: #10b981;
  --warning: #92400e;
  --warning-soft: #fffbeb;
  --warning-line: #fde68a;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --danger-line: #fecaca;
  --danger-solid: #dc2626;
  --danger-solid-hover: #b91c1c;
  --info: #1d4ed8;
  --info-soft: #eff6ff;
  --info-line: #bfdbfe;
  --info-solid: #3b82f6;
  --note: #6d28d9;
  --note-soft: #f5f3ff;
  --note-line: #ede9fe;
  --net-x: #18181b;
  --net-mastodon: #4f46e5;
  --net-instagram: #db2777;
  --net-bluesky: #2563eb;
 }
html.dark body { color: var(--ink); }

}

@layer tc-base {


.dark input, .dark textarea, .dark select { color: #f4f4f5 !important; }
.dark input::placeholder, .dark textarea::placeholder { color: #8b8b94 !important; }
.dark code { background-color: #26262a !important; color: #e4e4e7 !important; }

.dark [data-postline-content-shell],
.dark [data-postline-workspace],
.dark [data-postline-sidebar] { background-color: #0a0a0c !important; }
.dark [data-postline-workspace] {
  border-color: #2a2a2e !important;
  box-shadow: -10px 0 36px rgba(0, 0, 0, 0.4) !important;
}
.dark [data-postline-sidebar] { background-color: #0f0f12 !important; }
.dark [data-postline-sidebar] > .absolute { opacity: 0.35 !important; }


.dark [data-analytics-chart] rect[rx="16"] { fill: #101014 !important; }
.dark [data-analytics-chart] line[stroke="#e4e4e7"] { stroke: #2a2a2e !important; }
.dark [data-analytics-chart] text[fill="#18181b"] { fill: #e4e4e7 !important; }
.dark [data-analytics-chart] rect[fill="#fff"] { fill: #26262a !important; stroke: #3f3f46 !important; }

}

@layer tc-base {

:root {
  --duration-fast: 120ms;
  --duration: 150ms;
  --duration-slow: 180ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--duration-slow); animation-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-property: opacity !important;
    scroll-behavior: auto !important;
  }
  [class*="active:translate"]:active, [class*="active:scale"]:active { transform: none !important; translate: none !important; scale: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

}

@layer tc-base {

@property --postline-sidebar-width {
  syntax: '<length>';
  inherits: true;
  initial-value: 286px;
}

[data-postline-shell] {
  transition-property: --postline-sidebar-width;
  transition-duration: 220ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

html.has-native-sidebar,
html.has-native-sidebar body {
  background: transparent !important;
}

html.has-native-sidebar [data-postline-sidebar] {
  background-color: rgba(246, 246, 244, 0.18) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  backdrop-filter: blur(24px) saturate(1.08);
}

html.postline-sidebar-collapsed [data-postline-content-shell],
html.has-native-sidebar [data-postline-content-shell],
html.has-native-sidebar [data-postline-workspace] {
  background: #f3f3f1 !important;
}

html.postline-sidebar-collapsed [data-postline-workspace] {
  border-top-left-radius: 0 !important;
  border-left-color: transparent !important;
  box-shadow: none !important;
}

html.postline-sidebar-collapsed [data-postline-sidebar] {
  overflow: visible;
  pointer-events: none;
}

html.postline-sidebar-collapsed [data-shell-controls-row] {
  display: none !important;
}

[data-sidebar-expand-fab] {
  opacity: 0;
  transform: translate3d(-6px, 0, 0) scale(0.94);
  pointer-events: none;
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.postline-sidebar-collapsed:not(.has-native-sidebar) [data-sidebar-expand-fab] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

@media (max-width: 1023px) {
  [data-sidebar-expand-fab] { display: none; }

  [data-postline-mobile-nav] {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 28px), transparent);
  }

  [data-postline-mobile-nav]::-webkit-scrollbar { display: none; }
}

/* A focus ring every control shows, at 3:1 against the panels (#142). The
   writing surfaces with no border of their own opt in with data-focus-outline. */
[data-postline-app] :is(a, button, [role='button'], [data-focus-outline]):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

[data-postline-app] :is(input, textarea)::placeholder { color: var(--muted); }

html.dark.has-native-sidebar [data-postline-content-shell],
html.dark.has-native-sidebar [data-postline-workspace] {
  background: #0a0a0c !important;
}

}

@layer tc-base {

[data-postline-router] { width: 100%; }

[data-postline-page] {
  width: min(100%, 96rem);
  margin-inline: auto;
}

[data-postline-page] > header:first-child {
  min-height: 72px;
  padding: 5px 2px 7px;
}

[data-postline-page] > header:first-child h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Section eyebrows and meta rows across the workspace. */
[data-postline-page] .kicker,
[data-postline-page] .folio,
[data-postline-page] .byline { font-family: var(--font-label); }

[data-postline-page] :is(a, button, summary) {
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-postline-page] :is(button, summary):active,
[data-postline-page] a:active { transform: translateY(1px); }

[data-postline-page] :is(input, textarea, select) { border-radius: 10px; }


@media (max-width: 640px) {
  [data-postline-router] { padding: 12px; }
  [data-postline-page] { gap: 12px; }
  [data-postline-page] > header:first-child { min-height: auto; padding: 2px 1px 5px; }
  [data-postline-page] > header:first-child h1 { font-size: 21px; }
}

}

@layer tc-base {

[data-view-toggle] { color: var(--muted); }
[data-view-toggle][data-active]:not([data-active="false"]) { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
/* Queue tabs and per-network chips (#168). */
[data-queue-tab] { color: var(--muted); }
[data-queue-tab]:hover { color: var(--ink); background: var(--panel-2); }
[data-queue-tab][data-active]:not([data-active="false"]) { color: var(--ink); background: var(--panel-3); }
[data-queue-tab] [data-queue-tab-count] { background: var(--panel-3); color: var(--muted); }
[data-queue-tab][data-tone="danger"] [data-queue-tab-count] { background: var(--danger-soft); color: var(--danger); }
[data-target-chip] { color: var(--body); border-color: var(--line); background: var(--panel-2); }
[data-target-chip] [data-target-dot] { background: var(--line-strong); }
[data-target-chip][data-state="sent"] [data-target-dot] { background: var(--success); }
[data-target-chip][data-state="failed"] { color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }
[data-target-chip][data-state="failed"] [data-target-dot] { background: var(--danger); }

[data-status-pill] { color: var(--muted); background: var(--panel-3); border-color: var(--line); }
[data-status-pill][data-status="published"] { color: rgb(4 120 87); background: rgb(236 253 245); border-color: rgb(167 243 208); }
[data-status-pill][data-status="scheduled"] { color: rgb(29 78 216); background: rgb(239 246 255); border-color: rgb(191 219 254); }
[data-status-pill][data-status="publishing"] { color: rgb(146 64 14); background: rgb(255 251 235); border-color: rgb(253 230 138); }
[data-status-pill][data-status="failed"] { color: rgb(185 28 28); background: rgb(254 242 242); border-color: rgb(254 202 202); }
html.dark [data-status-pill][data-status="published"] { color: rgb(110 231 183); background: rgb(6 78 59 / 0.3); border-color: rgb(6 78 59); }
html.dark [data-status-pill][data-status="scheduled"] { color: rgb(147 197 253); background: rgb(30 58 138 / 0.3); border-color: rgb(30 58 138); }
html.dark [data-status-pill][data-status="publishing"] { color: rgb(252 211 77); background: rgb(120 53 15 / 0.3); border-color: rgb(120 53 15); }
html.dark [data-status-pill][data-status="failed"] { color: rgb(252 165 165); background: rgb(127 29 29 / 0.3); border-color: rgb(127 29 29); }

[data-cal-dot] { background: rgb(161 161 170); }
[data-cal-dot][data-status="published"] { background: rgb(16 185 129); }
[data-cal-dot][data-status="failed"] { background: rgb(239 68 68); }
[data-cal-dot][data-status="scheduled"] { background: rgb(59 130 246); }

[data-cal-cell] { background: var(--panel); }
[data-cal-cell][data-blank]:not([data-blank="false"]) { background: var(--panel-2); }
[data-cal-cell][data-today]:not([data-today="false"]) { background: rgb(239 246 255 / 0.6); }
html.dark [data-cal-cell][data-today]:not([data-today="false"]) { background: rgb(30 58 138 / 0.2); }
[data-cal-day] { color: var(--muted); }
[data-cal-cell][data-today]:not([data-today="false"]) [data-cal-day] { color: rgb(29 78 216); }
html.dark [data-cal-cell][data-today]:not([data-today="false"]) [data-cal-day] { color: rgb(147 197 253); }

}

@layer tc-base {

[data-retention-message] { color: var(--muted); }
[data-retention-message][data-tone="success"] { color: rgb(4 120 87); }
[data-retention-message][data-tone="error"] { color: rgb(185 28 28); }
html.dark [data-retention-message][data-tone="success"] { color: rgb(110 231 183); }
html.dark [data-retention-message][data-tone="error"] { color: rgb(252 165 165); }

}

@layer tc-base {

[data-provider-toggle] { border-color: var(--line); background: var(--panel-2); color: var(--muted); }
[data-provider-toggle]:not([disabled]):hover { background: #ffffff; }
[data-provider-toggle][data-selected]:not([data-selected="false"]) { border-color: #0a0a0a; background: var(--accent); color: var(--on-accent); }
[data-provider-toggle][disabled] { color: #a1a1aa; cursor: not-allowed; }
[data-provider-toggle][data-connect="true"] { border-style: dashed; color: var(--body); }

[data-provider-toggle] [data-provider-dot] { background: #d4d4d8; }
[data-provider-toggle][data-selected]:not([data-selected="false"]) [data-provider-dot] { background: #34d399; }
[data-provider-toggle][data-over]:not([data-over="false"]) [data-provider-dot] { background: #ef4444; }

html.dark [data-provider-toggle]:not([disabled]):hover { background: #26262a; }
html.dark [data-provider-toggle][disabled] { color: #52525b; }

}

:where(.i-hugeicons-key-01) {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15.5 14.5a6 6 0 1 0-5.47-3.53L2.5 18.5v3h3v-2h2v-2h2l3.53-3.53c.754.34 1.59.53 2.47.53m2-8l-1 1'/%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15.5 14.5a6 6 0 1 0-5.47-3.53L2.5 18.5v3h3v-2h2v-2h2l3.53-3.53c.754.34 1.59.53 2.47.53m2-8l-1 1'/%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  vertical-align: -0.125em;
}

.bg-accent {
  background-color: var(--accent);
}

.bg-bg {
  background-color: var(--bg);
}

.bg-panel {
  background-color: var(--panel);
}

.block {
  display: block;
}

.border {
  border-width: 1px;
}

.border-field-line {
  border-color: var(--field-line);
}

.border-line {
  border-color: var(--line);
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.focus\:border-info-solid:focus {
  border-color: var(--info-solid);
}

.focus\:ring-2:focus {
  --tc-ring-offset-shadow: var(--tc-ring-inset,) 0 0 0 var(--tc-ring-offset-width, 0px) var(--tc-ring-offset-color, #fff);
  --tc-ring-shadow: var(--tc-ring-inset,) 0 0 0 calc(2px + var(--tc-ring-offset-width, 0px)) var(--tc-ring-color, currentcolor);
  box-shadow: var(--tc-inset-shadow, 0 0 #0000), var(--tc-inset-ring-shadow, 0 0 #0000), var(--tc-ring-offset-shadow, 0 0 #0000), var(--tc-ring-shadow, 0 0 #0000), var(--tc-shadow, 0 0 #0000);
}

.focus\:ring-info-soft:focus {
  --tc-ring-color: var(--info-soft);
}

.font-semibold {
  font-weight: 600;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-5 {
  gap: 1.25rem;
}

.grid {
  display: grid;
}

.h-10 {
  height: 2.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-4 {
  height: 1rem;
}

.hidden {
  display: none;
}

.hover\:bg-accent-hover:hover {
  background-color: var(--accent-hover);
}

.hover\:bg-hover:hover {
  background-color: var(--hover);
}

.hover\:text-body:hover {
  color: var(--body);
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-items-center {
  justify-items: center;
}

.m-0 {
  margin: 0;
}

.max-w-sm {
  max-width: 24rem;
}

.min-h-screen {
  min-height: 100vh;
}

.outline-none {
  outline-style: none;
}

.p-6 {
  padding: 1.5rem;
}

.place-items-center {
  place-items: center;
}

.rounded-2xl {
  border-radius: 14px;
}

.rounded-xl {
  border-radius: 10px;
}

.shadow-sm {
  --tc-shadow: 0 1px 2px rgb(24 24 27 / 0.035), 0 8px 24px rgb(24 24 27 / 0.025);
  --tc-shadow-colored: 0 1px 2px var(--tc-shadow-color), 0 8px 24px var(--tc-shadow-color);
  box-shadow: var(--tc-inset-shadow, 0 0 #0000), var(--tc-inset-ring-shadow, 0 0 #0000), var(--tc-ring-offset-shadow, 0 0 #0000), var(--tc-ring-shadow, 0 0 #0000), var(--tc-shadow, 0 0 #0000);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-body {
  color: var(--body);
}

.text-center {
  text-align: center;
}

.text-danger {
  color: var(--danger);
}

.text-ink {
  color: var(--ink);
}

.text-muted {
  color: var(--muted);
}

.text-on-accent {
  color: var(--on-accent);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-ui {
  font-size: 13px;
  line-height: 1.4;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.underline {
  text-decoration-line: underline;
}

.w-11 {
  width: 2.75rem;
}

.w-4 {
  width: 1rem;
}

.w-full {
  width: 100%;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-1\.5 {
  margin-top: 0.375rem;
}