/* GENERATED from the edgar repo (edgar/web/resume.css) by tools/sync_web.py — do not edit here. */
/* edgar — résumé & documents UI. Shared by the Mac app and edgar Cloud (source of truth: edgar repo,
   edgar/web/resume.css; tools/sync_web.py copies it to edgar-web). Everything is scoped under .rx and
   themed from the host's tokens (Mac: --surface/--ink…, web: --panel/--fg…), with safe fallbacks. */
.rx, .rx-dialog, .rx-toast {
  --rx-bg: var(--surface, var(--panel, #ffffff));
  --rx-bg2: var(--surface-2, var(--bg2, #f4f3ef));
  --rx-page: var(--bg, #f8f6f1);
  --rx-ink: var(--ink, var(--fg, #1f232b));
  --rx-ink2: var(--ink-2, var(--fg, #3a3f48));
  --rx-muted: var(--muted, #6b7280);
  --rx-line: var(--line, #e4dfd4);
  --rx-accent: var(--accent, #6b1e24);
  --rx-accent-ink: var(--accent-ink, #ffffff);
  --rx-accent2: var(--accent2, var(--accent, #6b1e24));
  --rx-ok: var(--ok, #2f8a4f);
  --rx-warn: var(--warn, #b7791f);
  --rx-bad: var(--bad, #c43d3d);
  --rx-focus: var(--focus, #4f7cff);
  --rx-r: 12px;
  --rx-shadow: var(--shadow, 0 1px 2px rgba(20,20,30,.06), 0 6px 20px rgba(20,20,30,.06));
  --rx-soft: color-mix(in srgb, var(--rx-ink) 5%, transparent);
  color: var(--rx-ink);
}
.rx [hidden], .rx-dialog [hidden] { display: none !important; }   /* hosts differ on this; a display rule must never beat [hidden] */
.rx { max-width: 1240px; margin: 0 auto; padding: 8px 4px 64px; font-size: 15px; line-height: 1.55; }
.rx *, .rx-dialog * { box-sizing: border-box; }
.rx h1, .rx h2 { letter-spacing: -.015em; }
.rx-muted { color: var(--rx-muted); }
.rx-small { font-size: 13px; }
.rx-center { text-align: center; }
.rx-grow { flex: 1; min-width: 0; }
.rx-row { display: flex; align-items: center; gap: 8px; }
.rx-row + .rx-row { margin-top: 8px; }
.rx-wrap { flex-wrap: wrap; }
.rx-end { justify-content: flex-end; margin-top: 10px; }
.rx-spacer { height: 10px; }
.rx-block { width: 100%; justify-content: center; margin-top: 10px; }
.rx-ic { display: inline-flex; width: 16px; height: 16px; flex: none; }
.rx-ic svg { width: 100%; height: 100%; }

/* buttons */
.rx-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--rx-line);
  background: var(--rx-bg); color: var(--rx-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: border-color .15s, background .15s, filter .15s, transform .05s; }
.rx-btn:hover { border-color: color-mix(in srgb, var(--rx-ink) 30%, transparent); }
.rx-btn:active { transform: translateY(1px); }
.rx-btn:focus-visible, .rx-input:focus-visible, .rx-s:focus-visible, .rx-tool:focus-visible { outline: 2px solid var(--rx-focus); outline-offset: 2px; }
.rx-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.rx-primary { background: linear-gradient(135deg, var(--rx-accent), var(--rx-accent2)); border-color: transparent; color: var(--rx-accent-ink); }
.rx-primary:hover { filter: brightness(1.07); border-color: transparent; }
.rx-ghost { background: transparent; border-color: transparent; color: var(--rx-ink2); }
.rx-ghost:hover { background: var(--rx-soft); border-color: transparent; }
.rx-danger { color: var(--rx-bad) !important; }
.rx-btn.rx-danger.rx-primary, .rx-dialog .rx-btn.rx-danger { background: var(--rx-bad); color: #fff !important; border-color: transparent; }
.rx-sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.rx-lg { padding: 13px 22px; font-size: 16px; border-radius: 11px; }
.rx-linkbtn { background: none; border: 0; padding: 4px 0; color: var(--rx-accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; }
.rx-linkbtn:hover { text-decoration: underline; }

/* inputs */
.rx-input { width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--rx-line); background: var(--rx-bg); color: var(--rx-ink);
  font: inherit; font-size: 14px; line-height: 1.45; resize: vertical; }
.rx-input::placeholder { color: color-mix(in srgb, var(--rx-muted) 85%, transparent); }
.rx-input:focus { border-color: var(--rx-accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rx-accent) 18%, transparent); }
.rx-select { width: auto; padding: 8px 10px; }
.rx-field { display: block; margin: 10px 0; }
.rx-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--rx-ink2); margin-bottom: 5px; }
.rx-field.rx-inline { display: flex; align-items: center; gap: 10px; }
.rx-field.rx-inline > span { margin: 0; }
.rx-check { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 2px; font-size: 14px; cursor: pointer; }
.rx-check input { margin-top: 3px; accent-color: var(--rx-accent); width: 16px; height: 16px; }
.rx-err { color: var(--rx-bad); font-size: 13px; margin-top: 6px; }

/* cards, pills, chips, lists */
.rx-card { background: var(--rx-bg); border: 1px solid var(--rx-line); border-radius: var(--rx-r); padding: 18px; box-shadow: var(--rx-shadow); }
.rx-card + .rx-card, .rx-card + details.rx-card, details.rx-card + .rx-card { margin-top: 12px; }
.rx-card-t { font-weight: 700; font-size: 14px; margin: 0 0 6px; }
details.rx-card > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; }
details.rx-card > summary::-webkit-details-marker { display: none; }
details.rx-card > summary::after { content: "›"; margin-left: auto; color: var(--rx-muted); transition: transform .2s; font-size: 18px; line-height: 1; }
details.rx-card[open] > summary::after { transform: rotate(90deg); }
details.rx-card[open] > summary { margin-bottom: 10px; }
.rx-h2 { font-size: 19px; margin: 0 0 6px; }
.rx-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--rx-soft); color: var(--rx-ink2); white-space: nowrap; margin-left: 4px; }
.rx-pill.ok { background: color-mix(in srgb, var(--rx-ok) 14%, transparent); color: var(--rx-ok); }
.rx-pill.warn { background: color-mix(in srgb, var(--rx-warn) 16%, transparent); color: var(--rx-warn); }
.rx-pill.bad { background: color-mix(in srgb, var(--rx-bad) 14%, transparent); color: var(--rx-bad); }
.rx-pill.accent { background: color-mix(in srgb, var(--rx-accent) 14%, transparent); color: var(--rx-accent); }
.rx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: var(--rx-bg2); border: 1px solid var(--rx-line); font-size: 13px; max-width: 100%; }
.rx-chip button { border: 0; background: none; color: var(--rx-muted); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 4px; }
.rx-chipbtn { cursor: pointer; padding: 5px 11px; color: var(--rx-ink2); font: inherit; font-size: 12.5px; }
.rx-chipbtn:hover { border-color: var(--rx-accent); color: var(--rx-accent); }
.rx-list { display: flex; flex-direction: column; }
.rx-li { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--rx-line); }
.rx-li:first-child { border-top: 0; }
.rx-banner { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; margin: 0 0 12px;
  background: color-mix(in srgb, var(--rx-accent) 9%, var(--rx-bg)); border: 1px solid color-mix(in srgb, var(--rx-accent) 22%, transparent); font-size: 14px; }
.rx-banner.ok { background: color-mix(in srgb, var(--rx-ok) 10%, var(--rx-bg)); border-color: color-mix(in srgb, var(--rx-ok) 28%, transparent); }
.rx-banner.ok .rx-ic { color: var(--rx-ok); }
.rx-banner.bad { background: color-mix(in srgb, var(--rx-bad) 9%, var(--rx-bg)); border-color: color-mix(in srgb, var(--rx-bad) 25%, transparent); }
.rx-quote { font-family: Georgia, serif; font-size: 13.5px; color: var(--rx-ink2); padding: 8px 10px; border-left: 3px solid var(--rx-line); margin: 6px 0 2px; background: var(--rx-soft); border-radius: 0 6px 6px 0; }
.rx-quote mark { background: color-mix(in srgb, var(--rx-warn) 30%, transparent); color: inherit; padding: 0 2px; border-radius: 3px; }
.rx-pre { white-space: pre-wrap; font: 13px/1.55 inherit; font-family: inherit; color: var(--rx-ink2); max-height: 420px; overflow: auto; background: var(--rx-soft); padding: 12px; border-radius: 8px; }
.rx-spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--rx-ink) 18%, transparent);
  border-top-color: var(--rx-accent); animation: rx-spin .8s linear infinite; vertical-align: -2px; margin-right: 8px; }
.rx-spin.light { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes rx-spin { to { transform: rotate(360deg); } }
.rx-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--rx-accent) 14%, transparent); color: var(--rx-accent); font-weight: 750; font-size: 13px; }
.rx-num.sm { width: 20px; height: 20px; font-size: 11px; }
.rx-kbd { margin-top: 6px; opacity: .6; }
.rx-kbd kbd { font: 11px/1 -apple-system, sans-serif; padding: 3px 6px; border-radius: 5px; border: 1px solid var(--rx-line); margin: 0 2px; background: var(--rx-bg2); }

/* ---------------------------------------------------------------- start */
.rx-start { max-width: 760px; }
.rx-hero { text-align: center; margin: 28px auto 22px; max-width: 640px; }
.rx-eyebrow { display: inline-block; font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--rx-accent);
  background: color-mix(in srgb, var(--rx-accent) 10%, transparent); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.rx-hero h1 { font-family: var(--serif, Georgia, serif); font-size: clamp(28px, 4.4vw, 40px); line-height: 1.12; margin: 0 0 12px; font-weight: 600; }
.rx-hero p { font-size: 16px; margin: 0; }
.rx-startcard { padding: 8px 22px 22px; }
.rx-step { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rx-line); }
.rx-step-t { font-weight: 700; margin: 2px 0 10px; }
.rx-drop { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1.5px dashed color-mix(in srgb, var(--rx-ink) 22%, transparent); border-radius: 12px;
  cursor: pointer; background: var(--rx-soft); transition: border-color .15s, background .15s; }
.rx-drop .rx-ic { width: 26px; height: 26px; color: var(--rx-accent); }
.rx-drop:hover, .rx-drop.over { border-color: var(--rx-accent); background: color-mix(in srgb, var(--rx-accent) 7%, transparent); }
.rx-jobta { min-height: 76px; }
.rx-added { margin-top: 10px; border: 1px solid var(--rx-line); border-radius: 11px; overflow: hidden; background: var(--rx-bg); }
.rx-added-h { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rx-muted);
  padding: 8px 12px; background: var(--rx-soft); border-bottom: 1px solid var(--rx-line); }
.rx-added-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--rx-line); animation: rx-in .25s ease both; }
.rx-added-row:first-child { border-top: 0; }
.rx-added-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--rx-ok) 15%, transparent); color: var(--rx-ok); }
.rx-added-ic .rx-ic { width: 13px; height: 13px; }
.rx-added-ic .rx-spin { margin: 0; width: 12px; height: 12px; }
.rx-added-row.busy .rx-added-ic { background: var(--rx-soft); }
.rx-added-row.bad .rx-added-ic { background: color-mix(in srgb, var(--rx-bad) 14%, transparent); color: var(--rx-bad); }
.rx-added-row.bad .rx-small { color: var(--rx-bad); }
.rx-added-n { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-jobcard { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 11px; border: 1px solid color-mix(in srgb, var(--rx-ok) 35%, var(--rx-line));
  background: color-mix(in srgb, var(--rx-ok) 6%, var(--rx-bg)); }
.rx-jobcard-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--rx-bg); border: 1px solid var(--rx-line); color: var(--rx-accent); flex: none; }
.rx-jobcard-t { font-weight: 700; }
.rx-jobcard a { color: var(--rx-accent); text-decoration: none; }
.rx-go { padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rx-go .rx-btn { min-width: 300px; justify-content: center; }
.rx-how { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0; color: var(--rx-muted); font-size: 13px; }
.rx-how-i { display: flex; align-items: center; gap: 7px; }
.rx-recent { margin-top: 8px; }

/* ---------------------------------------------------------------- list */
.rx-listpage h1 { margin: 8px 0 18px; }
.rx-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rx-pcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: transform .12s, border-color .12s; }
.rx-pcard:hover { transform: translateY(-2px); border-color: var(--rx-accent); }
.rx-pcard-t { font-weight: 700; font-size: 16px; }
.rx-empty { text-align: center; padding: 40px; }

/* ---------------------------------------------------------------- project */
.rx-head { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 10px; }
.rx-back { display: inline-flex; align-items: center; gap: 4px; color: var(--rx-muted); text-decoration: none; }
.rx-back:hover { color: var(--rx-ink); }
.rx-title { font-family: var(--serif, Georgia, serif); font-weight: 600; font-size: clamp(22px, 3vw, 30px); margin: 4px 0 6px; cursor: text; }
.rx-jobtag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--rx-ink2); text-decoration: none;
  padding: 4px 11px 4px 9px; border-radius: 999px; background: var(--rx-bg2); border: 1px solid var(--rx-line); }
.rx-jobtag .rx-ic { color: var(--rx-accent); width: 14px; height: 14px; }
.rx-jobtag.rx-add { color: var(--rx-accent); border-style: dashed; }
.rx-tabs { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid var(--rx-line); margin: 12px 0 18px; overflow-x: auto; scrollbar-width: none; }
.rx-tabs::-webkit-scrollbar { display: none; }
.rx-tabs a, .rx-tablike { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; color: var(--rx-muted); text-decoration: none; font-weight: 650;
  font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; list-style: none; }
.rx-tabs a:hover, .rx-tablike:hover { color: var(--rx-ink); }
.rx-tabs a.on { color: var(--rx-ink); border-bottom-color: var(--rx-accent); }
.rx-tabs a.rx-sub { font-weight: 550; font-size: 13.5px; }
.rx-tabsep { flex: 1; min-width: 12px; }
.rx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rx-ok); }
.rx-dot.bad { background: var(--rx-bad); }
.rx-menu { position: relative; }
.rx-menu > summary { list-style: none; }
.rx-menu > summary::-webkit-details-marker { display: none; }
.rx-menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; background: var(--rx-bg); border: 1px solid var(--rx-line);
  border-radius: 11px; box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 6px; display: flex; flex-direction: column; }
.rx-tabs .rx-menu-pop { left: 0; right: auto; position: fixed; top: auto; margin-top: 4px; }
.rx-menu-pop button, .rx-menu-pop a { text-align: left; background: none; border: 0; padding: 9px 11px; border-radius: 7px; font: inherit; font-size: 14px; color: var(--rx-ink); cursor: pointer; text-decoration: none; border-bottom: 0; margin: 0; }
.rx-menu-pop button:hover, .rx-menu-pop a:hover { background: var(--rx-soft); }

/* progress strip */
.rx-prog { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--rx-r); background: var(--rx-bg); border: 1px solid var(--rx-line);
  box-shadow: var(--rx-shadow); margin-bottom: 14px; }
.rx-raven { width: 34px; height: 34px; flex: none; background: url("raven.svg") center / contain no-repeat; animation: rx-bob 1.8s ease-in-out infinite; }
@keyframes rx-bob { 50% { transform: translateY(-3px) rotate(-3deg); } }
.rx-stages { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rx-stage { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; padding: 3px 10px; border-radius: 999px; color: var(--rx-muted); background: var(--rx-soft); }
.rx-stage .rx-ic { width: 12px; height: 12px; }
.rx-stage.done { color: var(--rx-ok); background: color-mix(in srgb, var(--rx-ok) 12%, transparent); }
.rx-stage.on { color: var(--rx-accent-ink); background: var(--rx-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rx-accent) 20%, transparent); }
.rx-prog-t { font-weight: 700; }
.rx-prog-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rx-bar { height: 5px; background: var(--rx-soft); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.rx-bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rx-accent), var(--rx-accent2)); border-radius: 99px; transition: width .5s; }
.rx-bar.indet > i { width: 30%; animation: rx-indet 1.5s ease-in-out infinite; }
@keyframes rx-indet { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }

/* workspace */
.rx-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.rx-rail { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 2px 4px 12px 2px; }
.rx-rail .rx-card { padding: 16px; }

/* the paper: always a white sheet that looks like the exported Word file */
.rx-paper { --pk: #1f232b; --pa: #5b1a1f; --pm: #4a505c; background: #fff; color: var(--pk); border-radius: 4px; padding: 52px 58px 60px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 40px rgba(0,0,0,.10); font: 14px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif; min-height: 640px; }
.rx-paper .rx-dname { font-family: Georgia, serif; font-size: 30px; text-align: center; letter-spacing: -.01em; }
.rx-paper .rx-dheadline { text-align: center; font-weight: 700; color: var(--pa); margin-top: 2px; }
.rx-paper .rx-ddate { margin: 18px 0 16px; }
.rx-paper .rx-dcontact { text-align: center; color: var(--pm); font-size: 12.5px; margin: 4px 0 8px; }
.rx-paper .rx-dhead { font-family: Georgia, serif; font-weight: 700; color: var(--pa); text-transform: uppercase; letter-spacing: .05em; font-size: 14px;
  border-bottom: 1px solid #d9d4cc; padding-bottom: 3px; margin: 18px 0 8px; }
.rx-paper .rx-org { display: flex; font-weight: 700; margin-top: 10px; gap: 4px; }
.rx-paper .rx-org .rx-d, .rx-paper .rx-ttl .rx-d { margin-left: auto; font-weight: 400; font-style: normal; color: var(--pm); white-space: nowrap; padding-left: 12px; }
.rx-paper .rx-ttl { display: flex; font-weight: 700; font-style: italic; color: var(--pa); }
.rx-paper .rx-scope { font-style: italic; color: var(--pm); }
.rx-paper ul { margin: 4px 0 6px; padding-left: 20px; }
.rx-paper li { margin: 3px 0; }
.rx-paper p { margin: 0 0 8px; }
.rx-paper.rx-prose { font-size: 15px; line-height: 1.65; padding-top: 48px; }
.rx-paper.rx-prose p { margin-bottom: 14px; }
.rx-sec { position: relative; border-radius: 6px; margin: 0 -10px; padding: 0 10px; transition: background .15s; }
.rx-sec:hover { background: rgba(91, 26, 31, .025); }
.rx-sectools { position: absolute; right: 6px; top: 12px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; z-index: 5; }
.rx-sec:hover .rx-sectools, .rx-sectools:focus-within { opacity: 1; }
.rx-prose .rx-sectools { top: -8px; }
.rx-tool { display: inline-flex; align-items: center; gap: 5px; font: 600 12px -apple-system, sans-serif; color: #5b1a1f; background: #fff; border: 1px solid #e3ddd3;
  border-radius: 7px; padding: 4px 9px; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.rx-tool .rx-ic { width: 13px; height: 13px; }
.rx-tool:hover { border-color: #5b1a1f; }
.rx-secpop { position: absolute; right: 0; top: 32px; width: min(420px, 80vw); background: #fff; color: #1f232b; border: 1px solid #e3ddd3; border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.18); padding: 12px; z-index: 20; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.rx-secpop .rx-input { background: #fff; color: #1f232b; border-color: #e3ddd3; }
.rx-secpop .rx-chip { background: #f6f4f0; border-color: #e3ddd3; color: #3a3f48; }
.rx-secpop .rx-btn { background: #fff; color: #1f232b; border-color: #e3ddd3; }
.rx-secpop .rx-btn.rx-primary { background: #5b1a1f; color: #fff; border-color: transparent; }
.rx-secpop .rx-btn.rx-ghost { background: transparent; border-color: transparent; }
.rx-fresh { animation: rx-in .5s ease both; }
@keyframes rx-in { from { opacity: 0; transform: translateY(6px); } }
.rx-secwait { margin: 16px 0; }
.rx-skel { height: 11px; border-radius: 6px; margin: 9px 0; background: linear-gradient(90deg, #f0ede8 0%, #f8f6f2 40%, #f0ede8 80%); background-size: 200% 100%; animation: rx-shim 1.3s linear infinite; }
.rx-skel.w90 { width: 90%; } .rx-skel.w80 { width: 80%; } .rx-skel.w60 { width: 60%; margin-left: auto; margin-right: auto; } .rx-skel.w40 { width: 40%; margin-left: auto; margin-right: auto; }
@keyframes rx-shim { to { background-position: -200% 0; } }
.rx-paper-wait { padding-top: 10px; }

/* sentence statuses (on the white paper) */
.rx-s { border-radius: 3px; transition: background .12s, box-shadow .12s; }
.rx-s[tabindex] { cursor: pointer; }
.rx-s[tabindex]:hover { background: rgba(79, 124, 255, .08); }
.rx-s.blocked { background: #fdecec; box-shadow: inset 0 -2px 0 #c43d3d; }
.rx-s.pending { background: #fdf5e2; }
.rx-s.warn { box-shadow: inset 0 -2px 0 rgba(183, 121, 31, .55); }
.rx-s.accepted { box-shadow: inset 0 -2px 0 rgba(47, 138, 79, .45); }
.rx-s.sel { outline: 2px solid #4f7cff; outline-offset: 1px; background: rgba(79, 124, 255, .08); }
.rx-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.rx-legend .rx-s { padding: 0 3px; color: #1f232b; background-color: #fff; }
.rx-legend .rx-s.ok { box-shadow: inset 0 -1px 0 #ccc; }

/* rail cards */
.rx-review { text-align: left; }
.rx-review-n { font: 700 34px/1 Georgia, serif; color: var(--rx-bad); margin-bottom: 2px; }
.rx-review-ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--rx-ok) 15%, transparent); color: var(--rx-ok); margin-bottom: 8px; }
.rx-review-ok .rx-ic { width: 18px; height: 18px; }
.rx-insp textarea { margin: 10px 0 8px; }
.rx-issue { font-size: 13px; padding: 8px 10px; border-radius: 8px; margin: 8px 0 0; background: color-mix(in srgb, var(--rx-warn) 12%, transparent); }
.rx-issue.block { background: color-mix(in srgb, var(--rx-bad) 11%, transparent); }
.rx-insp .rx-card-t { margin-top: 16px; }
.rx-fact { padding: 9px 0; border-top: 1px solid var(--rx-line); font-size: 14px; }
.rx-fit { list-style: none; padding: 0; margin: 6px 0 4px; }
.rx-fit li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; padding: 5px 0; }
.rx-fit li.has .rx-ic { color: var(--rx-ok); margin-top: 2px; }
.rx-gapdot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--rx-warn); flex: none; margin: 5px 3px 0; }
.rx-q { padding: 12px 0; border-top: 1px solid var(--rx-line); }
.rx-q-t { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.rx-q .rx-end { margin-top: 6px; }
.rx-angle { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; background: var(--rx-soft); border: 1px solid transparent;
  border-radius: 10px; padding: 10px 12px; margin: 8px 0; cursor: pointer; font: inherit; color: var(--rx-ink); }
.rx-angle:hover { border-color: var(--rx-accent); }
.rx-emptydoc { max-width: 640px; margin: 20px auto; padding: 28px; }
.rx-emptydoc h2 { font-family: var(--serif, Georgia, serif); font-weight: 600; margin: 0 0 8px; }
.rx-jd { margin-top: 12px; }
.rx-jd summary { cursor: pointer; color: var(--rx-accent); font-weight: 600; }

/* facts / questions / strategy */
.rx-factgroup { margin-top: 16px; }
.rx-fact-row .rx-row { flex-wrap: wrap; }
.rx-qcard .rx-q-big { font-family: var(--serif, Georgia, serif); font-size: 20px; line-height: 1.35; margin-bottom: 6px; }
.rx-qcard textarea { margin: 12px 0 8px; }
.rx-qa { padding: 10px 0; border-top: 1px solid var(--rx-line); }
.rx-pillar { padding: 12px; border: 1px solid var(--rx-line); border-radius: 10px; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; }
.rx-outsec { padding: 12px; border: 1px solid var(--rx-line); border-radius: 10px; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.rx-outrole { border-top: 1px solid var(--rx-line); padding-top: 8px; }
.rx-sticky { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--rx-page) 35%); }

/* dialog + toast */
.rx-dialog { border: 1px solid var(--rx-line); border-radius: 16px; padding: 24px; max-width: 460px; width: calc(100% - 32px); background: var(--rx-bg); color: var(--rx-ink); box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.rx-dialog.rx-wide { max-width: 620px; }
.rx-dialog::backdrop { background: rgba(10, 12, 18, .45); backdrop-filter: blur(2px); }
.rx-dialog h2 { margin: 0 0 8px; font-size: 20px; }
.rx-dialog p { color: var(--rx-muted); margin: 0 0 14px; }
.rx-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 2000;
  background: #1f232b; color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px; transition: .2s; max-width: calc(100% - 32px); }
.rx-toast.show { opacity: 1; transform: translate(-50%, 0); }
.rx-toast.bad { background: #a32020; }

/* responsive */
@media (max-width: 1040px) {
  .rx-grid { grid-template-columns: 1fr; }
  .rx-rail { position: static; max-height: none; overflow: visible; padding: 0; }
}
@media (max-width: 640px) {
  .rx { padding: 0 0 48px; font-size: 14.5px; }
  .rx-startcard { padding: 4px 14px 16px; }
  .rx-step { gap: 10px; }
  .rx-go .rx-btn { min-width: 0; width: 100%; }
  .rx-paper { padding: 28px 20px 36px; min-height: 0; font-size: 13.5px; }
  .rx-paper .rx-dname { font-size: 24px; }
  .rx-paper .rx-org, .rx-paper .rx-ttl { flex-wrap: wrap; }
  .rx-paper .rx-org .rx-d, .rx-paper .rx-ttl .rx-d { margin-left: 0; padding-left: 0; width: 100%; }
  .rx-sectools { opacity: 1; position: static; justify-content: flex-end; margin-top: 8px; }
  .rx-secpop { right: auto; left: 0; }
  .rx-prog { flex-wrap: wrap; }
  .rx-head .rx-menu-pop { right: 0; }
  .rx-kbd { display: none; }
  .rx-toolbar > .rx-grow { flex-basis: 100%; }
  .rx-toolbar > .rx-btn { flex: 1; justify-content: center; }
  .rx-title { font-size: 21px; }
  .rx-jobtag { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .rx-raven, .rx-spin, .rx-bar.indet > i, .rx-skel, .rx-fresh { animation: none; } }

/* ---------------------------------------------------------------- document editor (docedit.js) */
.dx-bigdrop { flex-direction: column; text-align: center; padding: 34px 20px; gap: 12px; }
.dx-fmts { display: flex; gap: 8px; justify-content: center; }
.dx-fmt { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 8px; color: #fff;
  font: 800 12px/1 -apple-system, sans-serif; letter-spacing: .02em; flex: none; }
.dx-fmt.w { background: #2b579a; } .dx-fmt.x { background: #217346; } .dx-fmt.p { background: #b30b00; } .dx-fmt.s { background: #c43e1c; }
.dx-what { margin-top: 12px; }
.dx-cap { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dx-cap th, .dx-cap td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--rx-line, var(--line, #e4dfd4)); vertical-align: top; }
.dx-cap thead th { border-top: 0; color: var(--rx-muted, var(--muted, #6b7280)); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.dx-cap tbody th { white-space: nowrap; }
.dx-recent { text-decoration: none; color: inherit; }
.dx-file { margin-bottom: 12px; }
.dx-modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 6px 0 10px; }
.dx-mode { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 11px 12px; border: 1px solid var(--rx-line); border-radius: 10px;
  background: var(--rx-bg); color: var(--rx-ink); font: inherit; cursor: pointer; }
.dx-mode:hover { border-color: var(--rx-accent); }
.dx-mode.on { border-color: var(--rx-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rx-accent) 16%, transparent); }
.dx-cells { display: flex; flex-direction: column; border: 1px solid var(--rx-line); border-radius: 10px; overflow: hidden; }
.dx-cell { display: grid; grid-template-columns: 20px 130px minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; gap: 4px 10px;
  padding: 9px 12px; border-top: 1px solid var(--rx-line); font-size: 13.5px; cursor: pointer; }
.dx-cell:first-child { border-top: 0; }
.dx-cell.flag { background: color-mix(in srgb, var(--rx-warn) 8%, transparent); }
.dx-ref { font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.dx-old { color: var(--rx-muted); text-decoration: line-through; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; overflow-wrap: anywhere; }
.dx-old.empty { text-decoration: none; font-family: inherit; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rx-ok); }
.dx-new { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--rx-ok); font-weight: 600; overflow-wrap: anywhere; }
.dx-arrow { color: var(--rx-muted); text-align: center; }
.dx-why { grid-column: 3 / -1; }
.dx-sugg { padding: 12px 0; border-top: 1px solid var(--rx-line); }
.dx-sugg:first-of-type { border-top: 0; }
.dx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
.dx-para { padding: 9px 11px; border-radius: 8px; background: var(--rx-soft); font-size: 14px; white-space: pre-wrap; }
.dx-para.new { background: color-mix(in srgb, var(--rx-ok) 9%, transparent); }
.dx-build { margin-top: 12px; }
@media (max-width: 640px) {
  .dx-pair { grid-template-columns: 1fr; }
  .dx-cell { grid-template-columns: 20px minmax(0, 1fr); }
  .dx-cell .dx-old, .dx-cell .dx-arrow, .dx-cell .dx-new, .dx-why { grid-column: 2; }
  .dx-cap { font-size: 12.5px; }
}

/* ---- designs (edgar/design): the paper wears the chosen theme — variables come from the same spec as the files ---- */
@font-face { font-family: Gelasio; src: url("fonts/Gelasio-Regular.ttf"); font-weight: 400; font-style: normal; }
@font-face { font-family: Gelasio; src: url("fonts/Gelasio-Bold.ttf"); font-weight: 700; font-style: normal; }
@font-face { font-family: Gelasio; src: url("fonts/Gelasio-Italic.ttf"); font-weight: 400; font-style: italic; }
@font-face { font-family: Gelasio; src: url("fonts/Gelasio-BoldItalic.ttf"); font-weight: 700; font-style: italic; }
@font-face { font-family: Carlito; src: url("fonts/Carlito-Regular.ttf"); font-weight: 400; font-style: normal; }
@font-face { font-family: Carlito; src: url("fonts/Carlito-Bold.ttf"); font-weight: 700; font-style: normal; }
@font-face { font-family: Carlito; src: url("fonts/Carlito-Italic.ttf"); font-weight: 400; font-style: italic; }
@font-face { font-family: Carlito; src: url("fonts/Carlito-BoldItalic.ttf"); font-weight: 700; font-style: italic; }
@font-face { font-family: Caladea; src: url("fonts/Caladea-Regular.ttf"); font-weight: 400; font-style: normal; }
@font-face { font-family: Caladea; src: url("fonts/Caladea-Bold.ttf"); font-weight: 700; font-style: normal; }
@font-face { font-family: Caladea; src: url("fonts/Caladea-Italic.ttf"); font-weight: 400; font-style: italic; }
@font-face { font-family: Caladea; src: url("fonts/Caladea-BoldItalic.ttf"); font-weight: 700; font-style: italic; }
@font-face { font-family: Arimo; src: url("fonts/Arimo-Regular.ttf"); font-weight: 400; font-style: normal; }
@font-face { font-family: Arimo; src: url("fonts/Arimo-Bold.ttf"); font-weight: 700; font-style: normal; }
@font-face { font-family: Arimo; src: url("fonts/Arimo-Italic.ttf"); font-weight: 400; font-style: italic; }
@font-face { font-family: Arimo; src: url("fonts/Arimo-BoldItalic.ttf"); font-weight: 700; font-style: italic; }

.rx-paper.rx-themed { font-family: var(--body-font); font-size: var(--body-size); line-height: var(--body-lead); color: var(--pk); }
.rx-themed .rx-dname { font-family: var(--name-font); font-size: var(--name-size); font-weight: var(--name-weight); font-style: var(--name-style);
  color: var(--name-color); text-align: var(--name-align); text-transform: var(--name-caps); letter-spacing: var(--name-track); line-height: var(--name-lead); }
.rx-themed .rx-dheadline { font-family: var(--headline-font); font-size: var(--headline-size); font-weight: var(--headline-weight); font-style: var(--headline-style);
  color: var(--headline-color); text-align: var(--headline-align); text-transform: var(--headline-caps); letter-spacing: var(--headline-track); margin-top: 3px; }
.rx-themed .rx-dcontact { font-family: var(--contact-font); font-size: var(--contact-size); color: var(--contact-color); text-align: var(--contact-align);
  white-space: pre-wrap; margin: 5px 0 0; }
.rx-themed .rx-dheader { border-bottom: var(--header-rule); padding-bottom: 8px; margin-bottom: 6px; }
.rx-themed .rx-dhead { font-family: var(--heading-font); font-size: var(--heading-size); font-weight: var(--heading-weight); font-style: var(--heading-style);
  color: var(--heading-color); text-align: var(--heading-align); text-transform: var(--heading-caps); letter-spacing: var(--heading-track);
  border-bottom: var(--heading-rule); border-left: var(--heading-bar); padding: 0 0 3px var(--heading-pad, 0); margin: 18px 0 8px; }
.rx-themed .rx-org { font-family: var(--org-font); font-size: var(--org-size); font-weight: var(--org-weight); color: var(--org-color); }
.rx-themed .rx-ttl { font-family: var(--title-font); font-size: var(--title-size); font-weight: var(--title-weight); font-style: var(--title-style); color: var(--title-color); }
.rx-themed .rx-org .rx-d, .rx-themed .rx-ttl .rx-d { font-family: var(--dates-font); font-size: var(--dates-size); font-weight: var(--dates-weight);
  font-style: var(--dates-style); color: var(--dates-color); }
.rx-themed .rx-scope { font-family: var(--scope-font); font-size: var(--scope-size); font-style: var(--scope-style); color: var(--scope-color); }
.rx-themed ul { list-style: none; padding-left: 18px; }
.rx-themed li { position: relative; font-size: var(--bullet-size); line-height: var(--bullet-lead); }
.rx-themed li::before { content: var(--bullet-glyph); color: var(--bullet-color); position: absolute; left: -15px; top: 0; font-size: .9em; }
.rx-themed .rx-inline .rx-isep { color: var(--pa); white-space: pre; }
.rx-paper.rx-prose.rx-themed { font-family: var(--letter-font); font-size: var(--letter-size); line-height: var(--letter-lead); }
.rx-paper.rx-prose.rx-themed .rx-dname, .rx-paper.rx-prose.rx-themed .rx-dheadline { text-transform: var(--name-caps); }
.rx-paper.rx-prose.rx-themed .rx-dheadline { text-transform: var(--headline-caps); }
/* banner: the header on a band of the accent color, edge to edge */
.rx-band .rx-dheader { background: var(--pa); margin: -52px -58px 18px; padding: 34px 58px 22px; border: 0; border-radius: 4px 4px 0 0; }
.rx-prose.rx-band .rx-dheader { margin-top: -48px; }
/* sidebar: a tinted side panel with contact, education and skills */
.rx-sidebar { padding: 0; overflow: hidden; }
.rx-sidebar .rx-cols { display: grid; grid-template-columns: 31% 1fr; min-height: 640px; }
.rx-sidebar .rx-side { background: var(--ptint); border-right: 3px solid var(--pa); padding: 44px 20px 40px 28px; font-size: .9em; }
.rx-sidebar .rx-main { padding: 44px 46px 50px 30px; }
.rx-themed .rx-shead { font-family: var(--heading-font); color: var(--pa); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; font-size: 12px;
  border-bottom: 1px solid var(--prule); padding-bottom: 3px; margin: 18px 0 7px; }
.rx-themed .rx-shead:first-child { margin-top: 0; }
.rx-themed .rx-sline { margin: 0 0 5px; line-height: 1.35; overflow-wrap: anywhere; }

/* the design picker */
.rx-swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.rx-dialog.rx-design { width: min(980px, 94vw); max-height: 90vh; overflow: auto; }
.rx-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; margin: 14px 0; }
.rx-dcard { text-align: left; background: #fff; border: 2px solid #e3ddd3; border-radius: 12px; padding: 8px 8px 10px; cursor: pointer; font: inherit; color: #1f232b;
  display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.rx-dcard:hover { border-color: #b9a99a; transform: translateY(-1px); }
.rx-dcard.on { border-color: #5b1a1f; box-shadow: 0 0 0 3px rgba(91,26,31,.12); }
.rx-dthumb { aspect-ratio: 8.5 / 11; overflow: hidden; border-radius: 6px; background: #f4f1ec; box-shadow: inset 0 0 0 1px #eee; }
.rx-dthumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rx-dname2 { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.rx-dbadge { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: #f3ece0; color: #7a5a2a; white-space: nowrap; }
.rx-dbadge.ok { background: #e6f2ea; color: #276a3e; }
.rx-dfoot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; border-top: 1px solid #eee; padding-top: 12px; }
.rx-dswatches { display: flex; gap: 8px; margin-top: 6px; }
.rx-dswatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; padding: 0; }
.rx-dswatch.on { box-shadow: 0 0 0 2px #1f232b; }
@media (max-width: 720px) {
  .rx-band .rx-dheader { margin: -28px -20px 14px; padding: 24px 20px 16px; }
  .rx-sidebar .rx-cols { grid-template-columns: 1fr; }
  .rx-sidebar .rx-side { border-right: 0; border-bottom: 3px solid var(--pa); padding: 24px 20px; }
  .rx-sidebar .rx-main { padding: 24px 20px; }
}

/* LinkedIn as a source */
.rx-or { font-size: 12px; color: #7a7f88; text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 6px; }
.rx-li-in .rx-row { gap: 8px; flex-wrap: nowrap; }
.rx-li-in .rx-input { flex: 1; }
.rx-li-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #0a66c2; color: #fff;
  font: 700 15px/1 -apple-system, Arial, sans-serif; flex: none; }
.rx-li-in .rx-small { margin-top: 6px; }
.rx-li-in .rx-ok { color: #276a3e; }
.rx-howto { padding-left: 20px; line-height: 1.55; }
.rx-howto li { margin-bottom: 10px; }
