:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f5f6f8;--surface:#fff;--surface-2:#eef0f4;--text:#1c2230;--muted:#5d6677;--border:#d9dde5;--accent:#2f5fd0;--accent-text:#fff;--accent-soft:#e4ebfb;--danger:#c0352b;--ok:#1d7f4e;--warn:#9a6400;--radius:10px;--nav-h:56px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#12151c;--surface:#1b1f29;--surface-2:#262b37;--text:#e8ebf1;--muted:#a0a8b8;--border:#343a48;--accent:#7c9ff0;--accent-text:#0e1420;--accent-soft:#26324f;--danger:#f0776c;--ok:#5bc48e;--warn:#e0b050}}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1{margin:0;font-size:1.5rem;line-height:1.25}h2{margin:0 0 12px;font-size:1.1rem}h3{margin:0;font-size:1rem}p{margin:0}a{color:var(--accent)}.muted{color:var(--muted)}.small{font-size:.875rem}.error{color:var(--danger);font-size:.9rem}.success{color:var(--ok);font-size:.9rem}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}label.field{flex-direction:column;gap:4px;min-width:0;font-size:.875rem;font-weight:500;display:flex}label.check{cursor:pointer;align-items:center;gap:8px;min-height:32px;display:flex}label.check input{width:18px;height:18px;accent-color:var(--accent);flex:none}input:not([type=checkbox],[type=color],[type=radio]),select,textarea{border:1px solid var(--border);background:var(--surface);width:100%;min-height:42px;color:var(--text);border-radius:8px;padding:8px 10px;font:400 16px/1.4 inherit}textarea{resize:vertical;min-height:80px}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:1px}input[type=color]{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:42px;height:42px;padding:2px}.btn{border:1px solid var(--border);background:var(--surface);min-height:42px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-weight:500;text-decoration:none;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:disabled{opacity:.55;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn.primary:hover{filter:brightness(1.08)}.btn.danger{color:var(--danger);border-color:var(--danger)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--surface-2)}.btn.icon{min-width:42px;padding:8px}.stack{flex-direction:column;gap:14px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.row.between{justify-content:space-between}.grid-2{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px}.badge{background:var(--surface-2);color:var(--muted);border-radius:99px;padding:1px 8px;font-size:.78rem;font-weight:600;display:inline-block}.badge.ok{color:var(--ok)}.badge.warn{color:var(--warn)}.badge.bad{color:var(--danger)}.swatch{border-radius:4px;flex:none;width:14px;height:14px}.count{background:var(--danger);color:#fff;text-align:center;border-radius:99px;min-width:19px;padding:0 5px;font-size:.72rem;font-weight:700;line-height:19px}.shell{flex-direction:column;height:100dvh;display:flex}.topbar{height:var(--nav-h);background:var(--surface);border-bottom:1px solid var(--border);flex:none;align-items:center;gap:18px;padding:0 16px;display:flex}.brand{color:var(--text);align-items:center;gap:8px;font-weight:700;text-decoration:none;display:flex}.brand img{width:26px;height:26px}.nav{flex:1;gap:4px;display:flex}.nav a{color:var(--muted);border-radius:8px;align-items:center;gap:7px;padding:7px 11px;font-weight:500;text-decoration:none;display:flex}.nav a:hover{background:var(--surface-2)}.nav a.active{background:var(--accent-soft);color:var(--accent)}.main{flex:1;min-height:0;overflow:auto}.page{flex-direction:column;gap:18px;max-width:960px;margin:0 auto;padding:22px 16px 40px;display:flex}@media (max-width:767px){.nav{z-index:20;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);position:fixed;inset:auto 0 0}.nav a{flex-direction:column;flex:1 1 0;justify-content:center;gap:1px;min-width:0;padding:4px 2px;font-size:.72rem;position:relative}.nav a .count{position:absolute;top:2px;left:calc(50% + 6px)}.topbar{justify-content:space-between;height:48px}.main{padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}}.center{justify-content:center;align-items:center;min-height:100dvh;padding:16px;display:flex}.center>.card{width:100%;max-width:400px}.cal{height:100%;min-height:0;display:flex}.cal-side{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;flex:none;gap:14px;width:250px;padding:14px;display:flex;overflow:auto}.cal-main{flex-direction:column;flex:1;gap:10px;min-width:0;padding:10px 14px;display:flex}.cal-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cal-toolbar h1{flex:1;min-width:140px;font-size:1.15rem}.cap:first-letter,.cal-toolbar h1:first-letter{text-transform:uppercase}.cal-toolbar select{width:auto}.cal-body{flex:1;min-height:0}.cal-item{align-items:center;gap:6px;min-height:36px;display:flex}.cal-item label{cursor:pointer;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.cal-item input{flex:none;width:18px;height:18px}.cal-item .name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.side-toggle,.backdrop{display:none}@media (max-width:767px){.cal-side{z-index:30;width:min(290px,85vw);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.cal-side.open{transform:none;box-shadow:0 0 30px #00000059}.backdrop.open{z-index:25;background:#00000059;display:block;position:fixed;inset:0}.side-toggle{display:inline-flex}.cal-main{padding:8px}.cal-toolbar h1{flex-basis:100%;order:-1}.fab{right:16px;bottom:calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));z-index:15;border-radius:50%;width:54px;height:54px;position:fixed;box-shadow:0 4px 14px #0000004d}.fab span{display:none}}.fc{--fc-border-color:var(--border);--fc-page-bg-color:var(--surface);--fc-neutral-bg-color:var(--surface-2);--fc-list-event-hover-bg-color:var(--surface-2);--fc-today-bg-color:var(--accent-soft);--fc-now-indicator-color:var(--danger);background:var(--surface);font-size:.875rem}.fc a{color:inherit;text-decoration:none}.fc .fc-col-header-cell-cushion{text-transform:capitalize}.fc .fc-event{cursor:pointer}.fc .ev-tentative{opacity:.85;background-image:repeating-linear-gradient(45deg,#ffffff47 0 6px,#0000 6px 12px);border-style:dashed}.fc-timegrid-event .fc-event-main{height:100%;container-type:size}.fc-daygrid-event .fc-event-main{container-type:inline-size}.ev{min-width:0;line-height:1.25;display:flex;overflow:hidden}.ev-time{opacity:.9;flex:none;font-size:.72rem}.ev-title{min-width:0;font-weight:500;overflow:hidden}.ev-location{opacity:.9;flex:none;align-items:center;gap:3px;min-width:0;max-width:100%;font-size:.72rem;display:none}.ev-location svg{flex:none}.ev-location span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fc-timegrid-event .ev{flex-direction:column;height:100%}.fc-timegrid-event .ev-title{flex:0 auto}@container (min-height:46px){.fc-timegrid-event .ev-location{display:flex}}.fc-daygrid-event .ev{white-space:nowrap;align-items:baseline;gap:5px}.fc-daygrid-event .ev-title{text-overflow:ellipsis}.fc-daygrid-event .ev-location{flex:0 auto}@container (min-width:190px){.fc-daygrid-event .ev-location{display:flex}}.fc-list-event .ev{flex-wrap:wrap;align-items:baseline;gap:2px 10px}.fc-list-event .ev-location{display:flex}dialog.modal{border:1px solid var(--border);background:var(--surface);width:min(560px,100%);max-height:92dvh;color:var(--text);border-radius:14px;padding:0}dialog.modal::backdrop{background:#00000073}.modal-head{z-index:2;background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;display:flex;position:sticky;top:0}.modal-head h2{margin:0}.modal-body{padding:18px}@media (max-width:767px){dialog.modal{border-width:1px 0 0;border-radius:14px 14px 0 0;width:100%;max-width:100%;margin:auto 0 0}}.place-list{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;margin:0;padding:4px;list-style:none}.place-list button{width:100%;min-height:40px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;font-size:.9rem;display:flex}.place-list button svg{color:var(--muted);flex:none}.place-list button:hover,.place-list button.active{background:var(--accent-soft)}.list{flex-direction:column;display:flex}.list-item{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.list-item:last-child{border-bottom:0}.list-item>.grow{overflow-wrap:anywhere;flex:220px;min-width:0}.day-row{border-bottom:1px solid var(--border);align-items:flex-start;gap:10px;padding:10px 0;display:flex}.day-row:last-child{border-bottom:0}.day-name{flex:none;width:92px;padding-top:8px;font-weight:500}.ranges{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.range{align-items:center;gap:6px;display:flex}.range input{flex:1 1 0;min-width:0}.sub-card{border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:12px;padding:14px;display:flex}.save-bar{z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;padding:10px 14px;display:flex;position:sticky;bottom:0}@media (max-width:767px){.day-row{flex-wrap:wrap}.day-name{flex:1;width:auto}.ranges{flex-basis:100%;order:3}.cal-toolbar{gap:6px}.cal-toolbar .btn:not(.fab){padding:8px 10px}.cal-toolbar .btn.icon:not(.fab){min-width:40px}.cal-toolbar select{flex:1;min-width:0}}.link-box{gap:8px;display:flex}.link-box input{flex:1;min-width:0}.welcome{max-width:1080px;margin:0 auto;padding:0 16px 56px}.welcome-nav{justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.hero{grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;padding:40px 0 48px;display:grid}.hero h1{letter-spacing:-.01em;font-size:clamp(1.9rem,4.5vw,2.8rem);line-height:1.12}.hero-lead{color:var(--muted);font-size:1.1rem}.preview{background:var(--surface);border:1px solid var(--border);border-radius:14px;grid-template-columns:repeat(5,1fr);gap:6px;padding:14px;display:grid}.preview-day{text-align:center;min-width:0;color:var(--muted);flex-direction:column;gap:6px;font-size:.78rem;display:flex}.preview-track{background:var(--surface-2);border-radius:6px;height:250px;position:relative}.preview-track div{color:#fff;text-align:left;text-overflow:ellipsis;border-radius:5px;padding:3px 4px;font-size:.68rem;font-weight:600;position:absolute;left:2px;right:2px;overflow:hidden}.features{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px;display:grid}.access{max-width:640px;margin:32px auto 0;scroll-margin-top:16px}@media (max-width:767px){.hero{grid-template-columns:1fr;gap:24px;padding:16px 0 28px}.preview-track{height:180px}}.public{flex-direction:column;gap:18px;max-width:720px;margin:0 auto;padding:24px 16px 48px;display:flex}.type-card{text-align:left;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;color:var(--text);font:inherit;cursor:pointer;padding:14px 16px;display:block}.type-card:hover{border-color:var(--accent)}.month-grid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.month-grid .dow{text-align:center;color:var(--muted);text-transform:capitalize;padding:4px 0;font-size:.78rem}.month-grid button{aspect-ratio:1;width:100%;max-height:54px;color:var(--muted);font:inherit;opacity:.55;background:0 0;border:0;border-radius:8px;padding:0}.month-grid button.available{background:var(--accent-soft);color:var(--accent);opacity:1;cursor:pointer;font-weight:600}.month-grid button.selected{background:var(--accent);color:var(--accent-text)}.slots{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;display:grid}
