:root{--font:"Pretendard Variable","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-family:var(--font);color:#18243a;--navy:#1b2c49;--line:#edf0f4;--muted:#535b69;background:#fff}*{box-sizing:border-box}[hidden]{display:none!important}body{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;min-width:280px;margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}:focus-visible,.photo-button:focus-within{outline-offset:2px;outline:3px solid #344f79}#app{background:#fff;flex-direction:column;max-width:610px;min-height:100dvh;margin:auto;display:flex;position:relative}.masthead{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:76px;margin:0 18px;display:flex}.brand{letter-spacing:-.04em;font-weight:800}.brand,#auth h1,#login .primary,#logout{color:#32476b}main{flex:1;padding:26px 18px 28px}h1,h2,p{margin:0}h1{letter-spacing:-.065em;font-size:clamp(1.35rem,5.7vw,2rem)}.month-bar,.entry-head{justify-content:space-between;align-items:center;gap:6px;margin-bottom:20px;display:flex}#calendar{color:#000;--saturday:#005bc4;--sunday:#c62828;background:#f7f7f7;border-radius:6px;margin-top:38px;padding:9px}.month-bar{justify-content:center}#month-title{color:#18243a}#retry{color:inherit}#calendar:not([hidden])~.status{color:#000}.quiet,.arrow{background:0 0;border:0;border-radius:8px;min-height:44px}.quiet{color:var(--navy);padding:0 9px;font-size:.875rem;font-weight:650}.arrow{width:44px;font-size:1.65rem}.month-bar .arrow{place-items:center;display:grid}.month-bar .arrow:before{content:"";border-top:1px solid;border-right:1px solid;width:9px;height:9px;transform:rotate(45deg)}#prev:before{transform:rotate(-135deg)}.quiet:hover,.arrow:hover{background:#eeedf1}.weekdays,.days{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.weekdays{margin-bottom:5px;font-size:.875rem;font-weight:750;line-height:32px}.weekdays span,.day span{place-items:center;width:1.6rem;display:grid}.weekdays span{margin-left:2px}.day,.blank{aspect-ratio:1;border-radius:6px}.day{text-align:left;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.day:hover{background:#eef1f5}.day:hover img{opacity:.9}.day img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.day span{min-height:1.22em;font-size:.875rem;position:absolute;top:2px;left:2px}.weekdays :nth-child(7n+6),.day:nth-child(7n+6){color:var(--saturday)}.weekdays :nth-child(7n),.day:nth-child(7n){color:var(--sunday)}.day.current span{-webkit-text-stroke:2px #fff;paint-order:stroke fill;font-weight:900}#tabs{--tab-bar-bg:#eeefed;z-index:1;padding:7px 8px calc(9px + env(safe-area-inset-bottom));background:var(--tab-bar-bg);border-radius:18px 18px 0 0;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:sticky;bottom:0;box-shadow:0 -4px 18px #171b2110}#tabs button{color:#242424;background:0 0;border:0;border-radius:10px;place-content:center;justify-items:center;gap:4px;min-height:52px;padding:3px 0;font-size:.8125rem;line-height:1.2;display:grid}#tabs button:disabled{opacity:.78}#tabs button[aria-current=page]{color:#111;font-weight:750}#tabs svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}#tabs [aria-current=page] .tab-icon-body{fill:currentColor}#tabs [aria-current=page] .tab-icon-detail{stroke:var(--tab-bar-bg)}dialog{color:inherit;overscroll-behavior:contain;background:#fff;border:1px solid #bcbcbc;border-radius:20px;width:min(100% - 16px,460px);max-height:calc(100dvh - 16px);padding:0}dialog::backdrop{background:#ffffffb3}.entry{padding:14px 16px calc(16px + env(safe-area-inset-bottom));gap:12px;display:grid}.entry-head{margin:0}.entry-head p{color:var(--muted);margin-bottom:3px;font-size:.875rem}h2{letter-spacing:-.045em;font-size:1.4rem}.photo-actions,.fields{grid-template-columns:1fr 1fr;gap:8px;display:grid}.photo-button,.primary{border-radius:9px;place-items:center;min-height:44px;font-size:.9rem;font-weight:750;display:grid;position:relative}.photo-button{color:var(--navy);cursor:pointer;background:#e8ebf2}.photo-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.preview{aspect-ratio:1;border:1px solid var(--line);background:#fff;border-radius:9px;width:min(100%,270px,34dvh);margin:auto;overflow:hidden}canvas{width:100%;height:100%;display:block}.photo-tools{justify-content:space-between;align-items:center;gap:10px;display:flex}.photo-tools label{align-items:center;gap:6px;min-width:0;display:flex}input[type=range]{width:min(25vw,110px);accent-color:var(--navy)}label{gap:5px;min-width:0;font-size:.875rem;font-weight:650;display:grid}input:not([type=file],[type=range]){appearance:none;width:100%;min-width:0;min-height:44px;color:inherit;background:#fff;border:1px solid #a7adba;border-radius:8px;padding:8px 10px;font-size:1rem}.primary{border:1px solid var(--navy);background:var(--navy);color:#fff}.primary:hover{background:#132039}.entry-actions{gap:8px;display:flex}.entry-actions .primary{flex:1}#delete-entry{color:#a51e24;background:#fff;border:1px solid #e5bcbc;border-radius:9px;min-height:44px;padding:0 22px;font-size:.9rem;font-weight:750}#delete-entry:hover:not(:disabled){background:#fff1f1}.status{color:#5e391e;margin-top:12px;font-size:.875rem;line-height:1.45}.status:empty{display:none}.entry .status{margin:0}main:has(#auth:not([hidden])){padding:33.333svh clamp(18px,4.56vw,26px) 0}#auth{color:#080808;max-width:526px;margin-inline:auto;transform:translateY(-50%)}#app:has(#auth:not([hidden])) .masthead{position:absolute;inset:0 0 auto}@media (height<=420px){main:has(#auth:not([hidden])){padding-top:96px}#auth{transform:none}}#auth h1{letter-spacing:-.045em;margin-bottom:21.33px;font-size:clamp(1.3333rem,4.6667vw,1.6667rem);font-weight:800;line-height:1.15}#login{gap:11.33px;display:grid}#login input{background:#fff;border:1px solid #d6d6d6;border-radius:9.33px;height:44px;padding:0 20px;font-size:.8333rem}#login input::placeholder{color:#757575;opacity:1}#login .primary{background:#e8ebf2;border:0;border-radius:9.33px;height:44px;margin-top:7.33px;font-size:.8333rem;font-weight:700}#login .primary:hover{background:#dce3ef}#auth .status{margin-top:8px;font-size:.5833rem}@media (width>=390px){.weekdays,.days{gap:5px}}@media (prefers-reduced-motion:no-preference){main{animation:.22s ease-out arrive}@keyframes arrive{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}}#statistics{background:#f7f7f7;border-radius:6px;margin-top:38px;padding:16px}.statistics-period{color:var(--muted);margin-top:4px;font-size:.875rem}#statistics-chart svg{width:100%;margin-top:12px;display:block;overflow:visible}#statistics-chart text{fill:var(--muted);font-size:11px}.chart-grid{stroke:#dce1e8}.chart-line{fill:none;stroke:#32476b;stroke-width:2px;stroke-linejoin:round}.chart-point{fill:#32476b}
