:root{--bg: #f5f6f8;--card: #ffffff;--border: #e3e6ea;--text: #1f2430;--muted: #6b7280;--accent: #2563eb;--accent-hover: #1d4ed8;--error: #b91c1c;--ok-bg: #ecfdf5;--ok-text: #065f46;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}.page{max-width:640px;margin:0 auto;padding:2rem 1rem 4rem}.header h1{margin:0 0 .5rem;font-size:1.75rem}.nav{display:flex;gap:.5rem;border-bottom:1px solid var(--border);margin-bottom:1.25rem}.nav-link{padding:.5rem .25rem;margin-bottom:-1px;text-decoration:none;color:var(--muted);font-weight:600;border-bottom:2px solid transparent}.nav-link:hover{color:var(--text)}.nav-link.active{color:var(--accent);border-bottom-color:var(--accent)}.subtitle{margin:0 0 1.5rem;color:var(--muted)}.slot-carer{font-weight:600;padding:.35rem .7rem;border-radius:999px;white-space:nowrap}.filter-bar{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.25rem}.filter-chip{font:inherit;font-weight:600;padding:.35rem .7rem;border-radius:999px;border:1px solid var(--border);background:var(--card);color:var(--muted);cursor:pointer;opacity:.55}.filter-chip:hover{opacity:.85}.filter-chip.active{opacity:1;box-shadow:0 0 0 2px var(--text)}.status{color:var(--muted);padding:1rem 0}.status.error{color:var(--error)}.notice{background:var(--ok-bg);color:var(--ok-text);padding:.75rem 1rem;border-radius:8px;margin:0 0 1rem}.slot-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.slot-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1rem 1.25rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}.slot-when{display:flex;flex-direction:column;gap:.15rem}.slot-date{font-weight:600;text-transform:capitalize}.slot-time{color:var(--muted)}.slot-location,.slot-description{color:var(--muted);font-size:.9rem;margin:.15rem 0 0}.slot-form{display:flex;gap:.5rem}.slot-form input{padding:.5rem .7rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem;min-width:9rem}.slot-form button{padding:.5rem .9rem;border:none;border-radius:8px;background:var(--accent);color:#fff;font-weight:600;cursor:pointer;white-space:nowrap}.slot-form button:hover:not(:disabled){background:var(--accent-hover)}.slot-form button:disabled{opacity:.55;cursor:not-allowed}.bulk-bar{display:flex;justify-content:flex-end;margin-bottom:.75rem}.slot-aside{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.ics-button{padding:.4rem .7rem;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--accent);font-size:.85rem;font-weight:600;cursor:pointer;white-space:nowrap}.ics-button:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.unbook-button{padding:.4rem .7rem;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--error);font-size:.85rem;font-weight:600;cursor:pointer;white-space:nowrap}.unbook-button:hover:not(:disabled){background:var(--error);color:#fff;border-color:var(--error)}.unbook-button:disabled{opacity:.6;cursor:default}.slot-error{color:var(--error);font-size:.9rem;width:100%;margin:0}.status.error button{margin-top:.5rem;padding:.4rem .8rem;border:1px solid var(--border);border-radius:8px;background:var(--card);cursor:pointer}@media(max-width:540px){.slot-card{flex-direction:column;align-items:stretch;gap:.75rem}.slot-aside{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.slot-carer{flex-basis:100%}.ics-button,.unbook-button{flex:1;text-align:center}}
