/* Public author-first landing page. No editor, project or account styles. */
body.latexdesk-author-home {
  --ldh-bg: #f4f7f4;
  --ldh-surface: #ffffff;
  --ldh-soft: #eaf1eb;
  --ldh-ink: #1a3025;
  --ldh-muted: #53655a;
  --ldh-accent: #14563f;
  --ldh-action: #14563f;
  --ldh-action-hover: #0d402d;
  --ldh-line: #cbd8ce;
  --ldh-control: #728e7b;
  --ldh-source: #eaf1eb;
  --ldh-paper: #ffffff;
  --ldh-focus: #23764e;
  --ldh-shadow: #dce7df;
  margin: 0;
  background: var(--ldh-bg);
  color: var(--ldh-ink);
  font: 16px/1.65 "Segoe UI Variable", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
html[data-latexdesk-theme="dark"] body.latexdesk-author-home {
  color-scheme: dark;
  --ldh-bg: #080e0a;
  --ldh-surface: #111c15;
  --ldh-soft: #182a1e;
  --ldh-ink: #e7f1e9;
  --ldh-muted: #b0c3b5;
  --ldh-accent: #98ddb4;
  --ldh-action: #1c6244;
  --ldh-action-hover: #267a55;
  --ldh-line: #395342;
  --ldh-control: #729b80;
  --ldh-source: #0e1a12;
  --ldh-paper: #1b2a20;
  --ldh-focus: #9fe6ba;
  --ldh-shadow: #14271a;
}
body.latexdesk-author-home *,
body.latexdesk-author-home *::before,
body.latexdesk-author-home *::after { box-sizing: border-box; }
body.latexdesk-author-home a { color: var(--ldh-accent); text-underline-offset: .22em; }
body.latexdesk-author-home a:hover { text-decoration-thickness: 2px; }
body.latexdesk-author-home :focus-visible { outline: 3px solid var(--ldh-focus); outline-offset: 4px; }
body.latexdesk-author-home :is(h1,h2,h3,p,figure) { margin: 0; }
body.latexdesk-author-home :is(h1,h2,h3) { color: var(--ldh-ink); font-family: inherit; }
body.latexdesk-author-home .ldh-skip { position: absolute; z-index: 100; inset: 8px auto auto 12px; padding: 10px 18px; background: var(--ldh-surface); transform: translateY(-160%); }
body.latexdesk-author-home .ldh-skip:focus { transform: none; }
body.latexdesk-author-home .ldh-preview-notice { padding: 9px 24px; border-bottom: 1px solid var(--ldh-line); background: var(--ldh-soft); color: var(--ldh-muted); font-size: 12px; line-height: 1.5; }
body.latexdesk-author-home .ldh-preview-notice > div { display: flex; flex-wrap: wrap; gap: 4px 14px; max-width: 1240px; margin: auto; }
body.latexdesk-author-home .ldh-preview-notice strong { color: var(--ldh-ink); }
body.latexdesk-author-home .ldh-header { background: var(--ldh-surface); border-bottom: 1px solid var(--ldh-line); }
body.latexdesk-author-home .ldh-header__inner { display: flex; align-items: center; gap: 32px; width: min(1240px, calc(100% - 48px)); min-height: 94px; margin: auto; padding-block: 18px; }
body.latexdesk-author-home .ldh-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: var(--ldh-ink); font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: -.055em; text-decoration: none; min-height: 44px; }
body.latexdesk-author-home .ldh-brand__mark { display: grid; place-items: center; width: 31px; height: 38px; border-radius: 2px; background: var(--ldh-action); color: #fff; font: 27px Georgia, serif; box-shadow: 4px 4px 0 var(--ldh-shadow); }
body.latexdesk-author-home .ldh-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-left: auto; }
body.latexdesk-author-home .ldh-navigation a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
body.latexdesk-author-home .ldh-header__account { display: flex; align-items: center; gap: 12px; }
body.latexdesk-author-home .ldh-session-link { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 17px; border: 1px solid var(--ldh-control); border-radius: 4px; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
body.latexdesk-author-home .ldh-session-link:hover { background: var(--ldh-soft); }
body.latexdesk-author-home .ldh-theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; margin: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--ldh-accent); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; cursor: pointer; }
body.latexdesk-author-home .ldh-theme-toggle[hidden] { display: none; }
body.latexdesk-author-home .ldh-theme-toggle:hover { background: var(--ldh-soft); border-color: var(--ldh-control); }
body.latexdesk-author-home [data-latexdesk-theme-icon] { font: 22px/1 sans-serif; }
body.latexdesk-author-home .ldh-main { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
body.latexdesk-author-home .ldh-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding: clamp(56px, 7vw, 100px) 0 76px; }
body.latexdesk-author-home .ldh-hero > * { min-width: 0; }
body.latexdesk-author-home .ldh-eyebrow { color: var(--ldh-accent); font: 650 11px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
body.latexdesk-author-home h1 { max-width: 12ch; margin-top: 18px; font-size: clamp(44px, 5.3vw, 72px); font-weight: 600; line-height: 1.04; letter-spacing: -.065em; overflow-wrap: normal; }
body.latexdesk-author-home .ldh-intro { max-width: 48ch; margin-top: 26px; color: var(--ldh-muted); font-size: 17px; line-height: 1.8; }
body.latexdesk-author-home .ldh-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 31px; }
body.latexdesk-author-home .ldh-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px; max-width: 100%; padding: 13px 21px; border: 1px solid var(--ldh-action); border-radius: 4px; background: var(--ldh-action); color: #fff; font-size: 15px; font-weight: 650; line-height: 1.5; text-decoration: none; }
body.latexdesk-author-home .ldh-button:hover { background: var(--ldh-action-hover); border-color: var(--ldh-action-hover); color: #fff; }
body.latexdesk-author-home .ldh-button > span { flex: 0 0 auto; font-size: 21px; font-weight: 400; }
body.latexdesk-author-home .ldh-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; max-width: 100%; padding-block: 8px; font-size: 14px; font-weight: 650; }
body.latexdesk-author-home .ldh-text-link > span { font-size: 19px; text-decoration: none; }
body.latexdesk-author-home .ldh-start-hint { max-width: 52ch; margin-top: 14px; color: var(--ldh-muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
body.latexdesk-author-home .ldh-start-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; color: var(--ldh-muted); font-size: 12px; font-weight: 600; }
body.latexdesk-author-home .ldh-start-options > span { padding-inline: 2px; color: var(--ldh-accent); }
body.latexdesk-author-home .ldh-unavailable { color: var(--ldh-muted); font-size: 15px; }
body.latexdesk-author-home .ldh-workspace-example { overflow: hidden; border: 1px solid var(--ldh-line); border-radius: 6px; background: var(--ldh-surface); box-shadow: 10px 10px 0 var(--ldh-shadow); }
body.latexdesk-author-home .ldh-example__heading { display: flex; align-items: center; gap: 12px; padding: 17px 19px; border-bottom: 1px solid var(--ldh-line); font-size: 13px; font-weight: 650; }
body.latexdesk-author-home .ldh-example__symbol { font-family: Georgia, serif; font-size: 19px; letter-spacing: -.07em; color: var(--ldh-accent); }
body.latexdesk-author-home .ldh-example__symbol > span { position: relative; top: 3px; }
body.latexdesk-author-home .ldh-example__edition { margin-left: auto; color: var(--ldh-muted); font: 11px ui-monospace, Consolas, monospace; }
body.latexdesk-author-home .ldh-example__panes { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
body.latexdesk-author-home .ldh-example__panes > div { min-width: 0; }
body.latexdesk-author-home .ldh-pane-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; padding: 13px 16px; color: var(--ldh-muted); font: 10px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; }
body.latexdesk-author-home .ldh-source { background: var(--ldh-source); border-right: 1px solid var(--ldh-line); }
body.latexdesk-author-home .ldh-source pre { margin: 0; padding: 13px 16px 28px; background: transparent; color: var(--ldh-ink); white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.9 ui-monospace, "Cascadia Mono", Consolas, monospace; }
body.latexdesk-author-home .ldh-source code { padding: 0; background: transparent; color: inherit; font: inherit; }
body.latexdesk-author-home .ldh-source__command { color: var(--ldh-accent); font-weight: 600; }
body.latexdesk-author-home .ldh-preview { display: flex; flex-direction: column; padding-bottom: 16px; background: var(--ldh-soft); }
body.latexdesk-author-home .ldh-paper { position: relative; flex: 1; min-height: 245px; margin: 2px 13px 0; padding: 33px 19px 42px; border: 1px solid var(--ldh-line); background: var(--ldh-paper); color: var(--ldh-ink); font-family: Georgia, "Times New Roman", serif; }
body.latexdesk-author-home .ldh-paper__title { text-align: center; font-size: 17px; line-height: 1.3; }
body.latexdesk-author-home .ldh-paper__author { margin-top: 12px; text-align: center; font-size: 10px; }
body.latexdesk-author-home .ldh-paper__heading { margin-top: 32px; font-size: 12px; font-weight: 700; }
body.latexdesk-author-home .ldh-paper__text { margin-top: 9px; font-size: 11px; line-height: 1.8; }
body.latexdesk-author-home .ldh-paper__number { position: absolute; right: 0; bottom: 17px; left: 0; text-align: center; font-size: 10px; }
body.latexdesk-author-home .ldh-workspace-example figcaption { padding: 13px 19px; border-top: 1px solid var(--ldh-line); color: var(--ldh-muted); font-size: 11px; line-height: 1.6; }
body.latexdesk-author-home .ldh-process { padding: 43px 0 54px; border-top: 1px solid var(--ldh-line); }
body.latexdesk-author-home .ldh-section-heading h2 { margin-top: 10px; font-size: clamp(27px, 3vw, 37px); font-weight: 550; line-height: 1.2; letter-spacing: -.045em; }
body.latexdesk-author-home .ldh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 36px 0 0; }
body.latexdesk-author-home .ldh-steps > li { min-width: 0; padding-right: 18px; }
body.latexdesk-author-home .ldh-step-number { display: inline-block; color: var(--ldh-accent); font: 14px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; }
body.latexdesk-author-home .ldh-steps h3 { margin-top: 16px; font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; }
body.latexdesk-author-home .ldh-steps p { margin-top: 11px; color: var(--ldh-muted); font-size: 14px; line-height: 1.8; }
body.latexdesk-author-home .ldh-journals { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 33px 37px; margin: 0 0 34px; border: 1px solid var(--ldh-line); border-left: 4px solid var(--ldh-accent); background: var(--ldh-surface); }
body.latexdesk-author-home .ldh-journals > div { min-width: 0; }
body.latexdesk-author-home .ldh-journals h2 { margin-top: 8px; font-size: 26px; font-weight: 550; line-height: 1.25; letter-spacing: -.035em; }
body.latexdesk-author-home .ldh-journals > div > p:not(.ldh-eyebrow) { margin-top: 15px; color: var(--ldh-muted); font-size: 14px; line-height: 1.8; }
body.latexdesk-author-home .ldh-journals__actions { padding-left: 30px; border-left: 1px solid var(--ldh-line); }
body.latexdesk-author-home .ldh-journals__actions > p { max-width: 30ch; }
/* The core emits the only footer through wp_footer. Keep it in the same palette. */
body.latexdesk-author-home .latexdesk-shell-footer { margin-top: 48px; border-top: 1px solid var(--ldh-line); background: var(--ldh-soft); color: var(--ldh-ink); }
body.latexdesk-author-home .latexdesk-shell-footer__inner { width: min(1240px, calc(100% - 48px)); }
body.latexdesk-author-home .latexdesk-shell-footer__brand p,
body.latexdesk-author-home .latexdesk-shell-footer nav a { color: var(--ldh-muted); }
body.latexdesk-author-home .latexdesk-shell-footer nav h2 { color: var(--ldh-ink); }
body.latexdesk-author-home .latexdesk-shell-footer__brand > a,
body.latexdesk-author-home .latexdesk-shell-footer nav a:hover { color: var(--ldh-accent); }
body.latexdesk-author-home .latexdesk-shell-footer nav a { display: flex; align-items: center; min-height: 44px; }
body.latexdesk-author-home .latexdesk-shell-footer .latexdesk-brand-logo img { filter: none; }
html[data-latexdesk-theme="dark"] body.latexdesk-author-home .latexdesk-shell-footer .latexdesk-brand-logo img { filter: brightness(0) invert(1); }
body.latexdesk-author-home .latexdesk-shell-footer__bottom { align-items: center; width: min(1240px, calc(100% - 48px)); border-color: var(--ldh-line); color: var(--ldh-muted); }
body.latexdesk-author-home .latexdesk-shell-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1050px) {
  body.latexdesk-author-home .ldh-header__inner { gap: 20px; }
  body.latexdesk-author-home .ldh-navigation { gap: 12px; }
  body.latexdesk-author-home .ldh-mode-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.latexdesk-author-home .ldh-hero { gap: 34px; }
  body.latexdesk-author-home .ldh-example__panes { grid-template-columns: minmax(0, 1fr); }
  body.latexdesk-author-home .ldh-source { border-right: 0; border-bottom: 1px solid var(--ldh-line); }
  body.latexdesk-author-home .ldh-source pre { max-height: 155px; overflow: hidden; }
  body.latexdesk-author-home .ldh-paper { min-height: 215px; margin-inline: 25px; }
  body.latexdesk-author-home .ldh-paper__heading { margin-top: 22px; }
}
@media (max-width: 760px) {
  body.latexdesk-author-home .ldh-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 13px 0 8px; }
  body.latexdesk-author-home .ldh-header__account { grid-column: 2; grid-row: 1; gap: 6px; }
  body.latexdesk-author-home .ldh-navigation { grid-column: 1 / -1; justify-content: space-between; gap: 8px 24px; margin: 0; }
  body.latexdesk-author-home .ldh-hero { grid-template-columns: minmax(0, 1fr); gap: 39px; padding: 47px 0 52px; }
  body.latexdesk-author-home h1 { max-width: 13ch; font-size: clamp(45px, 8.7vw, 64px); }
  body.latexdesk-author-home .ldh-intro { max-width: 54ch; font-size: 16px; }
  body.latexdesk-author-home .ldh-example__panes { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  body.latexdesk-author-home .ldh-source { border-right: 1px solid var(--ldh-line); border-bottom: 0; }
  body.latexdesk-author-home .ldh-source pre { max-height: none; overflow: visible; }
  body.latexdesk-author-home .ldh-paper { min-height: 245px; margin-inline: 13px; }
  body.latexdesk-author-home .ldh-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 28px; }
  body.latexdesk-author-home .ldh-steps > li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 7px 17px; padding: 0; }
  body.latexdesk-author-home .ldh-step-number { grid-column: 1; grid-row: 1 / 3; padding-top: 4px; }
  body.latexdesk-author-home .ldh-steps :is(h3,p) { grid-column: 2; margin: 0; }
  body.latexdesk-author-home .ldh-journals { grid-template-columns: minmax(0, 1fr); gap: 21px; padding: 26px; }
  body.latexdesk-author-home .ldh-journals__actions { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--ldh-line); }
  body.latexdesk-author-home .ldh-journals__actions > p { max-width: none; }
  body.latexdesk-author-home .latexdesk-shell-footer__bottom { align-items: flex-start; }
}
@media (max-width: 440px) {
  body.latexdesk-author-home .ldh-preview-notice { padding-inline: 18px; }
  body.latexdesk-author-home :is(.ldh-header__inner,.ldh-main,.latexdesk-shell-footer__inner,.latexdesk-shell-footer__bottom) { width: calc(100% - 36px); }
  body.latexdesk-author-home .ldh-brand { font-size: 20px; gap: 9px; }
  body.latexdesk-author-home .ldh-brand__mark { width: 26px; height: 33px; font-size: 23px; }
  body.latexdesk-author-home .ldh-session-link { padding-inline: 10px; font-size: 12px; }
  body.latexdesk-author-home .ldh-theme-toggle { padding-inline: 5px; }
  body.latexdesk-author-home .ldh-header__inner { column-gap: 8px; }
  body.latexdesk-author-home h1 { font-size: 45px; }
  body.latexdesk-author-home .ldh-hero__actions { flex-direction: column; align-items: flex-start; gap: 9px; }
  body.latexdesk-author-home .ldh-button { gap: 12px; width: 100%; padding-inline: 15px; font-size: 14px; }
  body.latexdesk-author-home .ldh-example__panes { grid-template-columns: minmax(0, 1fr); }
  body.latexdesk-author-home .ldh-source { border-right: 0; border-bottom: 1px solid var(--ldh-line); }
  body.latexdesk-author-home .ldh-source pre { padding-top: 5px; font-size: 11px; }
  body.latexdesk-author-home .ldh-paper { min-height: 255px; margin-inline: 27px; padding-inline: 25px; }
  body.latexdesk-author-home .ldh-paper__heading { margin-top: 30px; }
  body.latexdesk-author-home .ldh-journals { padding: 24px 20px; }
  body.latexdesk-author-home .ldh-journals h2 { font-size: 25px; }
}
@media print {
  body.latexdesk-author-home,
  html[data-latexdesk-theme="dark"] body.latexdesk-author-home { color-scheme: light; --ldh-bg: #fff; --ldh-surface: #fff; --ldh-soft: #f3f3f3; --ldh-ink: #000; --ldh-muted: #333; --ldh-accent: #164b33; --ldh-line: #aaa; --ldh-source: #f3f3f3; --ldh-paper: #fff; }
  body.latexdesk-author-home :is(.ldh-preview-notice,.ldh-theme-toggle,.ldh-header__account,.ldh-skip) { display: none !important; }
  body.latexdesk-author-home .ldh-workspace-example { box-shadow: none; }
}
