AkurAI Build
Menu

AkurAI-Build

public

Latest change 30e6b8c347048d64c2c048dfd05a8ded219d37f6 - Host authenticated Git repositories over Smart HTTP with repo host/sync CLI by Ólafur Búi Ólafsson

:root {
  color-scheme: dark;
  --pt-canvas: #080c09;
  --pt-surface: color-mix(in srgb, #121813 78%, transparent);
  --pt-surface-alt: color-mix(in srgb, #18211b 65%, transparent);
  --pt-ink: #f2f6f2;
  --pt-muted: #aeb9af;
  --pt-border: color-mix(in srgb, #304035 55%, transparent);
  --pt-border-strong: color-mix(in srgb, #5b7561 60%, transparent);
  --pt-accent: #82efad;
  --pt-accent-hover: #a4f7c1;
  --pt-on-accent: #07120b;
  --pt-danger: #ff9d86;
  --pt-warning: #f1aa6d;
  --pt-info: #8acdf2;
  --pt-radius-sm: 0;
  --pt-radius-md: 0;
  --pt-radius-lg: 0;
  --pt-shadow-top: 0 1px 0 var(--pt-border);
  --pt-glass-blur: blur(16px) saturate(140%);
  --pt-glass-highlight: inset 0 1px 0 color-mix(in srgb, var(--pt-accent) 12%, transparent);
  --pt-glass-depth: 0 4px 28px rgb(0 0 0 / 22%);
}

* { box-sizing: border-box; }
html { background: var(--pt-canvas); color: var(--pt-ink); font: 16px/1.55 ui-sans-serif, system-ui, sans-serif; }
html::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 80% 60% at 30% 20%, rgb(130 239 173 / 4%), transparent 60%), radial-gradient(ellipse 60% 50% at 70% 80%, rgb(130 239 173 / 3%), transparent 60%); }
body { margin: 0; min-width: 320px; position: relative; z-index: 1; }
a { color: var(--pt-accent); text-underline-offset: .2em; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.pt-app-sidebar { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 18px; min-height: calc(100vh - 32px); padding: 12px; border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); box-shadow: var(--pt-glass-highlight), var(--pt-glass-depth); }
code { overflow-wrap: anywhere; }

.pt-app-shell { width: 100%; padding: 16px 20px 40px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; align-items: start; }
.pt-app-content { min-width: 0; }
.pt-app-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pt-ink); text-decoration: none; }
.pt-app-brand > span:last-child { display: grid; gap: 1px; }
.pt-app-brand strong { font-size: 1rem; letter-spacing: -.02em; }
.pt-app-brand small { color: var(--pt-muted); font-size: .75rem; }
.pt-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--pt-radius-md); background: var(--pt-accent); color: var(--pt-on-accent); font-weight: 850; }
.pt-app-nav { display: grid; gap: 4px; }
.pt-app-nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: var(--pt-radius-sm); color: var(--pt-muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.pt-app-nav a:hover, .pt-app-nav a[aria-current="page"] { background: var(--pt-surface-alt); color: var(--pt-ink); }
.pt-app-nav a[aria-current="page"] { box-shadow: inset 3px 0 var(--pt-accent); }
.pt-health { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--pt-border); color: var(--pt-muted); white-space: nowrap; font-size: .82rem; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pt-accent); flex: 0 0 auto; }
.pt-version { margin-left: auto; font-size: .74rem; }

.pt-page-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 0 18px; }
.pt-page-intro h1 { max-width: 18ch; margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 760; line-height: 1.08; letter-spacing: -.045em; }
.pt-page-intro h1 em { color: var(--pt-accent); font-style: normal; }
.pt-page-intro p:not(.pt-eyebrow) { max-width: 66ch; margin: 6px 0 0; color: var(--pt-muted); }
.pt-panel { background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); border: 1px solid var(--pt-border); box-shadow: var(--pt-glass-highlight); overflow: hidden; }
.pt-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 10px 16px; border-bottom: 1px solid var(--pt-border); background: var(--pt-surface-alt); }
.pt-panel-head h2 { margin: 0; font-size: .95rem; letter-spacing: -.02em; }
.pt-panel-body { padding: 14px; }
.pt-panel-head > div > .pt-eyebrow { margin-bottom: 3px; }
.pt-panel-actions { display: flex; align-items: center; gap: 8px; }
.pt-muted, .pt-job-meta { color: var(--pt-muted); }
.pt-form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; align-items: end; }
.pt-form-grid label { display: grid; gap: 6px; min-width: 0; color: var(--pt-muted); font-size: .82rem; font-weight: 750; }
.pt-form-grid label > .pt-muted { font-size: .76rem; font-weight: 500; }
.pt-form-grid input, .pt-form-grid select, .pt-search input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--pt-border); background: var(--pt-surface-alt); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); color: var(--pt-ink); }
.pt-form-grid input::placeholder, .pt-search input::placeholder { color: var(--pt-muted); opacity: .8; }
.pt-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 15px; border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); color: var(--pt-ink); font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: var(--pt-glass-highlight); transition: border-color .15s, transform .15s; }
.pt-button:hover { border-color: var(--pt-accent); color: var(--pt-ink); transform: translateY(-1px); }
.pt-button:active { transform: translateY(0); }
.pt-button.pt-primary { border-color: var(--pt-accent); background: var(--pt-accent); color: var(--pt-on-accent); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--pt-glass-highlight), 0 0 16px color-mix(in srgb, var(--pt-accent) 30%, transparent); }
.pt-button.pt-primary:hover { border-color: var(--pt-accent-hover); background: var(--pt-accent-hover); box-shadow: var(--pt-glass-highlight), 0 0 24px color-mix(in srgb, var(--pt-accent) 40%, transparent); }
.pt-button.pt-small { min-height: 36px; padding: 6px 10px; font-size: .8rem; }
.pt-button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--pt-accent); outline-offset: 2px; }

.pt-quick-register { margin-top: 16px; }
.pt-search { display: flex; align-items: center; gap: 8px; color: var(--pt-muted); font-size: .82rem; font-weight: 750; }
.pt-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.pt-metrics > div { padding: 12px 14px; border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); box-shadow: var(--pt-glass-highlight); }
.pt-metrics strong { display: block; font: 760 1.5rem/1.1 ui-monospace, SFMono-Regular, monospace; letter-spacing: -.06em; }
.pt-metrics span { display: block; margin-top: 5px; color: var(--pt-muted); font-size: .78rem; font-weight: 700; }
.pt-workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 12px; }
.pt-detail { min-height: 480px; }
.pt-run-inspector { margin-top: 16px; }

.pt-table-wrap { overflow-x: auto; }
.pt-data-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.pt-data-table th, .pt-data-table td { padding: 13px 16px; border-bottom: 1px solid var(--pt-border); text-align: start; vertical-align: middle; }
.pt-data-table th { color: var(--pt-muted); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.pt-data-table tbody tr[data-id], .pt-data-table tbody tr[data-href] { cursor: pointer; }
.pt-data-table tbody tr:hover { background: var(--pt-surface-alt); }
.pt-data-table tbody tr:last-child td { border-bottom: 0; }
.pt-data-table td:first-child { font-weight: 740; }
.pt-table-link { color: var(--pt-ink); font-weight: 800; text-decoration: none; }
.pt-table-link:hover { color: var(--pt-accent); text-decoration: underline; }
.pt-commit { color: var(--pt-muted); font-size: .78rem; }
.pt-status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pt-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pt-muted); }
.pt-status[data-status="succeeded"], .pt-status[data-status="idle"] { color: var(--pt-accent); }
.pt-status[data-status="succeeded"]::before, .pt-status[data-status="idle"]::before { background: var(--pt-accent); }
.pt-status[data-status="failed"], .pt-status[data-status="canceled"], .pt-status[data-status="interrupted"], .pt-status[data-status="offline"] { color: var(--pt-danger); }
.pt-status[data-status="failed"]::before, .pt-status[data-status="canceled"]::before, .pt-status[data-status="interrupted"]::before, .pt-status[data-status="offline"]::before { background: var(--pt-danger); }
.pt-status[data-status="running"], .pt-status[data-status="queued"], .pt-status[data-status="starting"] { color: var(--pt-info); }
.pt-status[data-status="running"]::before, .pt-status[data-status="queued"]::before, .pt-status[data-status="starting"]::before { background: var(--pt-info); }
.pt-status[data-status="waiting"] { color: var(--pt-warning); }
.pt-status[data-status="waiting"]::before { background: var(--pt-warning); }
.pt-empty { display: grid; place-items: center; min-height: 150px; margin: 0; padding: 20px; color: var(--pt-muted); text-align: center; }
.pt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pt-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px solid var(--pt-border); background: var(--pt-surface-alt); color: var(--pt-muted); font-size: .76rem; font-weight: 800; }
.pt-badge[data-visibility="public"] { border-color: var(--pt-accent); color: var(--pt-accent); }

.pt-run-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-run-title h3 { margin: 0; font-size: 1rem; }
.pt-job { margin: 14px 0; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-md); overflow: hidden; }
.pt-job-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; background: var(--pt-surface-alt); }
.pt-job-head strong { display: block; }
.pt-job-meta { font-size: .75rem; }
pre { max-height: 320px; overflow: auto; margin: 0; padding: 14px; background: var(--pt-surface-alt); color: var(--pt-ink); font: .75rem/1.6 ui-monospace, SFMono-Regular, monospace; white-space: pre-wrap; word-break: break-word; border: 1px solid var(--pt-border); }
.pt-artifacts { display: grid; gap: 8px; }
.pt-artifact { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-md); }
.pt-artifact > div { min-width: 0; overflow-wrap: anywhere; }
.pt-notice { margin: 12px 0; padding: 11px 13px; border: 1px solid var(--pt-warning); border-radius: var(--pt-radius-md); color: var(--pt-warning); font-size: .86rem; }
.pt-notice.pt-error { border-color: var(--pt-danger); color: var(--pt-danger); }
.pt-dialog-actions { display: flex; justify-content: end; gap: 10px; margin-top: 18px; }
.pt-confirm { width: min(calc(100% - 32px), 440px); border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); color: var(--pt-ink); padding: 18px; box-shadow: var(--pt-glass-highlight), var(--pt-glass-depth); }
.pt-confirm::backdrop { background: rgb(0 0 0 / 60%); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pt-confirm h2 { margin: 0; font-size: 1.05rem; }
.pt-confirm p { color: var(--pt-muted); }

.pt-toast-region { position: fixed; right: 16px; bottom: 16px; z-index: 5; display: grid; gap: 6px; width: min(calc(100% - 32px), 360px); }
.pt-toast { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); box-shadow: var(--pt-glass-highlight), var(--pt-glass-depth); color: var(--pt-ink); font-size: .84rem; }
.pt-toast[data-kind="error"] { border-color: var(--pt-danger); }
.pt-toast button { min-width: 32px; min-height: 32px; border: 0; background: transparent; color: var(--pt-muted); cursor: pointer; }

/* Public surfaces keep the workbench palette but use an editorial landing layout. */
.ab-public { --ab-ink: #e9ece6; --ab-muted: #a5aca2; --ab-paper: #dce3d8; --ab-green: #79b98c; --ab-line: #2a332c; min-height: 100dvh; padding: clamp(20px, 3vw, 56px); background: #0b0d0b; color: var(--ab-ink); letter-spacing: -.012em; }
.ab-public * { box-sizing: border-box; }
.ab-nav { width: min(100%, 1248px); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 56px; }
.ab-wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ab-ink); font-weight: 650; text-decoration: none; letter-spacing: -.04em; }
.ab-wordmark b { font-weight: 820; }
.ab-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 3px; background: var(--ab-green); color: #0b160e; font-size: .8rem; font-weight: 900; }
.ab-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 16px; border: 1px solid var(--ab-line); border-radius: 3px; color: var(--ab-ink); font-size: .88rem; font-weight: 730; text-decoration: none; }
.ab-button:hover { border-color: var(--ab-green); background: #18211a; }
.ab-button:focus-visible, .ab-text-link:focus-visible, .ab-wordmark:focus-visible { outline: 2px solid var(--ab-green); outline-offset: 4px; }
.ab-button-primary { border-color: var(--ab-green); background: var(--ab-green); color: #081008; }
.ab-button-primary:hover { border-color: #9bd5a9; background: #9bd5a9; }
.ab-button-quiet { border-color: transparent; color: var(--ab-muted); }
.ab-hero { width: min(100%, 1248px); min-height: 500px; margin: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); align-items: center; gap: clamp(40px, 8vw, 128px); }
.ab-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--ab-green); font: 700 .68rem/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.ab-kicker::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.ab-hero h1, .ab-login h1 { max-width: 10ch; margin: 0; color: var(--ab-paper); font-size: clamp(3rem, 6vw, 6rem); font-weight: 570; line-height: .95; letter-spacing: -.075em; }
.ab-hero h1 em, .ab-login h1 em { color: var(--ab-green); font-style: normal; }
.ab-lede { max-width: 36rem; margin: 28px 0 0; color: var(--ab-muted); font-size: 1.05rem; line-height: 1.65; }
.ab-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.ab-text-link { color: var(--ab-ink); font-size: .9rem; font-weight: 650; }
.ab-flow { position: relative; min-height: 420px; border: 1px solid var(--ab-line); background: #0e120f; }
.ab-flow-grid { position: absolute; inset: 20px; border: 1px solid #2e3a31; opacity: .8; }
.ab-flow-node { position: absolute; z-index: 1; display: grid; gap: 3px; min-width: 128px; padding: 16px; background: #111711; border: 1px solid #536056; }
.ab-flow-node b { font-size: .95rem; }
.ab-flow-node small { color: var(--ab-muted); font: 500 .68rem ui-monospace, monospace; }
.ab-flow-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border: 1px solid var(--ab-green); color: var(--ab-green); font: 700 .72rem ui-monospace, monospace; }
.ab-source { left: 8%; top: 39%; }
.ab-runner { left: 42%; top: 18%; }
.ab-artifact { right: 7%; bottom: 19%; border-color: var(--ab-green); }
.ab-flow-line { position: absolute; z-index: 0; height: 1px; background: #6a756b; transform-origin: left; }
.ab-line-one { width: 34%; left: 24%; top: 48%; transform: rotate(-32deg); }
.ab-line-two { width: 24%; left: 56%; top: 31%; transform: rotate(57deg); }
.ab-line-three { width: 27%; left: 56%; top: 63%; background: var(--ab-green); }
.ab-flow-dot { position: absolute; z-index: 1; width: 10px; height: 10px; border: 1px solid var(--ab-green); border-radius: 50%; background: #0e120f; }
.ab-dot-one { left: 55%; top: 47%; }
.ab-dot-two { left: 73%; top: 63%; }
.ab-proof { width: min(100%, 1248px); margin: 112px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ab-line); }
.ab-proof > div { min-height: 208px; padding: 22px 22px 0 0; border-right: 1px solid var(--ab-line); }
.ab-proof > div + div { padding-left: 22px; }
.ab-proof > div:last-child { border: 0; }
.ab-proof-number { color: var(--ab-green); font: .7rem ui-monospace, monospace; }
.ab-proof h2 { margin: 28px 0 10px; font-size: 1.05rem; letter-spacing: -.035em; }
.ab-proof p { max-width: 22rem; margin: 0; color: var(--ab-muted); font-size: .88rem; line-height: 1.6; }
.ab-login-page { display: grid; grid-template-rows: auto 1fr; }
.ab-login-page .ab-nav { width: 100%; }
.ab-login { width: min(100%, 672px); margin: clamp(40px, 10vh, 128px) auto auto; }
.ab-login h1 { max-width: 12ch; font-size: clamp(3rem, 5.8vw, 5.4rem); }
.ab-login-action { width: min(100%, 416px); margin-top: 32px; }
.ab-login-note { display: flex; gap: 8px; margin-top: 22px; color: var(--ab-muted); font-size: .78rem; }
.ab-login-note span { color: var(--ab-green); font-weight: 800; }
.ab-repository-meta { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; max-width: 620px; margin-top: 28px; color: var(--ab-muted); font-size: .9rem; }
.ab-repository-meta dt { color: var(--ab-paper); font-weight: 700; }
.ab-repository-meta dd { margin: 0; overflow-wrap: anywhere; }


/* Repository header — Gitea-inspired */
.pt-repo-header { margin-top: 16px; padding: 0 0 12px; border-bottom: 1px solid var(--pt-border); }
.pt-repo-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pt-repo-title { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 1.15rem; }
.pt-repo-title strong { font-weight: 760; letter-spacing: -.02em; white-space: nowrap; }
.pt-repo-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--pt-radius-md); background: var(--pt-surface-alt); color: var(--pt-muted); flex-shrink: 0; }

/* Repository tabs */
.pt-repo-tabs { display: flex; gap: 0; margin-top: 16px; border-bottom: 2px solid var(--pt-border); }
.pt-repo-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px; background: transparent; color: var(--pt-muted); font-size: .9rem; font-weight: 700; cursor: pointer; transition: color .15s, border-color .15s; }
.pt-repo-tabs [role="tab"]:hover { color: var(--pt-ink); }
.pt-repo-tabs [role="tab"][aria-selected="true"] { color: var(--pt-ink); border-bottom-color: var(--pt-accent); }
.pt-repo-content { padding-top: 16px; }

/* Stats list */
.pt-stat-list { display: grid; gap: 12px; margin: 0; }
.pt-stat-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-stat-list dt { color: var(--pt-muted); font-size: .82rem; font-weight: 700; }
.pt-stat-list dd { margin: 0; font: 760 1.25rem/1.1 ui-monospace, SFMono-Regular, monospace; letter-spacing: -.04em; }


/* Repository page — Gitea filelist-sidebar grid */
.pt-repo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 12px; align-items: start; }
.pt-repo-main { min-width: 0; }
.pt-repo-sidebar { display: grid; gap: 0; }
.pt-repo-clone-url { display: flex; gap: 6px; }
.pt-repo-clone-url code { flex: 1; display: flex; align-items: center; min-height: 36px; padding: 4px 10px; border: 1px solid var(--pt-border); background: var(--pt-surface-alt); color: var(--pt-muted); font-size: .78rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Repo code view — sub-nav counts, toolbar, file list */
.pt-repo-subnav { display: flex; gap: 0; margin-bottom: 12px; border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); }
.pt-repo-subnav-item { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-right: 1px solid var(--pt-border); color: var(--pt-muted); font-size: .82rem; text-decoration: none; }
.pt-repo-subnav-item:last-child { border-right: 0; }
.pt-repo-subnav-item:hover { color: var(--pt-ink); background: var(--pt-surface-alt); }
.pt-repo-subnav-item b { color: var(--pt-ink); font-weight: 800; }
.pt-repo-subnav-item svg { color: var(--pt-muted); }
.pt-repo-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pt-repo-branch-wrap { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--pt-muted); }
.pt-repo-files { overflow: hidden; }
.pt-repo-latest-commit { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--pt-border); background: var(--pt-surface-alt); font-size: .82rem; }
.pt-repo-latest-commit .pt-commit-msg { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--pt-ink); }
.pt-repo-latest-commit .pt-commit-author { color: var(--pt-muted); font-weight: 700; }
.pt-repo-latest-commit .pt-commit-age { color: var(--pt-muted); white-space: nowrap; }
.pt-repo-file-list { display: grid; }
.pt-repo-file-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr) auto; gap: 12px; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--pt-border); font-size: .84rem; }
.pt-repo-file-row:last-child { border-bottom: 0; }
.pt-repo-file-row:hover { background: var(--pt-surface-alt); }
.pt-repo-file-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pt-repo-file-name svg { flex-shrink: 0; color: var(--pt-muted); }
.pt-repo-file-name[data-kind="tree"] svg { color: var(--pt-accent); }
.pt-repo-file-name span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--pt-ink); font-weight: 650; }
.pt-repo-file-msg { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--pt-muted); font-size: .8rem; }
.pt-repo-file-age { color: var(--pt-muted); font-size: .78rem; white-space: nowrap; }
.pt-repo-readme pre { max-height: none; }
/* Branch selector — reusable dropdown component */
.pt-branch-select { position: relative; display: inline-flex; }
.pt-branch-select__trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); color: var(--pt-ink); font-size: .88rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: border-color .15s; box-shadow: var(--pt-glass-highlight); }
.pt-branch-select__trigger:hover { border-color: var(--pt-accent); }
.pt-branch-select__trigger:focus-visible { outline: 2px solid var(--pt-accent); outline-offset: 2px; }
.pt-branch-select__trigger svg { flex-shrink: 0; color: var(--pt-muted); }
.pt-branch-select__trigger .pt-chevron { width: 12px; height: 12px; transition: transform .15s; color: var(--pt-muted); }
.pt-branch-select[open] .pt-branch-select__trigger { border-color: var(--pt-accent); }
.pt-branch-select[open] .pt-chevron { transform: rotate(180deg); }
.pt-branch-select__panel { position: absolute; top: calc(100% + 4px); left: 0; z-index: 4; min-width: 260px; border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); box-shadow: var(--pt-glass-highlight), var(--pt-glass-depth); overflow: hidden; }
.pt-branch-select__filter { display: flex; padding: 8px; border-bottom: 1px solid var(--pt-border); }
.pt-branch-select__filter input { width: 100%; min-height: 36px; padding: 4px 10px; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-sm); background: var(--pt-surface-alt); color: var(--pt-ink); font: 700 .82rem/1 ui-monospace, SFMono-Regular, monospace; }
.pt-branch-select__filter input:focus { outline: none; border-color: var(--pt-accent); }
.pt-branch-select__list { max-height: 280px; overflow-y: auto; padding: 4px 0; }
.pt-branch-select__item { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 0; border-left: 3px solid transparent; background: transparent; color: var(--pt-ink); font-size: .86rem; font-weight: 650; cursor: pointer; width: 100%; text-align: left; }
.pt-branch-select__item:hover { background: var(--pt-surface-alt); }
.pt-branch-select__item--active { border-left-color: var(--pt-accent); background: var(--pt-surface-alt); }
.pt-branch-select__item svg { flex-shrink: 0; width: 14px; height: 14px; color: var(--pt-muted); }
.pt-branch-select__item--default::after { content: "default"; display: inline-block; margin-left: auto; padding: 1px 6px; border: 1px solid var(--pt-border); font-size: .66rem; font-weight: 700; color: var(--pt-muted); }
.pt-branch-select__empty { padding: 14px 12px; color: var(--pt-muted); font-size: .82rem; text-align: center; }

/* Admin pages — Gitea-inspired attached tables */
.pt-admin-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 14px; flex-wrap: wrap; }
.pt-admin-header-row { display: flex; align-items: baseline; gap: 12px; }
.pt-admin-title { margin: 0; font-size: 1.15rem; font-weight: 760; letter-spacing: -.02em; }
.pt-admin-stats { display: flex; gap: 2px; margin-left: auto; }
.pt-admin-stat { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--pt-border); background: var(--pt-surface); }
.pt-admin-stat strong { font: 750 1rem/1 ui-monospace, SFMono-Regular, monospace; }
.pt-admin-stat span { color: var(--pt-muted); font-size: .76rem; font-weight: 700; }
.pt-admin-stat[data-kind="ready"] strong { color: var(--pt-accent); }
.pt-admin-stat[data-kind="running"] strong { color: var(--pt-info); }
.pt-admin-stat[data-kind="queued"] strong { color: var(--pt-warning); }
.pt-attached-table { border: 1px solid var(--pt-border); background: var(--pt-surface); backdrop-filter: var(--pt-glass-blur); -webkit-backdrop-filter: var(--pt-glass-blur); box-shadow: var(--pt-glass-highlight); }
.pt-attached-table-header { padding: 8px 16px; border-bottom: 1px solid var(--pt-border); background: var(--pt-surface-alt); color: var(--pt-muted); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pt-admin-footnote { margin-top: 12px; color: var(--pt-muted); font-size: .78rem; max-width: 56ch; }
.pt-run-filter-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pt-run-filter-bar select, .pt-run-filter-bar input { min-height: 32px; padding: 4px 8px; border: 1px solid var(--pt-border); background: var(--pt-surface); color: var(--pt-ink); font-size: .78rem; }
.pt-run-filter-bar select { min-width: 100px; }
.pt-run-filter-bar input { min-width: 80px; max-width: 140px; }
.pt-run-filter-bar input[type="search"] { max-width: 180px; }

/* Worker detail modal */
.pt-worker-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-worker-detail-head h2 { margin: 0; font-size: 1.05rem; }
.pt-worker-detail-sub { margin: 4px 0 0; color: var(--pt-muted); font: .82rem/1.4 ui-monospace, SFMono-Regular, monospace; }
.pt-worker-detail-stats { margin: 14px 0 0; justify-content: flex-start; }

@media (max-width: 1050px) {
  .pt-app-shell { grid-template-columns: 196px minmax(0, 1fr); gap: 16px; }
  .pt-app-sidebar { padding: 12px; }
  .pt-app-brand small { display: none; }
  .pt-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-workspace-grid { grid-template-columns: 1fr; }
  .pt-repo-grid { grid-template-columns: 1fr; }
  .pt-detail { min-height: 0; }
  .pt-admin-stats { margin-left: 0; }
}
@media (max-width: 680px) {
  .pt-app-shell { width: 100%; grid-template-columns: 1fr; padding: 12px 16px; }
  .pt-app-sidebar { position: static; min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px; }
  .pt-app-nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pt-app-nav a { justify-content: center; padding-inline: 4px; font-size: .76rem; }
  .pt-health { grid-column: 2; grid-row: 1; margin: 0; padding: 0; border: 0; }
  .pt-version { display: none; }
  .pt-page-intro { display: block; padding: 20px 0; }
  .pt-panel-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .pt-panel-head > .pt-search { width: 100%; }
  .pt-search input { width: 100%; }
  .pt-form-grid { grid-template-columns: 1fr; padding: 16px; }
  .pt-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pt-metrics > div { padding: 14px; }
  .pt-breadcrumb { margin-top: 22px; margin-bottom: -20px; }
  .ab-public { padding: 20px; }
  .ab-nav { padding-bottom: 38px; }
  .ab-hero { grid-template-columns: 1fr; min-height: 0; gap: 44px; }
  .ab-hero h1, .ab-login h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .ab-flow { min-height: 340px; }
  .ab-proof { grid-template-columns: 1fr; margin-top: 64px; }
  .ab-proof > div, .ab-proof > div + div { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--ab-line); }
  .ab-proof > div:last-child { border-bottom: 0; }
  .ab-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .ab-login { margin-top: 28px; }
  .pt-admin-header { flex-direction: column; align-items: flex-start; }
  .pt-admin-stats { width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
  .pt-admin-stat { justify-content: center; }
  .pt-attached-table-header { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; } }
@media (forced-colors: active) { .pt-dot, .pt-status::before { forced-color-adjust: none; } }