:root{font-family:Inter,"Segoe UI",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:#202a40;background:#f8f9fd;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body{margin:0;min-height:100%;}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a{color:inherit}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em}input,textarea,select{outline:none}input:focus,textarea:focus,select:focus{border-color:#6c87e9!important;box-shadow:0 0 0 3px rgba(75,111,232,.1)}button:focus-visible,a:focus-visible{outline:3px solid #90a6ff;outline-offset:2px}#app{min-height:100vh}.shell{display:flex;min-height:100vh}.sidebar{width:257px;min-width:257px;background:white;border-right:1px solid #ebedf6;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;z-index:20}.side-top{padding:30px 24px 20px;display:flex;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px}.brand-icon{display:inline-flex;align-items:center;justify-content:center;font-size:23px;font-weight:900;color:white;background:linear-gradient(145deg,#738efb,#4b69db);border-radius:13px;width:42px;height:42px;position:relative;box-shadow:0 8px 22px rgba(80,110,215,.24);letter-spacing:-.06em}.brand-icon.large{width:54px;height:54px;font-size:29px;border-radius:17px}.brand-dot{position:absolute;right:7px;top:7px;width:6px;height:6px;background:#b3c6ff;border-radius:50%}.brand b{font-size:15px;display:block;line-height:18px;letter-spacing:-.04em}.brand small{font-size:9px;letter-spacing:.25em;font-weight:750;color:#8f99af}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:white;border:1px solid #dfe3f0;color:#3b455c;border-radius:11px;padding:11px 16px;min-height:42px;font-weight:700;font-size:13px;text-decoration:none;transition:.15s}.btn svg{width:17px;height:17px}.btn.primary{background:#5573e3;color:white;border-color:#5573e3;box-shadow:0 5px 12px rgba(77,112,217,.18)}.btn.primary:hover{background:#4261d5}.btn.secondary{color:#4d67c6;background:#f4f6ff;border-color:#e1e7fd}.btn.muted{background:#f4f5f9;border-color:#eef0f6}.btn.danger{background:#fff1f2;color:#c83253;border-color:#ffd9e1}.btn.small{padding:7px 11px;min-height:34px;font-size:12px}.btn.wide{width:100%}.new-btn{margin:10px 20px 26px;min-height:46px;justify-content:flex-start;padding-left:19px}.side-section{padding:0 13px 25px}.side-heading{color:#9ba4ba;font-size:10px;font-weight:800;letter-spacing:.16em;padding:0 17px 13px}.side-heading-row{display:flex;justify-content:space-between}.side-heading-row span{color:#667085;letter-spacing:0}.side-link,.member-option{display:flex;align-items:center;width:100%;border:0;background:transparent;text-align:left;color:#667087;gap:13px;border-radius:10px;padding:12px 17px;font-weight:650;font-size:13px}.side-link svg{width:18px;height:18px;stroke:#8e97ad}.side-link.active,.side-link:hover{background:#eff3ff;color:#4c67c3}.side-link.active svg{stroke:#4c67c3}.family-side{padding-top:8px}.member-option{padding:7px 13px;gap:10px;font-size:13px;font-weight:550}.member-option:hover,.member-option.selected{background:#f6f7ff}.member-avatar{width:31px;height:31px;border-radius:11px;color:white;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;flex-shrink:0}.all-avatar{background:#eef1fb;color:#6274b4}.all-avatar svg{width:16px;height:16px}.selected-dot{width:6px;height:6px;border-radius:50%;background:#5573e3;margin-left:auto}.side-bottom{margin-top:auto;padding:15px 20px 26px}.side-note{display:flex;align-items:center;gap:10px;padding:15px 13px;background:#f7f8fe;border-radius:12px;font-size:11px;color:#8b95ac;line-height:1.5}.side-note svg{stroke:#8ca0e5;max-width:19px}.powered{padding:20px 7px 0;color:#b0b8c8;font-size:10px;line-height:1.8}.powered strong{font-size:11px;color:#8995b6}.main-area{min-width:0;flex:1}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f7;background:rgba(255,255,255,.78);padding:0 47px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:13px}.topbar-left{font-size:12px}.topbar-left strong{color:#40506d}.topbar-breadcrumb{color:#a1abc1;font-size:10px;letter-spacing:.13em;font-weight:800}.topbar-divider{color:#ccd2df}.topbar-right{gap:12px;font-size:11px;color:#8791a6;font-weight:650}.live-dot{background:#60c4a6;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 4px #e1f8ef}.profile-button{color:white;border:3px solid white;box-shadow:0 0 0 1px #edf0f7;width:35px;height:35px;border-radius:50%;font-weight:850}.icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#738096;border-radius:9px}.icon-btn:hover{background:#f2f5fc}.icon-btn.bordered{border:1px solid #e8eaf2;background:white}.hamburger,.close-mobile{display:none}.calendar-page{padding:35px 46px 50px;max-width:1610px;margin:auto}.welcome{display:flex;justify-content:space-between;align-items:center;min-height:160px;background:linear-gradient(115deg,#f2f5ff 0%,#f7f6ff 58%,#f8f4fb 100%);border:1px solid #edf0ff;border-radius:22px;padding:28px 35px;margin-bottom:33px;overflow:hidden}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#909cbb}.welcome h1,.settings-head h1{font-size:32px;line-height:1.13;margin:12px 0 9px;font-weight:850}.welcome h1 span,.settings-head h1 span{color:#647ce3}.welcome p,.settings-head p{font-size:13px;color:#8b97ad;margin:0}.welcome-side{display:flex;align-items:center;flex-direction:column;gap:3px;margin-right:28px}.welcome-orbit{width:39px;height:39px;background:white;border-radius:15px;color:#758aea;display:grid;place-items:center;margin-bottom:2px;font-size:20px;box-shadow:0 5px 18px #e4e7f5}.welcome-side strong{font-size:28px;line-height:1.15;letter-spacing:-.06em}.welcome-side small{font-size:11px;color:#9ca4b6}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;gap:15px}.cal-title,.cal-controls{display:flex;align-items:center;gap:19px}.cal-title h2{font-size:25px;margin:0;font-weight:850}.today-btn{background:white;border:1px solid #e6e9f2;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:700;color:#66748e}.view-switch{padding:4px;background:#eef1f8;display:flex;gap:3px;border-radius:10px}.view-switch button{border:0;padding:8px 14px;border-radius:7px;background:transparent;color:#8d97aa;font-size:12px;font-weight:750}.view-switch button.selected{background:white;color:#4964cb;box-shadow:0 1px 5px #dbe0ed}.arrows{display:flex;gap:6px}.calendar-content{display:block}.calendar-card{background:white;border:1px solid #e9edf4;border-radius:17px;overflow:hidden;box-shadow:0 8px 24px rgba(57,78,119,.025)}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid #edf0f5}.weekdays>div{text-align:center;padding:18px 0;font-size:11px;color:#909bac;font-weight:800}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.day-cell{min-width:0;min-height:133px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:13px 9px 8px;position:relative;cursor:pointer}.day-cell:nth-child(7n){border-right:0}.day-cell:hover{background:#fafbff}.day-cell.out-month{background:#fcfdff}.day-cell.out-month .date-number{color:#c5cbd8}.day-cell.today{background:#f6f8ff}.day-cell-head{display:flex;align-items:center;gap:5px;height:25px;margin-bottom:7px}.date-number{display:flex;align-items:center;justify-content:center;width:27px;height:27px;font-size:12px;font-weight:800;color:#677288}.day-cell.today .date-number{border-radius:9px;color:white;background:#5876e5}.today-flag{font-size:9px;font-weight:800;color:#6a7dd2}.cell-add{display:none;background:#ecf0ff;color:#5b75d8;width:23px;height:23px;align-items:center;justify-content:center;border:0;border-radius:6px;margin-left:auto}.cell-add svg{width:14px;height:14px}.day-cell:hover .cell-add{display:flex}.day-events{display:flex;flex-direction:column;gap:4px}.event-pill{display:flex;align-items:center;gap:5px;min-width:0;width:100%;padding:5px 6px;border:0;border-radius:5px;text-align:left;background:color-mix(in srgb,var(--event-color),white 91%);color:#49536b;font-size:10px;font-weight:650;line-height:1.25}.event-pill:hover{background:color-mix(in srgb,var(--event-color),white 82%)}.event-pill-mark{background:var(--event-color);border-radius:3px;align-self:stretch;min-width:3px}.event-pill-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.more-events{border:0;background:transparent;color:#7c8bc0;text-align:left;font-size:10px;font-weight:750;padding:4px}.cal-footer{display:flex;gap:8px;align-items:center;color:#a1abc0;font-size:10px;padding:14px 20px}.cal-footer svg{width:14px;height:14px}.bottom-panel{margin-top:28px;background:white;border:1px solid #ecedf5;border-radius:16px;padding:24px 27px}.bottom-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.bottom-head h3{margin:5px 0 0;font-size:18px}.next-weeks{font-size:11px;color:#9aa4b7}.upcoming-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.upcoming-item{display:flex;align-items:center;gap:11px;border:1px solid #f0f1f6;border-radius:11px;padding:13px;text-align:left;background:#fdfdff;min-width:0;color:#556179}.upcoming-item:hover{border-color:#dfe5fd;background:#f8faff}.upcoming-item>svg{width:13px;height:13px;margin-left:auto}.upcoming-date{width:35px;display:flex;flex-direction:column;align-items:center}.upcoming-date strong{font-size:18px;color:#44516c;line-height:1.1}.upcoming-date small{font-size:10px;color:#9ba5bc}.upcoming-bar{height:33px;width:3px;border-radius:10px;flex-shrink:0}.upcoming-label{display:flex;flex-direction:column;gap:4px;min-width:0}.upcoming-label strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upcoming-label span{font-size:10px;color:#a1abc0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty-upcoming{font-size:12px;color:#99a5ba;padding:20px;background:#fafbff;border-radius:10px}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-height:340px}.week-column{border-right:1px solid #edf0f5;padding:18px 9px;min-width:0;cursor:pointer}.week-column:last-child{border-right:0}.week-column.today{background:#f7f9ff}.week-date{display:flex;flex-direction:column;align-items:center;gap:4px;padding-bottom:13px;border-bottom:1px solid #f1f2f7}.week-date strong{font-size:21px;line-height:1}.week-date small{font-size:10px;color:#9ba6b9}.week-events{padding-top:12px;display:flex;flex-direction:column;gap:8px}.week-event{background:color-mix(in srgb,var(--event-color),white 91%);border:0;border-left:3px solid var(--event-color);border-radius:6px;text-align:left;padding:9px 6px;display:flex;flex-direction:column;gap:5px;min-width:0}.week-event strong{font-size:11px;overflow-wrap:anywhere}.week-event small,.week-event span{font-size:10px;color:#7a8499}.week-add{border:1px dashed #e1e5f4;background:white;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:5px;color:#9ca8c4;font-size:11px;padding:10px 4px}.week-add svg{width:13px;height:13px}.day-view{padding:27px;min-height:360px}.day-view-intro{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap;margin-bottom:20px}.day-badge{font-size:11px;background:#eef2ff;color:#6176ce;padding:7px 10px;border-radius:7px;font-weight:800}.day-view-intro h3{font-size:25px;margin:0}.day-view-intro p{font-size:12px;color:#9da6b7;margin:0}.agenda{display:flex;flex-direction:column}.agenda-item{border:0;border-bottom:1px solid #f1f3f7;background:white;display:flex;gap:17px;align-items:center;text-align:left;padding:17px 4px;color:#515b73}.agenda-time{font-size:12px;min-width:66px;color:#8896af;font-weight:700}.agenda-line{height:45px;width:3px;border-radius:4px}.agenda-body{display:flex;flex:1;flex-direction:column;gap:5px}.agenda-body strong{font-size:14px}.agenda-body small{color:#98a2b6;font-size:11px}.small-avatars{display:flex;gap:3px}.tiny-avatar{width:19px;height:19px;border-radius:50%;color:white;font-size:9px;display:grid;place-items:center}.agenda-arrow{margin-left:auto}.agenda-arrow svg{width:14px;height:14px}.day-add{margin-top:24px}.empty-day{text-align:center;padding:33px 10px;color:#8f9ac0;font-size:26px}.empty-day h4{font-size:16px;color:#5d6888;margin:5px}.empty-day p{font-size:12px;color:#a3adbe}.settings-page{padding:45px 46px;max-width:1350px;margin:auto}.settings-head{margin-bottom:29px}.settings-head h1{margin:10px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-card{padding:25px;border-radius:16px;background:white;border:1px solid #ebedf5;align-self:start}.settings-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:21px}.settings-title h2{font-size:18px;margin:0 0 6px}.settings-title p,.settings-row p{font-size:11px;color:#939eaf;margin:0;line-height:1.6}.chip{font-size:10px;color:#6d7dc0;background:#f2f5ff;border-radius:30px;padding:8px 10px;white-space:nowrap}.member-edit{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid #f2f3f8}.member-edit input[name="name"]{min-width:0;flex:1;max-width:240px}.member-edit input[type="color"]{height:35px;width:39px;padding:3px;border:1px solid #e7eaf2;background:white;border-radius:7px}.member-edit .member-avatar{min-width:31px}.settings-add{display:flex;align-items:end;gap:8px;margin-top:22px;flex-wrap:wrap}.settings-add label{font-size:11px;color:#8693a9;font-weight:700}.settings-add input{margin-top:5px}.settings-add label:first-child{flex:1}.settings-add label:nth-child(2) input{height:40px;width:47px;padding:3px}.settings-add .btn{white-space:nowrap}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;border-top:1px solid #f0f2f7}.settings-row strong{font-size:13px}.settings-row p{margin-top:5px}.settings-row .btn{white-space:nowrap}.user-entry{display:flex;align-items:center;gap:12px;padding:10px 0}.user-icon{width:34px;height:34px;border-radius:50%;background:#eaf0fe;color:#5b75d3;display:grid;place-items:center;font-size:13px;font-weight:800}.user-entry>div{display:flex;flex-direction:column;gap:3px}.user-entry b{font-size:12px}.user-entry small{font-size:10px;color:#9da8b8}.remove-user{margin-left:auto;border:0;background:#fff1f3;color:#bf5872;border-radius:7px;width:29px;height:29px}.remove-user svg{width:14px;height:14px}.account-form{border-top:1px solid #edf0f6;display:grid;gap:12px;padding-top:18px;margin-top:16px}.account-form h3{font-size:14px;margin:0}.account-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#68758b}.account-form .btn{justify-self:start}.auth-bg{min-height:100vh;background:#f8f9ff;display:grid;grid-template-columns:1fr 1fr;align-items:center;position:relative;overflow:hidden}.auth-card{width:min(450px,90%);justify-self:center;background:white;z-index:1;box-shadow:0 22px 70px rgba(72,96,150,.07);border-radius:23px;border:1px solid #eef0f8;padding:42px}.auth-brand{display:flex;align-items:center;gap:13px;font-size:17px;font-weight:850;margin-bottom:55px}.brand-tiny{font-size:10px;color:#97a2be;letter-spacing:.14em}.auth-card h1{font-size:38px;margin:14px 0 11px;font-weight:900}.auth-card p{color:#8b96ac;font-size:13px;line-height:1.8;margin-bottom:26px}.auth-form{display:flex;flex-direction:column;gap:17px}.auth-form label,.field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:750;color:#626e85}.auth-form input,.field input,.field select,.field textarea,.account-form input,.account-form select,.settings-add input,.member-edit input[name="name"]{border:1px solid #e5e9f2;border-radius:9px;padding:11px 12px;background:white;font-size:13px;color:#2f3a50;width:100%}.auth-form small{font-size:11px;line-height:1.5;color:#98a1b3}.auth-form button{margin-top:7px}.auth-form button svg{width:15px;height:15px}.auth-bottom{margin-top:34px;border-top:1px solid #f0f2f8;padding-top:20px;display:flex;flex-direction:column;gap:5px;color:#aab4c4;font-size:10px}.auth-bottom strong{color:#8d9cba;font-size:10px}.auth-side{height:100%;display:flex;flex-direction:column;justify-content:center;padding:70px;background:linear-gradient(135deg,#edf1ff,#f4f0fc);position:relative}.auth-side:before{content:"";position:absolute;width:400px;height:400px;right:-160px;top:-120px;background:radial-gradient(circle,#dce4ff 0%,transparent 70%);border-radius:100%}.auth-side-pill{color:#6a7fc6;font-size:11px;letter-spacing:.18em;font-weight:800;align-self:flex-start}.auth-side h2{font-size:clamp(35px,5vw,68px);line-height:1.1;margin:22px 0}.auth-side h2 em{font-style:normal;color:#6c81df}.auth-side p{font-size:15px;color:#8291b1;line-height:1.9;max-width:380px}.auth-family{display:flex;gap:0;align-items:center;margin-top:30px}.auth-avatar{height:38px;width:38px;display:grid;place-items:center;color:white;border-radius:50%;border:3px solid #f2f0fc;font-weight:800;font-size:13px;margin-left:-8px}.auth-avatar:first-child{margin-left:0}.auth-family>span:last-child{font-size:11px;font-weight:700;color:#8292b0;margin-left:13px}.loading{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-logo{height:60px;width:60px;background:#5573e3;color:white;font-size:32px;font-weight:900;border-radius:18px;display:grid;place-items:center}.loading h2{margin:20px 0 5px}.loading p{color:#919cae;font-size:12px}.event-dialog{padding:0;border:1px solid #e8eafa;box-shadow:0 30px 95px rgba(43,56,89,.18);border-radius:20px;width:min(560px,calc(100% - 26px));max-height:90vh;overflow-y:auto;color:#243049}.event-dialog::backdrop{background:rgba(25,35,65,.42);backdrop-filter:blur(3px)}.modal-content{padding:27px}.modal-top{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #f0f2f8;padding-bottom:20px;margin-bottom:20px}.modal-top h2{font-size:23px;margin:8px 0 0}.form-fields{display:flex;flex-direction:column;gap:16px}.field-row{display:flex;gap:15px;align-items:end}.field-row .field{flex:1;min-width:0}.check-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#53627c;font-weight:700}.check-label input{accent-color:#5977df;width:16px;height:16px}.time-fields.hidden{display:none}.repeat-until[hidden]{display:none}.person-checks{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.person-check{display:flex;align-items:center;gap:6px;border:1px solid #e9ebf3;border-radius:9px;padding:6px 9px;font-size:11px;color:#6f798e;cursor:pointer;font-weight:700}.person-check.checked{background:#f3f6ff;border-color:#ced7fd}.person-check input{position:absolute;opacity:0;width:1px;height:1px}.person-check .person-initial{background:var(--person-color);color:white;width:22px;height:22px;display:grid;place-items:center;font-size:10px;border-radius:8px}.field small{color:#a3acbb;font-weight:400}.modal-actions{display:flex;align-items:center;gap:8px;border-top:1px solid #eef0f6;padding-top:20px;margin-top:24px}.modal-spacer{flex:1}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);padding:13px 22px;background:#253653;color:white;font-weight:650;font-size:12px;border-radius:12px;box-shadow:0 8px 30px rgba(30,47,86,.22);opacity:0;transition:.18s;z-index:99;pointer-events:none;text-align:center;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.bad{background:#ad3756}
@media(max-width:1250px){.sidebar{width:226px;min-width:226px}.calendar-page{padding:28px 26px}.topbar{padding:0 28px}.day-cell{min-height:112px;padding:9px 5px}.event-pill{font-size:9px;padding:4px}.settings-page{padding:35px 26px}}
@media(max-width:920px){.sidebar{position:fixed;left:0;transform:translateX(-102%);transition:transform .2s;box-shadow:0 10px 35px #32436b1a}.sidebar.mobile-open{transform:translateX(0)}.hamburger,.close-mobile{display:inline-flex}.calendar-page{padding:24px 20px}.welcome{min-height:140px}.topbar{padding:0 20px}.settings-page{padding:30px 20px}.settings-grid{grid-template-columns:1fr 1fr}.auth-card{padding:32px}.auth-side{padding:40px}}
@media(max-width:700px){.topbar{height:62px;padding:0 16px}.topbar-breadcrumb,.topbar-divider,.live-dot,.local-status{display:none}.calendar-page{padding:17px 10px 32px}.welcome{border-radius:14px;min-height:120px;padding:18px 21px;margin-bottom:23px}.welcome h1{font-size:25px;margin:7px 0}.welcome p{font-size:11px;line-height:1.5;max-width:230px}.welcome-side{margin-right:0}.welcome-side strong{font-size:22px}.welcome-orbit{width:31px;height:31px;font-size:17px}.cal-title h2{font-size:20px}.cal-title{gap:8px}.cal-controls{gap:7px}.view-switch button{padding:8px 10px}.calendar-toolbar{flex-wrap:wrap;margin:0 3px 13px;gap:10px}.calendar-card{border-radius:11px}.weekdays>div{padding:13px 0;font-size:9px}.day-cell{min-height:91px;padding:8px 2px}.day-cell-head{height:24px;margin-bottom:3px;justify-content:center}.date-number{font-size:11px;width:24px;height:24px}.today-flag,.cell-add{display:none!important}.day-events{gap:3px}.event-pill{font-size:0;height:6px;padding:0 3px;border-radius:4px;min-height:6px}.event-pill-mark{width:100%;min-height:6px}.event-pill-text{display:none}.more-events{font-size:9px;padding:0 2px}.cal-footer{padding:12px;font-size:9px}.bottom-panel{margin-top:15px;padding:18px}.upcoming-list{grid-template-columns:1fr}.upcoming-item{padding:10px}.week-column{padding:9px 2px}.week-date strong{font-size:18px}.week-date small{font-size:9px}.week-event{padding:7px 4px}.week-event strong{font-size:9px}.week-event span{display:none}.week-event small{font-size:9px}.week-add span{display:none}.day-view{padding:18px}.settings-page{padding:24px 12px}.settings-grid{grid-template-columns:1fr}.settings-card{padding:20px}.auth-bg{grid-template-columns:1fr;align-content:center}.auth-card{width:min(450px,94%);padding:31px;box-shadow:none}.auth-side{display:none}.auth-brand{margin-bottom:38px}.auth-card h1{font-size:33px}.member-edit{gap:6px}.member-edit input[name="name"]{max-width:none}.member-edit .btn{padding:6px 8px}.field-row{gap:9px}.modal-content{padding:18px}.event-dialog{max-height:94vh}.form-fields{gap:13px}.modal-top h2{font-size:21px}}
@media(max-width:360px){.cal-title h2{font-size:18px}.view-switch button{padding:6px 8px}.today-btn{padding:8px}.arrows .icon-btn{width:29px}.welcome-side{display:none}.settings-add .btn{width:100%}}
/* ——— Buist Family Calendar v3: Home Command Centre ——— */
:root{--ink:#1e2a40;--muted:#8290a7;--blue:#5474dc;--line:#e9edf4;--paper:#fff;--soft:#f7f9fc}
body{background:#f7f8fc;color:var(--ink)}
.sidebar{background:#fff;width:250px;min-width:250px;border-right:1px solid #e9edf4}
.sidebar .side-top{padding-top:29px;padding-bottom:32px}.sidebar .brand b{font-weight:830;letter-spacing:-.045em}.sidebar .brand small{font-size:8px;letter-spacing:.12em}
.side-quick{margin:0 20px 26px}.side-quick .new-btn{width:100%;justify-content:center;border-radius:12px;min-height:45px}
.sidebar .side-section{margin-bottom:15px}.sidebar .side-heading{font-size:10px;color:#9da7b7;letter-spacing:.12em}
.sidebar .side-link{margin:2px 0;padding:13px 15px;border-radius:11px;font-size:12.5px;transition:background .18s,color .18s}
.sidebar .side-link.active{background:#eef2ff;color:#4364ce}.sidebar .side-link.active svg{stroke-width:2.3}
.sidebar .member-option{padding:9px 14px;font-size:12px}
.side-bottom{padding:14px 18px 25px;border-top:1px solid #edf0f6}.side-bottom .side-link{width:100%;margin-bottom:10px}
.side-bottom .powered{padding:10px 10px 0;color:#9ba7bc;font-size:9px;letter-spacing:.06em;line-height:1.7}.side-bottom .powered strong{color:#536da0;font-size:10px;letter-spacing:0}
.topbar{height:70px;background:rgba(255,255,255,.92);padding:0 37px}.sync-button{width:34px;height:34px;margin-right:4px}.profile-button{cursor:pointer}
.home-page,.collection-page{max-width:1475px;margin:0 auto;padding:31px 38px 52px}.home-page{padding-top:28px}
.home-hero{background:linear-gradient(112deg,#edf1fc 0%,#f7f4ff 65%,#eff5ff 100%);border:1px solid #e7ebf8;border-radius:23px;min-height:226px;padding:34px 42px;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;isolation:isolate}
.home-hero:after{content:"";position:absolute;z-index:-1;right:110px;top:-130px;width:370px;height:370px;border-radius:50%;border:1px solid #d5dffc66;box-shadow:0 0 0 48px #dfe6fc22,0 0 0 95px #dbe7fe20}
.home-hero .eyebrow,.page-heading .eyebrow,.collection-heading .eyebrow{color:#6279bc;font-weight:800;letter-spacing:.12em;font-size:10px}
.home-hero h1{font-size:clamp(27px,2.7vw,43px);line-height:1.13;margin:12px 0 9px;font-weight:850;letter-spacing:-.055em}.home-hero h1 span,.page-heading h1 span,.collection-heading h1 span{color:#5572d8}.home-hero p{color:#7887a0;font-size:13px;line-height:1.65;margin:0}.hero-actions{display:flex;align-items:center;gap:10px;margin-top:24px}.hero-actions .btn{font-size:12px;padding:11px 15px;display:inline-flex;align-items:center;gap:7px;border-radius:10px;min-height:38px}.hero-actions .btn svg{width:16px;height:16px}.btn.hero-secondary{border:1px solid #d8e0f6;background:#fff9;color:#5974c6;box-shadow:none}.hero-secondary:hover{background:#fff}
.hero-emblem{width:230px;min-width:185px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.hero-orb{width:119px;height:119px;border-radius:32px;background:linear-gradient(150deg,#5e7be8,#7859cb);color:white;display:grid;place-items:center;font-size:62px;font-weight:900;transform:rotate(-9deg);box-shadow:0 22px 34px #606fd13b;letter-spacing:-.12em;padding-right:10px}.hero-ribbon{position:relative;margin-top:20px;color:#8a94b7;font-size:9px;letter-spacing:.15em;font-weight:800}
.home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:19px 0 21px}.stat-card{display:flex;gap:14px;text-align:left;align-items:center;background:#fff;border:1px solid #e9edf4;border-radius:16px;min-height:93px;padding:17px 20px;box-shadow:0 4px 20px #21345805;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px #21345810}.stat-card>.stat-symbol{width:51px;height:51px;border-radius:14px;display:grid;place-items:center;flex:0 0 51px}.stat-symbol svg{height:23px;width:23px}.stat-purple{background:#edf0ff;color:#6176d8}.stat-amber{background:#fff4e6;color:#df9d47}.stat-green{background:#e8f6f1;color:#49a58d}.stat-card>div{display:flex;flex-direction:column;gap:3px;min-width:0}.stat-card>div strong{font-size:26px;font-weight:850;letter-spacing:-.06em;line-height:1}.stat-card>div span{color:#8994a6;font-size:11px;font-weight:700}.stat-card>svg{margin-left:auto;width:17px;color:#a7b1c3}
.home-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px}.home-panel{background:#fff;border:1px solid #e9edf4;border-radius:17px;padding:22px 24px;min-width:0;box-shadow:0 6px 18px #26375905;display:flex;flex-direction:column}.home-panel .panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:20px}.home-panel .panel-title .eyebrow{font-size:9px;color:#97a2b6;letter-spacing:.12em}.home-panel .panel-title h2{font-size:18px;font-weight:820;letter-spacing:-.04em;margin:7px 0 0}.text-action{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#5d76ca;font-size:11px;font-weight:800;padding:6px 0;white-space:nowrap}.text-action svg{width:13px;height:13px}.text-action:hover{text-decoration:underline}
.today-schedule,.week-panel{min-height:351px}.overview-events{display:flex;flex-direction:column;gap:8px}.overview-event{display:flex;align-items:center;gap:13px;width:100%;border:1px solid #ecf0f5;border-radius:13px;background:#fff;text-align:left;padding:12px;min-height:64px;transition:background .16s}.overview-event:hover{background:#f9faff}.overview-event-time{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:56px;font-size:11px;color:#364861}.overview-event-time strong{font-size:11px}.overview-event-time span{color:#9aa4b6;font-size:10px}.overview-event-accent{height:38px;width:4px;border-radius:5px;flex:0 0 4px}.overview-event-info{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.overview-event-info strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-event-info small{color:#9aa5b3;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-event .small-avatars{display:flex;align-items:center;flex-shrink:0}.overview-event .tiny-avatar{height:25px;width:25px;font-size:10px}.everyone-label{font-size:9px;color:#a2adbe}
.home-empty{padding:36px 12px;text-align:center;display:flex;align-items:center;flex-direction:column}.home-empty .empty-symbol{height:45px;width:45px;display:grid;place-items:center;font-size:24px;background:#f0f2ff;border-radius:50%;color:#697fd6;margin-bottom:11px}.home-empty strong{font-size:14px}.home-empty p{font-size:11px;color:#95a0b2;margin:7px 0 14px}.home-empty .btn{min-height:34px}
.week-strips{display:grid;gap:7px}.week-strip{border:1px solid #eef1f6;border-radius:10px;background:#fff;display:flex;align-items:center;gap:11px;min-height:38px;padding:7px 11px;text-align:left;transition:background .17s}.week-strip:hover{background:#f8faff}.week-strip.active{background:#f3f6ff;border-color:#e0e6ff}.week-strip-date{width:36px;min-width:36px;display:flex;align-items:center;gap:5px}.week-strip-date strong{font-size:9px;color:#8d9ab2;width:22px}.week-strip-date span{font-size:14px;font-weight:850}.week-strip-body{flex:1;min-width:0;display:flex;align-items:center;gap:9px}.week-strip-body b{font-size:10px;font-weight:800;white-space:nowrap;min-width:60px}.week-strip-body small{font-size:10px;color:#96a0b0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.week-strip-dots{display:flex;gap:3px}.week-strip-dots i{width:7px;height:7px;border-radius:100%;display:block}
.home-list{min-height:180px;flex:1}.mini-task,.mini-shopping{display:flex;align-items:center;gap:12px;border-bottom:1px solid #f0f1f5;padding:11px 0;min-height:46px}.mini-task:last-child,.mini-shopping:last-child{border-bottom:0}.check-box{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;background:#fff;border:1.5px solid #cbd4e6;color:#fff;flex:0 0 23px;padding:0;transition:background .15s}.check-box:hover{border-color:#5c78df}.check-box.checked{background:#5f7bdd;border-color:#5f7bdd}.check-box svg{width:15px;height:15px;stroke-width:3}.mini-task-content{display:flex;flex-direction:column;gap:4px;align-items:flex-start;text-align:left;flex:1;min-width:0;border:0;background:none;padding:0}.mini-task-content strong,.mini-shopping>span{font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;max-width:100%}.mini-task-content span{font-size:10px;color:#9aa6b4}.mini-task.is-done strong,.mini-shopping.is-done>span{text-decoration:line-through;color:#9cacc0}.priority-tag{font-size:9px;font-weight:800;color:#c57746;background:#fff1e8;border-radius:7px;padding:6px 7px;white-space:nowrap}.mini-shopping>span{flex:1}.mini-shopping small{font-size:10px;color:#8f9bab}.compact-empty{color:#96a2b6;font-size:12px;padding:28px 0}.add-inline{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;background:#f4f7ff;border:1px dashed #d5dff7;border-radius:9px;color:#5976cf;font-size:11px;font-weight:800;padding:10px 12px;margin-top:15px}.add-inline svg{width:14px;height:14px}.quick-shop-form{display:flex;align-items:center;gap:7px;border:1px solid #e4eaf5;border-radius:9px;padding:4px 5px 4px 12px;margin-top:15px}.quick-shop-form input{border:0;min-width:0;width:100%;padding:7px 0;font-size:11px;color:#334155}.quick-shop-form input:focus{border:0!important;box-shadow:none!important}.quick-shop-form button{border:0;background:#5d77dd;color:white;width:32px;height:30px;border-radius:7px;display:grid;place-items:center;flex-shrink:0}.quick-shop-form button svg{width:16px;height:16px}
.home-footer{text-align:center;margin-top:33px;font-size:9px;letter-spacing:.11em;color:#a3adbd}.home-footer strong{color:#7c8eb0}
.page-heading{margin-bottom:25px}.page-heading h1,.collection-heading h1{font-size:clamp(27px,2.5vw,38px);font-weight:870;letter-spacing:-.055em;margin:10px 0 7px}.page-heading p,.collection-heading p{font-size:12px;color:#8f9bad;margin:0}.calendar-page{padding-top:31px}.cal-search{display:flex;align-items:center;gap:10px;border:1px solid #e7ecf4;border-radius:11px;background:white;padding:0 13px;height:40px;margin-bottom:15px;max-width:420px;color:#9ba8bf}.cal-search svg{height:17px;width:17px}.cal-search input{border:0;outline:0;box-shadow:none!important;flex:1;min-width:0;font-size:12px;height:100%;color:#2b3854}.cal-search input::placeholder{color:#9aa8ba}
.collection-page{max-width:1170px}.collection-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:26px}.collection-heading .btn{margin-bottom:4px}.collection-main{background:#fff;border:1px solid #e9edf4;border-radius:18px;padding:25px 28px;box-shadow:0 6px 22px #23355206}.collection-main .panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.collection-main .panel-title h2{font-size:18px;margin:0 0 6px}.collection-main .panel-title span{font-size:11px;color:#9aa5b4}.pill-switch{display:flex;align-items:center;gap:3px;background:#f3f5fa;padding:4px;border-radius:10px}.pill-switch button{border:0;background:transparent;padding:7px 11px;border-radius:8px;font-size:11px;font-weight:800;color:#93a0b4}.pill-switch button.selected{background:white;box-shadow:0 2px 7px #16284a10;color:#4764bd}.task-list,.shopping-list{margin-top:25px}.task-row,.shopping-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid #f0f2f6;min-height:67px;padding:12px 5px}.task-row:last-child,.shopping-row:last-child{border-bottom:0}.task-row-body{flex:1;min-width:0;border:0;background:transparent;text-align:left;display:flex;flex-direction:column;gap:7px;padding:0}.task-row-body strong,.shopping-row>strong{font-size:13px;font-weight:750}.task-row-body span{font-size:11px;color:#98a3b5}.task-row-body span i{font-style:normal;color:#c47b51;font-weight:800}.task-row.is-done .task-row-body strong,.shopping-row.is-done strong{text-decoration:line-through;color:#a8b2c1}.task-trash{color:#9da8bd;width:31px;height:31px;border-radius:8px;margin-left:auto}.task-trash:hover{background:#fff0f1;color:#c3566a}.task-trash svg{width:15px;height:15px}.big-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:48px 14px;color:#9ba9b9}.big-empty>svg{width:35px;height:35px;stroke:#7190d9;margin-bottom:12px}.big-empty h3{font-size:16px;color:#35435b;margin:0 0 9px}.big-empty p{font-size:12px;margin:0 0 16px}.list-count{display:inline-flex;background:#eaf5f1;color:#4e9c7e;font-size:11px;font-weight:850;padding:10px 15px;border-radius:99px}.shopping-entry{display:flex;align-items:center;gap:10px;margin-top:24px;background:#f8faff;border:1px solid #e9eef8;padding:9px;border-radius:12px}.shopping-entry input{border:1px solid #e8edf5;background:white;border-radius:8px;min-width:0;flex:1;font-size:12px;padding:12px 13px}.shopping-entry input[name="quantity"]{flex:0 1 148px}.shopping-entry button{min-height:41px;padding:0 18px;display:flex;align-items:center;gap:6px}.shopping-row{min-height:57px}.shopping-row>strong{flex:1}.shopping-qty{font-size:11px;color:#8997a9;background:#f5f7fb;padding:6px 10px;border-radius:8px}.done-head{margin-top:34px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ebedf5;padding-top:20px}.done-head h3{font-size:14px;color:#8f9aab;margin:0}.bought-list{margin-top:10px}.task-dialog .modal-top{margin-bottom:22px}
.mobile-tabs{display:none}
@media(max-width:1240px){.home-page,.collection-page{padding-left:23px;padding-right:23px}.home-hero{padding:30px}.home-grid{gap:13px}.home-panel{padding:19px}.stat-card{padding:14px;gap:11px}}
@media(max-width:980px){.home-grid{grid-template-columns:1fr 1fr}.home-hero{min-height:210px}.hero-emblem{width:180px}.hero-orb{height:96px;width:96px;font-size:51px}.home-stats{gap:9px}.stat-card .stat-symbol{height:43px;width:43px;flex-basis:43px}.stat-card div strong{font-size:23px}}
@media(max-width:760px){.topbar{height:58px;padding:0 16px}.home-page,.collection-page{padding:14px 12px 92px}.home-hero{min-height:183px;border-radius:17px;padding:24px 21px}.home-hero .eyebrow{font-size:9px;line-height:1.5}.home-hero h1{font-size:29px;max-width:285px}.home-hero p{font-size:11px;max-width:255px}.hero-emblem{min-width:80px;width:110px}.hero-orb{height:68px;width:68px;border-radius:20px;font-size:38px}.hero-ribbon{display:none}.hero-actions{gap:7px;margin-top:18px}.hero-actions .btn{font-size:11px;padding:9px 11px}.home-stats{margin:11px 0 13px;gap:8px}.stat-card{padding:12px 11px;gap:8px;min-height:84px;border-radius:12px}.stat-card>.stat-symbol{display:none}.stat-card>svg{display:none}.stat-card>div strong{font-size:23px}.stat-card>div span{font-size:9px}.home-grid{grid-template-columns:1fr;gap:12px}.home-panel{padding:19px;border-radius:14px}.today-schedule,.week-panel{min-height:0}.home-panel .panel-title h2{font-size:17px}.home-list{min-height:0}.home-footer{font-size:8px;margin-top:24px}.week-strip{min-height:45px}.week-strip-body{display:block}.week-strip-body small{display:block;margin-top:3px}.collection-heading{align-items:start}.collection-heading h1{font-size:29px}.collection-heading p{max-width:270px;line-height:1.6}.collection-heading .btn{font-size:11px;white-space:nowrap}.collection-main{padding:19px 14px;border-radius:14px}.shopping-entry{gap:6px;padding:7px}.shopping-entry input{padding:11px 8px}.shopping-entry input[name="quantity"]{flex-basis:85px}.shopping-entry button{padding:0 10px}.shopping-entry button span{display:none}.task-row,.shopping-row{gap:11px}.mobile-tabs{display:flex;position:fixed;left:0;right:0;bottom:0;bottom:env(safe-area-inset-bottom);z-index:18;min-height:64px;background:rgba(255,255,255,.98);border-top:1px solid #e8ebf1;box-shadow:0 -3px 15px #2b385709;justify-content:space-around;align-items:center;padding:4px 6px}.mobile-tabs button{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:0;background:transparent;color:#9ba5b4;font-size:9px;font-weight:800;padding:8px 0}.mobile-tabs button svg{width:20px;height:20px;stroke-width:1.85}.mobile-tabs button.on{color:#4c6de0}.mobile-tabs button.on svg{stroke-width:2.3}.sidebar{z-index:40;box-shadow:0 20px 60px #3449691b}.calendar-page{padding:19px 10px 92px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px}.page-heading{margin-bottom:19px}.cal-search{max-width:none}.settings-page{padding-bottom:91px}.topbar-right .sync-button{width:30px;height:30px}.topbar-right{gap:7px}.auth-card{padding:30px 22px}}
@media(max-width:440px){.home-hero{padding:21px 16px}.home-hero h1{font-size:26px}.hero-emblem{width:72px;min-width:72px}.hero-orb{width:57px;height:57px;font-size:31px;border-radius:15px}.hero-actions .btn{font-size:10px}.overview-event{gap:9px;padding:10px}.overview-event .small-avatars{display:none}.stat-card{padding:10px 8px}.stat-card>div strong{font-size:21px}.stat-card>div span{font-size:8px}.calendar-toolbar{align-items:flex-start}.calendar-toolbar .cal-controls{margin-left:auto}.week-strip-body small{font-size:9px}.shopping-entry input[name="quantity"]{flex-basis:73px;font-size:11px}.shopping-entry input[name="title"]{font-size:11px}.shopping-entry .btn{min-width:38px}.collection-heading{flex-direction:column}.collection-heading .btn{align-self:flex-start}}

.mobile-fab{display:none}
@media(max-width:760px){.mobile-tabs{bottom:0;padding-bottom:max(4px,env(safe-area-inset-bottom))}.mobile-fab{position:fixed;display:grid;place-items:center;right:18px;bottom:calc(83px + env(safe-area-inset-bottom));z-index:16;width:51px;height:51px;color:#fff;background:#5573e3;border:0;border-radius:16px;box-shadow:0 10px 24px #5573e34a}.mobile-fab svg{width:25px;height:25px;stroke-width:2.4}.home-page,.calendar-page,.collection-page,.settings-page{padding-bottom:calc(105px + env(safe-area-inset-bottom))}}
