Menu
AkurAI-Build
publicLatest change 7b34201cff36040eb9a0c077cb42fd2d5a7dd67f - fix(mobile): restore header navigation on public landing and repo pages (AKURAI-BUILD-18) 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; }
:where([hidden]) { display: none !important; }
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-summary-copy { max-width: 64ch; margin: 0; color: var(--pt-muted); }
.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, pre: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-table-wrap { max-width: 100%; overflow-x: auto; scrollbar-color: var(--pt-border-strong) var(--pt-surface-alt); }
.pt-table-wrap:focus-visible { outline: 3px solid var(--pt-accent); outline-offset: 2px; }
.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] { 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-worker-button { min-height: 44px; padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.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 homepage — GitHub-inspired hierarchy in the AkurAI workbench palette. */
.ab-public { --ab-ink: #f2f6f2; --ab-muted: #aeb9af; --ab-paper: #f7faf7; --ab-green: #82efad; --ab-line: #2c3a30; min-height: 100dvh; padding: 0 clamp(20px, 4vw, 64px); overflow: hidden; background: #080c09; color: var(--ab-ink); letter-spacing: -.012em; }
.ab-public * { box-sizing: border-box; }
.ab-nav { position: relative; z-index: 2; width: min(100%, 1280px); min-height: 72px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid color-mix(in srgb, var(--ab-line) 70%, transparent); }
.ab-wordmark { display: inline-flex; align-items: center; gap: 10px; width: max-content; 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; background: var(--ab-green); color: #07120b; font-size: .8rem; font-weight: 900; }
.ab-nav-links, .ab-nav-actions, .ab-footer nav { display: flex; align-items: center; gap: 8px; }
.ab-nav-links a, .ab-footer a:not(.ab-wordmark) { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; color: var(--ab-muted); font-size: .86rem; font-weight: 680; text-decoration: none; }
.ab-nav-links a:hover, .ab-footer a:not(.ab-wordmark):hover { color: var(--ab-ink); }
.ab-nav-actions { justify-content: flex-end; }
.ab-nav-mobile { display: none; position: relative; justify-self: end; }
.ab-nav-mobile summary { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--ab-line); color: var(--ab-ink); font-size: .86rem; font-weight: 730; cursor: pointer; list-style: none; }
.ab-nav-mobile summary::-webkit-details-marker { display: none; }
.ab-nav-mobile[open] summary { border-color: var(--ab-green); color: var(--ab-green); }
.ab-nav-mobile nav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; width: min(280px, calc(100vw - 40px)); display: grid; padding: 8px; border: 1px solid var(--ab-line); background: var(--pt-canvas); }
.ab-nav-mobile nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; color: var(--ab-ink); font-size: .9rem; font-weight: 680; text-decoration: none; }
.ab-nav-mobile nav a:hover { background: color-mix(in srgb, var(--ab-green) 10%, transparent); }
.ab-nav-mobile nav .ab-nav-mobile-primary { margin-top: 6px; background: var(--ab-green); color: var(--pt-on-accent); }
.ab-hamburger { display: inline-block; width: 16px; height: 2px; background: currentColor; position: relative; transition: background .15s; }
.ab-hamburger::before, .ab-hamburger::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .15s, top .15s; }
.ab-hamburger::before { top: -6px; }
.ab-hamburger::after { top: 6px; }
.ab-nav-mobile[open] .ab-hamburger { background: transparent; }
.ab-nav-mobile[open] .ab-hamburger::before { top: 0; transform: rotate(45deg); }
.ab-nav-mobile[open] .ab-hamburger::after { top: 0; transform: rotate(-45deg); }
/* Mobile: switch to hamburger menu on small screens */
@media (max-width: 820px) {
.ab-nav { grid-template-columns: 1fr auto; }
.ab-nav-links, .ab-nav-actions { display: none; }
.ab-nav-mobile { display: block; }
/* Docs page has its own mobile sidebar menu — don't double up */
.ab-docs-page .ab-nav-mobile { display: none; }
}
.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); color: var(--ab-ink); font-size: .88rem; font-weight: 730; text-decoration: none; }
.ab-button:hover { border-color: var(--ab-green); background: #121a14; }
.ab-button:focus-visible, .ab-text-link:focus-visible, .ab-wordmark:focus-visible, .ab-nav-links a:focus-visible, .ab-footer a:focus-visible { outline: 3px solid var(--ab-green); outline-offset: 3px; }
.ab-button-primary { border-color: var(--ab-green); background: var(--ab-green); color: #07120b; }
.ab-button-primary:hover { border-color: #a4f7c1; background: #a4f7c1; }
.ab-button-quiet { border-color: transparent; color: var(--ab-muted); }
.ab-hero { position: relative; width: min(100%, 1280px); margin: auto; padding: clamp(84px, 11vw, 150px) 0 96px; }
.ab-hero::before { content: ""; position: absolute; z-index: 0; width: min(80vw, 900px); height: 520px; left: 50%; top: 180px; translate: -50% 0; pointer-events: none; background: radial-gradient(ellipse, rgb(130 239 173 / 14%), transparent 68%); filter: blur(28px); }
.ab-hero-copy { position: relative; z-index: 1; max-width: 880px; margin: auto; text-align: center; }
.ab-hero h1, .ab-login h1 { margin: 0; color: var(--ab-paper); font-size: clamp(3.2rem, 7.5vw, 7rem); font-weight: 620; line-height: .94; letter-spacing: -.072em; text-wrap: balance; }
.ab-hero h1 em, .ab-login h1 em { color: var(--ab-green); font-style: normal; }
.ab-lede { max-width: 650px; margin: 26px auto 0; color: var(--ab-muted); font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.65; text-wrap: pretty; }
.ab-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; }
.ab-repository-hero { padding: clamp(48px, 7vw, 80px) 0 64px; }
.ab-repository-hero::before { top: 48px; height: 300px; }
.ab-repository-hero .ab-hero-copy { max-width: 760px; margin: 0; text-align: left; }
.ab-repository-hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.ab-repository-hero .ab-lede { margin: 18px 0 0; }
.ab-repository-hero .ab-actions { justify-content: flex-start; margin-top: 24px; }
.ab-text-link { color: var(--ab-ink); font-size: .9rem; font-weight: 700; }
.ab-product { position: relative; z-index: 1; width: min(100%, 1040px); margin: 80px auto 0; border: 1px solid #425448; background: #0b100c; box-shadow: 0 28px 90px rgb(0 0 0 / 38%), 0 0 0 10px rgb(130 239 173 / 3%); }
.ab-product-bar, .ab-list-heading { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--ab-line); color: var(--ab-muted); font: 650 .78rem/1.4 ui-monospace, SFMono-Regular, monospace; }
.ab-product-bar b { color: var(--ab-ink); }
.ab-product-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ab-green); }
.ab-product-status i { width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.ab-product-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 390px; }
.ab-pipeline { list-style: none; margin: 0; padding: 20px 0; border-right: 1px solid var(--ab-line); background: #0a0e0b; }
.ab-pipeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; padding: 15px 20px; color: var(--ab-muted); }
.ab-pipeline li + li::before { content: ""; position: absolute; width: 1px; height: 22px; left: 33px; top: -11px; background: var(--ab-line); }
.ab-pipeline li > span { grid-row: 1 / 3; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ab-line); font: 700 .66rem ui-monospace, monospace; }
.ab-pipeline li[data-state="complete"] > span { border-color: var(--ab-green); color: var(--ab-green); }
.ab-pipeline b { color: var(--ab-ink); font-size: .84rem; }
.ab-pipeline small { font: .7rem ui-monospace, monospace; }
.ab-code { max-height: none; margin: 0; padding: 42px clamp(24px, 5vw, 72px); border: 0; background: transparent; color: #d9e0d9; font: .9rem/1.85 ui-monospace, SFMono-Regular, monospace; white-space: pre-wrap; }
.ab-code span { color: var(--ab-green); }
.ab-community, .ab-platform, .ab-footer { width: min(100%, 1280px); margin-inline: auto; }
.ab-community { padding: 120px 0; }
.ab-section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.ab-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--ab-green); font: 700 .68rem/1 ui-monospace, monospace; letter-spacing: .15em; text-transform: uppercase; }
.ab-kicker::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.ab-section-heading h2, .ab-platform h2 { max-width: 16ch; margin: 0; color: var(--ab-paper); font-size: clamp(2.1rem, 4.4vw, 4.3rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.ab-section-heading > p, .ab-platform-copy > p:not(.ab-kicker) { margin: 0; color: var(--ab-muted); line-height: 1.7; }
.ab-discovery-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr); gap: 16px; align-items: start; }
.ab-trending, .ab-builders { border: 1px solid var(--ab-line); background: #0b100c; }
.ab-list-heading h3 { margin: 0; color: var(--ab-ink); font: 750 .9rem/1.4 ui-sans-serif, system-ui, sans-serif; }
.ab-list-heading span { font-size: .68rem; }
.ab-repo-list, .ab-builder-list { list-style: none; margin: 0; padding: 0; }
.ab-repo-list li { min-height: 96px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--ab-line); }
.ab-repo-list li:last-child { border-bottom: 0; }
.ab-repo-list li:hover { background: #101711; }
.ab-repo-list a { color: var(--ab-green); font-size: 1rem; font-weight: 780; text-decoration: none; overflow-wrap: anywhere; }
.ab-repo-list a span { color: var(--ab-muted); font-weight: 550; }
.ab-repo-list a:hover { text-decoration: underline; }
.ab-repo-list p { margin: 6px 0 0; color: var(--ab-muted); font-size: .76rem; }
.ab-repo-list p code { color: var(--ab-ink); }
.ab-repo-list dl { display: flex; gap: 18px; margin: 0; }
.ab-repo-list dl div { min-width: 52px; }
.ab-repo-list dt { color: var(--ab-muted); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.ab-repo-list dd { margin: 3px 0 0; color: var(--ab-ink); font: 750 1rem ui-monospace, monospace; }
.ab-builder-list li { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ab-line); }
.ab-builder-list li:last-child { border-bottom: 0; }
.ab-avatar { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #536b59; background: #142018; color: var(--ab-green); font-weight: 800; }
.ab-builder-list div { min-width: 0; display: grid; gap: 2px; }
.ab-builder-list b { overflow: hidden; color: var(--ab-ink); font-size: .86rem; text-overflow: ellipsis; }
.ab-builder-list small { color: var(--ab-muted); font-size: .72rem; }
.ab-empty { min-height: 220px; display: grid; place-content: center; padding: 32px; text-align: center; }
.ab-empty h3 { margin: 0; font-size: 1rem; }
.ab-empty p { max-width: 34ch; margin: 8px auto 0; color: var(--ab-muted); font-size: .82rem; line-height: 1.6; }
.ab-empty-compact { min-height: 220px; }
.ab-platform { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr); gap: clamp(48px, 9vw, 128px); align-items: center; padding: 112px 0; border-top: 1px solid var(--ab-line); border-bottom: 1px solid var(--ab-line); }
.ab-platform-copy > p:not(.ab-kicker) { max-width: 580px; margin: 24px 0; }
.ab-capabilities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ab-line); }
.ab-capabilities li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--ab-line); }
.ab-capabilities li > span { color: var(--ab-green); font: .68rem ui-monospace, monospace; }
.ab-capabilities b { color: var(--ab-ink); font-size: .95rem; }
.ab-capabilities p { margin: 6px 0 0; color: var(--ab-muted); font-size: .84rem; line-height: 1.6; }
.ab-footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.ab-footer p { color: var(--ab-muted); font-size: .78rem; text-align: center; }
.ab-footer nav { justify-content: flex-end; }
.ab-login-page { display: grid; grid-template-rows: auto 1fr; }
.ab-login-page .ab-nav { width: 100%; display: flex; justify-content: space-between; }
.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; }
.ab-code-header { width: min(100%, 1280px); margin: auto; padding: 18px 0 8px; }
.ab-code-header .ab-kicker { margin-bottom: 4px; }
.ab-code-header h1 { max-width: none; margin: 0; color: var(--ab-paper); font-size: clamp(1.25rem, 2.25vw, 1.75rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ab-public .pt-code-browser { width: min(100%, 1280px); margin: 8px auto 0; }
.ab-error-page { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.ab-error { width: min(100%, 720px); margin: auto; padding: clamp(72px, 12vw, 140px) 0; }
.ab-error h1 { max-width: 14ch; margin: 0; color: var(--ab-paper); font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 650; line-height: 1; letter-spacing: -.06em; text-wrap: balance; }
.ab-error > p:not(.ab-kicker) { max-width: 56ch; margin: 22px 0 0; color: var(--ab-muted); font-size: 1.05rem; line-height: 1.65; }
.ab-error .ab-actions { justify-content: flex-start; }
/* Public documentation — the Framework docs rhythm in the AkurAI Build palette. */
.ab-docs-page { --ab-ink: #f2f6f2; --ab-muted: #aeb9af; --ab-paper: #f7faf7; --ab-green: #82efad; --ab-line: #2c3a30; --ab-panel: #0b100c; --ab-panel-raised: #101711; --ab-code: #090d0a; min-height: 100dvh; margin: 0; background: var(--ab-code); color: var(--ab-ink); font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.012em; }
.ab-docs-page * { box-sizing: border-box; }
.ab-docs-page > .ab-nav { position: sticky; top: 0; z-index: 4; width: min(calc(100% - 48px), 1180px); padding-inline: 0; background: var(--ab-code); }
.ab-docs-page > .ab-nav a:focus-visible, .ab-docs-shell a:focus-visible, .ab-docs-mobile-menu summary:focus-visible, .ab-docs-page > .ab-footer a:focus-visible { outline: 3px solid var(--ab-green); outline-offset: 3px; }
.ab-docs-shell { width: min(100%, 1120px); margin: auto; padding: 44px 24px 80px; display: grid; grid-template-columns: 210px minmax(0, 760px); justify-content: center; gap: 52px; align-items: start; }
.ab-docs-sidebar { position: sticky; top: 96px; }
.ab-docs-sidebar-title { margin: 0 0 18px; color: var(--ab-ink); font-size: .9rem; font-weight: 800; }
.ab-docs-nav section + section { margin-top: 24px; }
.ab-docs-nav h2 { margin: 0 0 7px; color: var(--ab-muted); font: 750 .7rem/1.4 ui-monospace, SFMono-Regular, monospace; letter-spacing: .1em; text-transform: uppercase; }
.ab-docs-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ab-docs-nav a { min-height: 34px; display: flex; align-items: center; padding: 5px 10px; border-left: 2px solid transparent; color: var(--ab-muted); font-size: .84rem; text-decoration: none; }
.ab-docs-nav a:hover, .ab-docs-nav a[aria-current] { border-left-color: var(--ab-green); background: var(--ab-panel-raised); color: var(--ab-ink); }
.ab-docs-mobile-menu { display: none; }
.ab-docs-content { min-width: 0; }
.ab-docs-intro { padding-bottom: 10px; }
.ab-docs-overline { margin: 0 0 12px; color: var(--ab-green); font: 750 .7rem/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .14em; text-transform: uppercase; }
.ab-docs-intro h1 { margin: 0; color: var(--ab-paper); font-size: clamp(2.25rem, 5vw, 3.4rem); font-weight: 650; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.ab-docs-intro > p:last-child { max-width: 62ch; margin: 18px 0 0; color: var(--ab-muted); font-size: 1.05rem; line-height: 1.7; }
.ab-docs-content section { scroll-margin-top: 92px; }
.ab-docs-content section > h2 { margin: 38px 0 14px; padding-top: 20px; border-top: 1px solid var(--ab-line); color: var(--ab-paper); font-size: 1.45rem; line-height: 1.2; letter-spacing: -.025em; }
.ab-docs-content h3 { margin: 26px 0 8px; color: var(--ab-ink); font-size: 1rem; }
.ab-docs-content p, .ab-docs-content li { color: var(--ab-muted); }
.ab-docs-content p { margin: 12px 0; }
.ab-docs-content ul, .ab-docs-content ol { padding-left: 22px; }
.ab-docs-content li { margin: 6px 0; }
.ab-docs-content b { color: var(--ab-ink); }
.ab-docs-content a { color: var(--ab-green); font-weight: 650; }
.ab-docs-content code { padding: 2px 6px; border: 1px solid var(--ab-line); background: var(--ab-panel); color: var(--ab-paper); font: .87em ui-monospace, SFMono-Regular, monospace; }
.ab-docs-content pre { margin: 18px 0; padding: 18px 20px; overflow-x: auto; border: 1px solid var(--ab-line); background: var(--ab-code); box-shadow: inset 3px 0 var(--ab-green); }
.ab-docs-content pre code { padding: 0; border: 0; background: transparent; color: var(--ab-ink); font-size: .82rem; line-height: 1.75; }
.ab-docs-content blockquote { margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--ab-green); background: var(--ab-panel); color: var(--ab-muted); }
.ab-docs-table-wrap { margin: 18px 0; overflow-x: auto; border: 1px solid var(--ab-line); }
.ab-docs-content table { width: 100%; border-collapse: collapse; min-width: 540px; }
.ab-docs-content th, .ab-docs-content td { padding: 11px 14px; border-bottom: 1px solid var(--ab-line); text-align: left; vertical-align: top; }
.ab-docs-content tr:last-child td { border-bottom: 0; }
.ab-docs-content th { background: var(--ab-panel-raised); color: var(--ab-ink); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.ab-docs-content td { color: var(--ab-muted); font-size: .86rem; }
.ab-docs-pagination { margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--ab-line); display: flex; justify-content: space-between; gap: 16px; }
.ab-docs-pagination a { min-height: 44px; display: inline-flex; align-items: center; }
.ab-docs-page > .ab-footer { width: min(100%, 1120px); min-height: 132px; padding: 28px 24px; border-top: 1px solid var(--ab-line); }
@media (max-width: 820px) {
.ab-docs-shell { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
.ab-docs-sidebar { display: none; }
.ab-docs-mobile-menu { display: block; border: 1px solid var(--ab-line); background: var(--ab-panel); }
.ab-docs-mobile-menu summary { min-height: 46px; display: flex; align-items: center; padding: 10px 14px; color: var(--ab-ink); font-weight: 700; cursor: pointer; }
.ab-docs-mobile-menu[open] summary { border-bottom: 1px solid var(--ab-line); }
.ab-docs-mobile-menu .ab-docs-nav { padding: 14px; }
.ab-docs-mobile-menu .ab-docs-nav section + section { margin-top: 16px; }
.ab-docs-page > .ab-footer { grid-template-columns: 1fr; justify-items: start; }
.ab-docs-page > .ab-footer p { text-align: left; }
.ab-docs-page > .ab-footer nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
.ab-docs-page > .ab-nav, .ab-docs-shell, .ab-docs-page > .ab-footer { padding-inline: 16px; }
.ab-docs-page > .ab-nav { width: 100%; }
.ab-docs-intro h1 { font-size: 2.25rem; }
.ab-docs-pagination { align-items: flex-start; flex-direction: column-reverse; }
}
/* 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 h1 { margin: 0; font-size: inherit; 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 code page */
.pt-repo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); gap: 20px; align-items: start; }
.pt-repo-main { min-width: 0; }
.pt-repo-sidebar { min-width: 0; 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-repo-toolbar { display: grid; gap: 10px; margin-bottom: 12px; 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); }
.pt-repo-toolbar-primary, .pt-repo-pipeline-control { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.pt-repo-branch-wrap { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--pt-muted); font-size: .78rem; font-weight: 700; }
.pt-repo-counts { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; color: var(--pt-muted); font-size: .76rem; white-space: nowrap; }
.pt-repo-counts b { color: var(--pt-ink); font-weight: 800; }
.pt-repo-pipeline-control { padding-top: 10px; border-top: 1px solid var(--pt-border); }
.pt-repo-pipeline-stats { display: flex; align-items: center; gap: 14px; min-width: 0; margin: 0; }
.pt-repo-pipeline-stats div { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.pt-repo-pipeline-stats dt { color: var(--pt-muted); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.pt-repo-pipeline-stats dd { margin: 0; overflow: hidden; color: var(--pt-ink); font: 750 .75rem/1.2 ui-monospace, SFMono-Regular, monospace; text-overflow: ellipsis; white-space: nowrap; }
.pt-repo-files { overflow: hidden; }
.pt-repo-latest-commit { display: flex; align-items: center; gap: 10px; min-width: 0; 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; color: var(--pt-ink); text-overflow: ellipsis; white-space: nowrap; }
.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; min-width: 0; padding: 8px 16px; border-bottom: 1px solid var(--pt-border); font-size: .84rem; }
.pt-repo-file-row { color: inherit; text-decoration: none; }
.pt-repo-file-row:focus-visible { outline: 3px solid var(--pt-accent); outline-offset: -3px; }
.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; color: var(--pt-ink); font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.pt-repo-file-msg { min-width: 0; overflow: hidden; color: var(--pt-muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.pt-repo-file-age { color: var(--pt-muted); font-size: .78rem; white-space: nowrap; }
.pt-repo-readme { margin-top: 12px; }
.pt-repo-readme > .pt-attached-table-header { margin: 0; }
.pt-repo-readme .pt-panel-body { padding: 20px; }
.pt-repo-readme pre { max-height: none; padding: 0; border: 0; background: transparent; font-size: .8rem; }
.pt-repo-side-section { padding: 14px; border-bottom: 1px solid var(--pt-border); }
.pt-repo-side-section:last-child { border-bottom: 0; }
.pt-repo-side-section h2 { margin: 0 0 9px; color: var(--pt-ink); font-size: .88rem; letter-spacing: -.01em; }
.pt-repo-side-label { margin: 14px 0 6px; color: var(--pt-muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.pt-repo-about-description { margin: 0; color: var(--pt-ink); font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; }
.pt-repo-about-links { display: flex; gap: 12px; margin-top: 10px; font-size: .78rem; font-weight: 700; }
.pt-repo-empty-state { margin: 0; color: var(--pt-muted); font-size: .8rem; }
.pt-repo-clone-url { display: flex; gap: 6px; min-width: 0; }
.pt-repo-clone-url code { flex: 1; display: flex; align-items: center; min-width: 0; min-height: 36px; padding: 4px 8px; overflow: hidden; border: 1px solid var(--pt-border); background: var(--pt-surface-alt); color: var(--pt-muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.pt-repo-commit-list, .pt-repo-contributor-list, .pt-repo-language-list { margin: 0; padding: 0; list-style: none; }
.pt-repo-commit-item { padding: 9px 0; border-top: 1px solid var(--pt-border); }
.pt-repo-commit-item:first-child { padding-top: 0; border-top: 0; }
.pt-repo-commit-item:last-child { padding-bottom: 0; }
.pt-repo-commit-message { margin: 0; overflow: hidden; color: var(--pt-ink); font-size: .8rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.pt-repo-commit-link { display: block; color: inherit; text-decoration: none; }
.pt-repo-commit-link:focus-visible { outline: 3px solid var(--pt-accent); outline-offset: 3px; }
.pt-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 0; padding: 8px 0; color: var(--pt-muted); font-size: .82rem; overflow-wrap: anywhere; }
.pt-breadcrumb a { color: var(--pt-muted); text-decoration: none; }
.pt-breadcrumb a:hover { color: var(--pt-accent); text-decoration: underline; }
.pt-breadcrumb strong { color: var(--pt-ink); }
.pt-code-browser { margin-top: 8px; }
.pt-code-source { max-height: none; overflow: auto; margin: 0; white-space: pre; }
.pt-code-commit { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--pt-border); color: var(--pt-muted); font-size: .78rem; }
.pt-code-commit code { color: var(--pt-ink); }
.pt-repo-commit-meta { display: flex; align-items: center; gap: 7px; min-width: 0; margin-top: 3px; color: var(--pt-muted); font-size: .7rem; }
.pt-repo-commit-meta span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-repo-commit-meta time { white-space: nowrap; }
.pt-repo-contributor-list { display: grid; gap: 8px; }
.pt-repo-contributor { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pt-repo-contributor-avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid var(--pt-border-strong); background: var(--pt-surface-alt); color: var(--pt-accent); font: 800 .68rem/1 ui-monospace, SFMono-Regular, monospace; }
.pt-repo-contributor-details { display: grid; min-width: 0; line-height: 1.25; }
.pt-repo-contributor-details strong { overflow: hidden; color: var(--pt-ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.pt-repo-contributor-details small { color: var(--pt-muted); font-size: .68rem; }
.pt-repo-language-bar { display: flex; width: 100%; height: 8px; overflow: hidden; background: var(--pt-surface-alt); }
.pt-repo-language-list { display: grid; gap: 5px; margin-top: 10px; }
.pt-repo-language-list li, .pt-repo-language-name { display: flex; align-items: center; }
.pt-repo-language-list li { justify-content: space-between; gap: 10px; color: var(--pt-muted); font-size: .72rem; }
.pt-repo-language-name { gap: 6px; min-width: 0; color: var(--pt-ink); font-weight: 650; }
.pt-repo-language-dot { width: 8px; height: 8px; flex: 0 0 auto; }
.pt-repo-language-bar svg { display: block; width: 100%; height: 100%; }
.pt-repo-run-form { display: grid; gap: 10px; max-width: 520px; }
.pt-repo-run-form label { display: grid; gap: 4px; color: var(--pt-muted); font-size: .78rem; font-weight: 700; }
.pt-repo-run-form .pt-optional { font-weight: 500; }
.pt-repo-run-form input { min-height: 44px; padding: 8px 10px; border: 1px solid var(--pt-border); background: var(--pt-surface-alt); color: var(--pt-ink); font-size: .82rem; }
.pt-section-gap { margin-top: 12px; }
.pt-run-detail { margin-top: 16px; }
/* 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: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)) auto; gap: 8px; align-items: end; }
.pt-run-filter-bar label { display: grid; gap: 4px; color: var(--pt-muted); font-size: .72rem; font-weight: 750; text-transform: none; letter-spacing: normal; }
.pt-run-filter-bar select, .pt-run-filter-bar input { width: 100%; min-width: 0; min-height: 36px; padding: 6px 9px; border: 1px solid var(--pt-border); background: var(--pt-surface); color: var(--pt-ink); font-size: .78rem; }
.pt-run-filter-actions { display: flex; gap: 6px; }
/* 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; }
.pt-run-filter-bar { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
.pt-table-wrap[data-scrollable]::after { content: "Scroll horizontally for more columns"; position: sticky; left: 0; display: block; width: max-content; padding: 6px 12px; color: var(--pt-muted); font-size: .72rem; }
.pt-button.pt-small { min-height: 44px; }
}
@media (max-width: 900px) {
.ab-section-heading, .ab-platform { grid-template-columns: 1fr; }
.ab-section-heading { align-items: start; gap: 20px; }
.ab-section-heading > p { max-width: 620px; }
.ab-discovery-grid { grid-template-columns: 1fr; }
.ab-builders .ab-builder-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-builder-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.ab-platform { gap: 48px; }
}
@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: 0 20px; }
.ab-nav { min-height: 64px; grid-template-columns: 1fr auto; }
.ab-nav-links, .ab-nav-actions { display: none; }
.ab-nav-mobile { display: block; }
.ab-hero { padding: 70px 0 72px; }
.ab-hero h1, .ab-login h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
.ab-repository-hero { padding: 44px 0 52px; }
.ab-repository-hero h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
.ab-code-header { padding: 14px 0 8px; }
.ab-code-header h1 { font-size: clamp(1.2rem, 6vw, 1.5rem); }
.ab-public .pt-code-browser .pt-breadcrumb { margin-top: 0; margin-bottom: 0; }
.ab-actions { align-items: stretch; flex-direction: column; gap: 10px; }
.ab-product { margin-top: 56px; }
.ab-product-body { grid-template-columns: 1fr; }
.ab-pipeline { border-right: 0; border-bottom: 1px solid var(--ab-line); }
.ab-code { min-height: 300px; padding: 26px 20px; font-size: .74rem; }
.ab-community { padding: 80px 0; }
.ab-section-heading h2, .ab-platform h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
.ab-repo-list li { grid-template-columns: 1fr; gap: 14px; }
.ab-builders .ab-builder-list { grid-template-columns: 1fr; }
.ab-builder-list li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--ab-line); }
.ab-platform { padding: 80px 0; }
.ab-footer { min-height: 220px; grid-template-columns: 1fr; align-content: center; gap: 14px; }
.ab-footer p { text-align: left; }
.ab-footer nav { justify-content: flex-start; }
.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; }
.pt-run-filter-bar { grid-template-columns: 1fr; }
.pt-run-filter-actions .pt-button { flex: 1; }
.pt-table-wrap { overflow: visible; }
.pt-table-wrap[data-scrollable]::after { display: none; }
.pt-data-table { display: block; min-width: 0; }
.pt-data-table thead { display: none; }
.pt-data-table tbody { display: grid; }
.pt-data-table tbody tr { display: grid; padding: 10px 12px; border-bottom: 1px solid var(--pt-border); }
.pt-data-table tbody tr:last-child { border-bottom: 0; }
.pt-data-table th, .pt-data-table td { min-width: 0; padding: 5px 0; border: 0; }
.pt-data-table td { display: grid; grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr); gap: 12px; align-items: center; overflow-wrap: anywhere; }
.pt-data-table td::before { content: attr(data-label); color: var(--pt-muted); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pt-data-table td:first-child { font-weight: 740; }
.pt-table-link { display: inline-flex; align-items: center; width: max-content; min-height: 44px; }
.pt-repo-toolbar-primary, .pt-repo-pipeline-control { align-items: stretch; flex-direction: column; }
.pt-repo-branch-wrap { justify-content: space-between; }
.pt-repo-counts { width: 100%; justify-content: space-between; gap: 6px; }
.pt-repo-pipeline-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
.pt-repo-pipeline-stats div { display: grid; gap: 2px; }
.pt-repo-pipeline-control > .pt-button { width: 100%; }
.pt-repo-latest-commit { flex-wrap: wrap; padding-inline: 12px; }
.pt-repo-latest-commit .pt-commit-msg { order: 3; flex-basis: 100%; }
.pt-repo-latest-commit .pt-commit-age { margin-left: auto; }
.pt-repo-file-row { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 12px; }
.pt-repo-file-msg { display: none; }
.pt-repo-readme .pt-panel-body { padding: 14px; }
.pt-repo-side-section { padding: 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; } }
.pt-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--pt-border); }