* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* ── Navigation ─────────────────────────────────────── */
.nav {
    background: #232f3e;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    color: #ff9900;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: auto;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.15s;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #ff9900;
}

/* ── Main content ────────────────────────────────────── */
main {
    padding: 2rem;
    max-width: 800px;
}

h1 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ── List ────────────────────────────────────────────── */
.list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.item-id {
    color: #aaa;
    font-size: 0.8rem;
    min-width: 1.5rem;
    text-align: right;
}

.item-detail {
    color: #666;
    font-size: 0.9rem;
    margin-left: auto;
}

/* ── HTMX loading indicator ──────────────────────────── */
.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease-in;
}
.htmx-request .htmx-indicator { opacity: 1; }
.htmx-request.htmx-indicator { opacity: 1; }
