:root { color-scheme: dark; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.nav-link {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: #cbd5e1;
    padding: .65rem .9rem;
    border-radius: 1rem;
    font-size: .92rem;
    transition: .2s ease;
}
.nav-link:hover { background: rgba(255,255,255,.08); color: white; }
.nav-link.active { background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(168,85,247,.3)); color: white; border-color: rgba(255,255,255,.16); }
.glass-card {
    border: 1px solid rgba(255,255,255,.09);
    background: linear-gradient(180deg, rgba(15,23,42,.88), rgba(2,6,23,.88));
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.label {
    font-size: .82rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: .45rem;
    display: block;
}
.input, .select, .textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(15,23,42,.95);
    color: white;
    border-radius: 1rem;
    padding: .85rem 1rem;
    outline: none;
}
.input:focus, .select:focus, .textarea:focus {
    border-color: rgba(96,165,250,.7);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 1rem;
    padding: .85rem 1.1rem;
    font-weight: 600;
    transition: .2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary {
    background: rgba(255,255,255,.05);
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,.1);
}
.btn-danger {
    background: rgba(220,38,38,.14);
    color: #fecaca;
    border: 1px solid rgba(239,68,68,.25);
}
.output-box {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(2,6,23,.7);
    border-radius: 1.2rem;
    padding: 1rem;
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
