:root{
    --bg:#ffffff;
    --muted:#6b7280;
    --accent:#4f46e5;
    --danger:#dc2626;
    --border:#e6e9ef
}

body{
    font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;
    background:var(--bg);
    color:#0f172a;
    margin:0;
    padding:18px
}

.embed{
    max-width:920px;
    margin:0 auto;
    border:1px solid var(--border);
    border-radius:10px;
    overflow:hidden;
    display:flex;
    box-shadow:0 6px 20px rgba(2,6,23,.06)
}

.calendar-pane{
    width:240px;
    border-right:1px solid var(--border);
    background:#fafafa;
    padding:16px
}

.calendar-pane h2{
    font-size:14px;
    margin:0 0 12px
}

.date-list{
    list-style:none;
    padding:0;
    margin:0;
    max-height:420px;
    overflow:auto
}

.date-list li{
    padding:10px;
    border-radius:8px;
    margin-bottom:6px;
    cursor:pointer
}

.date-list li:hover{
    background:#fff
}

.date-list li.active{
    background:linear-gradient(90deg, rgba(79,70,229,.08), rgba(99,102,241,.04));
    border:1px solid rgba(79,70,229,.1)
}

.content-pane{
    flex:1;
    padding:18px
}

.toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px
}

.slot-grid{
    display:flex;
    flex-wrap:wrap;
    gap:10px
}

.slot{
    padding:10px 12px;
    border-radius:8px;
    border:1px solid var(--border);
    cursor:pointer;
    background:#fff
}

.slot:hover{
    box-shadow:0 2px 8px rgba(15,23,42,.06)
}

.slot.disabled{
    opacity:.45;
    cursor:not-allowed;
    background:#f8fafc
}

.slot.selected{
    border-color:var(--accent);
    box-shadow:0 2px 12px rgba(79,70,229,.12)
}

.meta{
    color:var(--muted);
    font-size:13px
}

.cta{
    margin-top:16px;
    display:flex;
    gap:8px
}

.btn{
    padding:10px 14px;
    border-radius:8px;
    border:0;
    background:var(--accent);
    color:white;
    cursor:pointer
}

.btn.ghost{
    background:transparent;
    color:var(--accent);
    border:1px solid rgba(79,70,229,.12)
}

.note{
    font-size:13px;
    color:var(--muted);
    margin-top:8px
}

@media(max-width:720px){
    .embed{
        flex-direction:column
    }
    .calendar-pane{
        width:100%;
        border-right:0;
        border-bottom:1px solid var(--border)
    }
}