@font-face{font-family:Yomogi;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/yomogi-japanese-400-normal-CT2Ace0U.woff2) format("woff2"),url(/assets/yomogi-japanese-400-normal-DMPQir4a.woff) format("woff")}@font-face{font-family:Yomogi;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/yomogi-latin-400-normal-AVNEejPp.woff2) format("woff2"),url(/assets/yomogi-latin-400-normal-HBBK5y6F.woff) format("woff")}html,body{margin:0;padding:0;height:100%;overflow:hidden;overscroll-behavior:none;-webkit-user-select:none;user-select:none}body{background:#fdf6ee;font-family:Yomogi,sans-serif;color:#3d2010}button,input,textarea,select{font-family:inherit}input,textarea,select{-webkit-user-select:text;user-select:text}.app-shell{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:#fdf6ee}.app-header{flex-shrink:0;z-index:10;background:#fdf6ee}.app-content{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.pager{flex:1;display:flex;overflow-x:scroll;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}.pager::-webkit-scrollbar{display:none}.pager-page{flex:0 0 100%;width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scroll-snap-align:start;scroll-snap-stop:always}.nav-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:.5rem .8rem;padding-top:calc(.5rem + env(safe-area-inset-top,0px));padding-left:calc(.8rem + env(safe-area-inset-left,0px));padding-right:calc(.8rem + env(safe-area-inset-right,0px));border-bottom:1px solid #eddfc8;background:#fdf6ee}.nav-settings-btn{background:none;border:none;color:#e07b39;font-size:1.2rem;padding:.25rem .4rem;cursor:pointer;display:flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;border-radius:8px;justify-self:start}.nav-settings-btn:active{background:#eddfc8}.nav-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;overflow:hidden}@keyframes nav-title-slide-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.nav-title{margin:0;padding:0;font-size:1rem;font-weight:700;color:#6b4020;text-align:center;animation:nav-title-slide-in .4s ease}.nav-child-dots{display:flex;gap:.3rem;align-items:center}.nav-child-dot{width:5px;height:5px;border-radius:50%;background:#eddfc8;transition:background .2s}.nav-child-dot.active{background:#e07b39}.nav-right-placeholder{width:2.2rem;justify-self:end}.nav-child-switch-btn{background:none;border:1px solid #eddfc8;color:#e07b39;font-size:.75rem;font-weight:700;padding:.25rem .6rem;border-radius:20px;cursor:pointer;white-space:nowrap;max-width:6rem;overflow:hidden;text-overflow:ellipsis;justify-self:end}.nav-child-switch-btn:active{background:#eddfc8}@keyframes spin{to{transform:rotate(360deg)}}.loading-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem}.loading-title{margin:0;font-size:1.1rem;font-weight:700;color:#6b4020}.loading-spinner{width:32px;height:32px;border:3px solid #eddfc8;border-top-color:#e07b39;border-radius:50%;animation:spin .8s linear infinite}.offline-icon{font-size:2rem;color:#8a5c30}.offline-heading{margin:0;color:#6b4020;font-weight:700}.offline-message{margin:0;font-size:.85rem;color:#7a4e28;text-align:center}.offline-retry-btn{margin-top:.5rem;padding:.5rem 1.5rem;background:#e07b39;color:#fff;border:none;border-radius:999px;font-size:.9rem;font-weight:700;cursor:pointer}.offline-retry-btn:active{opacity:.8}@keyframes sheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes sheet-slide-down{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes sheet-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-overlay-out{0%{opacity:1}to{opacity:0}}.settings-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:200;display:flex;align-items:flex-end;justify-content:center;animation:sheet-overlay-in .25s ease}.settings-sheet-overlay.closing{animation:sheet-overlay-out .25s ease forwards}.settings-sheet{background:#f2ebe3;border-radius:18px 18px 0 0;width:100%;max-width:500px;height:calc(100% - env(safe-area-inset-top,0px) - .5rem);height:calc(100dvh - env(safe-area-inset-top,0px) - .5rem);display:flex;flex-direction:column;animation:sheet-slide-up .3s cubic-bezier(.4,0,.2,1);box-shadow:0 -4px 30px #00000026}.settings-sheet.closing{animation:sheet-slide-down .26s cubic-bezier(.4,0,.2,1) forwards}.settings-sheet-handle{display:flex;justify-content:center;padding:.5rem 1rem .2rem;flex-shrink:0;border-radius:18px 18px 0 0;background:#f2ebe3}.settings-sheet-handle-bar{width:36px;height:4px;border-radius:2px;background:#eddfc8}.settings-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:.4rem 1rem .6rem;flex-shrink:0;background:#f2ebe3;border-bottom:1px solid #eddfc8}.settings-sheet-title{font-size:1rem;font-weight:700;color:#6b4020}.settings-sheet-close{background:none;border:none;color:#6e4828;font-size:1.2rem;cursor:pointer;padding:.2rem .4rem;border-radius:6px;display:flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem}.settings-sheet-close:active{background:#eddfc8}.settings-sheet-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:.5rem 1rem 2rem;padding-bottom:calc(2rem + env(safe-area-inset-bottom,0px))}h1{text-align:center;color:#6b4020;font-size:1.3rem;padding:1rem 0 .2rem}.sub{text-align:center;font-size:.7rem;color:#6e4828;margin-bottom:.8rem}.tabs{display:flex;border-bottom:2px solid #eddfc8;background:#fffaf4}.tab{flex:1;padding:.6rem;text-align:center;font-size:.8rem;font-weight:700;color:#6e4828;border-bottom:3px solid transparent;cursor:pointer}.tab.on{color:#e07b39;border-bottom-color:#e07b39}.page{padding:.8rem;padding-bottom:calc(6rem + env(safe-area-inset-bottom,0px))}.stats-period{font-size:.65rem;color:#6e4828;text-align:right;margin-bottom:.3rem}.stats-period-selector{display:flex;gap:.3rem;justify-content:flex-end;margin-bottom:.5rem}.period-btn{background:#fffaf4;border:1.5px solid #eddfc8;border-radius:20px;padding:.2rem .7rem;font-size:.72rem;color:#6e4828;cursor:pointer}.period-btn.active{background:#e07b39;border-color:#e07b39;color:#fff;font-weight:700}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-bottom:.8rem}.stat{background:#fffaf4;border:2px solid #eddfc8;border-radius:10px;padding:.6rem .2rem;text-align:center}.stat-n{font-size:1.4rem;font-weight:700;color:#e07b39}.stat-l{font-size:.6rem;color:#6e4828}.stat-sub{font-size:.6rem;color:#8b6040;margin-top:.15rem}.stats-view-toggle{display:flex;background:#eddfc8;border-radius:8px;padding:2px;margin-bottom:.5rem}.view-toggle-btn{flex:1;background:none;border:none;border-radius:6px;padding:.3rem;font-size:.72rem;color:#6e4828;cursor:pointer}.view-toggle-btn.active{background:#fff;color:#e07b39;font-weight:700}.leg{display:flex;flex-wrap:wrap;gap:.3rem .8rem;justify-content:center;background:#fffaf4;border:1px solid #eddfc8;border-radius:8px;padding:.5rem;margin-bottom:.8rem}.li{display:flex;align-items:center;gap:.25rem;font-size:.65rem;color:#6e4828}.ld{width:9px;height:9px;border-radius:50%}.mo{background:#fffaf4;border:2px solid #eddfc8;border-radius:12px;padding:.7rem;margin-bottom:.7rem}.mo-gap{display:flex;align-items:center;gap:.4rem;margin-bottom:.7rem;color:#8a6050;font-size:.7rem}.mo-gap:before,.mo-gap:after{content:"";flex:1;border-top:1px dashed #d9c9b8}.mo-gap-label{white-space:nowrap}.mo-title{font-size:.85rem;font-weight:700;color:#6b4020;margin-bottom:.5rem}.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:.15rem}.wl{text-align:center;font-size:.55rem;color:#6e4828;font-weight:700;padding-bottom:.1rem}.dc{aspect-ratio:1;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.6rem;border:1.5px solid transparent}.no{background:#f8f2e9;border-color:#eddfc8;color:#6e4828}.yes{background:#fff3e0;border-color:#e07b39;color:#6b4020;font-weight:700;cursor:pointer}.dots{display:flex;flex-wrap:wrap;justify-content:center;gap:1px;margin-top:1px;max-width:20px}.dot{width:4px;height:4px;border-radius:50%}.det{background:#fffaf4;border:2px solid #e07b39;border-radius:12px;padding:.7rem;margin-bottom:.8rem}.det-head{display:flex;justify-content:space-between;align-items:center;font-weight:700;color:#6b4020;font-size:.9rem;margin-bottom:.6rem}.det-close{font-size:1.2rem;color:#6e4828;cursor:pointer;background:none;border:none;padding:.2rem}.det-row{display:flex;align-items:flex-start;gap:.5rem;padding:.4rem 0;border-bottom:1px solid #eddfc8;font-size:.8rem}.det-row:last-child{border-bottom:none}.bdg{padding:.15rem .4rem;border-radius:20px;font-size:.65rem;font-weight:700;flex-shrink:0}.stag{font-size:.6rem;background:#f2ebe3;color:#5c3d2e;padding:.1rem .3rem;border-radius:6px;margin-left:.2rem}.memo{font-size:.65rem;color:#6e4828;margin-top:.2rem}.bar-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem}.bar-row:last-child{margin-bottom:0}.bar-lbl{font-size:.7rem;color:#6e4828;min-width:32px;text-align:right}.bar-bg{flex:1;height:20px;background:#eddfc8;border-radius:10px;overflow:hidden;position:relative}.bar-fill{height:100%;border-radius:10px}.line-chart{width:100%;height:auto;display:block}.chart-legend{display:flex;flex-wrap:wrap;gap:.2rem .6rem;justify-content:center;margin-top:.4rem}.chart-legend-item{display:flex;align-items:center;gap:.2rem;font-size:.6rem;color:#6e4828}.chart-legend-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.bar-val{position:absolute;left:6px;top:0;height:100%;display:flex;align-items:center;font-size:.62rem;font-weight:700;color:#5c3d2e;white-space:nowrap;pointer-events:none}.info{background:#fffaf4;border:2px solid #eddfc8;border-radius:10px;padding:.7rem;font-size:.75rem;color:#6e4828;line-height:1.8;margin-bottom:.8rem}.info b{color:#e07b39}.chips{display:flex;flex-wrap:wrap;gap:.3rem}.chip{background:#fffaf4;border:1px solid #eddfc8;border-radius:20px;padding:.2rem .5rem;font-size:.65rem;color:#6e4828}.chip b{color:#e07b39}.sec{font-size:.82rem;font-weight:700;color:#6b4020;margin:.8rem 0 .5rem}.fab{position:fixed;bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));right:calc(1.5rem + env(safe-area-inset-right,0px));width:3.8rem;height:3.8rem;border-radius:50%;background:#e07b39;color:#fff;border:none;font-size:2rem;line-height:1;cursor:pointer;box-shadow:0 3px 10px #00000040;z-index:100;display:flex;align-items:center;justify-content:center}.fab:active{background:#c96a2a}.ctag{font-size:.6rem;padding:.1rem .3rem;border-radius:6px;margin-left:.2rem;font-weight:700;color:#fff}.modal-color{width:2.2rem;height:2.2rem;border-radius:50%;border:2px solid #eddfc8;background:var(--cc);cursor:pointer;padding:0}.modal-color.sel{border-color:#c4956a;box-shadow:0 0 0 2px #c4956a}.dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem;animation:overlay-fade-in .25s ease}.dialog-overlay.closing{animation:overlay-fade-out .25s ease forwards}.dialog{background:#fffaf4;border-radius:14px;padding:1rem;width:100%;max-width:360px;box-shadow:0 8px 30px #0003;box-sizing:border-box;animation:dialog-scale-in .25s cubic-bezier(.4,0,.2,1)}.dialog.closing{animation:dialog-scale-out .25s cubic-bezier(.4,0,.2,1) forwards}@keyframes dialog-scale-in{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}@keyframes dialog-scale-out{0%{transform:scale(1);opacity:1}to{transform:scale(.9);opacity:0}}.dialog .modal-head{padding:0;margin-bottom:.8rem}.dialog-actions{display:flex;gap:.5rem;margin-top:.5rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:200;display:flex;align-items:flex-end;justify-content:center;animation:overlay-fade-in .25s ease}.modal-overlay.closing{animation:overlay-fade-out .25s ease forwards}@keyframes overlay-fade-in{0%{opacity:0}to{opacity:1}}@keyframes overlay-fade-out{0%{opacity:1}to{opacity:0}}@keyframes modal-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes modal-slide-down{0%{transform:translateY(0)}to{transform:translateY(100%)}}.modal{background:#fffaf4;border-radius:18px 18px 0 0;padding:0;width:100%;max-width:500px;box-shadow:0 -4px 30px #00000026;box-sizing:border-box;animation:modal-slide-up .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;max-height:85vh;max-height:85dvh}.modal.closing{animation:modal-slide-down .25s cubic-bezier(.4,0,.2,1) forwards}.modal-handle{display:flex;justify-content:center;padding:.5rem 1rem .3rem;flex-shrink:0}.modal-handle-bar{width:36px;height:4px;border-radius:2px;background:#eddfc8}.modal-head{display:flex;justify-content:space-between;align-items:center;font-weight:700;color:#6b4020;font-size:.95rem;margin-bottom:.5rem;padding:0 1rem;flex-shrink:0}.modal-form{display:flex;flex-direction:column;min-height:0;flex:1}.modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 1rem}.modal-close{font-size:1.2rem;color:#6e4828;cursor:pointer}.modal-row{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.modal-lbl{font-size:.7rem;color:#6e4828;font-weight:700}.modal-input{border:1.5px solid #eddfc8;border-radius:8px;padding:.4rem .5rem;font-size:.82rem;background:#fff;color:#3d2010;font-family:Yomogi,sans-serif;outline:none;width:100%;max-width:100%;box-sizing:border-box;min-width:0}.modal-input:focus{border-color:#c4956a}.modal-memo{resize:none}.modal-times{display:flex;gap:.4rem;flex-wrap:wrap}.modal-time{border:1.5px solid #eddfc8;border-radius:20px;padding:.5rem 1rem;font-size:.88rem;background:#fff;color:#6e4828;cursor:pointer;min-height:2.5rem}.modal-time.sel{background:#e07b39;color:#fff;border-color:#e07b39;font-weight:700}.modal-check{display:flex;align-items:center;gap:.4rem;font-size:.82rem;color:#3d2010;cursor:pointer}.modal-actions{display:flex;gap:.5rem;padding:.8rem 1rem;padding-bottom:calc(.8rem + env(safe-area-inset-bottom,0px));flex-shrink:0;border-top:1px solid #eddfc8;background:#fffaf4}.modal-btn{flex:1;padding:.8rem;border-radius:8px;border:none;font-size:1rem;font-weight:700;cursor:pointer;min-height:3rem}.modal-btn.cancel{background:#eddfc8;color:#6e4828}.modal-btn.submit{background:#e07b39;color:#fff}.auth-page{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem;overflow:hidden;background:#fdf6ee}.auth-card{background:#fffaf4;border-radius:14px;padding:1.2rem;width:100%;max-width:340px;box-sizing:border-box;box-shadow:0 4px 20px #0000001f;text-align:center}.auth-card-head{font-size:.95rem;font-weight:700;color:#6b4020;margin:0 0 .8rem}.auth-hint{font-size:.75rem;color:#9a7560;margin:0 0 1rem}.auth-error{font-size:.75rem;color:#c0392b;margin:0 0 .5rem}.auth-btn-google{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;background:#fff;color:#3c4043;border:1px solid #dadce0;font-family:Roboto,-apple-system,system-ui,Arial,sans-serif}.auth-btn-apple{width:100%;margin-top:.5rem;background:#000;color:#fff;display:flex;align-items:center;justify-content:center;gap:.5rem;font-family:-apple-system,system-ui,Helvetica Neue,Arial,sans-serif}.auth-btn-anon{width:100%;margin-top:.5rem}.auth-btn-icon{flex-shrink:0}.dpc-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.dpc-label{font-size:.75rem;font-weight:700;color:#6b4020}.dpc-today-btn{background:none;border:1px solid #e07b39;border-radius:14px;padding:.25rem .7rem;font-size:.72rem;color:#e07b39;font-weight:700;cursor:pointer;font-family:Yomogi,sans-serif}.dpc-today-btn:active{background:#e07b39;color:#fff}.dpc-days-wrap{overflow:hidden;margin:0 -1rem}.dpc-days{display:flex;gap:.3rem;touch-action:pan-y;margin:0 calc(-100% / 14)}.dpc-days.dpc-left{animation:dpc-slide-out-left .2s ease forwards}.dpc-days.dpc-right{animation:dpc-slide-out-right .2s ease forwards}.dpc-days.dpc-enter-left{animation:dpc-slide-in-left .2s ease forwards}.dpc-days.dpc-enter-right{animation:dpc-slide-in-right .2s ease forwards}@keyframes dpc-slide-out-left{0%{transform:translate(0);opacity:1}to{transform:translate(-30%);opacity:0}}@keyframes dpc-slide-out-right{0%{transform:translate(0);opacity:1}to{transform:translate(30%);opacity:0}}@keyframes dpc-slide-in-left{0%{transform:translate(30%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes dpc-slide-in-right{0%{transform:translate(-30%);opacity:0}to{transform:translate(0);opacity:1}}.dpc-chip{display:flex;flex-direction:column;align-items:center;gap:.15rem;flex:1;min-width:0;padding:.4rem 0;border-radius:10px;border:1.5px solid #eddfc8;background:#fff;cursor:pointer;font-family:Yomogi,sans-serif}.dpc-chip:active{background:#eddfc8}.dpc-wd{font-size:.55rem;color:#6e4828;font-weight:700}.dpc-dn{font-size:.85rem;color:#3d2010}.dpc-today{border-color:#c4956a;background:#fff3e0}.dpc-today .dpc-dn{color:#6b4020;font-weight:700}.dpc-sel{border-color:#e07b39;background:#e07b39}.dpc-sel .dpc-wd,.dpc-sel .dpc-dn{color:#fff;font-weight:700}.settings-page{min-height:100vh;background:#f2ebe3}.nav-back-btn{background:none;border:none;color:#e07b39;font-size:1rem;padding:.25rem .4rem;cursor:pointer;display:flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;border-radius:8px;justify-self:start}.nav-back-btn:active{background:#eddfc8}.settings-content{padding:.5rem 1rem 2rem;padding-bottom:calc(2rem + env(safe-area-inset-bottom,0px))}.settings-section{margin-bottom:1.2rem}.settings-section-title{color:#6e4828;font-size:.72rem;font-weight:400;text-transform:uppercase;margin:0 0 .4rem .8rem;letter-spacing:.02em}.settings-card{background:#fffaf4;border-radius:12px;padding:.7rem 1rem}.settings-section-premium .settings-section-title{color:#c0621a;font-weight:700;font-size:.78rem}.settings-card-premium{background:#fff3e8;border:2px solid #e07b39;border-radius:14px;box-shadow:0 2px 8px #e07b392e}.settings-list{list-style:none;padding:0;margin:0}.settings-list-item{padding:.55rem 0;border-bottom:1px solid #eddfc8;color:#5c3d2e;font-size:.9rem}.settings-list-item:last-child{border-bottom:none}.settings-add-form{display:flex;gap:.5rem;align-items:center;padding-top:.5rem;border-top:1px solid #eddfc8}.settings-input{flex:1;padding:.5rem;border-radius:8px;border:1px solid #eddfc8;font-size:.9rem;box-sizing:border-box;color:#5c3d2e;background:#fff;outline:none}.settings-input:focus{border-color:#c4956a}.settings-btn{background:#e07b39;color:#fff;border:none;border-radius:8px;padding:.5rem .8rem;font-size:.82rem;cursor:pointer;white-space:nowrap}.settings-btn:active{background:#c96a2a}.settings-btn-success{background:#a8b88c}.settings-btn-sub{background:transparent;color:#e07b39;border:1px solid #e07b39;border-radius:8px;padding:.5rem .8rem;font-size:.82rem;cursor:pointer;white-space:nowrap}.settings-btn-sub:active{background:#fdf6ee}.settings-hint{color:#7a4e28;font-size:.72rem;margin:.3rem 0 0}.settings-error{color:#c0392b;font-size:.78rem;margin:.3rem 0 0}.invite-code-row{display:flex;gap:.5rem;align-items:center}.invite-code{background:#fdf6ee;border:1px solid #eddfc8;border-radius:8px;padding:.4rem .8rem;font-size:1.1rem;letter-spacing:.1em;color:#6b4020;flex:1;text-align:center}.settings-member-row{display:flex;justify-content:space-between;align-items:center;padding:.55rem 0;border-bottom:1px solid #eddfc8}.settings-member-row:last-child{border-bottom:none}.settings-member-info{display:flex;align-items:center;gap:.5rem;color:#5c3d2e;font-size:.85rem}.settings-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}.settings-avatar-placeholder{width:32px;height:32px;border-radius:50%;background:#f2ebe3;display:flex;align-items:center;justify-content:center;flex-shrink:0}.settings-member-role{color:#7a4e28;font-size:.72rem;margin-left:.3rem}.settings-remove-btn{background:none;border:none;color:#c0392b;font-size:.75rem;cursor:pointer;padding:.2rem .4rem;border-radius:6px}.settings-remove-btn:active{opacity:.7}.bpd-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem;animation:overlay-fade-in .25s ease}.bpd-overlay.closing{animation:overlay-fade-out .25s ease forwards}.bpd-sheet{background:#fffaf4;border-radius:14px;width:100%;max-width:360px;display:flex;flex-direction:column;box-shadow:0 8px 30px #0003;animation:dialog-scale-in .25s cubic-bezier(.4,0,.2,1)}.bpd-sheet.closing{animation:dialog-scale-out .25s cubic-bezier(.4,0,.2,1) forwards}.bpd-header{display:flex;align-items:center;justify-content:space-between;padding:.7rem 1rem .5rem;border-bottom:1px solid #eddfc8}.bpd-title{font-size:1rem;font-weight:700;color:#6b4020}.bpd-close-btn{background:none;border:none;color:#6e4828;font-size:1.2rem;cursor:pointer;padding:.2rem .4rem;border-radius:6px;display:flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem}.bpd-close-btn:active{background:#eddfc8}.bpd-selected-label{text-align:center;font-size:.9rem;font-weight:700;color:#6b4020;padding:.6rem 1rem .4rem;background:#fffaf4;border-bottom:1px solid #eddfc8}.bpd-calendar{padding:.8rem 1rem}.bpd-month-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}.bpd-nav-btn{background:none;border:none;color:#e07b39;font-size:1rem;cursor:pointer;padding:.3rem .6rem;border-radius:8px}.bpd-nav-btn:active{background:#eddfc8}.bpd-month-label{background:none;border:none;font-size:1rem;font-weight:700;color:#5c3d2e;cursor:pointer;display:flex;align-items:center;gap:.2rem;padding:.2rem .6rem;border-radius:8px;font-family:sans-serif}.bpd-month-label:active{background:#eddfc8}.bpd-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:.15rem;margin-bottom:.15rem}.bpd-weekday{text-align:center;font-size:.55rem;font-weight:700;color:#6e4828;padding-bottom:.1rem}.bpd-weekday.sun{color:#c0392b}.bpd-weekday.sat{color:#6e4828}.bpd-days-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.15rem}.bpd-day{aspect-ratio:1;border-radius:6px;border:1.5px solid #eddfc8;background:#f2ebe3;font-size:.7rem;color:#6e4828;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:sans-serif;padding:0}.bpd-day:active{background:#eddfc8}.bpd-day.sun{color:#c0392b}.bpd-day.sat{color:#6e4828}.bpd-day.today{background:#fdf6ee;border-color:#c4956a;font-weight:700;color:#6b4020}.bpd-day.selected{background:#e07b39;border-color:#e07b39;color:#fff;font-weight:700}.bpd-day.selected.sun,.bpd-day.selected.sat{color:#fff}.bpd-day.future{background:#f2ebe3;border-color:#eddfc8;color:#8b6040;cursor:default}.bpd-day-empty{aspect-ratio:1}.bpd-year-picker{padding:.8rem 1rem}.bpd-year-picker-title{margin-bottom:.6rem}.bpd-year-back-btn{background:none;border:none;color:#e07b39;font-size:.85rem;cursor:pointer;padding:.2rem .4rem;border-radius:6px;font-family:sans-serif;display:flex;align-items:center;gap:.3rem}.bpd-year-back-btn:active{background:#eddfc8}.bpd-year-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;max-height:240px;overflow-y:auto}.bpd-year-cell{background:#f2ebe3;border:1.5px solid #eddfc8;border-radius:8px;padding:.5rem 0;font-size:.85rem;color:#5c3d2e;cursor:pointer;font-family:sans-serif}.bpd-year-cell:active{background:#eddfc8}.bpd-year-cell.selected{background:#e07b39;border-color:#e07b39;color:#fff;font-weight:700}.bpd-actions{display:flex;gap:.5rem;padding:.8rem 1rem;border-top:1px solid #eddfc8}.bpd-btn{flex:1;padding:.75rem;border-radius:10px;border:none;font-size:.95rem;font-weight:700;cursor:pointer;font-family:sans-serif}.bpd-btn-clear{background:#f2ebe3;color:#c0392b;flex:0 0 auto;padding-left:1rem;padding-right:1rem}.bpd-btn-cancel{background:#eddfc8;color:#6e4828}.bpd-btn-confirm{background:#e07b39;color:#fff}.bpd-btn:active{opacity:.8}.fab-upgrade{position:fixed;bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));right:calc(1.5rem + env(safe-area-inset-right,0px));display:flex;align-items:center;gap:.5rem;background:#e07b39;color:#fff;border:none;border-radius:999px;padding:.9rem 1.3rem;font-size:.82rem;font-weight:700;cursor:pointer;box-shadow:0 3px 10px #00000040;z-index:100;font-family:Yomogi,sans-serif}.fab-upgrade:active{background:#c96a2a}.fab-upgrade i{font-size:.85rem}.fab-upgrade:disabled{opacity:.7;cursor:default}.paywall-error-toast{position:fixed;bottom:calc(5rem + env(safe-area-inset-bottom,0px));left:1rem;right:1rem;background:#c0392b;color:#fff;border-radius:12px;padding:.8rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;z-index:200;box-shadow:0 4px 12px #0000004d;font-size:.85rem}.paywall-error-toast button{background:#fff3;border:none;color:#fff;border-radius:6px;padding:.3rem .6rem;font-size:.8rem;cursor:pointer}
