@font-face{font-family:Moneygraphy Rounded;src:url(/assets/Moneygraphy-Rounded-BbAi_hm5.woff2) format("woff2");font-display:swap;font-style:normal;font-weight:400}:root{--white: #fff;--surface: #f7f7f7;--surface-strong: #f1f1f1;--ink: #151515;--ink-soft: #575757;--muted: #999;--line: #ececec;--line-strong: #dedede;--me: #626b45;--me-soft: #ecefe4;--hyein: #55b9eb;--hyein-soft: #e5f6fe;--leave: #ddd9ff;--danger: #e45555;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--top-bar-height: calc(64px + var(--safe-top));--bottom-nav-height: calc(58px + var(--safe-bottom));color:var(--ink);background:var(--white);font-family:Moneygraphy Rounded,ui-rounded,Apple SD Gothic Neo,system-ui,sans-serif;font-synthesis:weight;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}html,body{min-width:320px;min-height:100%;margin:0;background:var(--white);text-size-adjust:100%;-webkit-text-size-adjust:100%}body{min-height:100vh;min-height:100dvh;overscroll-behavior-y:none;touch-action:pan-x pan-y;-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}input,textarea,select{font-size:16px}input,textarea,select,[contenteditable]:not([contenteditable=false]),[role=textbox]{-webkit-touch-callout:default;-webkit-user-select:text;user-select:text}img{-webkit-user-drag:none}button{border:0;cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,label:focus-within{outline:2px solid rgba(99,168,232,.5);outline-offset:2px}::selection{background:var(--hyein-soft)}#root,.view-transition-shell{min-height:100vh;min-height:100dvh}.app-frame,.login-screen{width:min(100%,520px);min-height:100vh;min-height:100dvh;margin:0 auto;background:var(--white)}.screen,.write-shell{min-height:100vh;min-height:100dvh;padding:calc(var(--safe-top) + 18px) 18px calc(var(--bottom-nav-height) + 28px)}.write-shell,.diary-read-screen,.settings-screen{padding-bottom:calc(30px + var(--safe-bottom))}.icon{font-size:22px;line-height:1}.lucide-icon{width:22px;height:22px}.pixel-label{display:none}.top-app-bar{position:relative;z-index:20;height:var(--top-bar-height);padding:var(--safe-top) 18px 0;background:#fffffff5;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.top-app-bar.fixed{position:fixed;top:0;left:50%;width:min(100%,520px);border-bottom:1px solid var(--line);transform:translate(-50%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.top-app-bar.center-title{grid-template-columns:44px minmax(0,1fr) 44px}.top-bar-left,.top-bar-right{display:flex;align-items:center;min-width:0}.top-bar-left{gap:11px}.top-bar-right{justify-content:flex-end}.top-bar-left>img{width:34px;height:34px;border-radius:50%;object-fit:cover}.top-bar-heading h1,.top-bar-title-centered{margin:0;font-size:20px;font-weight:400;letter-spacing:-.035em}.top-bar-title-centered{text-align:center}.top-bar-spacer{width:1px}.top-app-bar button,.top-icon-button,.back-button{width:40px;height:40px;border-radius:50%;background:transparent;color:var(--ink);display:grid;place-items:center;padding:0}.dday-pill{min-height:32px;border-radius:999px;background:var(--surface);color:var(--ink-soft);display:inline-flex;align-items:center;padding:0 11px;font-size:12px;white-space:nowrap}.dday-pill.strong{color:var(--ink)}.home-page-header,.app-page-header{min-height:44px;margin:0 2px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px}.home-page-header>div,.app-page-header>div{min-width:0;display:grid;gap:4px}.home-page-header span,.app-page-header span{color:var(--muted);font-size:10px}.home-page-header h1,.app-page-header h1{overflow:hidden;margin:0;font-size:21px;font-weight:400;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.home-page-header button,.app-page-header button{width:42px;height:42px;flex:0 0 auto;border-radius:50%;background:transparent;color:var(--ink);display:grid;place-items:center}.detail-page-header{position:relative;min-height:44px;margin:0 0 22px;display:flex;align-items:center;justify-content:center}.detail-page-header h1{margin:0;font-size:19px;font-weight:400;letter-spacing:-.035em}.detail-page-header button{position:absolute;left:0;width:42px;height:42px;border-radius:50%;background:transparent;color:var(--ink);display:grid;place-items:center}.page-intro,.schedule-intro{margin:7px 2px 26px}.page-intro h2,.schedule-intro h2{margin:0 0 7px;font-size:29px;font-weight:400;letter-spacing:-.05em}.page-intro p,.schedule-intro p{margin:0;color:var(--muted);font-size:13px}.home-page-header{min-height:52px;margin-bottom:18px}.home-page-header>h1{font-size:22px}.home-page-header .home-settings-button{width:52px;height:52px}.home-page-header .home-settings-button .icon{font-size:30px}.home-welcome{margin:0 2px 24px}.home-welcome p{margin:0 0 8px;color:var(--muted);font-size:12px}.home-welcome h2{margin:0;font-size:30px;font-weight:400;letter-spacing:-.055em;line-height:1.16}.home-service-card{border-radius:18px;background:var(--ink);color:var(--white);padding:21px 19px 17px}.home-service-profile{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:17px}.home-service-profile>img{width:76px;height:76px;border-radius:50%;object-fit:cover}.home-service-identity{min-width:0}.home-service-identity h2{overflow:hidden;margin:0 0 7px;font-size:21px;font-weight:400;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.home-service-heading{display:block}.home-service-heading strong{min-width:0;font-size:clamp(22px,6.4vw,29px);font-weight:400;letter-spacing:-.045em}.home-live-percent{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}.home-live-percent span{color:var(--white)}.home-live-percent i{width:6px;height:6px;border-radius:50%;background:#9ae6b4;box-shadow:0 0 #9ae6b480;animation:home-live-pulse 1.4s ease-out infinite}.home-progress-track{height:6px;overflow:hidden;margin:19px 0 17px;border-radius:99px;background:#ffffff29}.home-progress-track>div{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit;background:var(--white);transform-origin:left center;will-change:transform}.home-progress-track>div:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.92) 50%,transparent 100%);transform:translate(-100%);animation:home-progress-shine 1.8s linear infinite}@keyframes home-live-pulse{70%{box-shadow:0 0 0 6px #9ae6b400}to{box-shadow:0 0 #9ae6b400}}@keyframes home-progress-shine{to{transform:translate(100%)}}.home-service-stats{display:grid;grid-template-columns:repeat(2,1fr)}.home-service-stats>span{display:grid;gap:4px;border-right:1px solid rgba(255,255,255,.14);text-align:center}.home-service-stats>span:first-child{text-align:left}.home-service-stats>span:last-child{border-right:0;text-align:right}.home-service-stats small{color:#ffffff7a;font-size:9px}.home-service-stats b{font-size:14px;font-weight:400}.home-service-dates{display:flex;justify-content:space-between;margin-top:17px;border-top:1px solid rgba(255,255,255,.12);padding-top:12px;color:#ffffff6b;font-size:9px}.home-section{margin-top:30px}.home-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 11px}.home-section-title h3{margin:0;font-size:18px;font-weight:400}.home-section-title button{background:transparent;color:var(--muted);padding:5px 0;font-size:10px}.home-section-title>span{color:var(--muted);font-size:10px}.next-leave-card{width:100%;min-height:94px;border-radius:15px;background:var(--next-soft, #f0f7e9);color:var(--ink);display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;text-align:left}.next-leave-card.empty{background:var(--surface)}.next-leave-icon{width:42px;height:42px;border-radius:12px;background:#ffffffc7;color:var(--next-accent, #5d7f46);display:grid;place-items:center}.next-leave-card.empty .next-leave-icon{color:var(--muted)}.next-leave-copy{min-width:0;display:grid;gap:4px}.next-leave-copy small,.next-leave-copy>span{overflow:hidden;color:var(--next-accent, #789066);font-size:9px;text-overflow:ellipsis;white-space:nowrap;opacity:.76}.next-leave-card.empty .next-leave-copy small{color:var(--muted)}.next-leave-copy strong{overflow:hidden;font-size:14px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.next-leave-card>b{border-radius:999px;background:var(--white);color:var(--next-accent, #5d7f46);padding:7px 9px;font-size:11px;font-weight:400;white-space:nowrap}.next-leave-card>.icon{color:var(--muted);font-size:18px}.next-outing-card{background:var(--next-soft, #edf6f8)}.next-outing-card .next-leave-icon{color:var(--next-accent, #27798b)}.next-outing-card .next-leave-copy small,.next-outing-card .next-leave-copy>span{color:var(--next-accent, #5f8992);opacity:.76}.next-outing-card>b{color:var(--next-accent, #27798b)}.home-meal-card{width:100%;min-height:82px;border-radius:15px;background:var(--surface);color:var(--ink);display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:14px 15px;text-align:left}.home-meal-mark{width:42px;height:42px;border-radius:12px;background:var(--white);color:var(--me);display:grid;place-items:center}.home-meal-mark .icon{font-size:20px}.home-meal-copy{min-width:0;display:grid;gap:5px}.home-meal-copy small{color:var(--muted);font-size:9px}.home-meal-copy strong{overflow:hidden;font-size:13px;font-weight:400;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.home-meal-card>.icon{color:#aaa;font-size:18px}.home-event-list{display:grid}.home-event-row{width:100%;min-height:68px;border-top:1px solid var(--line);background:var(--white);color:var(--ink);display:grid;grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:11px;padding:10px 2px;text-align:left}.home-event-row:last-child{border-bottom:1px solid var(--line)}.home-event-date{display:grid;justify-items:center;line-height:1}.home-event-date b{font-size:17px;font-weight:400}.home-event-date small{margin-top:4px;color:var(--muted);font-size:8px}.home-event-copy{min-width:0;display:grid;gap:4px}.home-event-copy strong{overflow:hidden;font-size:13px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.home-event-copy small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.home-event-kind{width:32px;height:32px;border-radius:9px;background:var(--owner-soft);color:var(--owner-color);display:grid;place-items:center}.home-event-kind .icon{font-size:17px}.home-upcoming-empty{margin:0;border-radius:13px;background:var(--surface);color:var(--muted);padding:30px 16px;text-align:center;font-size:11px}.pull-refresh-indicator{height:0;overflow:hidden;color:var(--muted);text-align:center;font-size:11px;transition:height .15s ease}.pull-refresh-indicator.visible{height:25px}.diary-load-error,.save-error,.profile-error,.login-error{display:block;margin:0 0 14px;border-radius:10px;background:#fff3f3;color:var(--danger);padding:10px 12px;font-size:12px;line-height:1.45}.login-screen{display:flex;align-items:center;justify-content:center;padding:calc(30px + var(--safe-top)) 24px calc(30px + var(--safe-bottom))}.login-card{width:100%;max-width:360px;text-align:center}.login-mark{width:54px;height:54px;margin:0 auto 20px;border-radius:50%;background:var(--ink);color:var(--white);display:grid;place-items:center}.login-mark .icon{font-size:24px}.login-card h1{margin:0;font-size:30px;font-weight:400;letter-spacing:-.05em}.login-subtitle{margin:9px 0 38px;color:var(--muted);font-size:13px}.login-card form{display:grid;gap:12px;margin-top:34px;text-align:left}.login-card form>label{color:var(--ink);font-size:14px}.password-field{position:relative}.password-field>.icon{position:absolute;top:50%;left:16px;color:var(--muted);font-size:20px;transform:translateY(-50%)}.password-field input{width:100%;height:56px;border:1px solid var(--line-strong);border-radius:14px;outline:0;background:var(--white);color:var(--ink);padding:0 16px 0 48px}.password-field input:focus{border-color:var(--ink)}.primary-button{min-height:54px;border-radius:14px;background:var(--ink);color:var(--white);display:flex;align-items:center;justify-content:center;gap:7px;padding:0 18px}.primary-button:disabled{background:#d7d7d7;cursor:default}.login-card .primary-button{width:100%;margin-top:4px}.letters-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 2px 22px}.letters-heading h2{margin:0 0 6px;font-size:29px;font-weight:400;letter-spacing:-.05em}.letters-heading p{margin:0;color:var(--muted);font-size:12px}.letters-heading>button{width:38px;height:38px;border-radius:50%;background:var(--surface);color:var(--ink);display:grid;place-items:center}.letters-heading>button .icon{font-size:19px}.letter-feed{border-top:1px solid var(--line)}.letter-post{width:100%;min-height:140px;border-bottom:1px solid var(--line);background:var(--white);color:var(--ink);display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:start;gap:12px;padding:20px 2px 19px;text-align:left}.letter-post:disabled{opacity:.55;cursor:wait}.letter-post-number{color:#bbb;padding-top:2px;font-size:10px}.letter-post-body{min-width:0;display:grid}.letter-post-date{margin-bottom:9px;color:var(--muted);font-size:10px}.letter-post-body>strong{margin-bottom:8px;font-size:17px;font-weight:400;letter-spacing:-.025em}.letter-post-preview{overflow:hidden;color:var(--ink-soft);display:-webkit-box;font-size:13px;line-height:1.65;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:3}.letter-post-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px;color:#aaa;font-size:9px}.letter-post-meta>span{display:inline-flex;align-items:center;gap:3px}.letter-post-meta .icon{font-size:13px}.letter-post>.icon{align-self:center;color:#c4c4c4;font-size:17px}.letters-empty{min-height:220px;border-radius:14px;background:var(--surface);color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center}.letters-empty strong{color:var(--ink-soft);font-size:13px;font-weight:400}.calendar-card{padding:0 0 18px;border-bottom:1px solid var(--line)}.calendar-controls,.schedule-calendar-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.calendar-controls strong,.schedule-calendar-header h3{margin:0;font-size:18px;font-weight:400}.calendar-controls>div,.schedule-calendar-header>div{display:flex;align-items:center;gap:4px}.calendar-controls button,.schedule-calendar-header button{width:34px;height:34px;border-radius:50%;background:transparent;color:var(--ink);display:grid;place-items:center;padding:0}.calendar-controls .today-button{width:auto;padding:0 11px;font-size:11px}.weekday-row,.days-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekday-row{margin-bottom:8px}.weekday-row span{color:#aaa;text-align:center;font-size:10px}.weekday-row .sunday{color:#e88b8b}.days-grid>button,.days-grid>span{aspect-ratio:1}.days-grid>button{position:relative;border-radius:50%;background:transparent;color:var(--ink-soft);font-size:12px}.days-grid>button.selected{background:var(--ink);color:var(--white)}.days-grid>button i{position:absolute;bottom:7px;left:50%;width:4px;height:4px;border-radius:50%;background:var(--me);transform:translate(-50%)}.days-grid>button.selected i{background:var(--white)}.selected-entry{margin-top:26px}.selected-entry-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 12px}.selected-entry-title h3{margin:0;font-size:18px;font-weight:400}.entry-card{width:100%;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--ink);padding:18px;text-align:left}.entry-content{min-width:0}.entry-content>p{margin:12px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.7;white-space:pre-wrap}.entry-content>small{display:block;margin-top:8px;color:var(--muted);font-size:11px}.entry-meta{display:flex;gap:12px;color:var(--muted);font-size:10px}.entry-meta span{display:inline-flex;align-items:center;gap:4px}.entry-meta .icon{font-size:15px}.read-more{display:inline-flex;align-items:center;gap:3px;margin-top:14px;color:var(--ink);font-size:12px}.read-more .icon{font-size:16px}.empty-entry{min-height:116px;background:var(--surface);display:flex;align-items:center;gap:14px}.empty-entry-mark{width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:var(--white);color:var(--muted);display:grid;place-items:center}.empty-entry strong{font-size:14px;font-weight:400}.empty-entry p{margin-top:5px;color:var(--muted);font-size:12px}.entry-image-grid,.image-preview-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:14px}.entry-image-grid img,.image-preview img{width:100%;aspect-ratio:1;border-radius:9px;object-fit:cover}.calendar-fab,.schedule-fab{position:fixed;z-index:25;right:max(20px,calc((100vw - 520px)/2 + 20px));bottom:calc(var(--bottom-nav-height) + 12px);width:54px;height:54px;border-radius:50%;background:var(--ink);color:var(--white);display:grid;place-items:center;padding:0;box-shadow:0 6px 18px #0000002e}.schedule-intro{margin-top:0;margin-bottom:18px}.schedule-legend{display:flex;gap:14px;margin-top:15px}.schedule-legend span{color:var(--ink-soft);display:inline-flex;align-items:center;gap:6px;font-size:11px}.schedule-legend i,.owner-filter i{width:8px;height:8px;border-radius:50%}.owner-me{--owner-color: var(--me);--owner-soft: var(--me-soft)}.owner-hyein{--owner-color: var(--hyein);--owner-soft: var(--hyein-soft)}.schedule-legend i.owner-me,.owner-filter i.owner-me{background:var(--me)}.schedule-legend i.owner-hyein,.owner-filter i.owner-hyein{background:var(--hyein)}.owner-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 18px}.owner-filter button{min-width:0;min-height:36px;border-radius:999px;background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;font-size:11px}.owner-filter button.active{color:var(--white)}.owner-filter button.filter-all.active{background:var(--ink)}.owner-filter button.filter-me.active{background:var(--me)}.owner-filter button.filter-hyein.active{background:var(--hyein)}.schedule-calendar-card{overflow:visible;margin:0;border:0;border-radius:0;background:transparent;touch-action:pan-y}.schedule-calendar-card .schedule-calendar-header,.meals-screen .schedule-calendar-header{margin:0 2px 18px;padding:0}.schedule-calendar-card .schedule-calendar-header h3,.meals-screen .schedule-calendar-header h3{font-size:23px;letter-spacing:-.045em}.schedule-calendar-card .schedule-calendar-header button,.meals-screen .schedule-calendar-header button{width:38px;height:38px}.schedule-calendar-card .schedule-calendar-header .schedule-today-button,.meals-screen .schedule-calendar-header .schedule-today-button{width:auto;min-width:54px;border-radius:999px;background:var(--surface-strong);color:var(--ink-soft);padding:0 10px;font-size:9px}.schedule-month-viewport{position:relative;overflow:hidden;margin:0 -2px;padding:0 2px}.schedule-month-panel{width:100%}.schedule-weekdays{margin:0 0 7px;padding:0}.schedule-weekdays span{color:#aaa;font-size:9px}.schedule-weekdays span:last-child{color:#5f80c8}.schedule-days-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px 2px}.schedule-days-grid>span,.schedule-days-grid>button{min-width:0;min-height:72px;border:0}.schedule-days-grid>button{position:relative;overflow:visible;border-radius:12px;background:transparent;color:var(--ink-soft);display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 3px;text-align:center;transition:background-color .16s ease,transform .16s ease}.schedule-days-grid>button:active{transform:scale(.96)}.schedule-days-grid>button.has-chain-label{z-index:8}.schedule-days-grid>button.selected{background:#f4f5f0}.schedule-days-grid>button>span:first-child{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-size:11px}.schedule-days-grid>button.selected>span:first-child{background:var(--me);color:var(--white)}.schedule-days-grid>button.today:not(.selected)>span:first-child{border:0;background:var(--me-soft);color:var(--me)}.schedule-days-grid>button.weekday-sunday:not(.selected)>span:first-child{color:#d65e5e}.schedule-days-grid>button.weekday-saturday:not(.selected)>span:first-child{color:#5278c3}.schedule-days-grid>button.public-holiday:not(.selected)>span:first-child{color:#d65e5e}.schedule-days-grid>button.public-holiday.selected>span:first-child{background:#d65e5e;color:var(--white)}.schedule-day-events{width:calc(100% + 4px);min-width:0;display:grid;gap:2px;margin-right:-2px;margin-left:-2px;text-align:center}.schedule-day-events small{position:relative;z-index:2;min-width:0;overflow:visible;border-radius:5px;background:var(--event-soft, var(--me-soft));color:var(--event-accent, var(--me));padding:3px 2px;font-size:clamp(8px,2.25vw,9px);letter-spacing:-.06em;line-height:1.15;white-space:nowrap;pointer-events:none}.schedule-day-events .chain-from-previous{width:calc(100% + 4px);margin-left:-4px;border-top-left-radius:0;border-bottom-left-radius:0}.schedule-day-events .chain-to-next{width:calc(100% + 4px);margin-right:-4px;border-top-right-radius:0;border-bottom-right-radius:0}.schedule-day-events .chain-from-previous.chain-to-next{width:calc(100% + 8px)}.schedule-day-events .chain-has-label{z-index:9}.schedule-day-events .chain-label{position:absolute;z-index:10;top:50%;width:max-content;max-width:none;overflow:visible;color:var(--event-accent, var(--me));font-size:clamp(8px,2.25vw,9px);letter-spacing:-.06em;line-height:1;white-space:nowrap;transform:translate(-50%,-50%)}.schedule-day-events .chain-label-center{left:50%}.schedule-day-events .chain-label-between{left:100%}.schedule-day-events .more-events{overflow:hidden;background:var(--surface);color:var(--muted)}.schedule-last-modified{margin:34px 0 0;color:#b2b2b2;font-size:9px;text-align:center}.schedule-agenda{margin-top:26px}.schedule-agenda-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.schedule-agenda-header h3{margin:0;font-size:18px;font-weight:400}.schedule-agenda-header>span{color:var(--muted);font-size:11px}.schedule-event-list{display:grid}.schedule-event-card{width:100%;min-height:76px;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--ink);display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:12px;text-align:left}.schedule-event-list{gap:8px}.schedule-event-icon{width:36px;height:36px;border-radius:10px;background:var(--owner-soft);color:var(--owner-color);display:grid;place-items:center}.schedule-event-icon .icon{font-size:19px}.schedule-event-copy{min-width:0;display:grid;gap:3px}.schedule-event-copy b{overflow:hidden;font-size:14px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.schedule-event-meta,.schedule-event-copy small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.schedule-event-meta strong{color:var(--owner-color);font-weight:400}.schedule-event-card>.icon{color:#bbb;font-size:17px}.schedule-empty{min-height:124px;border-radius:14px;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center}.schedule-empty{width:100%;color:var(--ink)}.schedule-empty>span{color:var(--muted)}.schedule-empty strong{margin-top:8px;font-size:13px;font-weight:400}.schedule-empty p{margin:5px 0 0;color:var(--muted);font-size:11px}.schedule-editor-backdrop{position:fixed;z-index:100;top:var(--editor-viewport-top, 0px);right:0;left:0;height:var(--editor-viewport-height, 100dvh);background:var(--white);display:flex;align-items:stretch;justify-content:center;padding:0}.schedule-editor{width:min(100%,520px);max-height:var(--editor-viewport-height, 100dvh);overflow-x:hidden;overflow-y:hidden;border-radius:0;background:var(--white);display:flex;flex-direction:column;padding:calc(var(--safe-top) + 8px) 18px 0;overscroll-behavior:contain}.schedule-fullscreen-editor{height:var(--editor-viewport-height, 100dvh)}.schedule-editor>header{min-height:56px;flex:0 0 auto;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;margin-bottom:14px}.schedule-editor>header h2{margin:0;font-size:20px;font-weight:400}.schedule-editor>header>div{min-width:0;display:grid;gap:3px;text-align:center}.schedule-editor>header>div>span{color:var(--muted);font-size:10px}.schedule-editor>header button{width:44px;height:44px;border-radius:0;background:transparent;color:var(--ink);display:grid;place-items:center;padding:0}.schedule-editor>header button:disabled{opacity:.35}.schedule-editor>header .schedule-picker-clear{color:var(--muted);font-size:11px;white-space:nowrap}.schedule-picker-error{flex:0 0 auto;margin-bottom:12px}.schedule-editor form{min-height:0;flex:1;overflow:hidden;display:flex;flex-direction:column;margin:0 -18px}.schedule-editor-fields{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;display:grid;gap:14px;padding:0 18px 14px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.schedule-picker-group{min-width:0}.schedule-picker-label,.schedule-field>span{display:block;margin-bottom:8px;color:var(--ink-soft);font-size:12px}.schedule-owner-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.schedule-owner-picker button{min-width:0;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink-soft);display:flex;align-items:center;justify-content:center;gap:7px}.schedule-owner-picker button>span{width:25px;height:25px;border-radius:50%;background:var(--surface);display:grid;place-items:center;font-size:10px}.schedule-owner-picker button.active{border-color:var(--owner-color);background:var(--owner-soft);color:var(--owner-color)}.schedule-kind-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.schedule-kind-picker button{min-width:0;min-height:40px;overflow:hidden;border-radius:10px;background:var(--surface);color:var(--muted);display:flex;align-items:center;justify-content:center;gap:4px;padding:0 6px;font-size:11px;white-space:nowrap}.schedule-kind-picker button .icon{font-size:17px}.schedule-kind-picker button.active{background:var(--owner-color);color:var(--white)}.schedule-field{min-width:0}.schedule-field>span small{color:var(--muted);font-size:9px}.schedule-field input,.schedule-field textarea{width:100%;border:1px solid var(--line-strong);border-radius:12px;outline:0;background:var(--white);color:var(--ink);padding:0 13px}.schedule-field input{min-height:48px}.schedule-field textarea{min-height:72px;resize:vertical;padding-top:13px;line-height:1.5}.schedule-field input:focus,.schedule-field textarea:focus{border-color:var(--ink)}.schedule-field-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.schedule-field input[type=date],.schedule-field input[type=time]{min-width:0;padding-right:7px}.schedule-preset-list{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;display:grid;align-content:start;gap:28px;margin:0 -18px;padding:4px 18px calc(28px + var(--safe-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.schedule-preset-section button:disabled{opacity:.55;cursor:wait}.schedule-preset-section h3{margin:0 0 12px;color:var(--muted);font-size:11px;font-weight:400}.schedule-preset-section>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.schedule-preset-section button{min-width:0;min-height:0;aspect-ratio:1;border:1px solid var(--preset-border);border-radius:14px;background:var(--preset-soft);color:var(--preset-accent);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:6px;font-size:10px;text-align:center;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}.schedule-preset-section button:active{transform:scale(.98)}.schedule-preset-section button .icon{flex:0 0 auto;color:var(--preset-accent);font-size:22px}.schedule-preset-section button span:last-child{display:-webkit-box;overflow:hidden;line-height:1.15;text-overflow:ellipsis;white-space:normal;word-break:keep-all;-webkit-box-orient:vertical;-webkit-line-clamp:2}.schedule-preset-section button.active{border-color:var(--preset-accent);background:var(--preset-accent);color:var(--white);box-shadow:0 3px 10px color-mix(in srgb,var(--preset-accent) 20%,transparent)}.schedule-preset-section button.active .icon{color:var(--white)}@media(min-width:480px){.schedule-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}.diary-detail-panel{margin-top:4px}.letter-sheet .entry-content>h2{margin:0 0 8px;font-size:21px;font-weight:400}.letter-sheet .entry-content>p{margin-top:22px;color:var(--ink);font-size:15px;line-height:1.9}.letter-tape,.letter-signature{display:none}.editor-hero{margin-bottom:20px}.editor-hero h1{margin:0 0 6px;font-size:22px;font-weight:400}.editor-hero p{margin:0;color:var(--muted);font-size:12px}.journal-card,.attachments,.profile-settings-card,.discharge-card{border-top:1px solid var(--line);padding:20px 0}.journal-card-header,.attachments-header,.settings-card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.journal-card-header h2,.attachments-header h2,.settings-card-heading h3{margin:0;font-size:17px;font-weight:400}.journal-card-header>span,.attachments-header strong{color:var(--muted);font-size:10px;font-weight:400}.journal-card textarea{width:100%;min-height:260px;border:0;outline:0;resize:vertical;background:var(--surface);color:var(--ink);border-radius:12px;padding:15px;line-height:1.75}.image-preview{position:relative}.image-preview button{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;background:#0000009e;color:var(--white);display:grid;place-items:center}.image-preview button .icon{font-size:17px}.image-upload-button{min-height:94px;border:1px dashed var(--line-strong);border-radius:12px;color:var(--ink-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer}.image-upload-button .attachment-icon{color:var(--muted)}.image-upload-button small{color:var(--muted);font-size:9px}.image-upload-button input,.profile-actions input{display:none}.save-dock{display:grid;gap:8px;margin-top:18px}.primary-button.large{width:100%}.delete-confirm{display:flex;gap:7px}.delete-button{min-height:44px;flex:1;border-radius:11px;background:transparent;color:var(--danger);display:flex;align-items:center;justify-content:center;gap:5px}.delete-confirm.active .delete-button{background:#fff1f1}.cancel-delete-button{width:76px;border-radius:11px;background:var(--surface);color:var(--ink-soft)}.settings-screen .detail-page-header{margin-bottom:26px}.identity-card{text-align:center;padding:0 0 20px}.identity-photo-wrap{position:relative;width:92px;height:92px;margin:0 auto}.identity-photo-wrap img{width:100%;height:100%;border-radius:50%;object-fit:cover}.identity-photo-wrap>span{position:absolute;right:0;bottom:0;width:27px;height:27px;border:3px solid var(--white);border-radius:50%;background:var(--ink);color:var(--white);display:grid;place-items:center}.identity-photo-wrap>span .icon{font-size:13px}.identity-card h2{margin:15px 0 5px;font-size:23px;font-weight:400}.identity-card>p{margin:0;color:var(--muted);font-size:12px}.discharge-card{margin-top:0}.discharge-card-header{display:flex;align-items:center;justify-content:space-between}.discharge-card-header h3{margin:0;font-size:27px;font-weight:400}.service-badge{border-radius:999px;background:var(--surface);color:var(--ink-soft);padding:7px 10px;font-size:10px}.service-progress-track{height:7px;overflow:hidden;margin:18px 0 10px;border-radius:99px;background:var(--surface-strong)}.service-progress-track>div{width:var(--service-progress);height:100%;border-radius:inherit;background:var(--ink)}.service-remaining{margin:0;color:var(--muted);font-size:11px}.service-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.service-date-grid>div{border-radius:10px;background:var(--surface);padding:12px;text-align:left}.service-date-grid span,.service-date-grid strong{display:block}.service-date-grid span{margin-bottom:5px;color:var(--muted);font-size:9px}.service-date-grid strong{font-size:11px;font-weight:400}.logout-button{width:100%;min-height:44px;margin-top:28px;border-radius:11px;background:var(--surface);color:var(--muted);display:flex;align-items:center;justify-content:center}.profile-actions{margin-top:10px}.profile-actions label{min-height:30px;background:transparent;color:var(--ink-soft);display:inline-flex;align-items:center;padding:0 6px;font-size:11px;cursor:pointer}.profile-message{margin:10px 0 0;color:#3275b3;font-size:10px}.profile-settings-card{border-top:0;padding:8px 0 0}.profile-settings-card>label,.profile-date-grid label{display:grid;gap:7px}.profile-date-grid label{min-width:0}.profile-date-field{overflow:hidden}.profile-settings-card label>span{color:var(--ink-soft);font-size:11px}.profile-settings-card input{display:block;width:100%;min-width:0;max-width:100%;min-height:50px;border:0;border-radius:11px;outline:0;background:var(--surface);color:var(--ink);padding:0 12px}.profile-settings-card input:focus{box-shadow:inset 0 0 0 1px var(--ink)}.profile-settings-card input[type=date]{inline-size:100%;min-inline-size:0;max-inline-size:100%;padding-right:8px;padding-left:8px;font-size:12px;text-align:center}.profile-settings-card input[type=date]::-webkit-date-and-time-value{min-width:0;overflow:hidden;margin:0;text-align:center;white-space:nowrap}.profile-settings-card input[type=date]::-webkit-datetime-edit{min-width:0;overflow:hidden;padding:0}.profile-date-grid{width:100%;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:15px}.profile-settings-card>button{width:100%;min-height:52px;margin-top:19px;border-radius:12px;background:var(--ink);color:var(--white);display:flex;align-items:center;justify-content:center;gap:7px}.profile-settings-card>button:disabled{background:#d7d7d7}.meal-date-navigation h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meal-detail{padding-top:0}.meal-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;margin-top:18px;border-radius:12px;background:var(--surface);padding:4px}.meal-tabs button{min-width:0;min-height:44px;border-radius:9px;background:transparent;color:var(--muted);font-size:11px}.meal-tabs button.active{background:var(--white);color:var(--ink);box-shadow:0 1px 5px #0000000f}.meal-item-list{margin-top:11px;border-top:1px solid var(--line)}.meal-item-row{min-height:59px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 3px}.meal-item-row strong{min-width:0;color:var(--ink-soft);font-size:14px;font-weight:400;line-height:1.45;overflow-wrap:anywhere}.meal-item-row>span{flex:0 0 auto;color:#b2b2b2;font-size:11px;white-space:nowrap}.meal-item-row>span small{font-size:8px}.meal-total-row{min-height:58px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.meal-total-row strong{color:var(--ink-soft);font-size:12px;font-weight:400}.meal-state-card{min-height:164px;margin-top:18px;border-radius:14px;background:var(--surface);color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px;text-align:center}.meal-state-card.compact{min-height:118px}.meal-state-card>.icon{color:var(--me);font-size:23px}.meal-state-card strong{color:var(--ink-soft);font-size:13px;font-weight:400}.meal-state-card button{min-height:44px;border-radius:999px;background:var(--white);color:var(--ink);padding:0 14px;font-size:10px}.meal-state-card.error{background:#fff3f3}.meal-loading-dot{width:7px;height:7px;border-radius:50%;background:var(--me);animation:meal-loading-pulse 1.2s ease-in-out infinite}@keyframes meal-loading-pulse{50%{opacity:.32;transform:scale(.75)}}.meal-source{width:fit-content;margin:28px auto 0;color:#aaa;display:block;font-size:9px;text-decoration:none}.bottom-nav{position:fixed;z-index:24;right:50%;bottom:0;width:min(100%,520px);height:var(--bottom-nav-height);border-top:1px solid var(--line);background:#fffffff5;display:grid;grid-template-columns:repeat(4,1fr);padding:3px 12px calc(3px + var(--safe-bottom));transform:translate(50%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.bottom-nav button{background:transparent;color:#aaa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.bottom-nav button.active{color:var(--ink)}.bottom-nav button>span:last-child{font-size:9px}.bottom-nav .icon{font-size:20px}@media(max-width:430px){.profile-date-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:370px){.screen,.write-shell{padding-right:14px;padding-left:14px}.schedule-days-grid>span,.schedule-days-grid>button{min-height:67px}.schedule-day-events small{font-size:7px}.service-date-grid{grid-template-columns:1fr}}@media(min-width:700px){.app-frame,.login-screen,.top-app-bar.fixed,.bottom-nav{border-right:1px solid var(--line);border-left:1px solid var(--line)}}@media(prefers-reduced-motion:reduce){.home-live-percent i,.home-progress-track>div:after{animation:none!important}*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
