/* The three existing illustrations: same frames, with native web details. */
.egg-head { display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; }
.egg-lanes { position: relative; width: 100%; max-width: 480px; align-self: center; margin-top: 12px; }
.egg-lanes .worktree-lines { margin: 0; }
.egg-node { position: absolute; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; transform: translate(-50%, -50%); border: 0; background: none; color: #ffca7d; }
.egg-node-dot { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; background: #192234; transition: box-shadow 150ms ease, transform 150ms ease; }
button.egg-node:hover, button.egg-node:focus-visible { z-index: 5; }
button.egg-node:hover .egg-node-dot, button.egg-node:focus-visible .egg-node-dot { transform: scale(1.2); box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 18%, transparent); }
.egg-node-main-1, .egg-node-main-2, .egg-node-main-3, .egg-node-main-4 { left: 16.6667%; }
.egg-node-api-1, .egg-node-api-2 { left: 50%; color: #7ddccb; }
.egg-node-release-1, .egg-node-release-2 { left: 83.3333%; color: #aaafff; }
.egg-node-main-1, .egg-node-api-1 { top: 24.1007%; }
.egg-node-main-2 { top: 52.1583%; }
.egg-node-main-3 { top: 75.1799%; }
.egg-node-main-4 { top: 91.0072%; }
.egg-node-api-2 { top: 37.0504%; }
.egg-node-release-1 { top: 30.5755%; }
.egg-node-release-2 { top: 54.3165%; }
.egg-diff-image { display: block; width: 100%; aspect-ratio: 1400 / 720; padding: 0; color: var(--ink-soft); text-align: left; }
.egg-diff-filename { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.egg-diff-filename strong { overflow: hidden; text-overflow: ellipsis; }
.egg-diff-filename > span { margin-left: auto; color: var(--success); white-space: nowrap; }
.egg-diff-image .egg-code { font-size: 12px; line-height: 1.8; }
.egg-code { min-width: max-content; margin: 0; background: var(--surface-raised); color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.7; }
.egg-code-line { display: flex; min-height: 1.7em; white-space: pre; }
.egg-code-line code { padding-right: 16px; font: inherit; }
.egg-line-number { flex: 0 0 28px; padding-right: 6px; color: var(--muted); font-size: 11px; text-align: right; user-select: none; }
.egg-line-sign { flex: 0 0 20px; text-align: center; user-select: none; }
.egg-line-add { background: color-mix(in srgb, var(--success) 11%, var(--surface-raised)); }
.egg-line-add .egg-line-sign { color: var(--success); }
.egg-line-remove { background: color-mix(in srgb, #e54c62 11%, var(--surface-raised)); }
.egg-line-remove .egg-line-sign { color: #d33750; }
.egg-remote-toolbar { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 7px; }
.egg-remote-control { position: relative; min-width: 0; }
.egg-remote-button { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; min-height: 35px; padding: 7px 6px; gap: 5px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--muted) 12%, var(--surface-raised)); color: var(--ink-soft); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.15; cursor: pointer; transition: background 140ms ease; }
.egg-remote-button > svg { flex: 0 0 17px; width: 17px; height: 17px; }
.egg-remote-button:hover:not(:disabled) { background: color-mix(in srgb, var(--blue) 14%, var(--surface-raised)); }
.egg-button-chevron { display: none; height: 18px; padding-left: 5px; border-left: 1px solid var(--line); }
.egg-button-chevron svg { width: 13px; }
.egg-worktrees { border-radius: 10px; }
.egg-worktree-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1fr); align-items: center; width: 100%; padding: 10px 12px; gap: 10px; border: 0; background: var(--surface-raised); color: var(--ink-soft); font: inherit; font-size: 13px; text-align: left; }
.egg-worktree-row + .egg-worktree-row { border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.egg-worktree-row > span { min-width: 0; }
.egg-worktree-name strong { display: block; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.egg-worktree-row small { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.egg-worktree-status, .egg-tracking { color: var(--muted-strong); line-height: 1.35; }
.egg-has-changes { color: var(--accent); }

/* Details are revealed on demand, never added to the landing's reading flow. */
.egg-operation-dialog { padding: 0; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); font-family: inherit; box-shadow: var(--shadow); }
.egg-operation-dialog:not([open]) { display: none; }
.egg-operation-dialog::backdrop { background: #080e1b60; backdrop-filter: blur(3px); }
.egg-operation-dialog h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.egg-inspector-body { padding: 24px; }
.egg-commit-dialog h3 { margin: 0 0 20px; font-size: 23px; font-weight: 650; letter-spacing: -.03em; line-height: 1.3; overflow-wrap: anywhere; }
.egg-commit-dialog p { margin: 18px 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.egg-icon-button { display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted-strong); cursor: pointer; }
.egg-icon-button:hover { background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--ink); }
.egg-commit-meta { display: flex; align-items: center; gap: 10px; color: var(--muted-strong); font-size: 14px; }
.egg-avatar { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.egg-anecdote { padding-left: 15px; border-left: 2px solid var(--line-strong); }
.egg-secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 13px; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 550; line-height: 1.3; cursor: pointer; }
.egg-secondary-button:hover { filter: brightness(1.08); }
.egg-operation-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 20px; }
.egg-operation-dialog[open] { animation: egg-modal-in 160ms ease-out; }
.egg-modal-header { display: flex; align-items: center; padding: 22px 24px 0; gap: 12px; }
.egg-modal-header .egg-icon-button { margin-left: auto; }
.egg-operation-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--blue); }
.egg-modal-body { padding: 6px 24px 24px; }
.egg-modal-body > p { margin: 12px 0 20px; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.egg-plan { display: grid; margin-bottom: 20px; padding: 15px; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; }
.egg-plan > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.egg-plan > div > span:first-child { color: var(--muted-strong); }
.egg-plan strong { font-weight: 550; }
.egg-plan .egg-plan-hashes { justify-content: flex-start; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted-strong); font-size: 13px; }
.egg-plan .egg-safe { justify-content: flex-start; gap: 6px; color: var(--success); }
.egg-modal-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; padding: 16px 24px; gap: 10px; border-top: 1px solid var(--line); background: var(--surface); }
#features button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
button.egg-node:focus-visible { outline-color: currentColor !important; border-radius: 50%; }
@keyframes egg-modal-in { from { transform: translateY(6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 1100px) { .egg-button-chevron { display: inline-flex; } }
@media (max-width: 480px) {
  .egg-worktree-row { padding: 9px 8px; gap: 7px; }
  .egg-worktree-name strong { font-size: 12px; }
  .egg-worktree-status, .egg-tracking { font-size: 11px; }
  .egg-worktree-row small { font-size: 11px; }
  .egg-inspector-body { padding: 20px 16px; }
  .egg-commit-meta { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .egg-node-dot, .egg-remote-button { transition: none; }
  .egg-operation-dialog[open], .egg-commit-dialog[open] { animation: none !important; }
}
@media (forced-colors: active) {
  .egg-node-dot { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .egg-node { color: CanvasText; }
  .egg-line-add { border-left: 2px solid LinkText; }
  .egg-line-remove { border-left: 2px dashed CanvasText; }
}

button.egg-node { cursor: pointer; }
.egg-remote-button[aria-disabled="true"] { cursor: default; }
.egg-remote-button[aria-disabled="true"]:hover { background: color-mix(in srgb, var(--muted) 12%, var(--surface-raised)); }
.egg-commit-dialog { position: fixed; inset: 0 0 0 auto; width: min(540px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-width: 0 0 0 1px; border-radius: 0; }
.egg-commit-dialog[open] { display: flex; flex-direction: column; animation: egg-sidebar-in 180ms ease-out; }
.egg-commit-dialog .egg-modal-header { flex: 0 0 auto; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.egg-commit-dialog .egg-inspector-body { flex: 1; min-height: 0; overflow: auto; }
.egg-commit-dialog .egg-modal-footer { flex: 0 0 auto; }
.egg-commit-hash { margin-left: auto; color: var(--muted); font-size: 12px; }
.egg-modal-footer .egg-example-note { align-self: center; margin: 0 auto 0 0; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.egg-files-heading { display: flex; align-items: center; margin: 30px 0 12px; gap: 8px; color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.egg-files-heading > span { padding: 2px 7px; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 12px; }
.egg-changed-files { display: grid; margin: 0; padding: 0; gap: 6px; list-style: none; }
.egg-changed-files button { display: flex; align-items: center; width: 100%; padding: 12px; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-soft); font: inherit; text-align: left; cursor: pointer; }
.egg-changed-files button:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); background: color-mix(in srgb, var(--blue) 6%, var(--surface)); }
.egg-changed-files button > svg { flex: 0 0 18px; color: var(--blue); }
.egg-changed-files button > span { min-width: 0; }
.egg-changed-files strong { display: block; font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.egg-changed-files small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.egg-file-arrow { flex: 0 0 18px; margin-left: auto; transform: rotate(-90deg); color: var(--muted); }
.egg-split-dialog { width: min(1120px, calc(100% - 32px)); overflow: hidden; }
.egg-split-dialog[open] { display: flex; flex-direction: column; }
.egg-split-dialog .egg-modal-header { flex: 0 0 auto; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.egg-split-dialog .egg-modal-footer { flex: 0 0 auto; }
.egg-split-heading { min-width: 0; }
.egg-split-heading h2 { overflow-wrap: anywhere; }
.egg-split-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.egg-split-mode { margin-left: auto; padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-strong); font-size: 12px; white-space: nowrap; }
.egg-split-dialog .egg-icon-button { margin-left: 0; }
.egg-split-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.egg-split-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.egg-split-table { width: 100%; min-width: 880px; border-collapse: collapse; table-layout: fixed; }
.egg-split-table th { position: sticky; top: 0; z-index: 1; width: 50%; padding: 10px 15px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font-size: 14px; font-weight: 550; text-align: left; }
.egg-split-table th code { margin-left: 12px; color: var(--muted); font-size: 12px; font-weight: 400; }
.egg-split-table td { padding: 0; vertical-align: top; }
.egg-split-table th + th, .egg-split-table td + td { border-left: 1px solid var(--line); }
.egg-split-line { display: flex; min-height: 27px; align-items: baseline; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 27px; white-space: pre; }
.egg-split-line code { padding-right: 12px; font: inherit; }
.egg-split-table .egg-line-empty { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 4px, var(--page-soft) 4px, var(--page-soft) 5px); }
@media (max-width: 560px) {
  .egg-split-dialog .egg-modal-header { flex-wrap: wrap; padding: 16px; gap: 10px; }
  .egg-split-heading { flex: 1; }
  .egg-split-heading h2 { font-size: 16px; }
  .egg-split-mode { order: 1; margin-left: 46px; }
}
@keyframes egg-sidebar-in { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
