/* Koray SEO Pipeline - Aligned with marketing site (amber/dark) */
/* Design tokens live in /static/theme.css — loaded first so every rule below
   inherits the marketing palette. Keep all colour decisions in theme.css. */
@import url('/static/theme.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Legacy :root kept only for tokens NOT moved to theme.css (sizing fallbacks).
   All colour variables now resolve from theme.css. */
:root {
    /* Sizing fallbacks — overridden by theme.css where defined */
    --sidebar-width: 280px;
    --navbar-height: 64px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-app);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 90;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.sidebar.open {
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .sidebar {
        transform: translateX(0);
    }
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-header span {
    font-size: 12px;
    color: var(--text-muted);
}

.sidebar-search {
    padding: 12px 16px;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-app);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.sidebar-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.sidebar-search input::placeholder {
    color: var(--text-muted);
}

.project-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.project-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.project-item:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.project-item.active {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-left-color: var(--primary);
}

.project-item .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.project-item .status-dot.pending { background: var(--text-muted); }
.project-item .status-dot.live { background: var(--success); }
.project-item .status-dot.executing { background: var(--warning); }
.project-item .status-dot.error { background: var(--error); }

.project-item .project-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
}

.new-project-btn {
    width: 100%;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.new-project-btn:hover {
    background: var(--primary-hover);
}

.new-project-btn span {
    font-size: 18px;
    font-weight: 400;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    font-size: 24px;
}

.nav-brand .brand-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.nav-link.active {
    color: var(--primary);
    background: var(--success-light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-top: var(--navbar-height);
    margin-left: calc(var(--sidebar-width) + 16px);
    padding: 24px;
    min-height: calc(100vh - var(--navbar-height));
    transition: margin-left 0.25s ease;
    z-index: 1;
}

@media (max-width: 1023px) {
    .main-content {
        margin-left: 16px;
    }
}

/* Project Context - ensure clickable */
#projectContext {
    padding-left: 16px;
}

/* Page Header */
.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.page-header .subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section Headers */
.pipeline-status h2,
.quick-actions h2,
.recent-projects h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Stages Grid */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stage-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.stage-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.stage-card.active {
    border-color: var(--primary);
    background: var(--success-light);
}

.stage-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.stage-name {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stage-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background: var(--bg-elevated);
    color: var(--text-muted);
}

.stage-status.complete {
    background: var(--success-light);
    color: var(--success);
}

.stage-status.pending {
    background: var(--warning-light);
    color: var(--warning);
}

.stage-status.error {
    background: var(--error-light);
    color: var(--error);
}

/* Quick Actions */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Cards */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.no-project {
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

/* Buttons */
.btn {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-danger {
    background: var(--error);
    color: #fff;
    border: 1px solid transparent;
}
.btn-danger:hover { background: #b32209; }

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

/* Form Elements */
.form-input,
.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-app);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary);
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group {
    margin-bottom: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

/* Theme specific overrides — palette tokens live in theme.css. */
[data-theme="light"] .navbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] .sidebar {
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
}

/* ============================================
   GLOBAL DASHBOARD (Landing Page)
   ============================================ */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Projects Table */
.projects-table-container {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
}

.projects-table th,
.projects-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.projects-table th {
    background: var(--bg-elevated);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projects-table td {
    font-size: 14px;
    color: var(--text-primary);
}

.projects-table tr:last-child td {
    border-bottom: none;
}

.projects-table tr:hover td {
    background: var(--bg-elevated);
}

/* ============================================
   PROJECT VIEW (When project selected)
   ============================================ */

.project-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-breadcrumb a {
    color: var(--text-link);
    cursor: pointer;
    text-decoration: none;
}

.project-breadcrumb a:hover {
    text-decoration: underline;
}

/* Pipeline Nav */
.pipeline-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    padding-bottom: 0;
    overflow-x: auto;
}

.pipeline-nav-item {
    padding: 10px 16px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    color: var(--text-muted);
    transition: all 0.2s;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
}

.pipeline-nav-item:hover {
    color: var(--text-primary);
}

.pipeline-nav-item.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal-overlay.visible {
    display: flex;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 500px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Alert styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px;
}
.alert-error {
    background: var(--error-light);
    border: 1px solid var(--error);
    color: var(--error);
}
.alert-success {
    background: var(--success-light);
    border: 1px solid var(--success);
    color: var(--success);
}
.alert-warning {
    background: var(--warning-light);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline-nav {
        gap: 2px;
    }

    .pipeline-nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }
}
/* ───────────────────────────────────────────────────────── */
/* UI/UX POLISH — added for v2 visual refresh                */
/* ───────────────────────────────────────────────────────── */

/* Card: subtle elevation + hover lift */
.card {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    box-shadow: var(--shadow-sm);
}
.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

/* Section h3 inside card → consistent treatment */
.card > h3,
.card > h4 {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.card > h3 + p,
.card > h4 + p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

/* Stage-card tiles get a bit of warmth */
.stage-card {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.stage-card:hover {
    transform: translateY(-1px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}
.stage-card .stage-name {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}
.stage-card .stage-status {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Tables: zebra + hover */
.table tbody tr {
    transition: background 0.12s ease;
}
.table tbody tr:hover {
    background: var(--bg-elevated);
}
.table th {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
}
.table td {
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
    font-size: 13px;
}

/* Inline code chips */
code {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 11.5px;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.btn:active:not(:disabled) {
    transform: translateY(0);
}
.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Form inputs / selects: consistent dark style */
.form-control, .form-input, .form-select, input[type="date"], input[type="number"] {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus, .form-input:focus, .form-select:focus,
input[type="date"]:focus, input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Empty state look */
.no-project,
[id$="Empty"] {
    color: var(--text-muted);
    font-size: 13px;
}

/* vis-network dark tooltip */
div.vis-tooltip {
    background: #0d1117 !important;
    color: #e3e3e3 !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    padding: 8px 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    box-shadow: var(--shadow-md) !important;
    white-space: pre-line !important;
    max-width: 280px;
}

/* Spinner (loading buttons) */
.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 6px;
    vertical-align: -2px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert variants: align with theme */
.alert {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    border-left: 3px solid transparent;
}
.alert-warning {
    background: var(--warning-light);
    color: var(--warning);
    border-left-color: var(--warning);
}
.alert-error {
    background: var(--error-light);
    color: var(--error);
    border-left-color: var(--error);
}
.alert-info {
    background: var(--info-light);
    color: var(--text-link);
    border-left-color: var(--info);
}
.alert-success {
    background: var(--success-light);
    color: var(--success);
    border-left-color: var(--success);
}

/* Subtle scrollbar (Webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-app); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* Google Sign-in style button */
.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-family: 'Roboto', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn-google:hover:not(:disabled) {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.16);
    border-color: #c4c7c5;
}
.btn-google:active:not(:disabled) { background: #f1f3f4; }
.btn-google:disabled { opacity: 0.6; cursor: not-allowed; }

/* ==========================================================================
   MARKETING-SITE ALIGNMENT LAYER
   Pulls the tool's nav, sidebar, buttons and tabs visually in line with
   /marketing/index.html. Tokens come from theme.css; no hardcoded colours.
   ========================================================================== */

/* Nav: glassy translucent bar matching marketing site */
.navbar {
    background: rgba(15, 17, 18, 0.85);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--border);
}

/* Brand mark: amber gradient tile + tighter type, like marketing .logo-mark */
.nav-brand .logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pressed) 100%);
    color: var(--text-inverse);
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -4px var(--accent-glow);
    text-align: center;
    line-height: 1;
}
.nav-brand .brand-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Pipeline nav tabs: amber underline on active, marketing weights */
.nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 10px 14px;
    background: transparent;
}
.nav-link:hover { color: var(--text-primary); background: transparent; }
.nav-link.active {
    color: var(--text-primary);
    background: transparent;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -10px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
}

/* Sidebar: same surface as marketing cards; soft right border */
.sidebar {
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
}

/* New project CTA = marketing primary button */
.new-project-btn {
    background: var(--accent);
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: 0 6px 16px -6px var(--accent-glow);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.new-project-btn:hover {
    background: var(--accent-hover);
    color: var(--text-inverse);
    transform: translateY(-1px);
}

/* Primary buttons: amber glow like marketing CTA */
.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: transparent;
    box-shadow: 0 6px 16px -6px var(--accent-glow);
}
.btn-primary:hover:not(:disabled) {
    background: var(--accent-hover);
    color: var(--text-inverse);
}

/* Secondary buttons: ghost-style w/ amber border on hover */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn-secondary:hover:not(:disabled) {
    background: var(--bg-elevated);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Danger button: align with theme tokens */
.btn-danger {
    background: var(--error);
    color: #fff;
    border-color: transparent;
    border-radius: var(--radius-md);
}
.btn-danger:hover:not(:disabled) {
    background: var(--error);
    filter: brightness(0.92);
}

/* Stat cards (Total/Live/Progress/Error): marketing card hover lift */
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.stat-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.stat-card .stat-number { color: var(--accent); }

/* Status badges: marketing pill radius/size */
.status-badge {
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.04em;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 10px;
}

/* Sidebar project items: amber accent on active */
.project-item.active {
    border-left-color: var(--accent);
}
.project-item:hover { background: var(--bg-elevated); }

/* Sidebar search input: marketing input style */
.sidebar-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Active text-link colour from --primary should look amber too */
a { transition: color 0.15s ease; }
