:root{font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#302a36;background:#fcfafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button{border:0;background:none}button:focus-visible{outline:2px solid #9e6ab7;outline-offset:2px}svg{flex-shrink:0}h1,h2,p{margin-top:0}.app{max-width:760px;margin:auto;min-height:100dvh;padding:16px 16px 112px;background:radial-gradient(ellipse at 90% 0,#f7f0fa80,transparent 40%),#fdfcfd}header{height:114px;display:flex;align-items:center;gap:12px;position:relative}.icon-button{padding:8px;display:grid;place-items:center}.icon-button svg{width:24px;height:24px}.month-control{z-index:1}.month-title{font-size:26px;font-weight:800;text-transform:capitalize;display:flex;align-items:center;gap:7px;padding:0;white-space:nowrap}.month-arrows{display:flex;gap:20px;margin-top:8px}.month-arrows button{padding:2px 8px;border-radius:10px;background:#f5eff8}.month-arrows svg{width:16px;height:16px}.cats{width:150px;height:100px;object-fit:contain;margin-left:auto}.today-button{margin-left:auto}.weekdays{display:grid;grid-template-columns:24px repeat(7,minmax(0,1fr));padding-bottom:12px;text-align:center;font-weight:800;font-size:14px;color:#69616f}.weekend{color:#bd4975}.month-grid{display:grid;grid-template-columns:24px repeat(7,minmax(0,1fr));gap:5px 4px}.weeknumber{font-size:12px;color:#9d94a5;display:flex;align-items:center;justify-content:center}.day{min-width:0;height:clamp(52px,9vw,72px);border-radius:10px;background:linear-gradient(135deg,#f8f4fb,#faf8fc);position:relative;display:flex;align-items:center;flex-direction:column;padding:4px 4px 6px;border:1.5px solid transparent}.day-number{font-size:22px;font-weight:700;line-height:1.25;min-width:28px;height:28px;display:grid;place-items:center}.day.muted{opacity:.38}.day.selected{border-color:#a56bb7;background:#f6eaf9}.day.selected .day-number{background:#8b4ca3;border-radius:50%;color:#fff}.day.today:not(.selected){border-color:#eda8c6;background:#fff0f7}.day.together{box-shadow:inset 0 0 0 1px #f1b7d3}.day-symbol{position:absolute;right:3px;top:5px;color:#c55b8b}.day-symbol svg.lucide-coffee{color:#976344}.marks{width:100%;margin-top:auto;display:flex;flex-direction:column;gap:3px}.marks i{border-radius:8px;width:100%;display:block}.marks b{position:absolute;bottom:0;right:3px;font-size:9px}.legend{margin:10px 0 15px;background:#faf7fc;border:1px solid white;border-radius:20px;padding:12px;display:flex;flex-wrap:wrap;gap:10px 16px;font-size:11px;color:#625768}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:20px;height:5px;border-radius:5px}.legend .pink{background:#e68ab2}.legend svg{width:16px;height:16px;color:#b7658a}.legend .lucide-coffee{color:#95623d}.schedule{border:1px solid #fff;border-radius:25px;padding:18px;background:linear-gradient(135deg,#fff,#fcf8fd);box-shadow:0 8px 35px #ae87bd0d}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}h1{font-size:22px;margin:0;font-weight:800}h1:first-letter{text-transform:uppercase}.doodle{width:33px;height:33px;color:#eac2d7;transform:rotate(-14deg)}.events{max-height:32vh;overflow:auto;display:flex;flex-direction:column;gap:9px}.event{--owner:#a777bd;display:flex;align-items:center;gap:12px;text-align:left;width:100%;border-radius:17px;padding:12px 14px;background:color-mix(in srgb,var(--owner) 13%,white);color:#302a36;flex-shrink:0}.event:disabled{opacity:1}.event svg{color:var(--owner);width:24px;height:24px}.event strong{font-size:18px;display:block;font-weight:800}.event-title{font-size:15px;display:block;margin-top:1px}.event small{margin-left:auto;font-size:12px;white-space:nowrap;background:color-mix(in srgb,var(--owner) 12%,transparent);padding:5px 8px;border-radius:15px;color:#78677c}.hint{font-size:12px;line-height:1.6;color:#95899c;margin:12px 0}.implicit small{background:transparent;font-size:10px}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);max-width:760px;width:100%;padding:12px 18px max(16px,env(safe-area-inset-bottom));display:flex;gap:5px;background:#fdfaffed;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid white;z-index:5}nav button{flex:1;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:12px;padding:9px 4px;border-radius:17px;color:#776b80}nav svg{width:23px;height:23px}nav .active{color:#8f4aaf;background:#f1e5fb}.add{position:fixed;bottom:94px;right:max(20px,calc((100vw - 720px)/2));width:59px;height:59px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#c29ad5,#a472c3);box-shadow:0 5px 20px #a472c333;z-index:6;display:grid;place-items:center}.add svg{width:34px;height:34px}.panel{padding:24px 14px}.panel h1{margin-bottom:24px}.panel h2{font-size:17px;margin-top:28px}.panel>.cats{width:240px;height:150px;display:block;margin:20px auto}.person{display:flex;gap:12px;align-items:center;padding:18px 0;font-weight:800}.person small{margin-left:auto;font-weight:400;font-size:12px}.expanded .events{max-height:65vh}.color-field{display:flex;justify-content:space-between;align-items:center}.color-field input{width:60px;height:40px;padding:3px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#30213855;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:#fefcff;width:100%;max-width:560px;max-height:94dvh;overflow:auto;padding:24px 22px 30px;border-radius:28px 28px 0 0;box-shadow:0 -8px 45px #40204722}.sheet-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.sheet h2{margin:0;font-size:23px}label{display:block;font-size:13px;font-weight:700;margin:12px 0;color:#75617f}input,select{display:block;width:100%;min-height:43px;border:1px solid #e8deec;border-radius:11px;padding:9px 10px;background:#fff;color:#302a36;margin-top:6px;min-width:0}input:focus,select:focus{outline:2px solid #c6a6d6}.fields{display:flex;gap:12px}.fields>*{flex:1;min-width:0}.fields button{margin-top:6px}.primary,.secondary,.delete{padding:11px 15px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary{background:#a371ba;color:#fff}.secondary{background:#f0e6f6;color:#8b50a2}.text-button{display:block;color:#93769f;padding:15px 0}.delete{color:#bb5c7f;background:#fff0f5}.form-actions{display:flex;justify-content:space-between;margin-top:22px;gap:15px}.form-actions .primary{margin-left:auto}.weekday-picker{display:flex;gap:5px}.weekday-picker button{padding:9px 0;flex:1;background:#f3ecf7;border-radius:9px}.weekday-picker .chosen{background:#a371ba;color:#fff}.chips{display:flex;flex-wrap:wrap;gap:6px}.chips button{background:#f2e9f8;border-radius:9px;padding:6px;font-size:12px}.error{background:#ffedf2;color:#a33a59;padding:10px;border-radius:10px;font-size:13px}@media(max-width:430px){.app{padding:5px 9px 105px}header{height:103px;gap:3px}.month-title{font-size:20px}.cats{width:112px;height:83px}.icon-button{padding:5px}.icon-button svg{width:21px}.day{height:55px;padding:4px 3px}.day-number{font-size:19px;min-width:25px;height:25px}.month-grid{gap:4px 3px;grid-template-columns:19px repeat(7,minmax(0,1fr))}.weekdays{grid-template-columns:19px repeat(7,minmax(0,1fr));font-size:12px}.legend{font-size:10px;gap:8px 11px;padding:10px}.legend i{width:16px}.schedule{padding:15px 11px}h1{font-size:20px}.event{padding:10px 12px;gap:10px}.event strong{font-size:17px}.event-title{font-size:14px}.implicit small{max-width:45px;white-space:normal;text-align:right}.event small{font-size:10px;padding:4px}.day-symbol{right:1px;top:2px}.day-symbol svg{width:10px}.events{max-height:29vh}nav{padding:8px 12px 12px}.add{bottom:84px;width:53px;height:53px}.sheet{padding:20px 16px}.panel{padding:20px 12px}}@media(max-width:350px){.cats{width:85px}.month-title{font-size:17px}.today-button{display:none}.day{height:49px}h1{font-size:18px}}.app{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}header,.calendar,.legend{flex-shrink:0}.schedule{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.section-heading{flex-shrink:0}.events,.expanded .events{max-height:none;min-height:0;overflow:auto}.panel{overflow:auto;flex:1;min-height:0}.error{flex-shrink:0}@media(max-height:700px){header{height:78px}.day{height:clamp(32px,calc((100dvh - 380px)/6),48px)}.day-number{font-size:16px;height:22px;min-width:22px}.legend{margin:7px 0;padding:7px;gap:5px 10px}.schedule{padding:10px}.section-heading{margin-bottom:8px}h1{font-size:18px}}@media(max-width:430px)and (min-height:701px){header{height:96px}.day{height:49px}.legend{margin:8px 0 12px}}@media(max-height:700px){.app{padding-bottom:85px}header{height:64px}.day{height:clamp(27px,calc((100dvh - 400px)/6),43px);padding:2px}.day-number{height:18px;min-width:19px;font-size:15px;line-height:1.1}.marks{gap:1px}.marks i{height:2px!important}.weekdays{padding-bottom:6px}.legend{font-size:9px;padding:6px;gap:4px 8px;margin:5px 0}.schedule{min-height:115px}nav{padding:6px 8px 9px}nav button{padding:6px 3px;font-size:11px}.add{bottom:73px;width:48px;height:48px}}
