.sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.profile-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel-soft);
}

.profile-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(180, 83, 9, 0.15);
    border-radius: 14px;
    background: white;
}

.profile-help {
    margin: 0.55rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.side-menu-tab {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(254, 215, 170, 0.45);
}

.side-tab-btn {
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
}

.side-tab-btn.active {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.list-panel {
    display: none;
    min-height: 0;
    flex: 1 1 auto;
    padding: 0.35rem;
    border-radius: var(--radius-lg);
    background: var(--panel-soft);
}

.list-panel.active {
    display: flex;
    flex-direction: column;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem;
}

.list-header h2 {
    margin: 0;
    font-size: 1rem;
}

.list-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow: auto;
    padding: 0.55rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem;
    border: 1px solid transparent;
    border-radius: 18px;
    background: white;
}

.item-main {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.7rem;
    border: none;
    border-radius: 14px;
    background: transparent;
    text-align: left;
}

.item-main.active {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.16), rgba(251, 191, 36, 0.12));
}

.item-badge {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b, var(--accent-2));
}

.item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.2rem;
}

.item-title {
    display: block;
    font-size: 1rem;
}

.item-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
    font-size: 0.9rem;
}
