*{box-sizing:border-box}:root{color:#251f21;font-synthesis:none;background:#f4efec;font-family:Arial,Noto Sans CJK TC,PingFang TC,sans-serif;font-size:14px}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #73a89a}button{color:inherit}a{color:inherit;text-decoration:none}.app{max-width:1440px;margin:0 auto}.topbar{border-bottom:1px solid #e4ded9;align-items:center;gap:15px;height:98px;margin:0 6%;display:flex}.brand{letter-spacing:2px;align-items:center;gap:12px;font-family:Georgia,Noto Serif CJK TC,serif;font-size:22px;display:flex}.brand small{letter-spacing:2px;color:#585254;margin-top:5px;font:9px Arial,sans-serif;display:block}.brand-mark{color:#467b6c;border:1px solid #73a89a;border-radius:50%;place-items:center;width:43px;height:43px;display:grid}.private{color:#585254;align-items:center;gap:6px;margin-left:auto;font-size:12px;display:flex}.icon-button{background:0 0;border:1px solid #e3ddda;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.icon-button:hover{background:#ece5df}main{max-width:1160px;margin:0 auto;padding:52px 28px 0}.intro{justify-content:space-between;align-items:center;margin-bottom:43px;display:flex}.eyebrow{letter-spacing:2px;color:#6c8076;margin-bottom:12px;font-size:10px;font-weight:600;display:block}h1{letter-spacing:-1px;margin:0 0 16px;font-family:Georgia,Noto Serif CJK TC,serif;font-size:40px;font-weight:400}h2{margin:0;font-family:Georgia,Noto Serif CJK TC,serif;font-size:27px;font-weight:400}h3{margin:0 0 15px;font-size:17px;font-weight:500}.intro p{color:#585254;margin:0;font-size:14px;line-height:1.9}.primary{color:#fff;background:#3e7465;border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:14px 22px;font-weight:600;display:flex}.primary:hover{background:#315d50}.mobile-break{display:none}.diary-layout{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);align-items:start;gap:24px;display:grid}.calendar-panel,.day-panel{background:#fff;border:1px solid #e6e0dc;border-radius:18px;overflow:hidden}.calendar-panel{padding:28px 25px 0}.calendar-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:25px;display:flex}.calendar-heading .eyebrow{letter-spacing:1px;margin-bottom:8px;font-size:11px}.calendar-heading h2{font-size:29px}.calendar-heading h2 span{color:#585254;font-family:Arial,sans-serif;font-size:15px}.month-controls{align-items:center;gap:4px;display:flex}.month-controls .icon-button{border:0;width:36px;height:44px}.today-button{color:#585254;background:0 0;border:0;min-height:44px;padding:6px;font-size:12px}.weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.weekdays{color:#8c8580;text-align:center;margin-bottom:13px;font-size:12px}.day{aspect-ratio:.73;background:#fcfaf8;border:1px solid #ece8e4;border-radius:10px;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:7px 2px 4px;display:flex;position:relative;overflow:hidden}.day:hover{border-color:#73a89a}.day.selected{background:#edf4f0;border:2px solid #518574;padding:6px 1px 3px}.day-number{z-index:1;font-size:13px;line-height:20px;position:relative}.day.has-food .day-number{background:#fff;border-radius:50%;align-self:flex-start;width:21px;height:21px;font-size:11px;position:absolute;top:4px;left:4px}.day img{object-fit:cover;border-radius:6px;width:calc(100% - 4px);height:54%;margin-top:0}.day-count{color:#585254;white-space:nowrap;margin-top:auto;font-size:9px;line-height:15px}.day-cal{color:#3e7465;white-space:nowrap;font-size:9px;font-weight:600}.today-dot,.dot{background:#518574;border-radius:50%;width:5px;height:5px;display:inline-block}.today-dot{margin-top:7px}.is-today .day-number{color:#3e7465;font-weight:700}.calendar-note{color:#77706c;align-items:baseline;gap:7px;margin:23px 0;font-size:11px;line-height:1.8;display:flex}.dot{flex-shrink:0;align-self:center}.month-footer{color:#77706c;border-top:1px solid #ece8e4;justify-content:space-between;gap:8px;padding:18px 0;font-size:11px;display:flex}.month-footer strong{color:#3e7465;font-weight:600}.day-panel{padding:25px;scroll-margin-top:18px}.day-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:25px;display:flex}.day-heading h2{font-family:Arial,Noto Sans CJK TC,sans-serif;font-size:17px;font-weight:500}.day-heading .eyebrow{margin-bottom:9px;font-size:9px}.meal-badge{white-space:nowrap;background:#f4efec;border-radius:20px;padding:6px 11px;font-size:11px}.empty{text-align:center;padding:31px 0 27px}.empty-camera{color:#8f9e90;background:#f6f2ee;border-radius:50%;place-items:center;width:84px;height:84px;margin:0 auto 24px;display:grid;position:relative}.empty-camera span{background:#f6f2ee;font-size:18px;position:absolute;bottom:16px;right:12px}.empty h3{font-family:Georgia,Noto Serif CJK TC,serif;font-size:20px}.empty p{color:#8b8580;font-size:12px;line-height:2}.add-meal{color:#3e7465;background:#edf3ef;border:1px dashed #9cb9a9;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:50px;font-weight:600;display:flex}.gentle-note{color:#8b8580;border-top:1px solid #ece8e4;justify-content:center;align-items:center;gap:10px;margin-top:26px;padding-top:20px;font-size:11px;line-height:1.9;display:flex}.meal-card{border-bottom:1px solid #ece8e4;margin-bottom:23px;padding-bottom:23px}.meal-meta{justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;display:flex}.meal-meta>span{color:#3e7465;background:#edf3ef;border-radius:5px;padding:4px 7px;font-size:10px}.text-button{color:#3e7465;background:0 0;border:0;min-height:36px;padding:8px 0;font-size:11px}.meal-photos{gap:7px;padding-bottom:3px;display:flex;overflow-x:auto}.meal-photos button{background:#f4efec;border:0;border-radius:9px;flex:0 0 130px;height:130px;padding:0;overflow:hidden}.meal-photos img{object-fit:cover;width:100%;height:100%}.meal-estimate{color:#3e7465;margin:12px 0 0;font-size:14px;font-weight:600}.meal-estimate span,.not-estimated{color:#8b8580;font-size:10px;font-weight:400}.meal-estimate span{margin-top:5px;display:block}.meal-notes{white-space:pre-wrap;color:#585254;font-size:12px;line-height:1.8}.daily-cal{background:#f5f7f4;border-radius:10px;flex-direction:column;gap:7px;margin-bottom:22px;padding:16px;display:flex}.daily-cal>span,.daily-cal>small{color:#77706c;font-size:10px}.daily-cal strong{color:#3e7465;font-size:23px;font-weight:500}.daily-cal strong small{font-size:12px}footer{color:#77706c;border-top:1px solid #dfd8d2;justify-content:space-between;margin-top:55px;padding:24px 0;font-family:Georgia,Noto Serif CJK TC,serif;font-size:13px;display:flex}footer span{font-family:Arial,sans-serif;font-size:11px}.prototype{color:#516c5f;text-align:center;background:#e9eee9;padding:10px 18px;font-size:11px}.preview-note{text-align:center;color:#77706c;font-size:10px;line-height:1.7}.error,.notice{overflow-wrap:anywhere;border-radius:8px;margin-top:18px;padding:14px 17px;font-size:12px;line-height:1.8}.error{color:#9b2936;background:#fff0f0;border:1px solid #f3cdd1}.notice{color:#3e7465;background:#eaf3ed}.loading{color:#77706c;justify-content:center;align-items:center;gap:10px;min-height:110px;font-size:12px;display:flex}.spin{animation:1.1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-panel{background:#fff;border:1px solid #e6e0dc;border-radius:18px;grid-template-columns:1fr 1.25fr;gap:45px;padding:35px;display:grid}.login-art{color:#517160;background:#e8eee5;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:25px;min-height:270px;display:flex}.login-art span{writing-mode:vertical-rl;letter-spacing:4px;font-family:Georgia,Noto Serif CJK TC,serif;font-size:18px}.login-panel h2{margin-bottom:20px}.login-panel p{color:#77706c;font-size:13px;line-height:1.9}.login-panel small{color:#8b8580;margin-top:14px;font-size:10px;line-height:1.9;display:block}.google-g{color:#487e6c;background:#fff;border-radius:50%;place-items:center;width:24px;height:24px;font-family:Arial,sans-serif;display:grid}.login-panel details{color:#77706c;margin-top:18px;font-size:11px}.login-panel summary{cursor:pointer;padding:8px 0}.overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:20;background:#251f2166;justify-content:center;align-items:flex-start;padding:35px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.editor{background:#fffdfb;border-radius:18px;width:100%;max-width:550px;padding:28px;box-shadow:0 20px 70px #251f2130}.editor-heading{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.editor-heading h2{font-size:26px}.editor-heading .eyebrow{margin-bottom:8px;font-size:9px}.editor label{color:#585254;flex-direction:column;gap:8px;margin-bottom:18px;font-size:12px;display:flex}.editor input,.editor select,.editor textarea{color:#251f21;background:#fff;border:1px solid #ded9d4;border-radius:7px;outline:none;width:100%;min-width:0;min-height:46px;padding:13px 11px;font-size:14px}.editor input:focus,.editor select:focus,.editor textarea:focus{border-color:#518574;box-shadow:0 0 0 2px #51857420}.editor textarea{resize:vertical;height:80px}.form-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.form-row label{min-width:0}.editor .upload{text-align:center;color:#518574;cursor:pointer;background:#f1f5ef;border:1px dashed #a6b9a9;border-radius:10px;align-items:center;gap:7px;margin-bottom:6px;padding:20px;position:relative}.upload strong{font-weight:500}.upload span{color:#77706c;font-size:11px}.upload input{opacity:0;cursor:pointer;height:100%;position:absolute;inset:0}.field-note{color:#8b8580;margin:7px 0 18px;font-size:10px;line-height:1.8}.file-selection{color:#518574;font-size:12px}.file-selection button{margin-left:12px}.edit-photos{flex-wrap:wrap;gap:8px;margin:17px 0;display:flex}.edit-photos>div{background:#eee;border-radius:8px;width:76px;height:76px;position:relative}.edit-photos img{object-fit:cover;border-radius:8px;width:100%;height:100%}.edit-photos button{color:#fff;background:#251f21;border:0;border-radius:50%;place-items:center;width:25px;height:25px;display:grid;position:absolute;top:-4px;right:-4px}fieldset{border:0;margin:22px 0 0;padding:0}legend{margin-bottom:13px;padding:0;font-size:12px}legend span{color:#8b8580;margin-left:7px;font-size:10px}fieldset .field-note{margin-top:-5px}.editor-actions{justify-content:space-between;align-items:center;gap:15px;margin-top:25px;display:flex}.editor-actions .primary{margin-left:auto}.delete-button{color:#aa4b50;background:0 0;border:0;align-items:center;gap:6px;min-height:44px;font-size:11px;display:flex}.lightbox{background:#251f21e6;align-items:center}.lightbox>img{object-fit:contain;border-radius:8px;max-width:96vw;max-height:90vh}.lightbox>.icon-button{z-index:2;background:#fff;position:fixed;top:20px;right:20px}@media (width<=850px){.diary-layout{grid-template-columns:1.35fr 1fr;gap:16px}.calendar-panel{padding:23px 17px 0}.day-panel{padding:23px 18px}.day{aspect-ratio:.63}.calendar-note{font-size:10px}.calendar-heading h2{font-size:24px}.today-button{display:none}.calendar-heading{gap:4px}.month-controls{gap:0}.login-panel{gap:25px;padding:25px}}@media (width<=690px){.topbar{height:78px;margin:0 22px}.brand{gap:9px;font-size:19px}.brand small{letter-spacing:1.6px;font-size:8px}.brand-mark{width:37px;height:37px}.private{font-size:10px}.topbar>.icon-button{width:36px;height:36px}.intro{margin-bottom:28px}.intro p{font-size:12px;line-height:1.9}main{padding:30px 18px 0}.eyebrow{letter-spacing:1.6px;margin-bottom:11px;font-size:9px}h1{margin-bottom:13px;font-size:31px}.mobile-break{display:initial}.desktop-add{display:none}.diary-layout{flex-direction:column;gap:20px;display:flex}.calendar-panel,.day-panel{border-radius:14px;width:100%}.calendar-panel{padding:23px 15px 0}.calendar-heading{margin-bottom:24px}.calendar-heading h2{font-size:27px}.today-button{font-size:11px;display:block}.month-controls .icon-button{width:33px}.weekdays,.calendar-grid{gap:5px}.weekdays{margin-bottom:11px;font-size:11px}.day{aspect-ratio:.63;border-radius:8px;padding-top:6px}.day.selected{padding-top:5px}.day-number{font-size:12px}.day-count{letter-spacing:-.2px;font-size:8px;line-height:13px}.day-cal{letter-spacing:-.4px;font-size:8px}.day.has-food .day-number{width:19px;height:19px;font-size:10px;line-height:19px;top:3px;left:3px}.calendar-note{margin:19px 0;font-size:10px;line-height:1.8}.month-footer{padding:15px 0;font-size:10px}.day-panel{padding:24px 21px}.day-heading{margin-bottom:15px}.day-heading h2{font-size:17px}.empty{padding:22px 0}.empty-camera{width:73px;height:73px;margin-bottom:20px}.empty h3{font-size:20px}.empty p{font-size:12px}.gentle-note{font-size:10px;line-height:1.9}.prototype{font-size:10px}.login-panel{grid-template-columns:1fr;gap:25px;padding:24px}.login-art{flex-direction:row;gap:22px;min-height:140px}.login-art span{writing-mode:initial;letter-spacing:1px;font-size:16px}.login-panel h2{font-size:27px}.login-panel .primary{width:100%}footer{margin-top:35px;padding:24px 2px;font-size:12px}footer span{font-size:10px}.overlay{padding:14px 10px}.editor{padding:24px 18px}.editor-heading h2{font-size:25px}.form-row{gap:10px}.editor input,.editor select,.editor textarea{font-size:16px}.editor-actions{gap:7px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spin{animation:none}}
