:root{color:#5d263d;background-color:#fff2f7}body{margin:0}*{box-sizing:border-box}body{color:#5d263d;background:#fff2f7;margin:0;font-family:system-ui,Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}.app{justify-content:center;align-items:flex-start;gap:24px;min-height:100vh;padding:32px;display:flex}.calendar-card{background:#fff;border-radius:24px;flex:0 900px;width:min(900px,100%);padding:24px;box-shadow:0 16px 40px #5a284126}.calendar-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.calendar-header h1{text-align:center;margin:0;font-size:2rem}.calendar-header p{color:#8a5c70;text-align:center;margin:4px 0 0}.calendar-header button,.today-button{color:#5d263d;background:#ffcee0;border:none;border-radius:999px;padding:10px 16px}.today-button{margin:0 auto 20px;display:block}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:8px;display:grid}.day-labels{margin-bottom:8px}.day-label{text-align:center;color:#8a5c70;font-weight:700}.day-cell{background:#fff7fa;border:1px solid #ffd6e5;border-radius:16px;min-height:100px;padding:10px}.day-cell.empty{background:0 0;border:none}.day-cell.today{border:2px solid #ff7cad}.day-cell.selected{outline:3px solid #b86bff}.day-number{color:#5d263d;font-weight:700}.clickable{text-align:left;cursor:pointer}.clickable:hover{background:#ffeaf2;transform:translateY(-1px)}.item-list{flex-direction:column;gap:4px;margin-top:8px;display:flex}.calendar-item{text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:4px 6px;font-size:.78rem;overflow:hidden}.calendar-item.ivan{color:#21415f;background:#d9ecff}.calendar-item.catt{color:#6a2943;background:#ffe0ec}.item-category{margin-right:4px;font-weight:700}.side-panel{background:#fff;border-radius:24px;width:min(380px,100%);padding:24px;position:relative;box-shadow:0 16px 40px #5a284126}.close-button{color:#5d263d;background:#ffcee0;border:none;border-radius:999px;width:32px;height:32px;position:absolute;top:16px;right:16px}.event-form{flex-direction:column;gap:12px;display:flex}.event-form label{color:#5d263d;flex-direction:column;gap:6px;font-weight:700;display:flex}.event-form input,.event-form textarea,.event-form select{color:#5d263d;background:#fff;border:1px solid #ffd6e5;border-radius:12px;padding:10px}.event-form input::placeholder,.event-form textarea::placeholder{color:#b98ca0}.event-form select option{color:#5d263d;background:#fff}.event-form textarea{resize:vertical;min-height:80px}.event-form button{color:#fff;background:#ff9fc3;border:none;border-radius:999px;padding:12px 16px;font-weight:700}.event-form .secondary-button{color:#5d2d83;background:#f2e7ff}.selected-items{margin-top:24px}.selected-item{background:#fff7fa;border:1px solid #ffd6e5;border-radius:16px;margin-top:10px;padding:12px}.selected-item-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.selected-item-header span{color:#5d263d;background:#ffcee0;border-radius:999px;padding:4px 8px;font-size:.75rem;font-weight:700}.selected-item p{margin:6px 0}.selected-item small{color:#8a5c70}.item-actions{gap:8px;margin-top:12px;display:flex}.item-actions button{color:#5d2d83;background:#f2e7ff;border:none;border-radius:999px;padding:8px 12px}.item-actions .delete-button{color:#8a1f1f;background:#ffe1e1}.category-plan{border-left:5px solid #7ab8ff}.category-reminder{border-left:5px solid #ffbf69}.category-note{border-left:5px solid #b5e48c}.category-dateNight{border-left:5px solid #ff7cad}.category-important{border-left:5px solid #c77dff}@media (width<=1250px){.app{flex-direction:column;align-items:center}.left-panel,.side-panel{flex:none;width:min(900px,100%);max-width:none;position:static}.left-panel{height:auto}.sticky-board{height:520px}}@media (width<=650px){.app,.calendar-card,.side-panel{padding:16px}.calendar-header h1{font-size:1.4rem}.day-cell{min-height:80px;padding:6px}.calendar-item{font-size:.7rem}}.sticky-board{background:#fffaf0;border:1px solid #ffe1a8;border-radius:24px;flex-direction:column;flex:1;min-height:0;padding:20px;display:flex;box-shadow:0 16px 40px #5a28411f}.sticky-board-header h2{color:#5d263d;margin:0}.sticky-board-header p{color:#8a5c70;margin:6px 0 16px}.sticky-canvas{cursor:copy;background-color:#fffdf7;background-image:radial-gradient(circle,#ffd28a59 1px,#0000 1px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:18px 18px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border:2px dashed #ffd28a;border-radius:20px;flex:1;min-height:280px;position:relative;overflow:hidden}.empty-board{color:#8a5c70;pointer-events:none;margin:0;padding:18px;font-style:italic}.sticky-note{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;z-index:1;border-radius:8px;width:170px;min-height:125px;padding:14px;position:absolute;transform:rotate(-1deg);box-shadow:0 8px 18px #5a28412e}.sticky-note:nth-child(2n){transform:rotate(1deg)}.sticky-note.dragging{cursor:grabbing;z-index:20;transform:rotate(0)scale(1.03)}.sticky-note.ivan{color:#21415f;background:#d9ecff}.sticky-note.catt{color:#6a2943;background:#ffe0ec}.sticky-note p{white-space:pre-wrap;margin:0 0 14px;line-height:1.35}.sticky-note footer{justify-content:space-between;align-items:center;gap:12px;font-size:.78rem;display:flex}.sticky-note footer button{color:inherit;cursor:pointer;background:#ffffffa6;border:none;border-radius:999px;width:28px;height:28px;font-weight:700}.sticky-popup{z-index:30;cursor:default;background:#fff;border:1px solid #ffd28a;border-radius:18px;width:230px;padding:14px;position:absolute;box-shadow:0 14px 30px #5a284138}.sticky-popup form{flex-direction:column;gap:10px;display:flex}.sticky-popup label{color:#5d263d;flex-direction:column;gap:6px;font-weight:700;display:flex}.sticky-popup textarea{resize:vertical;color:#5d263d;background:#fff;border:1px solid #ffd28a;border-radius:12px;min-height:90px;padding:10px}.sticky-popup textarea::placeholder{color:#b98ca0}.sticky-popup select{color:#5d263d;background:#fff;border:1px solid #ffd28a;border-radius:999px;padding:10px}.sticky-popup select option{color:#5d263d;background:#fff}.sticky-popup-actions{gap:8px;display:flex}.sticky-popup-actions button{color:#5d263d;background:#ffbf69;border:none;border-radius:999px;flex:1;padding:10px;font-weight:700}.sticky-popup-actions .cancel-sticky-button{color:#5d2d83;background:#f2e7ff}.song-card{background:#fff7fa;border:1px solid #ffd6e5;border-radius:20px;padding:16px}.song-card-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.song-card h2,.song-card h3{color:#5d263d;margin:0}.song-card-header p,.song-meta,.empty-song{color:#8a5c70;margin:4px 0 0}.song-note{color:#5d263d;background:#fff;border:1px solid #ffd6e5;border-radius:14px;padding:10px}.spotify-player{border:none;border-radius:12px;margin-top:12px}.delete-song-button{color:#8a1f1f;background:#ffe1e1;border:none;border-radius:999px;padding:8px 12px;font-weight:700}.song-form-section{border-top:1px solid #ffd6e5;margin-top:24px;padding-top:18px}.song-form-section h3{margin-top:0}.song-form{flex-direction:column;gap:12px;display:flex}.song-form label{color:#5d263d;flex-direction:column;gap:6px;font-weight:700;display:flex}.song-form input,.song-form textarea,.song-form select{color:#5d263d;background:#fff;border:1px solid #ffd6e5;border-radius:12px;padding:10px}.song-form input::placeholder,.song-form textarea::placeholder{color:#b98ca0}.song-form select option{color:#5d263d;background:#fff}.song-form textarea{resize:vertical;min-height:80px}.song-form button{color:#fff;background:#ff9fc3;border:none;border-radius:999px;padding:12px 16px;font-weight:700}.left-panel{flex-direction:column;flex:440px;gap:16px;min-width:340px;max-width:560px;height:calc(100vh - 64px);display:flex;position:sticky;top:32px}.left-song-card{flex:none;margin-bottom:0}.sync-status{margin:4px 0 0;font-size:.85rem;font-weight:700}.sync-status.connecting{color:#8a5c70}.sync-status.online{color:#2d7a46}.sync-status.error{color:#b42318}.character-dock{z-index:100;align-items:flex-end;gap:12px;display:flex;position:fixed;bottom:24px;left:50%;right:auto;transform:translate(-50%)}.character-button{background:#ffffffdb;border:none;border-radius:22px;width:76px;height:76px;padding:8px;transition:transform .15s,box-shadow .15s;box-shadow:0 10px 26px #5a284133}.character-button:hover{transform:translateY(-5px)scale(1.04);box-shadow:0 14px 34px #5a284142}.character-button img{object-fit:contain;pointer-events:none;width:100%;height:100%}.character-speech-bubble{color:#5d263d;background:#fff;border:1px solid #ffd6e5;border-radius:20px;width:240px;padding:16px 38px 16px 16px;position:absolute;bottom:92px;left:50%;transform:translate(-50%);box-shadow:0 14px 34px #5a284138}.character-speech-bubble:after{content:"";background:#fff;border-bottom:1px solid #ffd6e5;border-right:1px solid #ffd6e5;width:18px;height:18px;position:absolute;bottom:-10px;left:50%;transform:translate(-50%)rotate(45deg)}.character-speech-bubble p{margin:0;line-height:1.4}.speech-close-button{color:#5d263d;background:#ffcee0;border:none;border-radius:999px;width:24px;height:24px;font-weight:700;position:absolute;top:8px;right:8px}@media (width<=650px){.character-dock{bottom:14px;left:50%;right:auto;transform:translate(-50%)}.character-button{border-radius:18px;width:60px;height:60px}.character-speech-bubble{width:210px;bottom:76px}}.today-vibe{color:#7a3b68;background:#fff7fa;border:1px solid #ffd6e5;border-radius:999px;margin:4px 0 0;padding:4px 10px;font-weight:700;display:inline-block}.vibe-picker{color:#5d263d;background:#fff;border:1px solid #ffd6e5;border-radius:20px;width:280px;padding:16px;position:absolute;bottom:92px;left:50%;transform:translate(-50%);box-shadow:0 14px 34px #5a284138}.vibe-picker h3{margin:0 0 12px}.vibe-options{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.vibe-options button,.clear-vibe-button{color:#5d263d;background:#fff2f7;border:none;border-radius:999px;padding:9px 10px;font-weight:700}.vibe-options button:hover,.clear-vibe-button:hover{background:#ffcee0}.vibe-options span{margin-right:5px}.clear-vibe-button{color:#8a1f1f;background:#ffe1e1;width:100%;margin-top:12px}
