@charset "UTF-8";:root{--bg: #1c1c1e;--surface: #2a2a2d;--surface-2: #343438;--line: #3a3a3e;--text: #f5f5f7;--muted: #9a9aa2;--accent: #f28c3c;--danger: #ff6b6b;--radius: 14px;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.4 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:inherit;text-decoration:none}h1{font-size:1.6rem;margin:0;letter-spacing:-.02em}h2{font-size:1.1rem;margin:0}button{font:inherit;color:inherit;cursor:pointer}input,select,textarea{font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;color:var(--muted)}fieldset{border:0;padding:0;margin:0}legend{font-size:.9rem;color:var(--muted);margin-bottom:6px}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center;padding:2rem}.grow,.spacer{flex:1}.stack{display:flex;flex-direction:column;gap:12px}.row{display:flex;gap:8px;align-items:center}.row.end{justify-content:flex-end;margin-top:12px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.card{background:var(--surface);border-radius:var(--radius);padding:16px;margin-bottom:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:10px 16px;font-weight:600;white-space:nowrap}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--accent);color:#1c1c1e}.btn-light{background:#fff;color:#1c1c1e}.btn-ghost{background:var(--surface-2)}.btn-danger-text{background:none;color:var(--danger)}.btn-lg{padding:14px 24px;font-size:1.05rem}.btn-block{width:100%}.btn-text{background:none;border:0;color:var(--muted);padding:6px 8px}.icon-btn{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;border:0;background:none;font-size:1.3rem}.icon-btn svg,.bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.icon-btn:hover{background:var(--surface-2)}.chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none}.chips.wrap{flex-wrap:wrap;overflow:visible}.chip{--c: var(--accent);flex:none;border:0;border-radius:10px;padding:7px 14px;font-weight:700;background:var(--c);color:#1c1c1e}.chip.off,.chip-add{background:var(--surface-2);color:var(--muted)}.ev{--c: var(--accent);display:block;text-align:left;font-size:.72rem;line-height:1.35;padding:1px 4px;border-radius:4px;background:var(--c);color:#1c1c1e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.ev.busy,.day-item.busy{background:color-mix(in srgb,var(--c) 22%,var(--surface-2));color:var(--muted);font-weight:500}.ev.pending,.day-item.pending{background:repeating-linear-gradient(135deg,var(--c) 0 6px,color-mix(in srgb,var(--c) 45%,#000) 6px 12px);outline:1px dashed var(--c);outline-offset:-1px}.shell-main{max-width:900px;margin:0 auto;padding:12px 12px 96px}.cal-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.cal-title{display:flex;flex-direction:column;min-width:0}.cal-title h1{text-transform:capitalize}.cal-select{background:none;border:0;padding:2px 0;color:var(--muted);width:auto}.cal-nav{display:flex;align-items:center}.month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--surface);border-radius:18px;overflow:hidden}.weekday{text-align:center;padding:10px 0;font-weight:600;color:var(--muted);text-transform:uppercase;border-bottom:1px solid var(--line)}.day{min-height:92px;display:flex;flex-direction:column;gap:2px;align-items:stretch;padding:4px 2px;border:0;border-top:1px solid var(--line);background:none;text-align:center;min-width:0}.day:nth-child(-n+14){border-top:0}.day.other .day-num{color:#66666d}.day.today{background:var(--surface-2)}.day.today .day-num{color:var(--accent);font-weight:800}.day-num{font-size:.9rem;margin-bottom:2px}.more{font-size:.7rem;color:var(--muted)}.cal-sub{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.view-switch{flex:none}.view-switch button{padding:5px 12px;font-size:.85rem}.dayv{--hour: 48px;background:var(--surface);border-radius:18px;overflow:auto;max-height:calc(100vh - 250px);max-height:calc(100dvh - 250px)}.dayv-grid{display:grid;grid-template-columns:44px repeat(var(--cols),minmax(92px,1fr));min-width:100%}.dayv-corner,.dayv-colhead{position:sticky;top:0;z-index:3;background:var(--surface);border-bottom:1px solid var(--line)}.dayv-corner{left:0;z-index:4}.dayv-colhead{--c: var(--accent);padding:10px 4px;text-align:center;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--c)}.dayv-gutter{position:sticky;left:0;z-index:2;background:var(--surface)}.dayv-allday-label{font-size:.65rem;color:var(--muted);padding:6px 2px;text-align:right;line-height:1.1;border-bottom:1px solid var(--line)}.dayv-allday{display:flex;flex-direction:column;gap:2px;padding:4px 2px;border-bottom:1px solid var(--line);border-left:1px solid var(--line)}.dayv-allday .ev{border:0}.dayv-hours{position:sticky;height:calc(24 * var(--hour))}.dayv-hours span{position:absolute;right:6px;transform:translateY(-50%);font-size:.7rem;color:var(--muted)}.dayv-col{position:relative;height:calc(24 * var(--hour));border-left:1px solid var(--line);cursor:pointer;background:repeating-linear-gradient(to bottom,var(--line) 0 1px,transparent 1px var(--hour))}.dayv-ev{position:absolute;display:flex;flex-direction:column;min-height:18px;padding:2px 4px;border:1px solid var(--surface);white-space:normal;overflow:hidden}.dayv-ev.busy{cursor:default}.dayv-ev-title{font-weight:700;overflow:hidden;text-overflow:ellipsis}.dayv-ev-time{font-size:.68rem;font-weight:500;opacity:.85}.dayv-now{position:absolute;left:0;right:0;height:2px;background:var(--danger);pointer-events:none;z-index:1}.sheet-backdrop{position:fixed;inset:0;background:#0000008c;z-index:20}.sheet{position:fixed;z-index:21;left:0;right:0;bottom:0;max-height:85vh;overflow:auto;margin:0 auto;max-width:560px;background:var(--surface);border-radius:20px 20px 0 0;padding:16px 16px 24px}.sheet-tall{max-height:94vh}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sheet-head h2{text-transform:capitalize;font-size:1.25rem}.day-list{list-style:none;padding:0;margin:0 0 12px;display:flex;flex-direction:column;gap:6px}.day-item{--c: var(--accent);width:100%;display:grid;grid-template-columns:90px 1fr;gap:2px 10px;text-align:left;border:0;border-left:4px solid var(--c);border-radius:10px;padding:8px 10px;background:var(--surface-2)}.day-item .time{color:var(--muted);font-size:.85rem;grid-row:span 2}.day-item .title{font-weight:700}.day-item .who{font-size:.8rem;color:var(--muted)}.day-item.pending .time,.day-item.pending .who,.day-item.pending .title{color:#fff;text-shadow:0 1px 2px #000}.badge{justify-self:start;font-size:.7rem;background:#000a;padding:1px 6px;border-radius:6px}.title-input{font-size:1.3rem;font-weight:700;background:none;border:0;padding:6px 0}.switch{flex-direction:row;align-items:center;gap:10px;color:var(--text)}.switch input{width:20px;height:20px;accent-color:var(--accent)}.when{font-weight:600;text-transform:capitalize;margin:0 0 8px}.desc{white-space:pre-wrap}.attendees,.members,.list{list-style:none;padding:0;margin:0 0 12px}.attendees li,.members li{display:flex;align-items:center;gap:10px;padding:6px 0}.attendees li{justify-content:space-between}.status{font-size:.8rem;padding:2px 8px;border-radius:8px;background:var(--surface-2)}.s-ACCEPTED{color:#7bc67e}.s-DECLINED{color:var(--danger)}.s-MAYBE{color:#f7d488}.segmented{display:flex;background:var(--surface-2);border-radius:12px;padding:3px}.segmented button{flex:1;border:0;background:none;padding:8px;border-radius:10px;color:var(--muted)}.segmented button.on{background:var(--accent);color:#1c1c1e;font-weight:700}.notice{background:var(--surface-2);padding:10px 12px;border-radius:10px}.notice.error{color:var(--danger)}.page-head{display:flex;align-items:center;gap:8px;margin:4px 0 16px}.list-item{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:12px;padding:14px;margin-bottom:8px}.dot{--c: var(--accent);width:14px;height:14px;border-radius:50%;background:var(--c);flex:none}.stack-dots{display:flex}.stack-dots .dot{margin-right:-4px;border:2px solid var(--surface)}.palette{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.swatch{--c: var(--accent);width:34px;height:34px;border-radius:50%;border:3px solid transparent;background:var(--c)}.swatch.on{border-color:var(--text)}.palette input[type=color]{width:40px;height:36px;padding:2px}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:15vh 16px 0;max-width:460px;margin:0 auto}.empty-icon{font-size:3rem}.empty form{width:100%}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;justify-content:space-around;align-items:center;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#161618;border-top:1px solid var(--line)}.bottom-nav a,.bottom-nav button{display:grid;place-items:center;width:48px;height:44px;border:0;background:none;color:var(--muted);border-radius:12px}.bottom-nav a.active{color:var(--text)}.bottom-nav svg{width:28px;height:28px}.bottom-nav .nav-new{color:var(--text)}.bottom-nav .avatar{--c: var(--accent);width:40px;height:40px;border-radius:50%;background:var(--surface-2);color:var(--text);font-weight:700;font-size:.85rem;outline:2px solid var(--c)}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:16px}.auth-card{width:100%;max-width:380px;display:flex;flex-direction:column;gap:14px}.divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.85rem}.divider:before,.divider:after{content:"";flex:1;border-top:1px solid var(--line)}.auth-links{display:flex;justify-content:space-between;flex-wrap:wrap}.dev-box{border-top:1px dashed var(--line);padding-top:12px}.brand{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:1.3rem}.brand-dot{width:14px;height:14px;border-radius:4px;background:var(--accent);box-shadow:8px 0 #f7d488;margin-right:8px}.landing{max-width:1040px;margin:0 auto;padding:16px}.landing-top{display:flex;align-items:center;gap:8px}.hero{text-align:center;padding:10vh 0 6vh;display:flex;flex-direction:column;align-items:center;gap:18px}.hero h1{font-size:clamp(2.2rem,6vw,3.8rem);max-width:14ch;line-height:1.05}.hero p{color:var(--muted);max-width:52ch;font-size:1.1rem;margin:0}.hero-demo{margin-top:24px;width:min(420px,100%);background:var(--surface);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:8px}.demo-chips{display:flex;gap:8px;margin-bottom:4px}.demo-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.demo-row .ev{font-size:.9rem;padding:6px 8px;border-radius:8px}.demo-row .ev.wide{grid-column:span 2}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;padding-bottom:40px}.features article{background:var(--surface);border-radius:var(--radius);padding:20px}.features h3{margin:0 0 6px}.features p{margin:0;color:var(--muted)}.landing-foot{text-align:center;color:var(--muted);padding:24px 0;font-size:.85rem}@media(min-width:700px){.day{min-height:110px;padding:6px 4px}.ev{font-size:.8rem}}
