:root{--bg:#0b1626;--surface:#14243a;--surface-2:#1b2c44;--text:#fff;--muted:#a9b6c8;--border:#26384f;--navy:#0e1c2f;--accent:#ff5a47;--accent-text:#0e1c2f;--accent-soft:#ff5a4733;--link:#ff8a7c;--danger:#ff8a8a;--yellow:#ffd25a;--radius:20px;--tabbar-h:72px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-tap-highlight-color:transparent;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-size:16px;line-height:1.4}h1,h2{margin:0}h1{font-size:1.35rem}h2{font-size:1rem}.muted{color:var(--muted)}.small{font-size:.875rem}button,input,select,textarea{font:inherit;color:inherit}button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;padding:.6rem .9rem}button:disabled{opacity:.55;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}button.danger{color:var(--danger)}.danger-text{color:var(--danger)!important}.icon-button,.text-button{background:0 0;border:none;padding:.4rem .6rem}.icon-button{font-size:1.2rem;line-height:1}.text-button{color:var(--link);font-weight:600}input,select,textarea{border:1px solid var(--border);background:var(--surface);border-radius:10px;width:100%;min-width:0;padding:.6rem .7rem}input[type=checkbox]{width:1.25rem;height:1.25rem;accent-color:var(--accent);flex:none}label{color:var(--muted);flex-direction:column;gap:.3rem;font-size:.9rem;display:flex}label>input,label>select,label>textarea{color:var(--text);font-size:1rem}label.inline{color:var(--text);flex-direction:row;align-items:center;gap:.6rem;font-size:1rem}.grow{flex:1;min-width:0}.stack{flex-direction:column;gap:.8rem;display:flex}.row{flex-wrap:wrap;gap:.6rem;display:flex}.row>*{flex:180px;min-width:0}.row.actions{justify-content:flex-end}.row.actions>*{flex:none}.error{color:var(--danger);margin:.25rem 0}.empty{color:var(--muted);text-align:center;margin:0;padding:.75rem}.auth{place-items:center;min-height:100dvh;padding:1rem;display:grid}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:.6rem;width:100%;max-width:380px;padding:1.5rem;display:flex}.auth-card img{border-radius:14px}.shell{min-height:100dvh}.content{max-width:720px;padding:0 1rem calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 5rem);margin:0 auto}.tabbar{background:var(--navy);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);z-index:1000;display:flex;position:fixed;inset:auto 0 0}.tabbar button{height:var(--tabbar-h);color:var(--muted);background:0 0;border:none;border-radius:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;padding:0;font-size:.72rem;display:flex}.tabbar button.active{color:var(--link);font-weight:700}.tab-icon{border-radius:15px;justify-content:center;align-items:center;width:56px;height:30px;display:flex}.tabbar button.active .tab-icon{background:var(--accent);color:var(--accent-text)}.screen{padding-top:max(1rem, env(safe-area-inset-top))}.screen-header{align-items:center;gap:.25rem;margin-bottom:.75rem;display:flex}.screen-header h1{flex:1}.screen-header.stacked{flex-direction:column;align-items:flex-start}.screen-header.stacked p{margin:0}.section-header{justify-content:space-between;align-items:center;margin:1.25rem 0 .5rem;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;padding:.9rem 1rem}.card p{margin:.4rem 0 0}.card-list{flex-direction:column;gap:.4rem;display:flex}.event-line{text-align:left;background:var(--surface);border-radius:12px;align-items:center;gap:.75rem;width:100%;padding:.7rem .9rem;display:flex}.event-line:disabled{opacity:1;cursor:default}.event-time{width:5.6rem;color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:.85rem}.event-title{flex:1;min-width:0}.repeat-mark{color:var(--muted)}.dots{gap:3px;display:flex}.member-dot{vertical-align:middle;border-radius:50%;flex:none;display:inline-block}.assignee{color:var(--muted);white-space:nowrap;font-size:.85rem}.month{background:var(--border);border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid;overflow:hidden}.month-weekday{background:var(--surface-2);text-align:center;color:var(--muted);padding:.25rem 0;font-size:.75rem}.month-day{background:var(--surface);text-align:left;border:none;border-radius:0;flex-direction:column;align-items:stretch;gap:2px;min-height:64px;padding:.25rem .2rem;display:flex;overflow:hidden}.month-day.other-month{opacity:.45}.month-day.selected{outline:2px solid var(--accent);outline-offset:-2px}.day-number{text-align:center;border-radius:999px;align-self:flex-start;min-width:1.5rem;font-size:.8rem}.month-day.today .day-number{background:var(--accent);color:var(--accent-text);font-weight:700}.day-events{flex-direction:column;gap:1px;min-width:0;display:flex}.day-chip{color:var(--navy);white-space:nowrap;text-overflow:ellipsis;border-radius:4px;padding:0 3px;font-size:.62rem;font-weight:600;overflow:hidden}.more{color:var(--muted);font-size:.62rem}.agenda-title{margin:1rem 0 .5rem}.fab{right:max(1rem,50vw - 360px + 1rem);bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 1rem);background:var(--accent);width:56px;height:56px;color:var(--accent-text);z-index:900;border:none;border-radius:18px;font-size:1.8rem;line-height:1;position:fixed;box-shadow:0 8px 20px #ff5a4759}.chips,.weekday-picker{gap:.4rem;padding-bottom:.25rem;display:flex;overflow-x:auto}.weekday-picker{flex-wrap:wrap}.chip{white-space:nowrap;border-radius:999px;align-items:center;gap:.4rem;padding:.4rem .8rem;display:inline-flex}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.badge{opacity:.8;font-size:.75rem}.add-row{gap:.5rem;margin:.75rem 0;display:flex}.add-row>input{flex:1}.add-row>select{width:auto}.add-row>button{flex:none}.items{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.items:empty{display:none}.items li{border-top:1px solid var(--border);align-items:center;gap:.5rem;min-height:48px;padding:.6rem .9rem;display:flex}.items li:first-child{border-top:none}.items.done li,.items li.is-done{color:var(--muted)}.items.done li label,.items li.is-done label>span{color:var(--muted);text-decoration:line-through}.items.compact li{min-height:0;padding:.45rem .9rem}.footer-actions{justify-content:space-between;margin-top:1.5rem}.footer-actions>*{flex:none}.palette{flex-wrap:wrap;gap:.6rem;display:flex}.swatch{border:3px solid #0000;border-radius:50%;width:36px;height:36px;padding:0}.swatch.active{border-color:var(--text)}.sign-out{width:100%;color:var(--danger);margin-top:2rem;display:block}.attendees{border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;gap:.5rem 1rem;padding:.5rem .8rem;display:flex}.attendees legend{color:var(--muted);padding:0 .3rem;font-size:.9rem}.chat{flex-direction:column;gap:.5rem;padding-bottom:4.5rem;display:flex}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:16px;max-width:85%;padding:.6rem .85rem}.bubble.user{background:var(--accent);color:var(--accent-text);border-bottom-right-radius:4px;align-self:flex-end}.bubble.assistant{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px;align-self:flex-start}.bubble.typing{color:var(--muted)}.bubble-action{color:var(--muted);margin-top:.4rem;font-size:.85rem;display:block}.chips.wrap{flex-wrap:wrap;overflow:visible}.ask-input{left:0;right:0;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom));background:var(--bg);z-index:900;max-width:720px;margin:0 auto;padding:.6rem 1rem;position:fixed}code{background:var(--surface-2);border-radius:4px;padding:0 .25rem;font-size:.9em}.block{display:block}.notice{color:var(--accent);margin:0}.align-start{align-self:flex-start}.card strong{display:block}.calendar-toolbar{align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.calendar-toolbar input[type=search]{min-width:0}.segmented{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex:none;display:inline-flex;overflow:hidden}.segmented button{color:var(--muted);background:0 0;border:none;border-radius:0;padding:.5rem .75rem}.segmented button.active{background:var(--accent);color:var(--accent-text);font-weight:600}.day-group .agenda-title{margin-top:1rem}.show-more{margin:1rem auto 0;display:block}.member-row{position:relative}.member-menu summary{cursor:pointer;border-radius:8px;padding:.25rem .6rem;font-size:1.25rem;line-height:1;list-style:none}.member-menu summary::-webkit-details-marker{display:none}.member-menu .menu{z-index:10;background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;min-width:13rem;display:flex;position:absolute;top:calc(100% - .25rem);right:.5rem;overflow:hidden;box-shadow:0 8px 24px #00000026}.member-menu .menu button{text-align:left;border:none;border-top:1px solid var(--border);border-radius:0}.member-menu .menu button:first-child{border-top:none}.items{overflow:visible}.row.align-center{align-items:center}.row.align-center>*{flex:0 auto}.row.align-center>.grow{flex:auto}.time-input{width:auto}.today-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.today-header p{color:var(--muted);margin:0;font-size:.82rem;font-weight:600}.today-header h1{letter-spacing:-.03em;font-size:1.65rem;font-weight:800}.avatar-stack{display:flex}.avatar{border:2px solid var(--bg);width:34px;height:34px;color:var(--navy);border-radius:17px;justify-content:center;align-items:center;font-size:.82rem;font-weight:800;display:flex}.avatar+.avatar{margin-left:-10px}.ask-bar{background:var(--surface);border:1px solid var(--border);border-radius:18px;align-items:center;gap:10px;height:52px;margin-bottom:14px;padding:0 6px 0 16px;display:flex}.ask-bar input{background:0 0;border:none;outline:none;flex:1;padding:0}.ask-bar input::placeholder{color:var(--muted)}.ask-bar button{background:var(--accent);width:40px;height:40px;color:var(--accent-text);border:none;border-radius:13px;justify-content:center;align-items:center;padding:0;display:flex}.next-up{text-align:left;background:var(--accent);width:100%;color:var(--navy);border:none;border-radius:24px;flex-direction:column;gap:6px;margin-bottom:18px;padding:18px 20px;display:flex}.next-up.quiet{background:var(--surface);color:var(--text);border:1px solid var(--border)}.next-up-label{letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;font-size:.75rem;font-weight:800;display:flex}.next-up-title{letter-spacing:-.02em;font-size:1.45rem;font-weight:800;line-height:1.15}.next-up-meta{align-items:center;gap:8px;font-size:.88rem;font-weight:600;display:flex}.time-badge{background:var(--navy);color:#fff;border-radius:999px;padding:3px 10px;font-weight:700}.timeline{margin:0 0 18px;padding:0;list-style:none}.timeline li{gap:12px;display:flex}.timeline .t-time{width:46px;color:var(--muted);flex:none;padding-top:1px;font-size:.82rem;font-weight:600}.timeline .t-rail{flex-direction:column;align-items:center;display:flex}.timeline .t-dot{border-radius:6px;flex:none;width:11px;height:11px;margin-top:4px}.timeline .t-line{background:var(--border);flex:1;width:2px}.timeline li:last-child .t-line{display:none}.timeline .t-body{flex:1;min-width:0;padding-bottom:14px}.timeline .t-title{font-weight:700}.timeline .t-sub{color:var(--muted);font-size:.82rem}.timeline .now .t-time{color:var(--link);font-weight:800}.timeline .now .t-dot{background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}.timeline .past .t-title{color:var(--muted);text-decoration:line-through}.timeline button.t-body{text-align:left;background:0 0;border:none;border-radius:0;padding:0 0 14px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tile{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:22px;flex-direction:column;gap:8px;min-height:132px;padding:14px 16px;display:flex}.tile.yellow{background:var(--yellow);border-color:var(--yellow);color:var(--navy)}.tile-head{justify-content:space-between;align-items:center;font-weight:800;display:flex}.tile-count{font-size:1.6rem;font-weight:800;line-height:1}.tile-lines{flex-direction:column;gap:3px;font-size:.82rem;font-weight:600;display:flex}.tile-lines .muted{font-weight:500}.calendar-header{background:var(--surface);border:1px solid var(--border);border-radius:24px;flex-direction:column;gap:10px;margin-bottom:14px;padding:12px;display:flex}.calendar-header .calendar-toolbar{margin-bottom:0}.segmented{background:var(--bg);border-color:var(--border);border-radius:12px;padding:3px}.segmented button{border-radius:9px}.segmented button.active{color:var(--accent-text)}.person-chips{gap:6px;display:flex;overflow-x:auto}.person-chip{border:1px solid var(--border);height:34px;color:var(--muted);background:0 0;border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 12px;font-size:.8rem;font-weight:600;display:flex}.person-chip[aria-pressed=true]{color:var(--navy);border-color:#0000;font-weight:700}.month{background:var(--border);border-color:var(--border)}.month-weekday{background:var(--surface-2)}.month-day{background:var(--surface)}.fab-menu{right:max(1rem,50vw - 360px + 1rem);bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 5rem);z-index:950;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:fixed}.fab-menu label:focus-within{outline:2px solid var(--link)}.fab-menu button,.fab-menu label{cursor:pointer;color:var(--text);border:1px solid var(--border);background:var(--surface-2);border-radius:14px;padding:.7rem 1rem;font-size:1rem;font-weight:700;display:block;box-shadow:0 6px 18px #00000059}.draft{background:var(--surface-2);border-radius:16px;align-items:center;gap:10px;padding:12px;display:flex}.draft.done{opacity:.6}.draft .grow strong{display:block}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ask-overlay{z-index:1100;background:var(--bg);position:fixed;inset:0;overflow-y:auto}.ask-overlay .content{padding-bottom:6rem}.ask-overlay .ask-input{bottom:env(safe-area-inset-bottom)}.modal{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(560px,100vw - 1rem);max-height:calc(100dvh - 2rem);color:var(--text);padding:1rem}.modal::backdrop{background:#00000073}.modal-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.map-link{z-index:2;background:var(--navy);color:#fff;border-radius:999px;flex:none;align-items:center;gap:4px;padding:6px 10px;font-size:.8rem;font-weight:700;text-decoration:none;display:inline-flex;position:relative}.map-link.compact{background:var(--surface-2,#ffffff14);width:34px;height:34px;color:var(--link);justify-content:center;padding:0}.event-row{background:var(--surface);border-radius:12px;align-items:center;gap:4px;padding-right:6px;display:flex}.event-row .event-line{background:0 0;flex:1;min-width:0}.input-with-link{align-items:center;gap:8px;display:flex}.input-with-link input{flex:1;min-width:0}.input-with-link .map-link{padding:10px 12px}.stretch-host{position:relative}.stretch-host>.stretch{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:none;width:100%;padding:0;position:absolute;inset:0}.timeline .t-sub-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.google-button{color:#1f1f1f;white-space:nowrap;background:#fff;border:1px solid #dadce0;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:.65rem 1rem;font-weight:600;text-decoration:none;display:inline-flex}.google-button:hover{background:#f8f9fa}.or-divider{color:var(--muted);align-items:center;gap:10px;font-size:.85rem;display:flex}.or-divider:before,.or-divider:after{content:"";background:var(--border);flex:1;height:1px}.google-button[aria-disabled]{opacity:.5;cursor:not-allowed}
