@import"https://fonts.googleapis.com/css2?family=Sniglet&display=swap";*,*:before,*:after{box-sizing:border-box;-webkit-user-select:none;user-select:none}input,textarea{-webkit-user-select:text;user-select:text}:root{font-family:Sniglet,system-ui,sans-serif;line-height:1.5;font-weight:400;font-size:16px;--touch-min: 44px;--color-primary: #22c55e;--color-primary-hover: #16a34a;--color-bg-soft: #eef6ee;--card-bg-opacity: .7;--color-surface: rgb(255 255 255 / var(--card-bg-opacity));--color-accent-light: #dcfce7;--color-text: #1a1a1a;--color-text-muted: #6b7280;--color-border: #d4e8d4;color:var(--color-text);background-color:var(--color-bg-soft);caret-color:#22c55e;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:var(--color-primary);text-decoration:inherit}a:hover{color:var(--color-primary-hover)}html{height:100%;-webkit-text-size-adjust:100%}body{margin:0;height:100%;min-height:100dvh;overflow:hidden;background:var(--color-bg-soft)}h1{font-size:1.75rem;line-height:1.2}button{font-family:inherit;cursor:pointer}button:focus,button:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}[data-theme=dark]{--color-primary: #4ade80;--color-primary-hover: #22c55e;--color-bg-soft: #0f0f0f;--color-surface: rgb(26 26 26 / var(--card-bg-opacity));--color-accent-light: rgba(74, 222, 128, .12);--color-text: #e8f5e8;--color-text-muted: #7a8a7a;--color-border: rgba(74, 222, 128, .12);color:var(--color-text);background-color:var(--color-bg-soft);caret-color:#4ade80}[data-theme=dark] body{background:#0a0a0a}[data-theme=liquid-glass]{--glass-bg: rgba(255, 255, 255, .18);--glass-blur: blur(28px) saturate(200%) brightness(1.05);--glass-border: 1px solid rgba(255, 255, 255, .55);--glass-shadow: 0 8px 32px rgba(0, 0, 0, .12), 0 1px 0 rgba(255, 255, 255, .7) inset;--color-primary: #16a34a;--color-primary-hover: #15803d;--color-bg-soft: transparent;--color-surface: var(--glass-bg);--color-accent-light: rgba(220, 252, 231, .4);--color-text: #0f172a;--color-text-muted: #334155;--color-border: rgba(255, 255, 255, .4);color:var(--color-text);background-color:transparent;caret-color:#16a34a}[data-theme=liquid-glass] body:not(.gj-has-bg){background:#eef6ee}#root{width:100%;height:100dvh;overflow:hidden;display:flex;flex-direction:column}.page-loader{height:100dvh;display:flex;align-items:center;justify-content:center;background:#eef6ee}[data-theme=dark] .page-loader{background:#0a0a0a}.page-loader--transparent,[data-theme=dark] .page-loader--transparent,[data-theme=liquid-glass] .page-loader--transparent{background:transparent}.page-loader__tree{transform-origin:center bottom;animation:tree-sway 1.8s ease-in-out infinite alternate}@keyframes tree-sway{0%{transform:rotate(-5deg)}to{transform:rotate(5deg)}}.lp{height:100dvh;display:grid;grid-template-columns:55% 45%;overflow:hidden;background:linear-gradient(160deg,#eef6ee,#dcfce7)}.lp__hero{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1.5rem;gap:1.25rem;position:relative;overflow:hidden}.lp__hero-words{text-align:center;z-index:1}.lp__quote{font-family:Sniglet,system-ui;font-size:1.625rem;font-weight:700;color:#16a34a;margin:0 0 .4rem;opacity:0;animation:lp-rise .9s ease-out 3s forwards}.lp__subquote{font-size:.9375rem;color:#22c55e;margin:0;opacity:0;animation:lp-rise .9s ease-out 3.35s forwards}.lp__panel{display:flex;align-items:center;justify-content:center;padding:2rem}.lp__form{width:100%;max-width:320px;display:flex;flex-direction:column;gap:1.75rem;background:var(--color-surface);border-radius:24px;border-top:4px solid #22c55e;padding:2rem 1.75rem;box-shadow:0 8px 32px #00000014}.lp__brand{display:flex;flex-direction:column;align-items:center;gap:.625rem;animation:lp-rise .7s ease-out .1s both}.lp__icon{font-size:3.25rem;line-height:1;animation:lp-pop .6s cubic-bezier(.175,.885,.32,1.275) .1s both}.lp__title{margin:0;font-size:2.25rem;font-weight:700;color:#22c55e;font-family:Sniglet,system-ui;letter-spacing:-.02em;text-align:center}.lp__tagline{margin:0;color:#6b7280;font-size:.9375rem;text-align:center;line-height:1.65;animation:lp-rise .7s ease-out .25s both}.lp__actions{display:flex;flex-direction:column;gap:1rem;animation:lp-rise .7s ease-out .4s both}.lp__privacy{margin:0;font-size:.8rem;color:#9ca3af;text-align:center}.lp__error,.login-card__error{margin:0;padding:.625rem .75rem;color:#b91c1c;font-size:.875rem;background:#fef2f2;border-radius:8px;text-align:left}.tree-wrap{width:100%;display:flex;align-items:center;justify-content:center}.tree-svg{width:100%;max-width:290px;height:auto;overflow:visible}.t-trunk{stroke-dasharray:200;stroke-dashoffset:200;animation:t-draw .95s cubic-bezier(.25,.46,.45,.94) forwards}.t-root{stroke-dasharray:120;stroke-dashoffset:120;animation:t-draw .55s ease-out forwards}.t-branch{stroke-dasharray:300;stroke-dashoffset:300;animation:t-draw .65s ease-out forwards}@keyframes t-draw{to{stroke-dashoffset:0}}.t-leaf{transform-box:fill-box;transform-origin:center;transform:scale(0);opacity:0;animation:t-pop .5s cubic-bezier(.175,.885,.32,1.275) forwards}@keyframes t-pop{0%{transform:scale(0);opacity:0}60%{transform:scale(1.18);opacity:1}to{transform:scale(1);opacity:1}}.t-canopy{transform-origin:140px 412px;animation:t-sway 5.5s ease-in-out 3.4s infinite}@keyframes t-sway{0%,to{transform:rotate(0)}28%{transform:rotate(1.8deg)}72%{transform:rotate(-1.5deg)}}.t-particle{opacity:0;animation:t-float linear infinite}@keyframes t-float{0%{transform:translateY(0) translate(0);opacity:0}8%{opacity:.7}88%{opacity:.35}to{transform:translateY(-380px) translate(28px);opacity:0}}@keyframes lp-rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes lp-pop{0%{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}@media(max-width:640px){.lp{grid-template-columns:1fr;grid-template-rows:56vh 1fr}.lp__hero{padding:1.5rem 1rem;gap:1rem;justify-content:center}.tree-svg{max-width:220px}.lp__quote{font-size:1.2rem;margin-bottom:.2rem}.lp__subquote{font-size:.8125rem}.lp__panel{padding:1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));border-left:none;overflow-y:auto;align-items:center}.lp__form{max-width:420px;gap:1.25rem;padding:1.75rem 1.5rem}.lp__title{font-size:1.875rem}.lp__icon{font-size:2.5rem}.lp__tagline{font-size:.875rem;line-height:1.55}}@media(max-width:390px){.lp{grid-template-rows:50vh 1fr}.tree-svg{max-width:190px}.lp__quote{font-size:1.05rem}.lp__subquote{font-size:.75rem}.lp__panel{padding:1rem 1rem calc(1.25rem + env(safe-area-inset-bottom))}.lp__form{padding:1.5rem 1.25rem}.lp__title{font-size:1.625rem}.lp__icon{font-size:2rem}.lp__form{gap:1rem}.lp__tagline{font-size:.8125rem}}.google-sign-in-btn{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;width:100%;min-height:48px;padding:.75rem 1.25rem;font-size:.9375rem;font-weight:500;color:#3c4043;background:#fff;border:1px solid #dadce0;border-radius:10px;cursor:pointer;transition:background .2s,box-shadow .2s;-webkit-tap-highlight-color:transparent}.google-sign-in-btn:hover:not(:disabled){background:#f8f9fa;box-shadow:0 1px 6px #0000001a}.google-sign-in-btn:disabled{opacity:.7;cursor:not-allowed}.google-sign-in-btn__logo{flex-shrink:0}.home-login-link{display:inline-block;margin-top:1rem;padding:.75rem 1.5rem;color:#fff;background:#22c55e;border-radius:10px;text-decoration:none;font-weight:600;transition:background .2s}.home-login-link:hover{background:#16a34a}.home-page,.history-page,.settings-page{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#eef6ee}.journal-container{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;display:flex;flex-direction:column;padding:1.5rem 1.25rem calc(88px + env(safe-area-inset-bottom))}.journal-container::-webkit-scrollbar{display:none}.journal-card{background:var(--color-surface);border-radius:20px;padding:1.625rem 1.5rem;box-shadow:0 2px 12px #00000012;flex:1;min-height:0;display:flex;flex-direction:column}.journal-date{font-size:.625rem;font-weight:700;letter-spacing:.14em;color:#22c55e;text-transform:uppercase;font-family:Sniglet,system-ui;margin:0 0 1rem}.journal-prompt{margin:0 0 1.5rem;font-size:1.75rem;font-weight:700;line-height:1.2;color:#1a1a1a;letter-spacing:-.02em;font-family:Sniglet,system-ui}.journal-writing-area{flex:1;min-height:0;display:flex;flex-direction:column}.journal-title-input{width:100%;padding:0 0 .875rem;font-family:Sniglet,system-ui;font-size:1rem;font-weight:400;color:#374151;background:transparent;border:none;border-bottom:1px solid #e0f0e0;outline:none;transition:border-color .2s}.journal-title-input::placeholder{color:#c4bfb5}.journal-title-input:focus{border-bottom-color:#22c55e}.journal-entry-textarea{flex:1;min-height:0;width:100%;padding:.875rem 0;font-family:Sniglet,system-ui;font-size:1rem;line-height:1.75;color:#374151;background:transparent;border:none;outline:none;resize:none;caret-color:#374151}.journal-entry-textarea::placeholder{color:#c4bfb5;font-style:italic}.journal-write-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.625rem 1.5rem;font-size:.9375rem;font-weight:600;color:#fff;background:#22c55e;border:none;border-radius:100px;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #22c55e4d;font-family:Sniglet,system-ui;white-space:nowrap}.journal-write-btn:hover:not(:disabled){background:#16a34a;transform:translateY(-1px);box-shadow:0 6px 18px #22c55e66}.journal-write-btn:active:not(:disabled){transform:translateY(0)}.journal-write-btn:disabled{opacity:.5;cursor:not-allowed}.journal-card{position:relative}.journal-card--saved{animation:save-card-glow .7s ease-out forwards}@keyframes save-card-glow{0%{box-shadow:0 2px 12px #00000012}35%{box-shadow:0 0 0 3px #22c55e59,0 6px 32px #22c55e38}to{box-shadow:0 2px 12px #00000012}}.journal-write-btn--saved{pointer-events:none;animation:save-btn-pop .45s cubic-bezier(.175,.885,.32,1.275) forwards}@keyframes save-btn-pop{0%{transform:scale(.88)}60%{transform:scale(1.1)}to{transform:scale(1)}}.save-leaves{position:absolute;bottom:0;left:0;right:0;height:0;pointer-events:none;z-index:10}.save-leaf{position:absolute;font-size:1.65rem;line-height:1;opacity:0;animation:save-leaf-float 1.9s ease-out forwards;will-change:transform,opacity}@keyframes save-leaf-float{0%{transform:translateY(0) translate(0) rotate(0) scale(.6);opacity:0}12%{opacity:1;transform:translateY(-27px) translate(calc(var(--leaf-dx) * .1)) rotate(calc(var(--leaf-rot) * .1)) scale(1)}85%{opacity:.5}to{transform:translateY(-285px) translate(var(--leaf-dx)) rotate(var(--leaf-rot)) scale(.4);opacity:0}}.save-inline-quote{display:flex;align-items:center;justify-content:center;width:100%;margin:0 auto;padding:.875rem 1.5rem;min-height:66px;border-radius:100px;background:#f0fdf4;border:1.5px solid #bbf7d0;font-family:Sniglet,system-ui;font-size:1.3125rem;font-weight:600;color:#15803d;text-align:center;white-space:normal;word-break:break-word;opacity:0;animation:save-inline-quote-in .4s cubic-bezier(.175,.885,.32,1.275) forwards}@media(max-width:479px){.save-inline-quote{font-size:1rem;min-height:52px;border-radius:20px}}@media(min-width:480px){.save-inline-quote{width:fit-content;white-space:nowrap;padding:0 1.875rem}}@keyframes save-inline-quote-in{0%{opacity:0;transform:scale(.88) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}.journal-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:transparent;border:none;border-radius:12px;cursor:pointer;color:#9ca3af;transition:all .2s ease;-webkit-tap-highlight-color:transparent}.journal-icon-btn:hover{color:#6b7280;background:#0000000d}.sba-overlay{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;background:#eef6eeb8;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:sba-overlay-in .3s ease forwards,sba-overlay-out .4s ease 2.5s forwards}@keyframes sba-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes sba-overlay-out{to{opacity:0}}.sba-wrap{animation:sba-wrap-in .45s cubic-bezier(.175,.885,.32,1.275) forwards}@keyframes sba-wrap-in{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}.sba-svg{width:min(280px,74vw);height:auto;overflow:visible}.sba-shadow{transform-box:fill-box;transform-origin:50% 50%;animation:sba-shadow-grow .4s ease 1.95s forwards}@keyframes sba-shadow-grow{0%{transform:scaleX(1);opacity:1}50%{transform:scaleX(1.18);opacity:1}to{transform:scaleX(1);opacity:1}}.sba-line{stroke-dasharray:76;stroke-dashoffset:76}.sba-line-1{animation:sba-line-draw .28s ease forwards .35s}.sba-line-2{animation:sba-line-draw .28s ease forwards .65s}.sba-line-3{animation:sba-line-draw .25s ease forwards .95s}.sba-line-4{animation:sba-line-draw .22s ease forwards 1.2s}@keyframes sba-line-draw{to{stroke-dashoffset:0}}.sba-pen{animation:sba-pen-write 1.12s ease forwards .3s}@keyframes sba-pen-write{0%{transform:translate(208px,42px) rotate(20deg);opacity:1}17%{transform:translate(208px,42px) rotate(20deg);opacity:1}28%{transform:translate(208px,64px) rotate(20deg);opacity:1}45%{transform:translate(208px,64px) rotate(20deg);opacity:1}57%{transform:translate(198px,86px) rotate(20deg);opacity:1}72%{transform:translate(198px,86px) rotate(20deg);opacity:1}82%{transform:translate(191px,108px) rotate(20deg);opacity:1}94%{transform:translate(191px,108px) rotate(20deg);opacity:1}to{transform:translate(244px,148px) rotate(20deg);opacity:0}}.sba-left-group{transform-box:fill-box;transform-origin:100% 50%;animation:sba-fold .42s cubic-bezier(.4,0,.9,.6) 1.45s forwards}.sba-right-group{transform-box:fill-box;transform-origin:0% 50%;animation:sba-fold .42s cubic-bezier(.4,0,.9,.6) 1.57s forwards}@keyframes sba-fold{to{transform:scaleX(0);opacity:0}}.sba-spine{animation:sba-fade .3s ease 1.65s forwards}@keyframes sba-fade{to{opacity:0}}.sba-closed-book{transform-box:fill-box;transform-origin:50% 50%;opacity:0;transform:scale(.78);animation:sba-closed-in .48s cubic-bezier(.175,.885,.32,1.275) 1.95s forwards}@keyframes sba-closed-in{to{opacity:1;transform:scale(1)}}.sba-check{stroke-dasharray:135;stroke-dashoffset:135;animation:sba-line-draw .55s ease forwards 2.3s}[data-theme=dark] .sba-overlay{background:#0a120ac2}[data-theme=dark] .sba-left-group rect{fill:#1a2e1a;stroke:#2d4a2d}[data-theme=dark] .sba-left-group line{stroke:#2d4a2d}[data-theme=dark] .sba-right-group rect{fill:#162416;stroke:#2d4a2d}.bottom-nav{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);background:#fff;border-radius:100px;box-shadow:0 4px 24px #00000021,0 1px 4px #00000012;padding:6px;display:flex;align-items:center;gap:2px;z-index:100;flex-shrink:0;width:max-content}.bottom-nav-btn{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;padding:10px 18px;background:transparent;border:none;border-radius:100px;cursor:pointer;color:#9ca3af;transition:all .18s ease;min-height:44px;font-family:Sniglet,system-ui;-webkit-tap-highlight-color:transparent}.bottom-nav-btn svg{width:22px;height:22px;flex-shrink:0;stroke-width:2}.bottom-nav-avatar{width:22px;height:22px;border-radius:50%;object-fit:cover;flex-shrink:0}.bottom-nav-avatar-placeholder{background:var(--color-primary, #22c55e);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.6rem;font-weight:700}.bottom-nav-btn-active .bottom-nav-avatar{outline:2px solid currentColor;outline-offset:1px}.bottom-nav-btn span{font-size:.8125rem;font-weight:600;white-space:nowrap;display:none}.bottom-nav-btn:hover{color:#6b7280}.bottom-nav-btn-active{background:#22c55e;color:#fff;padding:10px 18px}.bottom-nav-btn span,.bottom-nav-btn-active span{display:none}.bottom-nav-btn-active:hover{background:#16a34a;color:#fff}.bottom-nav-brand{display:none}.history-header{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem 1.25rem 0}.history-header-text h1{margin:0 0 .15rem;font-size:1.625rem;font-weight:700;color:#1a1a1a;letter-spacing:-.02em;font-family:Sniglet,system-ui}.history-subtitle{margin:0;font-size:.875rem;color:#6b7280;font-family:Sniglet,system-ui}.history-search-btn{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--color-surface);border:1px solid #e5e7eb;border-radius:50%;cursor:pointer;color:#6b7280;transition:all .2s ease}.history-search-btn:hover{background:#f9fafb;color:#374151}.history-container{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;padding:1rem 1.25rem calc(88px + env(safe-area-inset-bottom))}.history-container::-webkit-scrollbar{display:none}.calendar-card{background:var(--color-surface);border-radius:18px;padding:1.125rem 1rem;box-shadow:0 2px 10px #0000000f;margin-bottom:1.125rem}.calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.calendar-month{margin:0;font-size:1.0625rem;font-weight:600;color:#1a1a1a;font-family:Sniglet,system-ui}.calendar-nav{display:flex;gap:2px}.calendar-nav-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:8px;cursor:pointer;color:#9ca3af;transition:all .15s ease}.calendar-nav-btn:hover{background:#f3f4f6;color:#374151}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.calendar-weekday{font-size:.6875rem;font-weight:500;color:#9ca3af;text-align:center;padding:4px 0;font-family:Sniglet,system-ui}.calendar-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:400;color:#374151;background:transparent;border:none;border-radius:50%;cursor:pointer;transition:all .15s ease;font-family:Sniglet,system-ui}.calendar-day-empty{cursor:default}.calendar-day:not(.calendar-day-empty):hover{background:#f0fdf4;color:#22c55e}.calendar-day-has-entry{background:#dcfce7;color:#22c55e;font-weight:600}.calendar-day-has-entry:hover{background:#bbf7d0}.calendar-day-today{background:#22c55e;color:#fff;font-weight:700}.calendar-day-today:hover{background:#16a34a}.calendar-day-selected{box-shadow:inset 0 0 0 2px #1be62c}.calendar-day-selected:not(.calendar-day-today):not(.calendar-day-has-entry){background:#f0fdf4;color:#1be62c}.recent-entries{margin-bottom:1rem}.recent-entries-title{margin:0 0 .75rem;font-size:.625rem;font-weight:700;letter-spacing:.12em;color:#9ca3af;text-transform:uppercase;font-family:Sniglet,system-ui}.entries-list{display:flex;flex-direction:column;gap:.625rem}.entry-card{background:var(--color-surface);padding:1rem 1rem 1rem .875rem;border-radius:14px;border-left:4px solid #22c55e;box-shadow:0 2px 6px #0000000d;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}.entry-card:hover{transform:translateY(-2px);box-shadow:0 5px 16px #00000017}.entry-header-right{display:flex;align-items:center;gap:.5rem}.entry-edit-btn{display:flex;align-items:center;justify-content:center;width:1.625rem;height:1.625rem;border-radius:7px;border:1px solid #dbeafe;background:#eff6ff;color:#3b82f6;cursor:pointer;transition:background .18s ease,border-color .18s ease;padding:0;flex-shrink:0}.entry-edit-btn:hover{background:#dbeafe;border-color:#93c5fd}.entry-delete-btn{display:flex;align-items:center;justify-content:center;width:1.625rem;height:1.625rem;border-radius:7px;border:1px solid #fee2e2;background:#fff5f5;color:#ef4444;cursor:pointer;transition:background .18s ease,border-color .18s ease;padding:0;flex-shrink:0}.entry-delete-btn:hover{background:#fee2e2;border-color:#fca5a5}.entry-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.375rem;gap:.5rem}.entry-date{font-size:.625rem;font-weight:600;letter-spacing:.08em;color:#6b7280;text-transform:uppercase;font-family:Sniglet,system-ui}.entry-time{font-size:.6875rem;color:#9ca3af;font-family:Sniglet,system-ui}.entry-title{margin:0 0 .3rem;font-size:1rem;font-weight:600;color:#1a1a1a;line-height:1.3;font-family:Sniglet,system-ui}.entry-preview{margin:0;font-size:.8125rem;line-height:1.5;color:#6b7280;font-family:Sniglet,system-ui;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.settings-header{flex-shrink:0;padding:1.5rem 1.25rem 0}.settings-header-text h1{margin:0 0 .2rem;font-size:1.75rem;font-weight:700;color:#1a1a1a;letter-spacing:-.02em;font-family:Sniglet,system-ui}.settings-subtitle{margin:0;font-size:.875rem;color:#6b7280;font-family:Sniglet,system-ui}.settings-container{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;padding:1rem 1.25rem calc(88px + env(safe-area-inset-bottom))}.settings-container::-webkit-scrollbar{display:none}.settings-profile{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem;background:var(--color-surface);border-radius:18px;padding:1rem 1.125rem;box-shadow:0 2px 10px #0000000f}.settings-avatar{width:52px;height:52px;flex-shrink:0}.settings-avatar-img{width:100%;height:100%;border-radius:50%;object-fit:cover}.settings-avatar-placeholder{width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,#86efac,#22c55e);display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:600;color:#fff}.settings-profile-info{flex:1;min-width:0}.settings-profile-name{margin:0 0 .3rem;font-size:1.0625rem;font-weight:700;color:#1a1a1a;font-family:Sniglet,system-ui}.settings-profile-badge{display:inline-block;padding:.15rem .5rem;font-size:.625rem;font-weight:700;letter-spacing:.06em;color:#fff;background:#22c55e;border-radius:100px;font-family:Sniglet,system-ui;text-transform:uppercase}.settings-edit-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:none;background:#f0fdf4;color:#22c55e;cursor:pointer;flex-shrink:0;transition:background .15s}.settings-edit-btn:hover{background:#dcfce7}.edit-modal-title{font-size:1.2rem;font-weight:700;color:#1a1a1a;margin:0 0 1rem;text-align:center;font-family:Sniglet,system-ui}.edit-modal-avatar{position:relative;width:80px;height:80px;margin:0 auto .5rem;cursor:pointer;border-radius:50%;overflow:hidden}.edit-modal-avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}.edit-modal-avatar-placeholder{width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,#86efac,#22c55e);display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:#fff;font-family:Sniglet,system-ui}.edit-modal-avatar-overlay{position:absolute;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:50%}.edit-modal-remove-photo{display:block;margin:0 auto .5rem;background:none;border:none;color:#ef4444;font-size:.75rem;cursor:pointer;padding:.25rem .5rem}.edit-modal-remove-photo:hover{text-decoration:underline}.edit-modal-save{flex:1;padding:.65rem;border:none;border-radius:12px;font-size:.9rem;font-weight:600;font-family:inherit;cursor:pointer;background:#22c55e;color:#fff;transition:background .15s}.edit-modal-save:hover:not(:disabled){background:#16a34a}.edit-modal-save:disabled{opacity:.5;cursor:not-allowed}.settings-section{margin-bottom:1rem}.settings-section-title{margin:0 0 .5rem;font-size:.625rem;font-weight:700;letter-spacing:.12em;color:#9ca3af;text-transform:uppercase;font-family:Sniglet,system-ui}.settings-card{background:var(--color-surface);border-radius:18px;box-shadow:0 2px 10px #0000000f;overflow:hidden}.settings-item{display:flex;align-items:center;gap:.875rem;padding:.875rem 1.125rem;background:transparent;border:none;width:100%;text-align:left}.settings-item-button{cursor:pointer;transition:background .15s ease}.settings-item-button:hover{background:#f9fafb}.settings-item-icon{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:10px}.settings-item-icon-green{background:#22c55e1f;color:#22c55e}.settings-item-icon-gray{background:#6b72801a;color:#6b7280}.settings-item-icon-orange{background:#fb923c1f;color:#f97316}.settings-item-icon-blue{background:#3b82f61f;color:#3b82f6}.settings-item-icon-purple{background:#8b5cf61f;color:#7c3aed}.settings-item-content{flex:1;min-width:0}.settings-item-title{margin:0 0 .15rem;font-size:.9375rem;font-weight:600;color:#1a1a1a;font-family:Sniglet,system-ui}.settings-item-subtitle{margin:0;font-size:.75rem;color:#9ca3af;font-family:Sniglet,system-ui}.settings-item-arrow{flex-shrink:0;color:#d1d5db}.settings-divider{height:1px;background:#f3f4f6;margin:0 1.125rem}.settings-toggle{position:relative;display:inline-block;width:46px;height:26px;flex-shrink:0}.settings-toggle input{opacity:0;width:0;height:0}.settings-toggle-slider{position:absolute;cursor:pointer;inset:0;background:#d1d5db;transition:.25s;border-radius:100px}.settings-toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:3px;bottom:3px;background:#fff;transition:.25s;border-radius:50%;box-shadow:0 1px 3px #00000026}.settings-toggle input:checked+.settings-toggle-slider{background:#22c55e}.settings-toggle input:checked+.settings-toggle-slider:before{transform:translate(20px)}.settings-theme-colors{display:flex;gap:6px;margin-right:4px}.settings-theme-dot{width:22px;height:22px;border-radius:50%;border:2px solid rgba(0,0,0,.08);cursor:pointer;transition:all .2s;background:transparent;padding:0;-webkit-tap-highlight-color:transparent}.settings-theme-dot-beige{background:#f5f0e8}.settings-theme-dot-dark{background:#1a1a1a}.settings-theme-dot-glass{background:linear-gradient(135deg,#ffffffe6,#d1fae5b3,#a7f3d080);border:2px solid rgba(255,255,255,.8);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.settings-theme-dot:hover:not(:disabled){transform:scale(1.15)}.settings-theme-dot:disabled{opacity:.6;cursor:not-allowed}.settings-tutorial-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.125rem;margin-bottom:.75rem;font-size:.9375rem;font-weight:600;color:var(--color-primary, #22c55e);background:var(--color-surface, #fff);border:none;border-radius:14px;cursor:pointer;transition:background .2s;font-family:Sniglet,system-ui;box-shadow:0 2px 6px #0000000d}.settings-tutorial-btn:hover{background:var(--color-accent-light, #dcfce7)}.settings-clear-btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.875rem 1.125rem;margin-bottom:.75rem;font-size:.9375rem;font-weight:600;color:#dc2626;background:var(--color-surface);border:none;border-radius:14px;cursor:pointer;transition:background .2s;font-family:Sniglet,system-ui;box-shadow:0 2px 6px #0000000d}.settings-clear-btn:hover{background:#fef2f2}.settings-signout-btn{width:100%;padding:.75rem;margin-bottom:1rem;font-size:.9375rem;font-weight:600;color:#6b7280;background:var(--color-surface);border:none;border-radius:14px;cursor:pointer;transition:background .2s;font-family:Sniglet,system-ui;box-shadow:0 2px 6px #0000000d}.settings-signout-btn:hover{background:#f9fafb;color:#374151}.settings-enc{display:flex;align-items:center;justify-content:center;gap:.3rem;text-align:center;font-size:.625rem;font-weight:500;letter-spacing:.08em;color:#d1d5db;margin:.75rem 0 .5rem;text-transform:uppercase;font-family:Sniglet,system-ui}.entry-modal-overlay{position:fixed;inset:0;z-index:1000;background:#00000073;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:center;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);animation:modalFadeIn .2s ease}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.entry-modal{background:var(--color-surface);border-radius:20px 20px 0 0;width:100%;max-height:85vh;overflow-y:auto;padding:1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));box-shadow:0 -4px 32px #0000001f;animation:modalSlideUp .25s ease;-webkit-overflow-scrolling:touch}.entry-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.entry-modal-meta{display:flex;align-items:center;gap:.625rem}.entry-modal-date{font-size:.625rem;font-weight:700;letter-spacing:.1em;color:#6b7280;text-transform:uppercase;font-family:Sniglet,system-ui}.entry-modal-time{font-size:.6875rem;color:#9ca3af;font-family:Sniglet,system-ui}.entry-modal-close{display:flex;align-items:center;justify-content:center;width:var(--touch-min);height:var(--touch-min);border:none;border-radius:50%;background:#f3f4f6;color:#6b7280;cursor:pointer;transition:background .2s,color .2s;flex-shrink:0}.entry-modal-close:hover{background:#e5e7eb;color:#374151}.entry-modal-title{margin:0 0 1rem;font-size:1.375rem;font-weight:700;line-height:1.3;color:#1a1a1a;font-family:Sniglet,system-ui}.entry-modal-content{font-family:Sniglet,system-ui;font-size:1rem;line-height:1.75;color:#374151}.entry-modal-content p{margin:0 0 .75rem}.entry-modal-content p:last-child{margin-bottom:0}.entry-modal-empty{color:#9ca3af;font-style:italic}.entry-modal-error{display:flex;align-items:center;gap:.5rem;padding:.875rem 1rem;border-radius:12px;background:#fef2f2;color:#b91c1c;font-size:.875rem;font-family:Sniglet,system-ui}.entry-modal-badge{display:inline-flex;align-items:center;gap:.375rem;margin-top:1.25rem;padding:.375rem .75rem;border-radius:999px;background:var(--color-accent-light, #dcfce7);color:#15803d;font-size:.6875rem;font-weight:600;letter-spacing:.02em;font-family:Sniglet,system-ui}.delete-confirm-modal{text-align:center;padding:2rem 1.5rem}.delete-confirm-icon{display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;border-radius:50%;background:#fee2e2;color:#ef4444;margin:0 auto 1rem}.delete-confirm-title{margin:0 0 .5rem;font-size:1.25rem;color:#111827;font-family:Sniglet,system-ui}.delete-confirm-body{color:#6b7280;font-size:.9rem;font-family:Sniglet,system-ui;margin:0 0 1.5rem;line-height:1.5}.delete-confirm-actions{display:flex;gap:.75rem;justify-content:center}.delete-confirm-cancel,.delete-confirm-delete{flex:1;max-width:10rem;padding:.625rem 1rem;border-radius:12px;font-size:.9375rem;font-family:Sniglet,system-ui;cursor:pointer;transition:all .18s ease;border:none}.delete-confirm-cancel{background:#f3f4f6;color:#374151}.delete-confirm-cancel:hover:not(:disabled){background:#e5e7eb}.delete-confirm-delete{background:#ef4444;color:#fff}.delete-confirm-delete:hover:not(:disabled){background:#dc2626}.delete-confirm-cancel:disabled,.delete-confirm-delete:disabled{opacity:.6;cursor:not-allowed}.entry-modal-actions{display:flex;align-items:center;gap:.5rem}.entry-modal-edit{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;border:none;background:#eff6ff;color:#3b82f6;cursor:pointer;transition:background .2s,color .2s;flex-shrink:0}.entry-modal-edit:hover{background:#dbeafe;color:#2563eb}.edit-entry-modal{padding:1.5rem}.edit-entry-fields{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.25rem}.edit-entry-title-input{width:100%;padding:.625rem .875rem;border:1.5px solid #e5e7eb;border-radius:10px;font-size:1rem;font-weight:600;font-family:inherit;color:#111827;background:#f9fafb;outline:none;box-sizing:border-box;transition:border-color .2s}.edit-entry-title-input:focus{border-color:#6ee7b7;background:#fff}.edit-entry-content-input{width:100%;padding:.625rem .875rem;border:1.5px solid #e5e7eb;border-radius:10px;font-size:.9375rem;font-family:Sniglet,system-ui;color:#374151;background:#f9fafb;outline:none;box-sizing:border-box;resize:vertical;line-height:1.6;transition:border-color .2s}.edit-entry-content-input:focus{border-color:#6ee7b7;background:#fff}.edit-entry-content-input:disabled,.edit-entry-title-input:disabled{opacity:.6;cursor:not-allowed}.edit-entry-actions{display:flex;gap:.75rem;justify-content:flex-end}.edit-entry-save{flex:1;max-width:10rem;padding:.625rem 1rem;border:none;border-radius:10px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:background .2s;font-family:inherit;background:#10b981;color:#fff}.edit-entry-save:hover:not(:disabled){background:#059669}.edit-entry-save:disabled{opacity:.6;cursor:not-allowed}@media(min-width:768px){.entry-modal-overlay{align-items:center;padding:2rem}.entry-modal{border-radius:20px;max-width:560px;max-height:80vh;padding:1.75rem;animation:modalScaleIn .2s ease}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.entry-modal-title{font-size:1.5rem}}@media(min-width:768px){.entry-modal{max-width:620px;padding:2rem}.entry-modal-content{font-size:1.0625rem}}.confirm-modal-overlay{position:fixed;inset:0;z-index:2000;background:#00000080;display:flex;align-items:center;justify-content:center;padding:1.5rem;animation:fadeIn .15s ease}.confirm-modal{background:var(--color-surface);border-radius:20px;padding:1.75rem;max-width:380px;width:100%;box-shadow:0 12px 40px #0000002e;text-align:center;animation:modalScaleIn .2s ease}.confirm-modal-icon{font-size:2.25rem;margin-bottom:.75rem}.confirm-modal-title{font-size:1.25rem;font-weight:700;color:#ef4444;margin:0 0 .5rem}.confirm-modal-desc{font-size:.85rem;color:#6b7280;margin:0 0 1rem;line-height:1.5}.confirm-modal-label{font-size:.8rem;font-weight:600;color:#374151;text-align:left;margin:0 0 .375rem}.confirm-modal-input{width:100%;padding:.625rem .75rem;font-size:.9rem;font-family:inherit;border:1.5px solid #d1d5db;border-radius:10px;outline:none;transition:border-color .15s;margin-bottom:1rem}.confirm-modal-input:focus{border-color:#ef4444}.confirm-modal-actions{display:flex;gap:.75rem}.confirm-modal-cancel{flex:1;padding:.65rem;border:none;border-radius:12px;font-size:.9rem;font-weight:600;font-family:inherit;background:#f3f4f6;color:#374151;cursor:pointer;transition:background .15s}.confirm-modal-cancel:hover:not(:disabled){background:#e5e7eb}.confirm-modal-delete{flex:1;padding:.65rem;border:none;border-radius:12px;font-size:.9rem;font-weight:600;font-family:inherit;background:#ef4444;color:#fff;cursor:pointer;transition:background .15s,opacity .15s}.confirm-modal-delete:hover:not(:disabled){background:#dc2626}.confirm-modal-delete:disabled{opacity:.5;cursor:not-allowed}.ios-install-modal{text-align:left}.ios-install-icon{font-size:2.5rem;text-align:center;margin-bottom:.5rem}.ios-install-modal .confirm-modal-title{color:#1a1a1a;text-align:center}.ios-install-subtitle{font-size:.85rem;color:#6b7280;margin:0 0 1rem;text-align:center}.ios-install-steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.ios-install-steps li{display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:#374151;line-height:1.4}.ios-install-step-icon{width:34px;height:34px;flex-shrink:0;background:#8b5cf61a;color:#7c3aed;border-radius:8px;display:flex;align-items:center;justify-content:center}@media(min-width:860px){.bottom-nav{position:fixed;left:0;top:0;bottom:auto;transform:none;height:100dvh;width:232px;border-radius:0;box-shadow:none;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:0 .875rem 1.5rem;gap:4px;border-top:none;border-right:1px solid var(--color-border);background:var(--color-surface);z-index:100}.bottom-nav-brand{display:block;font-family:Sniglet,system-ui;font-size:1.0625rem;font-weight:700;color:var(--color-primary);padding:1.75rem calc(.875rem + 10px) 1.25rem;margin:0 -.875rem .5rem;border-bottom:1px solid var(--color-border);letter-spacing:-.01em}.bottom-nav-btn{flex-direction:row;justify-content:flex-start;width:100%;padding:10px 14px;border-radius:12px;min-height:42px}.bottom-nav-btn span{display:inline}.bottom-nav-avatar{width:22px;height:22px}.bottom-nav-btn-active{padding:10px 14px}.home-page,.history-page,.settings-page{margin-left:232px}.journal-container{padding:2.5rem 2rem;align-items:center}.journal-card{max-width:760px;width:100%;align-self:center}.history-header{padding:2rem 2.5rem 0}.history-container{padding:1.25rem 2.5rem 1.5rem}.settings-header{padding:2rem 2rem 0;max-width:720px;width:100%;margin:0 auto}.settings-container{padding:1.25rem 2rem 1.5rem;max-width:720px;width:100%;margin:0 auto}}@media(min-width:860px){[data-theme=dark] .bottom-nav{background:var(--color-surface);border-right-color:#4ade801a}[data-theme=dark] .bottom-nav-brand{border-bottom-color:#4ade801a}}@media(min-width:1100px){.history-container{display:flex;flex-direction:row;gap:1.5rem;overflow:hidden}.calendar-card{flex-shrink:0;width:320px;align-self:flex-start;margin-bottom:0}.recent-entries{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;margin-bottom:0}.recent-entries::-webkit-scrollbar{display:none}}.alert-msg{padding:.75rem;border-radius:8px;font-size:.875rem;text-align:center}.alert-msg--error{background-color:#fef2f2;color:#b91c1c}.alert-msg--success{background-color:#f0fdf4;color:#15803d}[data-theme=dark] .home-page,[data-theme=dark] .history-page,[data-theme=dark] .settings-page{background:#0f0f0f}[data-theme=dark] .journal-card,[data-theme=dark] .calendar-card,[data-theme=dark] .settings-card,[data-theme=dark] .settings-profile,[data-theme=dark] .entry-card{background:var(--color-surface);border-color:#4ade801f;box-shadow:0 2px 16px #0006,0 0 0 1px #4ade800f}[data-theme=dark] .journal-prompt,[data-theme=dark] .history-header-text h1,[data-theme=dark] .settings-header-text h1,[data-theme=dark] .entry-title,[data-theme=dark] .settings-profile-name,[data-theme=dark] .settings-item-title,[data-theme=dark] .calendar-month{color:#e8f5e8}[data-theme=dark] .journal-title-input,[data-theme=dark] .journal-entry-textarea{color:#d1d5db}[data-theme=dark] .journal-title-input{border-bottom-color:#2a2a2a}[data-theme=dark] .journal-title-input:focus{border-bottom-color:#4ade80;box-shadow:0 1px #4ade8066}[data-theme=dark] .journal-title-input::placeholder,[data-theme=dark] .journal-entry-textarea::placeholder{color:#4a5a4a}[data-theme=dark] .journal-date,[data-theme=dark] .history-subtitle,[data-theme=dark] .settings-subtitle,[data-theme=dark] .entry-preview,[data-theme=dark] .entry-date,[data-theme=dark] .entry-time,[data-theme=dark] .settings-item-subtitle,[data-theme=dark] .settings-section-title,[data-theme=dark] .recent-entries-title,[data-theme=dark] .calendar-weekday{color:#7a8a7a}[data-theme=dark] .journal-date{color:#4ade80}[data-theme=dark] .calendar-day{color:#b0b8b0}[data-theme=dark] .calendar-day:not(.calendar-day-empty):hover{background:#4ade801f;color:#4ade80}[data-theme=dark] .calendar-day-has-entry{background:#4ade802e;color:#4ade80}[data-theme=dark] .calendar-day-has-entry:hover{background:#4ade8047}[data-theme=dark] .calendar-day-today{background:#22c55e;color:#fff}[data-theme=dark] .calendar-day-today:hover{background:#16a34a}[data-theme=dark] .calendar-day-selected{box-shadow:inset 0 0 0 2px #4ade80}[data-theme=dark] .calendar-day-selected:not(.calendar-day-today):not(.calendar-day-has-entry){background:#4ade801a;color:#4ade80}[data-theme=dark] .calendar-nav-btn:hover{background:#4ade801a;color:#4ade80}[data-theme=dark] .bottom-nav{background:#1e2320;box-shadow:0 4px 24px #00000073,0 1px 4px #0000004d}[data-theme=dark] .bottom-nav-btn{color:#5a6a5a}[data-theme=dark] .bottom-nav-btn:hover{color:#4ade80;background:#4ade8014}[data-theme=dark] .bottom-nav-btn-active{background:#22c55e;color:#fff}[data-theme=dark] .bottom-nav-btn-active:hover{background:#16a34a;color:#fff}[data-theme=dark] .bottom-nav-avatar-placeholder{background:#16a34a}[data-theme=dark] .journal-write-btn{background:#22c55e;box-shadow:0 4px 16px #4ade8059,0 0 24px #4ade801a}[data-theme=dark] .journal-write-btn:hover:not(:disabled){background:#16a34a;box-shadow:0 6px 24px #4ade8073,0 0 32px #4ade8026}[data-theme=dark] .save-inline-quote{background:#1e2a1e;border-color:#4ade8040;color:#4ade80}[data-theme=dark] .home-login-link{background:#22c55e;box-shadow:0 2px 12px #4ade8040}[data-theme=dark] .entry-card{border-left-color:#4ade80}[data-theme=dark] .entry-card:hover{box-shadow:0 6px 24px #4ade801f,0 2px 8px #0000004d;border-left-color:#22c55e}[data-theme=dark] .settings-item-icon-green{background:#4ade801f;color:#4ade80}[data-theme=dark] .settings-item-icon-gray{background:#9ca3af1a;color:#9ca3af}[data-theme=dark] .settings-item-icon-orange{background:#fb923c1f;color:#fb923c}[data-theme=dark] .settings-item-icon-blue{background:#60a5fa1f;color:#60a5fa}[data-theme=dark] .settings-item-icon-purple{background:#a78bfa1f;color:#a78bfa}[data-theme=dark] .ios-install-modal .confirm-modal-title{color:#e8f5e8}[data-theme=dark] .ios-install-steps li{color:#d1d5db}[data-theme=dark] .ios-install-step-icon{background:#a78bfa1f;color:#a78bfa}[data-theme=dark] .settings-tutorial-btn{background:var(--color-surface);box-shadow:0 2px 8px #0000004d}[data-theme=dark] .settings-tutorial-btn:hover{background:#4ade8014}[data-theme=dark] .settings-clear-btn{background:var(--color-surface);color:#f87171;box-shadow:0 2px 8px #0000004d}[data-theme=dark] .settings-clear-btn:hover{background:#ef444414}[data-theme=dark] .settings-signout-btn{background:var(--color-surface);color:#9ca3af;box-shadow:0 2px 8px #0000004d}[data-theme=dark] .settings-signout-btn:hover{background:#4ade800f;color:#d1d5db}[data-theme=dark] .settings-profile-badge{background:#16a34a;color:#fff}[data-theme=dark] .settings-edit-btn{background:#22c55e26;color:#4ade80}[data-theme=dark] .settings-edit-btn:hover{background:#22c55e40}[data-theme=dark] .edit-modal-title{color:#e8f5e8}[data-theme=dark] .settings-divider{background:#2a2a2a}[data-theme=dark] .settings-item-button:hover{background:#4ade800f}[data-theme=dark] .settings-toggle-slider{background:#333}[data-theme=dark] .settings-toggle input:checked+.settings-toggle-slider{background:#22c55e}[data-theme=dark] .settings-theme-dot{border-color:#ffffff1f}[data-theme=dark] .settings-theme-dot-active{border-color:#4ade80;box-shadow:0 0 0 2px #4ade80}[data-theme=dark] .settings-enc{color:#3a3a3a}[data-theme=dark] .history-search-btn{background:var(--color-surface);border-color:#2a2a2a;color:#7a8a7a}[data-theme=dark] .history-search-btn:hover{background:#4ade8014;border-color:#4ade80;color:#4ade80}[data-theme=dark] .alert-msg--error{background-color:#b91c1c2e;color:#fca5a5}[data-theme=dark] .alert-msg--success{background-color:#15803d2e;color:#86efac}[data-theme=dark] .journal-icon-btn:hover{color:#4ade80;background:#4ade801a}[data-theme=dark] .entry-modal{background:var(--color-surface);border-top-color:#4ade80;box-shadow:0 -4px 32px #00000080,0 -1px #4ade8033}[data-theme=dark] .entry-modal-title{color:#e8f5e8}[data-theme=dark] .entry-modal-content{color:#b0b8b0}[data-theme=dark] .entry-modal-date{color:#7a8a7a}[data-theme=dark] .entry-modal-time{color:#5a6a5a}[data-theme=dark] .entry-modal-close{background:#252525;color:#7a8a7a}[data-theme=dark] .entry-modal-close:hover,[data-theme=dark] .entry-modal-badge{background:#4ade801f;color:#4ade80}[data-theme=dark] .entry-modal-error{background:#ef44441a;color:#f87171}[data-theme=dark] .entry-edit-btn{background:#3b82f614;border-color:#3b82f633;color:#60a5fa}[data-theme=dark] .entry-edit-btn:hover{background:#3b82f62e;border-color:#3b82f659}[data-theme=dark] .entry-modal-edit{background:#3b82f61a;color:#60a5fa}[data-theme=dark] .entry-modal-edit:hover{background:#3b82f633;color:#93c5fd}[data-theme=dark] .entry-delete-btn{background:#ef444414;border-color:#ef444433;color:#f87171}[data-theme=dark] .entry-delete-btn:hover{background:#ef44442e;border-color:#ef444459}[data-theme=dark] .edit-entry-title-input,[data-theme=dark] .edit-entry-content-input{background:#1a1a1a;border-color:#2d2d2d;color:#e8f5e8}[data-theme=dark] .edit-entry-title-input:focus,[data-theme=dark] .edit-entry-content-input:focus{border-color:#4ade80;background:#151515}[data-theme=dark] .delete-confirm-modal{background:var(--color-surface)}[data-theme=dark] .delete-confirm-title{color:#e8f5e8}[data-theme=dark] .delete-confirm-body{color:#7a8a7a}[data-theme=dark] .delete-confirm-cancel{background:#252525;color:#b0b8b0}[data-theme=dark] .delete-confirm-cancel:hover:not(:disabled){background:#303030}[data-theme=dark] .entry-modal-overlay,[data-theme=dark] .confirm-modal-overlay{background:#000000b3}[data-theme=dark] .confirm-modal{background:var(--color-surface);box-shadow:0 12px 40px #00000080}[data-theme=dark] .confirm-modal-title{color:#f87171}[data-theme=dark] .confirm-modal-desc{color:#7a8a7a}[data-theme=dark] .confirm-modal-label{color:#b0b8b0}[data-theme=dark] .confirm-modal-input{background:#111;border-color:#2a2a2a;color:#d1d5db}[data-theme=dark] .confirm-modal-input:focus{border-color:#ef4444;background:#151515}[data-theme=dark] .confirm-modal-cancel{background:#252525;color:#9ca3af}[data-theme=dark] .confirm-modal-cancel:hover:not(:disabled){background:#333}.reminder-modal-overlay{background:#000000d9;align-items:center;justify-content:center;padding:1.5rem}.reminder-modal{background:#fff;max-width:340px;width:100%;border-radius:24px;max-height:none;overflow:visible;padding:1.25rem 1.25rem 1.5rem}[data-theme=dark] .reminder-modal-overlay{background:#000000e0}[data-theme=dark] .reminder-modal{background:#1c1c1e}.clock-picker{display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:.25rem 0}.clock-picker__display{display:flex;align-items:center;gap:.25rem}.clock-picker__seg{background:var(--color-surface-alt, #f3f4f6);border:none;border-radius:10px;font-size:2.25rem;font-weight:700;font-family:inherit;color:var(--color-text, #111827);width:3rem;height:3.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,color .15s;line-height:1;padding:0}.clock-picker__seg--active{background:var(--color-primary, #22c55e);color:#fff}.clock-picker__colon{font-size:2rem;font-weight:700;color:var(--color-text, #111827);line-height:1;padding:0 .1rem;-webkit-user-select:none;user-select:none}.clock-picker__ampm{display:flex;flex-direction:column;gap:.25rem;margin-left:.5rem}.clock-picker__ampm-btn{background:var(--color-surface-alt, #f3f4f6);border:1.5px solid transparent;border-radius:8px;font-size:.7rem;font-weight:700;font-family:inherit;color:var(--color-text-muted, #6b7280);padding:.25rem .5rem;cursor:pointer;transition:background .15s,color .15s,border-color .15s;letter-spacing:.03em}.clock-picker__ampm-btn--active{background:var(--color-primary, #22c55e);color:#fff;border-color:var(--color-primary, #22c55e)}.clock-picker__face{width:180px;height:180px;display:block;border-radius:50%;overflow:visible}.clock-picker__bg{fill:var(--color-surface-alt, #f3f4f6)}.clock-picker__sector{fill:#22c55e1f}.clock-picker__hand{stroke:var(--color-primary, #22c55e);stroke-width:2.5;stroke-linecap:round}.clock-picker__center-dot,.clock-picker__hand-tip{fill:var(--color-primary, #22c55e)}.clock-picker__num{font-family:inherit;font-size:13px;font-weight:500;fill:var(--color-text, #111827);-webkit-user-select:none;user-select:none;pointer-events:none}.clock-picker__num--selected{fill:#fff;font-weight:700}.clock-picker__tick{stroke:var(--color-text-muted, #9ca3af);stroke-width:1.5;opacity:.4}.clock-picker__modes{display:flex;gap:.5rem}.clock-picker__mode-btn{background:none;border:1.5px solid var(--color-border, #e5e7eb);border-radius:20px;font-size:.7rem;font-weight:600;font-family:inherit;color:var(--color-text-muted, #6b7280);padding:.25rem .75rem;cursor:pointer;transition:all .15s}.clock-picker__mode-btn--active{background:var(--color-primary, #22c55e);border-color:var(--color-primary, #22c55e);color:#fff}[data-theme=dark] .clock-picker__seg{background:#2a2a2a;color:#f9fafb}[data-theme=dark] .clock-picker__seg--active{background:var(--color-primary, #4ade80);color:#111}[data-theme=dark] .clock-picker__colon{color:#f9fafb}[data-theme=dark] .clock-picker__ampm-btn{background:#2a2a2a;color:#9ca3af}[data-theme=dark] .clock-picker__ampm-btn--active{background:var(--color-primary, #4ade80);color:#111;border-color:var(--color-primary, #4ade80)}[data-theme=dark] .clock-picker__bg{fill:#2a2a2a}[data-theme=dark] .clock-picker__sector{fill:#4ade801f}[data-theme=dark] .clock-picker__hand{stroke:#4ade80}[data-theme=dark] .clock-picker__center-dot,[data-theme=dark] .clock-picker__hand-tip{fill:#4ade80}[data-theme=dark] .clock-picker__num{fill:#d1d5db}[data-theme=dark] .clock-picker__num--selected{fill:#111}[data-theme=dark] .clock-picker__tick{stroke:#4b5563}[data-theme=dark] .clock-picker__mode-btn{border-color:#333;color:#9ca3af}[data-theme=liquid-glass] .home-page,[data-theme=liquid-glass] .history-page,[data-theme=liquid-glass] .settings-page{background:transparent}[data-theme=liquid-glass] .journal-card,[data-theme=liquid-glass] .calendar-card,[data-theme=liquid-glass] .entry-card,[data-theme=liquid-glass] .entry-modal,[data-theme=liquid-glass] .confirm-modal,[data-theme=liquid-glass] .settings-profile,[data-theme=liquid-glass] .settings-card,[data-theme=liquid-glass] .settings-tutorial-btn,[data-theme=liquid-glass] .settings-clear-btn,[data-theme=liquid-glass] .settings-signout-btn,[data-theme=liquid-glass] .bottom-nav,[data-theme=liquid-glass] .lp__form{background:var(--glass-bg);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);border:var(--glass-border);box-shadow:var(--glass-shadow)}[data-theme=liquid-glass] .journal-card,[data-theme=liquid-glass] .calendar-card,[data-theme=liquid-glass] .entry-card,[data-theme=liquid-glass] .settings-profile,[data-theme=liquid-glass] .settings-card{box-shadow:var(--glass-shadow)}[data-theme=liquid-glass] .bottom-nav{box-shadow:0 -1px #ffffff80,0 -8px 32px #0000001a}[data-theme=liquid-glass] .journal-prompt,[data-theme=liquid-glass] .settings-header-text h1,[data-theme=liquid-glass] .history-header-text h1,[data-theme=liquid-glass] .settings-profile-name,[data-theme=liquid-glass] .settings-item-title,[data-theme=liquid-glass] .calendar-month,[data-theme=liquid-glass] .entry-title{color:#0f172a}[data-theme=liquid-glass] .journal-date{color:#16a34a}[data-theme=liquid-glass] .settings-subtitle,[data-theme=liquid-glass] .history-subtitle,[data-theme=liquid-glass] .settings-item-subtitle,[data-theme=liquid-glass] .settings-section-title,[data-theme=liquid-glass] .entry-preview,[data-theme=liquid-glass] .entry-date,[data-theme=liquid-glass] .entry-time,[data-theme=liquid-glass] .recent-entries-title,[data-theme=liquid-glass] .calendar-weekday{color:#334155}[data-theme=liquid-glass] .journal-title-input,[data-theme=liquid-glass] .journal-entry-textarea{color:#1e293b}[data-theme=liquid-glass] .journal-title-input::placeholder,[data-theme=liquid-glass] .journal-entry-textarea::placeholder{color:#1e293b73}[data-theme=liquid-glass] .journal-title-input{border-bottom-color:#fff6}[data-theme=liquid-glass] .journal-title-input:focus{border-bottom-color:#16a34a}[data-theme=liquid-glass] .settings-tutorial-btn{color:#0f172a}[data-theme=liquid-glass] .settings-clear-btn{color:#b91c1c}[data-theme=liquid-glass] .settings-signout-btn{color:#475569}[data-theme=liquid-glass] .settings-tutorial-btn:hover{background:#ffffff59}[data-theme=liquid-glass] .settings-clear-btn:hover{background:#fecaca59}[data-theme=liquid-glass] .settings-signout-btn:hover{background:#ffffff4d;color:#1e293b}[data-theme=liquid-glass] .settings-item-button:hover{background:#ffffff47}[data-theme=liquid-glass] .settings-divider{background:#ffffff73}[data-theme=liquid-glass] .settings-theme-dot{border-color:#0000001f}[data-theme=liquid-glass] .settings-theme-dot-active{border-color:#16a34a;box-shadow:0 0 0 2px #16a34a}[data-theme=liquid-glass] .settings-item-icon-green{background:#22c55e33;color:#15803d}[data-theme=liquid-glass] .settings-item-icon-gray{background:#64748b2e;color:#475569}[data-theme=liquid-glass] .settings-item-icon-orange{background:#fb923c33;color:#c2410c}[data-theme=liquid-glass] .settings-item-icon-blue{background:#3b82f62e;color:#1d4ed8}[data-theme=liquid-glass] .settings-item-icon-purple{background:#8b5cf62e;color:#6d28d9}[data-theme=liquid-glass] .settings-toggle-slider{background:#0003}[data-theme=liquid-glass] .settings-toggle input:checked+.settings-toggle-slider{background:#16a34a}[data-theme=liquid-glass] .settings-item-arrow{color:#334155}[data-theme=liquid-glass] .settings-enc{color:#0f172a73}[data-theme=liquid-glass] .settings-edit-btn{background:#22c55e33;color:#15803d}[data-theme=liquid-glass] .calendar-day{color:#334155}[data-theme=liquid-glass] .calendar-day:not(.calendar-day-empty):hover{background:#fff6;color:#0f172a}[data-theme=liquid-glass] .calendar-day-has-entry{background:#22c55e38;color:#15803d}[data-theme=liquid-glass] .calendar-day-today{background:#16a34a;color:#fff}[data-theme=liquid-glass] .calendar-nav-btn:hover{background:#ffffff59;color:#0f172a}[data-theme=liquid-glass] .entry-card{border-left-color:#16a34a80}[data-theme=liquid-glass] .entry-card:hover{background:#ffffff47;box-shadow:0 8px 32px #00000024,0 1px #ffffffb3 inset}[data-theme=liquid-glass] .entry-modal{border-top-color:#16a34a}[data-theme=liquid-glass] .entry-modal-title{color:#0f172a}[data-theme=liquid-glass] .entry-modal-content{color:#1e293b}[data-theme=liquid-glass] .entry-modal-date,[data-theme=liquid-glass] .entry-modal-time{color:#475569}[data-theme=liquid-glass] .entry-modal-badge{background:#22c55e33;color:#15803d}[data-theme=liquid-glass] .entry-modal-close{background:#ffffff59;color:#475569}[data-theme=liquid-glass] .entry-modal-close:hover{background:#ffffff80;color:#0f172a}[data-theme=liquid-glass] .confirm-modal-overlay,[data-theme=liquid-glass] .entry-modal-overlay{background:#0f172a33;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}[data-theme=liquid-glass] .bottom-nav-btn{color:#475569}[data-theme=liquid-glass] .bottom-nav-btn:hover{color:#15803d;background:#ffffff4d}[data-theme=liquid-glass] .bottom-nav-btn-active{background:#16a34a;color:#fff}[data-theme=liquid-glass] .journal-write-btn{background:#16a34a;box-shadow:0 4px 16px #16a34a59}[data-theme=liquid-glass] .journal-write-btn:hover:not(:disabled){background:#15803d;box-shadow:0 6px 24px #16a34a73}@media(min-width:860px){[data-theme=liquid-glass] .bottom-nav{background:var(--glass-bg);border-right-color:#fff6}[data-theme=liquid-glass] .bottom-nav-brand{border-bottom-color:#fff6}}[data-theme=dark] .clock-picker__mode-btn--active{background:#4ade80;border-color:#4ade80;color:#111}[data-theme=dark] .google-sign-in-btn{background:#252525;border-color:#333;color:#d1d5db}[data-theme=dark] .google-sign-in-btn:hover:not(:disabled){background:#2a2a2a;border-color:#4ade804d;box-shadow:0 1px 8px #4ade801a}.welcome-modal-overlay{position:fixed;inset:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1.5rem;animation:welcome-fade-in .3s ease}@keyframes welcome-fade-in{0%{opacity:0}to{opacity:1}}@keyframes welcome-slide-up{0%{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.welcome-modal{background:var(--color-surface, #ffffff);border-radius:20px;padding:2.5rem 2rem 2rem;max-width:400px;width:100%;text-align:center;box-shadow:0 20px 60px #00000040;animation:welcome-slide-up .35s ease}.welcome-modal-icon{display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin:0 auto 1.25rem;background:var(--color-accent-light, #dcfce7);border-radius:50%;color:var(--color-primary, #22c55e)}.welcome-modal-title{font-family:Sniglet,system-ui;font-size:1.375rem;font-weight:700;color:var(--color-text, #1a1a1a);margin:0 0 .75rem}.welcome-modal-text{font-family:Sniglet,system-ui;font-size:.9rem;line-height:1.6;color:var(--color-text-muted, #6b7280);margin:0 0 1.75rem}.welcome-modal-btn{font-family:Sniglet,system-ui;font-size:1rem;font-weight:700;color:#fff;background:var(--color-primary, #22c55e);border:none;border-radius:14px;padding:.875rem 2rem;width:100%;cursor:pointer;transition:background .15s,transform .15s}.welcome-modal-btn:hover{background:#16a34a;transform:translateY(-1px)}.welcome-modal-btn:active{transform:translateY(0)}.welcome-modal-skip{font-family:Sniglet,system-ui;font-size:.8125rem;color:var(--color-text-muted, #6b7280);background:none;border:none;cursor:pointer;margin-top:.75rem;padding:.5rem 1rem;transition:color .15s}.welcome-modal-skip:hover{color:var(--color-text, #1a1a1a)}.gj-tour-popover{font-family:Sniglet,system-ui!important;border-radius:16px!important;box-shadow:0 12px 40px #0003!important}.gj-tour-popover .driver-popover-title{font-family:Sniglet,system-ui!important;font-size:1.05rem!important;font-weight:700!important;color:var(--color-text, #1a1a1a)!important}.gj-tour-popover .driver-popover-description{font-family:Sniglet,system-ui!important;font-size:.85rem!important;line-height:1.55!important;color:var(--color-text-muted, #6b7280)!important}.gj-tour-popover .driver-popover-progress-text{font-family:Sniglet,system-ui!important;font-size:.75rem!important;color:var(--color-text-muted, #6b7280)!important}.gj-tour-popover .driver-popover-navigation-btns button{font-family:Sniglet,system-ui!important;border-radius:10px!important;font-size:.825rem!important;padding:.4rem 1rem!important;font-weight:600!important}@keyframes tour-btn-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.96)}}.gj-tour-popover .driver-popover-next-btn{background:var(--color-primary, #22c55e)!important;color:#fff!important;border:none!important;text-shadow:none!important;animation:tour-btn-pulse 1.2s ease-in-out infinite!important}.gj-tour-popover .driver-popover-prev-btn{color:var(--color-text-muted, #6b7280)!important;border:1px solid var(--color-border, #d4e8d4)!important;background:transparent!important}.gj-tour-popover .driver-popover-close-btn{color:var(--color-text-muted, #6b7280)!important;outline:none!important;box-shadow:none!important;border:none!important;background:transparent!important}.gj-tour-popover .driver-popover-close-btn:focus,.gj-tour-popover .driver-popover-close-btn:focus-visible{outline:none!important;box-shadow:none!important;border:none!important}[data-theme=dark] .welcome-modal{background:#1a1a1a;box-shadow:0 20px 60px #00000080}[data-theme=dark] .gj-tour-popover{background:#1a1a1a!important;border:1px solid rgba(74,222,128,.12)!important}[data-theme=dark] .gj-tour-popover .driver-popover-title{color:#e8f5e8!important}[data-theme=dark] .gj-tour-popover .driver-popover-description{color:#7a8a7a!important}[data-theme=dark] .gj-tour-popover .driver-popover-prev-btn{border-color:#4ade8026!important;color:#7a8a7a!important}[data-theme=dark] .gj-tour-popover .driver-popover-close-btn{color:#7a8a7a!important;outline:none!important;box-shadow:none!important;border:none!important}.static-page{min-height:100dvh;background:linear-gradient(160deg,#eef6ee,#dcfce7);display:flex;flex-direction:column;overflow-y:auto}.static-page__header{padding:1.25rem 2rem;border-bottom:1px solid rgba(34,197,94,.2);background:#fff9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;top:0;z-index:10}.static-page__logo{font-family:Sniglet,system-ui;font-size:1.125rem;font-weight:700;color:#16a34a;text-decoration:none}.static-page__content{flex:1;max-width:680px;width:100%;margin:0 auto;padding:3rem 1.5rem 4rem;color:#1a2e1a}.static-page__content h1{font-family:Sniglet,system-ui;font-size:2rem;font-weight:700;color:#16a34a;margin:0 0 .5rem;line-height:1.2}.static-page__content h2{font-size:1.125rem;font-weight:600;color:#15803d;margin:2rem 0 .75rem}.static-page__content p{line-height:1.7;margin:0 0 1rem;color:#374151}.static-page__content ul{padding-left:1.25rem;margin:0 0 1rem;color:#374151}.static-page__content li{line-height:1.7;margin-bottom:.4rem}.static-page__content a{color:#16a34a;text-decoration:underline;text-underline-offset:3px}.static-page__updated{font-size:.875rem;color:#6b7280;margin-bottom:1.75rem!important}.static-page__tagline{font-size:1.0625rem;color:#22c55e;font-weight:500;margin-bottom:1.75rem!important}.static-page__footer{padding:1.5rem 2rem;border-top:1px solid rgba(34,197,94,.2);background:#fff6;display:flex;gap:1rem;align-items:center;font-size:.875rem}.static-page__footer a{color:#16a34a;text-decoration:none}.static-page__footer a:hover{text-decoration:underline}.static-page__footer span{color:#9ca3af}body.gj-has-bg .home-page,body.gj-has-bg .history-page,body.gj-has-bg .settings-page,[data-theme=dark] body.gj-has-bg .home-page,[data-theme=dark] body.gj-has-bg .history-page,[data-theme=dark] body.gj-has-bg .settings-page{background:transparent}.bg-modal{background:var(--color-surface, #fff);border-radius:20px;padding:1.5rem;width:min(440px,calc(100vw - 2rem));box-shadow:0 8px 40px #0000002e}.bg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-bottom:.75rem}.bg-grid-tile{border-radius:10px;border:2.5px solid transparent;overflow:hidden;cursor:pointer;position:relative;padding:0;width:100%;transition:border-color .15s,transform .12s;display:flex;align-items:center;justify-content:center;background:none}.bg-grid-tile:hover:not(:disabled){transform:scale(1.04)}.bg-grid-tile--active{border-color:var(--color-primary, #22c55e)!important}.bg-grid-add{border:2px dashed var(--color-border, #d4e8d4);background:var(--color-accent-light, #dcfce7);color:var(--color-text-muted, #6b7280)}.bg-grid-add:hover:not(:disabled){border-color:var(--color-primary, #22c55e);color:var(--color-primary, #22c55e)}.bg-grid-empty{background:var(--color-accent-light, #dcfce7);border:2px dashed var(--color-border, #d4e8d4);opacity:.4;cursor:default}.bg-gallery-thumb-img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.bg-gallery-badge{position:absolute;bottom:4px;right:4px;width:18px;height:18px;border-radius:50%;background:var(--color-primary, #22c55e);color:#fff;display:flex;align-items:center;justify-content:center;pointer-events:none}.bg-grid-wrapper{position:relative}.bg-grid-wrapper .bg-grid-tile{width:100%}.bg-tile-delete{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background:#ef4444;color:#fff;border:none;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;box-shadow:0 1px 4px #0000004d}.bg-default-btn{width:100%;padding:.6rem 1rem;border-radius:10px;border:1.5px solid var(--color-border, #d4e8d4);background:transparent;color:var(--color-text-muted, #6b7280);font-size:.85rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.45rem;margin-bottom:.5rem;transition:background .15s,border-color .15s,color .15s}.bg-default-btn:hover:not(:disabled){background:var(--color-accent-light, #dcfce7);border-color:var(--color-primary, #22c55e);color:var(--color-primary-hover, #16a34a)}.bg-close-btn{width:100%;margin-top:.25rem;padding:.7rem;border-radius:12px;border:1.5px solid var(--color-border, #d4e8d4);background:transparent;color:var(--color-text, #1a1a1a);font-size:.9rem;font-weight:500;cursor:pointer;transition:background .15s}.bg-close-btn:hover{background:var(--color-accent-light, #dcfce7)}.cropper-overlay{position:fixed;inset:0;z-index:500;background:#000;display:flex;flex-direction:column;touch-action:none}.cropper-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;background:#000000d9;flex-shrink:0;gap:1rem}.cropper-title{font-size:.95rem;font-weight:600;color:#fff;flex:1;text-align:center}.cropper-cancel-btn{background:none;border:none;color:#9ca3af;font-size:.9rem;cursor:pointer;padding:.3rem .5rem;min-width:60px}.cropper-apply-btn{background:#22c55e;border:none;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;padding:.35rem 1rem;border-radius:8px;min-width:60px}.cropper-apply-btn:disabled{opacity:.4;cursor:not-allowed}.cropper-container{flex:1;position:relative;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.cropper-image{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.cropper-shade{position:absolute;pointer-events:none;box-shadow:0 0 0 9999px #00000085;box-sizing:border-box}.cropper-box{position:absolute;border:2px solid rgba(255,255,255,.85);box-sizing:border-box;cursor:move;touch-action:none}.cropper-grid{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.22) 1px,transparent 1px);background-size:33.333% 33.333%;pointer-events:none}.cropper-handle{position:absolute;width:22px;height:22px;background:#fff;border-radius:3px;touch-action:none;z-index:1}.cropper-handle-tl{top:-4px;left:-4px;cursor:nw-resize}.cropper-handle-tr{top:-4px;right:-4px;cursor:ne-resize}.cropper-handle-bl{bottom:-4px;left:-4px;cursor:sw-resize}.cropper-handle-br{bottom:-4px;right:-4px;cursor:se-resize}.cropper-hint{text-align:center;color:#ffffff73;font-size:.72rem;padding:.45rem;flex-shrink:0;background:#000000b3;margin:0}[data-theme=dark] .bg-modal{background:#1a1a1a}[data-theme=dark] .bg-grid-add{background:#ffffff0d;border-color:#ffffff1f;color:#9ca3af}[data-theme=dark] .bg-grid-add:hover:not(:disabled){border-color:#4ade80;color:#4ade80}[data-theme=dark] .bg-grid-empty{background:#ffffff0a;border-color:#ffffff1a}[data-theme=dark] .bg-default-btn{border-color:#ffffff1f;color:#9ca3af}[data-theme=dark] .bg-default-btn:hover:not(:disabled){background:#ffffff0f;border-color:#4ade80;color:#4ade80}[data-theme=dark] .bg-close-btn{border-color:#ffffff1f;color:#e8f5e8}[data-theme=dark] .bg-close-btn:hover{background:#ffffff0f}
