.mm-wrap { max-width: 1100px; margin: 20px auto; padding: 0 16px; }

.day-block {
    background: #ddf9d7;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}
.day-header { font-weight: bold; font-size: 15px; margin-bottom: 6px; }
.day-header { display: flex; align-items: center; justify-content: space-between; }
.day-toggle {
    border: none; background: rgba(0,0,0,0.1);
    width: 26px; height: 26px; border-radius: 4px;
    font-size: 16px; font-weight: bold; cursor: pointer;
    line-height: 1;
}
.day-toggle:hover { background: rgba(0,0,0,0.18); }

/* When a day is collapsed, hide its meetings */
.day-block.collapsed .meeting-block { display: none; }

.meeting-block {
    background: #ffebc3;
    border-radius: 5px;
    padding: 8px;
    margin: 4px 0 4px 12px;
}
.meeting-header { display: flex; gap: 8px; font-weight: bold; }
.meeting-host { margin: 2px 0 4px; font-size: 14px; }

.notes-block {
    background: #fff;
    border-radius: 4px;
    padding: 8px;
    margin-top: 2px;
}
.note { margin: 2px 0; }
.note-text { padding: 1px 0; }
.note-children { margin-left: 36px; }

.mm-toolbar {
    max-width: 1100px;
    margin: 12px auto 0;
    padding: 0 16px;
    display: flex;
    gap: 8px;
}
.mm-toolbar button {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
}
.mm-toolbar button:hover { background: #f0f0f0; }

.day-buttons { display: flex; gap: 6px; align-items: center; }
.add-meeting-btn {
    border: 1px solid rgba(0,0,0,0.2); background: #fff;
    border-radius: 4px; padding: 3px 8px; cursor: pointer; font-size: 13px;
}
.add-meeting-btn:hover { background: #f0f0f0; }

.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    z-index: 100;
}
.modal {
    background: #fff; border-radius: 8px; padding: 20px;
    width: 340px; max-width: 90%;
}
.modal h3 { margin-bottom: 12px; }
.modal label { display: block; font-size: 13px; margin: 8px 0 2px; }
.modal input[type=text] {
    width: 100%; padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px;
}
.modal-buttons { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.modal-buttons button {
    padding: 6px 14px; border: 1px solid #ccc; background: #fff;
    border-radius: 5px; cursor: pointer;
}
.modal-buttons button:hover { background: #f0f0f0; }

.edit-meeting-btn {
    border: 1px solid rgba(0,0,0,0.2); background: #fff;
    border-radius: 4px; padding: 2px 8px; cursor: pointer;
    font-size: 12px; margin-left: auto;
}
.edit-meeting-btn:hover { background: #f0f0f0; }

.delete-meeting-btn {
    border: 1px solid rgba(0,0,0,0.2); background: #fff;
    border-radius: 4px; padding: 2px 8px; cursor: pointer;
    font-size: 12px; margin-left: 6px; color: #a00;
}
.delete-meeting-btn:hover { background: #ffecec; }

.note-text {
    padding: 2px 4px;
    border-radius: 3px;
    outline: none;
    min-height: 1.2em;
}
.note-text:focus {
    background: #f5f8ff;
    box-shadow: inset 0 0 0 1px #cdd8ee;
}

.add-note-btn {
    border: 1px solid rgba(0,0,0,0.2); background: #fff;
    border-radius: 4px; padding: 2px 8px; cursor: pointer;
    font-size: 12px; margin-left: 6px;
}
.add-note-btn:hover { background: #f0f0f0; }
