* {
    box-sizing: border-box;
}

/* Remove focus outline, use custom focus styles instead */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid #58a6ff;
    outline-offset: 2px;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    margin: 0;
    padding: 0;
    background: #0d1117;
    color: #c9d1d9;
    line-height: 1.5;
}

a {
    color: #58a6ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f0f6fc;
}

.nav a {
    color: #f0f6fc;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-user-menu {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.avatar-dropdown {
    position: relative;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #30363d;
    color: #f0f6fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    padding: 0;
}

.nav-avatar:hover {
    background: #484f58;
}

.avatar-dropdown-content {
    display: none;
    position: fixed;
    right: 1rem;
    top: 3.25rem;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    min-width: 150px;
    z-index: 100;
}

.avatar-dropdown:hover .avatar-dropdown-content {
    display: block;
}

.dropdown-username {
    display: block;
    padding: 0.5rem 1rem;
    color: #8b949e;
    font-size: 0.75rem;
    border-bottom: 1px solid #30363d;
    margin-bottom: 0.25rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: #c9d1d9;
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.dropdown-item:hover {
    background: #21262d;
    color: #f0f6fc;
    text-decoration: none;
}

.nav-user {
    color: #8b949e;
    font-size: 0.875rem;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: #238636;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-primary:hover {
    background: #2ea043;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #f0f6fc;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #30363d;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #21262d;
    text-decoration: none;
}

/* Badges */
.badge {
    background: #30363d;
    color: #8b949e;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* Repo Header */
.repo-header {
    margin-bottom: 1.5rem;
}

.repo-header h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 400;
}

.repo-header h1 strong {
    font-weight: 600;
}

.repo-header .description {
    color: #8b949e;
    margin: 0.5rem 0 0 0;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #30363d;
    margin-bottom: 1rem;
}

.tab {
    background: none;
    border: none;
    color: #8b949e;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-decoration: none;
    display: inline-block;
}

.tab:hover {
    color: #f0f6fc;
    text-decoration: none;
}

.tab.active {
    color: #f0f6fc;
    border-bottom-color: #f78166;
}

/* File List */
.file-list {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
}

.file-list td {
    padding: 0.5rem 1rem;
    border-top: 1px solid #30363d;
}

.file-list tr:first-child td {
    border-top: none;
}

.file-list .icon {
    width: 2rem;
    font-size: 1rem;
}

.file-list .name {
    width: auto;
}

.file-list .size {
    width: 6rem;
    text-align: right;
    color: #8b949e;
    font-size: 0.875rem;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
    color: #8b949e;
}

.file-size {
    color: #8b949e;
    margin-left: 0.5rem;
}

/* File Content */
.file-content {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.file-content.syntax-pending {
    opacity: 0.45;
    transition: opacity 140ms ease;
}

.file-content.syntax-ready {
    opacity: 1;
    transition: opacity 180ms ease;
}

.file-content code[class*="language-"],
.file-content pre[class*="language-"] {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.auth-card {
    max-width: 420px;
    margin: 3rem auto;
    padding: 1.5rem;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
}

.auth-copy {
    color: #8b949e;
    margin: 0.5rem 0 1.5rem 0;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-error {
    color: #f85149;
    margin-bottom: 1rem;
}

.success-message {
    color: #3fb950;
    margin-bottom: 1rem;
}

.settings-container {
    max-width: 640px;
}

.settings-container h1 {
    margin-bottom: 1.5rem;
}

.settings-container h2 {
    font-size: 1.125rem;
    margin: 0 0 0.5rem 0;
}

.settings-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.5rem;
}

.settings-card h2 {
    margin: 0 0 0.5rem 0;
}

.auth-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.form-help {
    color: #8b949e;
    font-size: 0.875rem;
    margin: 0.5rem 0 0 0;
}

.readme-card {
    margin-top: 1.5rem;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.readme-header {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #30363d;
    background: #161b22;
}

.readme-header h3 {
    margin: 0;
    font-size: 0.95rem;
}

.markdown-body {
    padding: 1.25rem;
    background: #0d1117;
}

.markdown-body > :first-child {
    margin-top: 0;
}

.markdown-body > :last-child {
    margin-bottom: 0;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #f0f6fc;
}

.markdown-body p,
.markdown-body ul,
.markdown-body ol,
.markdown-body blockquote {
    margin: 0 0 1rem 0;
}

.markdown-body code {
    background: #161b22;
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.875em;
}

.markdown-body pre {
    background: #0b0f14;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
}

.markdown-body pre code {
    background: transparent;
    padding: 0;
}

.markdown-body blockquote {
    border-left: 3px solid #30363d;
    padding-left: 1rem;
    color: #8b949e;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.markdown-body th,
.markdown-body td {
    border: 1px solid #30363d;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

/* Commit List */
.commit {
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.commit-message a {
    font-weight: 500;
    color: #c9d1d9;
}

.commit-message a:hover {
    color: #58a6ff;
}

.commit-meta {
    color: #8b949e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.commit-meta code {
    background: #30363d;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Commit Detail */
.commit-detail {
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.commit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.commit-header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
}

.commit-header .sha {
    background: #30363d;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.commit-body {
    margin: 0.5rem 0;
    color: #8b949e;
    font-size: 0.875rem;
    white-space: pre-wrap;
}

.commit-meta {
    color: #8b949e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Change List */
.change-list {
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
}

.change {
    padding: 0.5rem 1rem;
    border-top: 1px solid #30363d;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.change:first-child {
    border-top: none;
}

.change-type {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.change-type.added {
    background: #238636;
    color: #fff;
}

.change-type.modified {
    background: #9e6a03;
    color: #fff;
}

.change-type.deleted {
    background: #da3633;
    color: #fff;
}

.change-type.renamed {
    background: #30363d;
    color: #8b949e;
}

/* Diff display */
.diff-file {
    border: 1px solid #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.diff-header {
    background: #161b22;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #30363d;
}

.diff-header .change-type {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.diff-header a {
    color: #58a6ff;
    flex: 1;
}

.diff-stats {
    font-size: 0.75rem;
    font-family: 'SF Mono', Monaco, monospace;
}

.diff-stats .additions {
    color: #3fb950;
}

.diff-stats .deletions {
    color: #f85149;
}

.diff-content {
    background: #0d1117;
    overflow-x: auto;
    margin: 0;
    padding: 0.75rem 1rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    line-height: 1.5;
    white-space: pre;
    color: #c9d1d9;
    -webkit-user-select: text;
    user-select: text;
}

/* Diff line coloring - escape HTML entities in razor, then style by prefix */
.diff-line-add {
    color: #3fb950;
    background: rgba(46, 160, 67, 0.15);
    display: block;
}

.diff-line-del {
    color: #f85149;
    background: rgba(248, 81, 73, 0.1);
    display: block;
}

.diff-line-header {
    color: #8b949e;
    background: rgba(139, 148, 158, 0.1);
    display: block;
}

/* Branch List */
.branch {
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-meta {
    margin-left: auto;
    color: #8b949e;
    font-size: 0.875rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    color: #8b949e;
    padding: 2rem;
}

.empty-state code {
    display: block;
    margin-top: 1rem;
    background: #161b22;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

/* Forms */
input[type="text"], textarea {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: #c9d1d9;
    font-size: 0.875rem;
    width: 100%;
}

input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: #58a6ff;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

/* Card */
.card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1.5rem;
}

/* Error UI */
#blazor-error-ui {
    background: #da3633;
    color: #fff;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Clone Box */
.clone-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.clone-box h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: #8b949e;
}

.clone-box code,
.clone-box pre {
    background: #0d1117;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.875rem;
    display: block;
    overflow-x: auto;
}

.clone-box pre {
    margin: 0;
    white-space: pre-wrap;
}

/* Clone URL (compact inline) */
.clone-url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
}

.clone-label {
    color: #8b949e;
    flex-shrink: 0;
}

.clone-command {
    background: transparent;
    font-family: 'SF Mono', Monaco, monospace;
    color: #58a6ff;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clone-copy {
    background: transparent;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #8b949e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clone-copy:hover {
    background: #21262d;
    color: #f0f6fc;
}

.copy-feedback {
    color: #3fb950;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

/* Last Commit (above file list) */
.last-commit {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.last-commit .commit-message {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.last-commit .commit-message a {
    color: #c9d1d9;
    font-weight: 500;
}

.last-commit .commit-message a:hover {
    color: #58a6ff;
}

.last-commit .commit-meta {
    margin: 0;
    flex-shrink: 0;
}

/* File Search */
.file-search-container {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

.file-search-input {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.5rem 2rem 0.5rem 1rem;
    color: #c9d1d9;
    font-size: 0.875rem;
    width: 100%;
}

.file-search-input:focus {
    outline: none;
    border-color: #58a6ff;
}

.file-search-input::placeholder {
    color: #8b949e;
}

.file-search-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #8b949e;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.875rem;
    line-height: 1;
}

.file-search-clear:hover {
    color: #f0f6fc;
}

/* Search highlight */
mark {
    background: rgba(210, 153, 34, 0.4);
    color: inherit;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

/* File Actions */
.file-actions {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.file-actions .btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-outline-secondary {
    background: transparent;
    color: #8b949e;
    border: 1px solid #30363d;
}

.btn-outline-secondary:hover {
    background: #21262d;
    color: #f0f6fc;
}

.btn-outline-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Blame View */
.blame-view {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.8125rem;
}

.blame-group {
    display: flex;
    border-bottom: 1px solid #21262d;
}

.blame-group:last-child {
    border-bottom: none;
}

.blame-info {
    background: #0d1117;
    padding: 0.5rem 0.75rem;
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    border-right: 1px solid #30363d;
    border-left: 3px solid #30363d;
    overflow: hidden;
    align-items: flex-start;
}

/* Age-based coloring */
.blame-age-new {
    border-left-color: #3fb950;  /* green - < 1 week */
}

.blame-age-recent {
    border-left-color: #d29922;  /* yellow - < 1 month */
}

.blame-age-medium {
    border-left-color: #db6d28;  /* orange - < 3 months */
}

.blame-age-old {
    border-left-color: #58a6ff;  /* blue - < 1 year */
}

.blame-age-ancient {
    border-left-color: #484f58;  /* gray - > 1 year */
}

/* Blame Legend */
.blame-legend {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.6875rem;
    color: #8b949e;
}

.blame-legend-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blame-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.blame-legend-item.blame-age-new .blame-legend-dot {
    background: #3fb950;
}

.blame-legend-item.blame-age-recent .blame-legend-dot {
    background: #d29922;
}

.blame-legend-item.blame-age-medium .blame-legend-dot {
    background: #db6d28;
}

.blame-legend-item.blame-age-old .blame-legend-dot {
    background: #58a6ff;
}

.blame-legend-item.blame-age-ancient .blame-legend-dot {
    background: #484f58;
}

.blame-sha {
    color: #58a6ff;
    font-size: 0.75rem;
    font-weight: 500;
}

.blame-sha:hover {
    text-decoration: underline;
}

.blame-author {
    color: #c9d1d9;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.blame-message {
    color: #8b949e;
    font-size: 0.6875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-style: italic;
}

.blame-date {
    color: #6e7681;
    font-size: 0.625rem;
}

.blame-lines {
    flex: 1;
    overflow: hidden;
}

.blame-line {
    display: flex;
    padding: 0 0.75rem;
    min-height: 1.5rem;
    align-items: center;
}

.blame-line:hover {
    background: rgba(56, 139, 253, 0.1);
}

.blame-line .line-number {
    color: #484f58;
    min-width: 2.5rem;
    text-align: right;
    margin-right: 1rem;
    flex-shrink: 0;
}

.blame-line code {
    background: transparent;
    padding: 0;
    color: #c9d1d9;
    white-space: pre;
    overflow-x: auto;
    flex: 1;
}

/* Spinner */
.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border: 0.125em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Passkey styles */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #484f58;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #30363d;
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

.btn-passkey {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-passkey:hover:not(:disabled) {
    background: #30363d;
    border-color: #8b949e;
}

.btn-passkey:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.settings-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-card h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: #f0f6fc;
}

.passkey-list {
    margin: 1rem 0;
}

.passkey-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.passkey-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.passkey-name {
    font-weight: 500;
    color: #f0f6fc;
}

.passkey-date {
    font-size: 0.75rem;
    color: #8b949e;
}

.btn-danger-small {
    padding: 0.25rem 0.75rem;
    background: transparent;
    border: 1px solid #f85149;
    border-radius: 6px;
    color: #f85149;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-danger-small:hover {
    background: rgba(248, 81, 73, 0.15);
}

.btn-secondary {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-secondary:hover {
    background: #21262d;
}

.button-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.passkey-register-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #30363d;
}

.auth-warning {
    padding: 0.75rem;
    background: rgba(210, 153, 34, 0.15);
    border: 1px solid #d29922;
    border-radius: 6px;
    color: #d29922;
    font-size: 0.875rem;
}
.passkey-hint { font-size: 0.75rem; color: #8b949e; margin-top: 0.5rem; text-align: center; }
An unhandled error has occurred. Reload 🗙