.toast-enter-active[data-v-27a84479],.toast-leave-active[data-v-27a84479]{transition:opacity .2s,transform .2s}.toast-enter-from[data-v-27a84479],.toast-leave-to[data-v-27a84479]{opacity:0;transform:translate(-50%,8px)}:root{--tg-theme-bg-color:#fff;--tg-theme-secondary-bg-color:#f4f4f5;--tg-theme-text-color:#1a1a1a;--tg-theme-hint-color:#8e8e93;--tg-theme-link-color:#2a7fff;--tg-theme-button-color:#2a7fff;--tg-theme-button-text-color:#fff;--tg-theme-destructive-text-color:#e5484d;--radius:16px;--radius-sm:12px;--gap:12px;--nav-height:60px;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark]{--tg-theme-bg-color:#191919;--tg-theme-secondary-bg-color:#232323;--tg-theme-text-color:#f5f5f5;--tg-theme-hint-color:#8e8e93;--tg-theme-button-color:#4f8cff;--tg-theme-button-text-color:#fff}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;margin:0;padding:0}body{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);overscroll-behavior-y:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.4}#app{min-height:100%}button{font:inherit;cursor:pointer;color:inherit;background:0 0;border:0}input{font:inherit;color:inherit}.app-shell{min-height:100dvh;padding-top:var(--safe-top);flex-direction:column;display:flex}.app-header{z-index:10;background:var(--tg-theme-bg-color);justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex;position:sticky;top:0}.app-header h1{margin:0;font-size:20px;font-weight:700}.app-content{flex:1;padding:16px 16px 24px}.page{padding-bottom:calc(var(--nav-height) + var(--safe-bottom) + 24px);flex-direction:column;gap:16px;display:flex}.page--with-action{padding-bottom:calc(var(--nav-height) + var(--safe-bottom) + 96px)}.bottom-action{left:0;right:0;bottom:calc(var(--nav-height) + var(--safe-bottom) + 12px);z-index:15;pointer-events:none;padding:0 16px;position:fixed}.bottom-action .primary-button{pointer-events:auto;box-shadow:0 8px 24px #00000038}.card{background:var(--tg-theme-secondary-bg-color);border-radius:var(--radius);padding:16px}.section-title{text-transform:uppercase;letter-spacing:.04em;color:var(--tg-theme-hint-color);margin:0 0 8px;font-size:13px;font-weight:600}.muted{color:var(--tg-theme-hint-color)}.center{text-align:center}.primary-button{border-radius:var(--radius);background:var(--tg-theme-button-color);width:100%;color:var(--tg-theme-button-text-color);padding:16px;font-size:17px;font-weight:600;transition:opacity .15s}.primary-button:disabled{opacity:.5}.add-button{padding:18px;font-size:18px}.ghost-button{border-radius:var(--radius-sm);background:var(--tg-theme-secondary-bg-color);padding:10px 14px;font-weight:600}.danger-button{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--tg-theme-destructive-text-color) 15%, transparent);color:var(--tg-theme-destructive-text-color);padding:10px 14px;font-weight:600}.bottom-nav{z-index:20;height:calc(var(--nav-height) + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:color-mix(in srgb, var(--tg-theme-bg-color) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid color-mix(in srgb, var(--tg-theme-hint-color) 25%, transparent);display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav__item{color:var(--tg-theme-hint-color);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:10px;text-decoration:none;display:flex}.bottom-nav__item.is-active{color:var(--tg-theme-button-color)}.bottom-nav__icon{font-size:19px;line-height:1}.stat-grid{gap:var(--gap);grid-template-columns:repeat(2,1fr);display:grid}.stat{background:var(--tg-theme-secondary-bg-color);border-radius:var(--radius);padding:14px}.stat__label{color:var(--tg-theme-hint-color);font-size:13px}.stat__value{margin-top:4px;font-size:20px;font-weight:700}.record-list{flex-direction:column;gap:8px;display:flex}.record{border-radius:var(--radius-sm);background:var(--tg-theme-secondary-bg-color);text-align:left;align-items:center;gap:12px;width:100%;padding:12px 14px;display:flex}.record__time{min-width:52px;font-size:17px;font-weight:700}.record__body{flex-direction:column;flex:1;gap:2px;display:flex}.record__meta{color:var(--tg-theme-hint-color);font-size:13px}.record__right{text-align:right;color:var(--tg-theme-hint-color);font-size:13px}.day-group{flex-direction:column;gap:8px;display:flex}.day-group__title{color:var(--tg-theme-hint-color);padding:4px 2px;font-size:13px;font-weight:600}.segmented{border-radius:var(--radius-sm);background:var(--tg-theme-secondary-bg-color);gap:6px;padding:4px;display:flex}.segmented__option{text-align:center;color:var(--tg-theme-hint-color);border-radius:9px;flex:1;padding:10px 8px;font-weight:600}.segmented__option.is-active{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);box-shadow:0 1px 3px #0000001f}.sheet-backdrop{z-index:40;background:#00000073;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:480px;max-height:92vh;padding:16px 16px calc(20px + var(--safe-bottom));background:var(--tg-theme-bg-color);border-radius:20px 20px 0 0;overflow-y:auto}.sheet__header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.sheet__title{margin:0;font-size:18px;font-weight:700}.field{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.field__label{color:var(--tg-theme-hint-color);font-size:13px}.field input[type=datetime-local],.field input[type=number]{border-radius:var(--radius-sm);border:1px solid color-mix(in srgb, var(--tg-theme-hint-color) 35%, transparent);background:var(--tg-theme-secondary-bg-color);width:100%;padding:12px 14px}.mood-options{gap:8px;display:flex}.mood-option{border-radius:var(--radius-sm);background:var(--tg-theme-secondary-bg-color);text-align:center;border:2px solid #0000;flex:1;padding:12px 6px;font-weight:600}.mood-option.is-active{border-color:var(--tg-theme-button-color)}.mood-option__emoji{font-size:22px;display:block}.sheet__actions{gap:10px;margin-top:8px;display:flex}.sheet__actions .ghost-button,.sheet__actions .danger-button{flex:1}.toast{left:50%;bottom:calc(var(--nav-height) + var(--safe-bottom) + 92px);z-index:60;background:var(--tg-theme-text-color);color:var(--tg-theme-bg-color);border-radius:999px;padding:12px 18px;font-weight:600;position:fixed;transform:translate(-50%);box-shadow:0 6px 20px #00000040}.chart{flex-direction:column;gap:6px;display:flex}.chart__row{align-items:center;gap:8px;font-size:13px;display:flex}.chart__label{width:34px;color:var(--tg-theme-hint-color)}.chart__bar-wrap{background:color-mix(in srgb, var(--tg-theme-hint-color) 15%, transparent);border-radius:6px;flex:1;height:18px;overflow:hidden}.chart__bar{background:var(--tg-theme-button-color);border-radius:6px;min-width:2px;height:100%}.chart__value{text-align:right;width:28px;font-weight:600}.mood-chart{flex-direction:column;gap:8px;display:flex}.mood-chart__row{align-items:center;gap:10px;display:flex}.mood-chart__bar-wrap{background:color-mix(in srgb, var(--tg-theme-hint-color) 15%, transparent);border-radius:999px;flex:1;height:10px;overflow:hidden}.mood-chart__bar{background:var(--tg-theme-button-color);border-radius:999px;height:100%}.empty{text-align:center;color:var(--tg-theme-hint-color);padding:32px 16px}.pack{border-radius:var(--radius-sm);background:var(--tg-theme-secondary-bg-color);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.pack.is-active{outline:2px solid var(--tg-theme-button-color)}.pack__head{justify-content:space-between;align-items:center;gap:8px;display:flex}.pack__title{font-weight:700}.pack__meta{color:var(--tg-theme-hint-color);font-size:13px}.badge{background:color-mix(in srgb, var(--tg-theme-button-color) 18%, transparent);color:var(--tg-theme-button-color);border-radius:999px;padding:3px 8px;font-size:12px;font-weight:600}.pack__actions{gap:8px;display:flex}.pack__actions button{flex:1;padding:8px;font-size:14px}.pack-choices{flex-direction:column;gap:8px;display:flex}.pack-choice{border-radius:var(--radius-sm);background:var(--tg-theme-secondary-bg-color);text-align:left;border:2px solid #0000;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.pack-choice.is-active{border-color:var(--tg-theme-button-color)}.pack-choice__name{font-weight:600}.pack-choice__meta{color:var(--tg-theme-hint-color);font-size:13px}.inline-fields{gap:8px;display:flex}.inline-fields input{border-radius:var(--radius-sm);border:1px solid color-mix(in srgb, var(--tg-theme-hint-color) 35%, transparent);background:var(--tg-theme-bg-color);flex:1;min-width:0;padding:10px 12px}.text-input{border-radius:var(--radius-sm);border:1px solid color-mix(in srgb, var(--tg-theme-hint-color) 35%, transparent);background:var(--tg-theme-secondary-bg-color);width:100%;padding:12px 14px}.center-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:80vh;padding:24px;display:flex}
