.modal-backdrop{position:fixed;inset:0;z-index:30;background:rgba(57,45,53,.32);display:none;align-items:flex-end;justify-content:center}.modal-backdrop.open{display:flex}.sheet{width:min(100%,430px);max-height:88vh;overflow:auto;background:#fffafc;border-radius:28px 28px 0 0;padding:18px 18px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(74,54,65,.18)}.sheet-bar{width:42px;height:5px;border-radius:9px;background:#dfd3d7;margin:0 auto 15px}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.sheet h2{margin:0;font-size:20px}.close-sheet{width:36px;height:36px;border:0;border-radius:50%;background:#f4edf0}.types{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:16px}.type{border:2px solid transparent;border-radius:15px;padding:9px 3px;background:#f8f3f5;color:var(--ink);font-size:10px;font-weight:800}.type span{display:block;font-size:19px;margin-bottom:3px}.type.active{border-color:var(--rose);background:#fff}.field{display:block;margin:11px 0}.field span{display:block;font-size:11px;font-weight:800;margin:0 0 5px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:14px;background:white;padding:11px 12px;color:var(--ink);outline:none}.field textarea{min-height:82px;resize:vertical}.row2{display:grid;grid-template-columns:1fr 1fr;gap:9px}.save-item{width:100%;border:0;border-radius:16px;background:linear-gradient(135deg,#df91ab,#b3a7db);color:white;font-weight:900;padding:13px;margin-top:8px}.user-item{position:relative}.edit-item{position:absolute;right:2px;top:9px;border:0;background:#f7f0f3;border-radius:10px;width:28px;height:28px;color:var(--muted)}.event-list{margin-top:9px}.event-row{padding:10px 12px;border-radius:15px;background:#f7f2fa;margin-top:7px;font-size:11px}.event-row b{display:block;font-size:12px}.empty-hint{text-align:center;color:var(--muted);font-size:11px;padding:10px}.saved-badge{display:inline-block;font-size:9px;padding:3px 6px;border-radius:99px;background:var(--sage2);color:#54755b;margin-left:5px}
/* v0.9 — identité agrandie et sélection journalière */
.top{align-items:flex-end;padding:0 2px 8px}.brand{gap:14px;align-items:center;min-width:0}.mark{width:126px;height:126px;flex:0 0 126px;margin-bottom:-38px;position:relative;z-index:2}.brand h1{font-family:Georgia,"Times New Roman",serif;font-size:38px;font-style:italic;font-weight:700;line-height:.96;letter-spacing:-1.1px;white-space:nowrap}.brand .subtitle{font-size:12px;margin-top:7px}.day{appearance:none;border:1px solid transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s}.day:hover{background:#fff7fa}.day:focus-visible{outline:3px solid #b7a9df;outline-offset:1px}.day.selected{background:linear-gradient(145deg,#fbe3eb,#eee8fb);border-color:#d994ad;box-shadow:0 5px 12px rgba(157,101,129,.16);font-weight:900;transform:translateY(-1px)}.day.today.selected{outline:2px solid #c47894}.event-list{margin-top:14px;padding-top:2px}.event-day-title{margin:0 2px 8px;font-family:Georgia,"Times New Roman",serif;font-size:16px;font-style:italic;color:#66515e}.event-time{font-weight:800;color:#7e6372}.event-row{line-height:1.45}@media(max-width:370px){.mark{width:112px;height:112px;flex-basis:112px;margin-bottom:-32px}.brand{gap:8px}.brand h1{font-size:33px}.brand .subtitle{font-size:10px}}
