/* Verfügbarkeitskalender zum Einbetten: gleicher Look wie die Kalenderansicht der Loft Inbox */
:root{--surface:#fff;--sunk:#eceef4;--line:#e2e4ec;--ink:#151826;--mute:#7c8196;--soft:#4a4f63;--primary:#2b4fe0;--primary-soft:#e8edff;--red:#e5484d;--red-soft:#fdecec;--green:#1f9d5c;--font:"Inter","Geist",system-ui,-apple-system,sans-serif}
*{box-sizing:border-box;margin:0}
html,body{background:transparent}
body{font:14px/1.45 var(--font);color:var(--ink);-webkit-font-smoothing:antialiased}
#cal{max-width:460px;margin:0 auto;padding:4px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px 12px 12px}
.head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 12px}
.title{font-weight:700;font-size:16px;letter-spacing:-.01em}
.title small{font-weight:500;color:var(--mute);margin-left:6px;font-size:14px}
.navs{display:flex;gap:6px}
.nav{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:16px;cursor:pointer}
.nav:hover{background:var(--sunk)}
.nav:disabled{color:#c6c9d4;cursor:default;background:var(--surface)}
.grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.wd span{font-size:11px;color:var(--mute);text-align:center;padding:2px 0 4px;font-weight:600;letter-spacing:.04em}
.c{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 2px 6px;border-radius:10px;border:0;background:transparent;font:inherit;color:var(--ink);cursor:pointer;min-width:0}
.c .n{font-size:13px;font-weight:500;width:28px;height:28px;display:grid;place-items:center;border-radius:50%}
.c .dot{width:7px;height:7px;border-radius:50%}
.c.part .dot{box-shadow:inset 0 0 0 1.6px var(--red)}
.c.full .dot{background:var(--red)}
.c.full .n{color:var(--red)}
.c.out{visibility:hidden}
.c.past{cursor:default}.c.past .n{color:#b9bccb}
.c.today .n{background:var(--primary);color:#fff}
.c:not(.past):not(.out):hover{background:var(--sunk)}
.c.sel{background:var(--primary-soft)}
.info{margin-top:10px;background:var(--sunk);border-radius:14px;padding:12px 14px;min-height:66px;display:flex;flex-direction:column;justify-content:center;gap:2px;font-size:13.5px}
.info b{font-weight:600}
.info .busy{color:var(--red);font-weight:500}
.info .free{color:var(--green);font-weight:500}
.info small,.info .hint{color:var(--mute);font-size:12.5px}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;color:var(--mute);margin:10px 4px 2px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.lg{width:8px;height:8px;border-radius:50%}
.lg.part{box-shadow:inset 0 0 0 1.6px var(--red)}
.lg.full{background:var(--red)}
.lg.free{box-shadow:inset 0 0 0 1.6px var(--line)}
@media (max-width:380px){.card{padding:10px 8px}.grid{gap:2px}.c .n{width:26px;height:26px;font-size:12.5px}}
