body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav-link {
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    color: rgb(203 213 225);
    transition: 150ms ease;
}

.nav-link:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: white;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgb(34 211 238), rgb(59 130 246));
    padding: 0.9rem 1.4rem;
    font-weight: 600;
    color: rgb(2 6 23);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 35px rgba(56, 189, 248, 0.18);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(251, 113, 133, 0.35);
    background: rgba(244, 63, 94, 0.12);
    padding: 0.9rem 1.4rem;
    font-weight: 600;
    color: rgb(254 205 211);
    transition: transform 150ms ease, border-color 150ms ease;
}

.btn-danger:hover {
    transform: translateY(-1px);
    border-color: rgba(251, 113, 133, 0.65);
}

.input {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.75);
    padding: 0.9rem 1rem;
    color: white;
    outline: none;
}

.input:focus {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.project-card {
    transition: border-color 150ms ease, background 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.project-card:hover,
.project-card:focus-visible {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.project-card.is-selected {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.1);
}

.project-card.is-dragging {
    opacity: 0.45;
    transform: rotate(1deg);
}

.project-column.is-drag-over {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(8, 47, 73, 0.28);
}

.project-tray {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    pointer-events: none;
}

.project-tray-toggle {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    display: inline-flex;
    height: 2.75rem;
    width: 4rem;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(15, 23, 42, 0.95);
    color: rgb(165 243 252);
    font-size: 1.35rem;
    font-weight: 700;
    pointer-events: auto;
    transition: bottom 180ms ease, transform 180ms ease, background 150ms ease;
}

.project-tray[data-open="true"] .project-tray-toggle {
    bottom: min(26rem, calc(100vh - 5rem));
    transform: translateX(-50%) rotate(180deg);
}

.project-tray-panel {
    max-height: min(25rem, calc(100vh - 5rem));
    overflow-y: auto;
    pointer-events: auto;
    transform: translateY(100%);
    transition: transform 180ms ease;
}

.project-tray[data-open="true"] .project-tray-panel {
    transform: translateY(0);
}

.project-tool-tab {
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem 1rem;
    color: rgb(203 213 225);
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.project-tool-tab.is-active {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.12);
    color: white;
}

.project-tool-panel {
    display: none;
}

.project-tool-panel.is-active {
    display: block;
}
