@import"https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DotGothic16&family=Noto+Sans+TC:wght@400;700&family=Pixelify+Sans:wght@400;600&display=swap";.auth-desktop{min-height:100dvh;position:relative;padding:46px 12px 98px}.auth-clock{position:absolute;right:0;top:0;height:32px;display:flex;align-items:center;background:#f9f0e9;border:1px solid #000;border-top:0;border-right:0;border-radius:0 0 0 4px;padding:0 12px;font-size:13px}.auth-layout{display:flex;justify-content:center;align-items:flex-start;gap:70px}.auth-card,.auth-about{background:#f9f0e9;border:1px solid #000;border-radius:4px;box-shadow:0 12px 28px #501e1e38;overflow:hidden}.auth-card{width:min(100%,366px)}.auth-about{display:none;width:300px}.auth-chrome{height:24px;display:flex;align-items:center;gap:4px;padding:0 6px;border-bottom:1px solid #000}.auth-chrome span{width:11px;height:11px;border:1px solid #000}.auth-chrome i{flex:1;height:9px;margin:0 6px;background:repeating-linear-gradient(#000 0 1px,transparent 1px 2px)}.auth-chrome b{font:16px Abril Fatface,Georgia,serif;letter-spacing:.02em}.auth-art{height:230px;position:relative;display:flex;align-items:center;justify-content:center;background:repeating-conic-gradient(#e9c9b8 0,#e9c9b8 25%,#f3dccb 0,#f3dccb 50%) 0 0/8px 8px;border-bottom:1px solid #000}.auth-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(#00000014 1px,transparent 1px),linear-gradient(90deg,#00000014 1px,transparent 1px);background-size:3px 3px;pointer-events:none}.auth-art.small{height:150px}.bowl-frame{padding:12px;background:#f9f0e9;border:1px solid #000;line-height:0}.welcome-cat{width:112px;height:112px;object-fit:cover;border-radius:4px;image-rendering:pixelated}.private-tag{position:absolute;left:8px;top:6px;z-index:1;display:flex;align-items:center;gap:5px;padding:1px 4px;background:#f9f0e9;border:1px solid #000;font-size:12px}.private-tag i{width:7px;height:7px;background:#f87171;border:1px solid #000;animation:auth-blink 1s steps(1) infinite}.auth-file-strip{height:20px;display:flex;align-items:center;justify-content:space-between;background:#000;color:#f9f0e9;padding:0 8px;font:11px Pixelify Sans,monospace}.auth-welcome-copy{padding:12px 10px;display:grid;gap:7px}.auth-welcome-copy h1{font-size:20px;margin:0}.auth-welcome-copy p{font-size:14px;margin:0}.auth-welcome-copy ul{padding:0;margin:0;list-style:none}.auth-welcome-copy li{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #c6c0ba}.auth-welcome-copy li>span{width:34px;height:34px;display:grid;place-items:center;border:1px solid #000;font-size:20px}.auth-welcome-copy li div{display:grid}.auth-welcome-copy li small{font-size:12px;color:#4a4440}.auth-welcome-copy button{width:100%}.auth-heading{padding:14px 10px 10px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #000}.auth-mini-bowl{display:flex;padding:6px;border:1px solid #000;background:#fff}.auth-heading h1{font-size:18px;margin:0}.auth-heading p{font-size:12px;color:#4a4440;margin:2px 0 0}.auth-form{padding:12px 10px;display:grid;gap:12px}.auth-form label{display:grid;gap:4px;font-size:13px}.auth-form input{font-size:16px!important}.auth-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px}.auth-modes button[aria-pressed=true]{background:#afe2e5}.auth-message{font-size:12px;margin:0}.auth-back{width:calc(100% - 20px);margin:0 10px 12px}.auth-about-copy{padding:10px;display:grid;gap:6px;font-size:13px}.auth-about-copy p{margin:0}.auth-about-copy small{font-size:12px;color:#4a4440}.auth-footer{position:absolute;bottom:24px;left:16px;right:16px;max-width:366px;margin:auto;padding:6px 8px;background:#f9f0e9;border:1px solid #000;font-size:12px}@keyframes auth-blink{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.private-tag i{animation:none}}@media(min-width:900px){.auth-desktop{padding-top:120px}.auth-about{display:block;margin-top:30px}.auth-card{width:360px}.auth-footer{bottom:24px}}:root{font-family:Pixelify Sans,DotGothic16,Noto Sans TC,sans-serif;color:#000;background:#f6d5d5;font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background-image:linear-gradient(#0000000d 1px,transparent 1px),linear-gradient(90deg,#0000000d 1px,transparent 1px);background-size:12px 12px}button,input,textarea,select{font:inherit;color:inherit}button,.button{cursor:pointer;min-height:44px;border:1px solid #000;background:#f9f0e9;padding:9px 13px;box-shadow:inset -2px -2px #c6c0ba,inset 2px 2px #fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}button:active,.button:active{background:#000;color:#fff}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#afe2e5;font-weight:700}.danger{background:#f87171}a{color:inherit}:focus-visible{outline:2px dashed #000;outline-offset:3px}.app{padding:8px 8px 86px}.window{max-width:560px;min-height:calc(100dvh - 100px);margin:auto;background:#f9f0e9;border:1px solid #000}.title{height:30px;display:flex;gap:6px;align-items:center;padding:0 7px;border-bottom:1px solid #000;position:sticky;top:0;background:#f9f0e9;z-index:2}.title h1{font: 17px Abril Fatface,Georgia,serif;letter-spacing:.04em;margin:0}.title .box{width:14px;height:14px;border:1px solid #000}.stripes{flex:1;height:11px;background:repeating-linear-gradient(#000 0 1px,transparent 1px 3px)}.title time{font-size:11px;border:1px solid;padding:0 4px}.strip{background:#efe4da;border-bottom:1px solid;padding:4px 12px;font-size:12px}.section-title{font-size:13px;background:#efe4da;border-block:1px solid #000;padding:5px 12px;margin:0}.section-body{padding:14px}.section-body>p+p{margin-top:8px}.stack{display:grid;gap:12px}.stack label,label:not(.row):not(.rule-row){display:grid;gap:5px}.stack label.row{display:flex}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #000;background:#fffefa;padding:10px;min-height:44px;border-radius:0}textarea{min-height:80px}.chips,.segments{display:flex;gap:4px;flex-wrap:wrap}.segments button{flex:1;min-width:70px;padding-inline:6px}.segments button[aria-pressed=true],.chips button[aria-pressed=true]{background:#afe2e5}.question{border-bottom:1px solid #c6c0ba;padding:10px 0;display:grid;gap:7px}.question:first-child{padding-top:0}.score{display:flex;gap:18px;align-items:center}.score-number{font:44px Pixelify Sans,sans-serif}.score-number small{font-size:18px}.meter{display:flex;gap:3px;margin-top:5px}.meter span{width:12px;height:14px;border:1px solid #000;background:#fff}.meter .filled{background:#afe2e5}.muted,.record small{color:#4a4440}.hero{text-align:center;padding:45px 12px}.hero h2{margin:8px 0}.hero p{margin-bottom:20px}.camera{font-size:70px;line-height:1}.dock{position:fixed;z-index:5;bottom:0;left:50%;transform:translate(-50%);width:min(100%,560px);display:grid;grid-template-columns:repeat(6,1fr);border:1px solid #000;border-bottom:0;background:#f9f0e9;padding-bottom:env(safe-area-inset-bottom)}.dock a{text-align:center;text-decoration:none;min-height:58px;border-right:1px solid #000;display:grid;place-items:center;font-size:12px}.dock a.active{background:#afe2e5;font-weight:700}.record{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #c6c0ba;text-decoration:none}.record span:first-child{display:grid}.record small{font-size:11px}.row{display:flex;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid #c6c0ba}.row input{width:20px;height:20px}.alert{background:#f87171;padding:10px;border:1px solid}.message{position:sticky;bottom:70px;background:#afe2e5;padding:8px}.center{text-align:center;margin-top:30vh}@media(min-width:900px){.app{padding-top:30px}.window{box-shadow:8px 8px #0002}.dock{bottom:16px;width:520px}}.date-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.date-pair input{min-width:0;padding:8px 4px;font-size:13px}.clinic-row{border-bottom:1px solid #c6c0ba;padding-bottom:10px}@media(max-width:360px){.date-pair{grid-template-columns:1fr}}.history-day{font-size:12px;background:#efe4da;margin:12px -14px 0;padding:4px 14px;border-block:1px solid #000}.open-dot{display:inline-block;width:7px;height:7px;margin-right:6px;background:#f87171;border:1px solid #000;animation:blink-dot 1s steps(1) infinite}.history-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}@keyframes blink-dot{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.open-dot{animation:none}}.photo-intro{text-align:center;padding:28px 14px}.photo-intro>span{font-size:64px;line-height:1}.photo-intro h2{margin:4px 0}.photo-intro p{margin-bottom:16px}.photo-intro .stack{margin-bottom:12px}.crop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.crop-grid-item{display:grid;gap:4px;padding:8px;text-align:center;cursor:pointer}.crop-grid-item img{width:100%;aspect-ratio:1;object-fit:cover;border:1px solid #000;background:#efe4da}.crop-grid-item span{font-size:13px;font-weight:700}.crop-grid-item small{font-size:11px;color:#4a4440}.crop-scroll{display:flex;gap:10px;overflow-x:auto;padding:4px 0;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;justify-content:center}.crop-scroll-item{flex:none;width:140px;display:grid;gap:4px;padding:8px;text-align:center;cursor:pointer;scroll-snap-align:start;border:1px solid #c6c0ba;background:#fffefa}.crop-scroll-item img{width:100%;aspect-ratio:1;object-fit:cover;border:1px solid #000;background:#efe4da}.crop-scroll-item span{font-size:13px;font-weight:700}.crop-scroll-item small{font-size:11px;color:#4a4440}.crop-touch{position:relative;-webkit-user-select:none;user-select:none;overflow:hidden;background:#000}.crop-touch img{display:block;width:100%}.crop-popup{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:16px;background:#f6d5d58c;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.crop-popup-inner{width:min(100%,500px);display:grid;gap:12px}.crop-popup-inner .crop-touch{border:1px solid #333}.crop-popup-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.crop-popup-actions .danger{min-width:0}.crop-overlay-top,.crop-overlay-bottom,.crop-overlay-left,.crop-overlay-right{position:absolute;background:#0000008c;pointer-events:none}.crop-overlay-top{top:0;left:0;right:0}.crop-overlay-bottom{bottom:0;left:0;right:0}.crop-overlay-left{left:0}.crop-overlay-right{right:0}.crop-frame{position:absolute;border:2px solid #fff;pointer-events:none}.crop-handle{position:absolute;width:18px;height:18px;background:#fff;border-radius:50%;border:2px solid #333;transform:translate(-50%,-50%);pointer-events:auto;cursor:grab;z-index:1}.crop-handle.tl{top:0;left:0}.crop-handle.tr{top:0;right:0;transform:translate(50%,-50%)}.crop-handle.bl{bottom:0;left:0;transform:translate(-50%,50%)}.crop-handle.br{bottom:0;right:0;transform:translate(50%,50%)}.crop-line{position:absolute;pointer-events:none;opacity:.4}.crop-line.h{left:0;right:0;border-top:1px solid #fff}.crop-line.v{top:0;bottom:0;border-left:1px solid #fff}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.consent-row{display:grid;gap:5px;padding:10px;border:1px solid #000}.consent-row p{margin:0}.consent-row small{color:#4a4440}.consent-row button{justify-self:start}.consent-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:12px;border:1px solid #000;background:#efe4da;cursor:pointer;min-height:48px}.consent-check input[type=checkbox]{width:22px;height:22px;flex:none;margin:0;accent-color:#000}.consent-check span{font-size:13px;line-height:1.4;-webkit-user-select:none;user-select:none}.long-press{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:manipulation}.long-press-fill{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000002e;transform:scaleX(0);transform-origin:left;pointer-events:none}.long-press.pressing .long-press-fill{transform:scaleX(1);transition:transform 1.5s linear}.long-press-label{position:relative;pointer-events:none}.long-press:not(:disabled):active{background:#afe2e5;color:#000}.photo-list{display:grid;gap:12px}.photo-list>div{display:grid;gap:6px;border:1px solid #000;padding:8px}.photo-list img{max-width:100%;max-height:260px;object-fit:contain}.photo-list button{justify-self:start}.detail-photo-strip{display:flex;gap:8px;overflow-x:auto;padding:4px 0;-webkit-overflow-scrolling:touch}.detail-photo-thumb{position:relative;flex:none;width:80px;height:80px;padding:0;border:1px solid #000;background:#efe4da;overflow:hidden;cursor:pointer;display:grid;place-items:center;box-shadow:none}.detail-photo-thumb img{width:100%;height:100%;object-fit:cover}.detail-photo-thumb b{position:absolute;left:0;bottom:0;background:#000;color:#fff;padding:0 3px;font:10px Pixelify Sans,monospace}.idea{padding:10px 0;border-bottom:1px solid #c6c0ba}.idea p{margin:3px 0}.idea small{color:#4a4440}.manual-photo{display:grid;gap:10px;padding:12px;background:#efe4da;border:1px solid #000;box-shadow:inset 2px 2px #fff,inset -2px -2px #c6c0ba}.manual-photo>strong{font-size:13px}.manual-photo>.stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.manual-photo .button{font-weight:700;background:#f9f0e9}.manual-photo p{margin:0;color:#4a4440;font-size:12px}.manual-photo-list{display:grid;background:#f9f0e9;border:1px solid #000}.manual-photo-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px dashed #c6c0ba}.manual-photo-list>div:last-child{border-bottom:0}.manual-photo-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.manual-photo-list button{min-height:36px;flex:none;padding:5px 8px}.manual-photo .row{border-top:1px solid #c6c0ba;font-size:12px;line-height:1.35}@media(max-width:390px){.section-body{padding:12px}.photo-intro{padding:24px 12px}.manual-photo{padding:10px}.dock a{min-height:62px}}.photo-window{min-height:0;overflow:hidden}.photo-title{height:25px;position:static}.photo-title .box{width:11px;height:11px;flex:none}.photo-title .active-box{background:#000}.photo-title h1{font-size:16px}.viewfinder{aspect-ratio:1;width:min(100%,280px);margin-inline:auto;position:relative;overflow:hidden;background:repeating-conic-gradient(#e9c9b8 0,#e9c9b8 25%,#f3dccb 0,#f3dccb 50%) 0 0/8px 8px;border-bottom:1px solid #000}.viewfinder:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(#00000011 1px,transparent 1px),linear-gradient(90deg,#00000011 1px,transparent 1px);background-size:3px 3px;pointer-events:none}.viewfinder video{width:100%;height:100%;object-fit:cover}.viewfinder-placeholder{display:grid;place-items:center;place-content:center;width:100%;height:100%;gap:8px;text-align:center;padding:16px}.viewfinder-cat{width:96px;height:96px;object-fit:cover;image-rendering:pixelated;border:2px solid #000;border-radius:4px}.viewfinder-placeholder span{background:#f9f0e9;border:1px solid #000;padding:3px 10px;font-size:13px;font-weight:700}.recording{position:absolute;z-index:1;top:7px;left:8px;background:#f9f0e9;border:1px solid #000;padding:1px 4px;font-size:11px}.recording i{display:inline-block;width:7px;height:7px;background:#f87171;border:1px solid #000}.view-corner{position:absolute;z-index:1;width:20px;height:20px;border-color:#000;border-style:solid}.top-left{left:22px;top:25px;border-width:2px 0 0 2px}.top-right{right:22px;top:25px;border-width:2px 2px 0 0}.bottom-left{left:22px;bottom:22px;border-width:0 0 2px 2px}.bottom-right{right:22px;bottom:22px;border-width:0 2px 2px 0}.viewfinder-tip{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap;background:#f9f0e9;border:1px solid #000;padding:2px 5px;font-size:12px}.viewfinder-hint{position:absolute;z-index:1;left:50%;bottom:28px;transform:translate(-50%);white-space:nowrap;background:#000c;color:#fff;padding:4px 12px;font-size:13px;font-weight:700;border-radius:2px;pointer-events:none;animation:hint-fade 3s ease-in-out infinite}@keyframes hint-fade{0%,to{opacity:.7}50%{opacity:1}}.photo-file-strip{height:20px;background:#000;color:#f9f0e9;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:0 8px;font:10px Pixelify Sans,monospace;letter-spacing:.05em}.photo-file-strip span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.photo-tray{display:flex;justify-content:space-between;gap:7px;align-items:center;padding:8px;border-bottom:1px solid #000}.photo-thumbs{display:flex;gap:5px;min-width:0}.photo-thumb,.photo-add{position:relative;display:grid;place-items:center;width:52px;height:52px;min-height:52px;flex:none;padding:0;border:1px solid #000;background:repeating-conic-gradient(#e9c9b8 0,#e9c9b8 25%,#f3dccb 0,#f3dccb 50%) 0 0/8px 8px;overflow:hidden}.photo-thumb:first-child{outline:2px solid #000;outline-offset:2px}.photo-thumb img{width:100%;height:100%;object-fit:cover}.photo-thumb b{position:absolute;left:0;bottom:0;background:#000;color:#fff;padding:0 3px;font:10px Pixelify Sans,monospace}.photo-add{background:#f9f0e9;font-size:24px;font-weight:700}.photo-tray-meta{text-align:right;display:grid;line-height:1.2;white-space:nowrap;font-size:11px}.photo-tray-meta small{font-size:10px;color:#4a4440}.photo-latest{padding:9px 8px;border-bottom:1px solid #000;display:grid;gap:7px}.photo-latest-top,.photo-latest-main{display:flex;align-items:center;justify-content:space-between;gap:8px}.photo-latest-top{font-size:11px;color:#4a4440}.photo-latest-top a{color:#000}.photo-latest-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.photo-latest-main span{flex:none;border:1px solid #000;padding:2px 4px;font-size:11px}.photo-latest-score{font-size:12px}.photo-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px;border-bottom:1px solid #000}.photo-actions button,.photo-actions .button{display:grid;gap:2px;place-content:center;min-width:0;height:56px;min-height:56px;padding:4px;text-align:center;font-size:12px}.photo-actions span{font-size:17px;line-height:1}.photo-meal-row,.photo-score-row{display:flex;align-items:center;gap:6px;padding:5px 8px;font-size:12px}.photo-meal-row{border-bottom:1px solid #000}.photo-meal-row>span,.photo-score-row>span{width:36px;flex:none}.photo-meal-row button{height:30px;min-height:30px;width:42px;padding:0}.photo-meal-row strong{flex:1;text-align:center;border:1px solid #000;min-height:30px;display:grid;place-items:center;font-weight:400}.photo-score-row{padding-bottom:8px}.photo-score-meter{display:flex;flex:1;border:1px solid #000;height:20px;padding:2px;gap:2px;background:#fffefa}.photo-score-meter i{width:10%;background:transparent}.photo-score-meter i.filled{background:#000}.photo-score-row strong{width:34px;text-align:right;font:11px Pixelify Sans,monospace}.photo-next{padding:8px;border-top:1px solid #000}.photo-next button{width:100%}.photo-owner-note{margin:0;padding:8px;font-size:12px;border-top:1px solid #000}.photo-disclaimer{margin:14px 4px 12px;padding:6px 8px;border:1px solid #000;background:#f9f0e9;font-size:11px}.photo-window .alert{margin:8px}.photo-window .section-title{border-top:0}@media(max-width:390px){.app{padding:46px 12px 100px}.photo-thumb,.photo-add{width:49px;height:49px;min-height:49px}.photo-tray-meta{font-size:10px}.photo-file-strip{font-size:9px}}@media(max-width:350px){.photo-thumb,.photo-add{width:42px;height:42px;min-height:42px}.viewfinder-tip{font-size:10px}.photo-actions{gap:3px}}.app{position:relative}.app-clock{position:absolute;right:8px;top:0;height:32px;display:flex;align-items:center;padding:0 10px;background:#f9f0e9;border:1px solid #000;border-top:0;font-size:11px}.dock a{align-content:center;gap:1px;border-right:1px solid #000}.dock a:last-child{border-right:0}.dock a span{display:block;font-size:19px;line-height:1}.photo-window{border-radius:3px}.photo-latest-top a{white-space:nowrap}.photo-confirm-link{min-height:0;padding:0;border:0;box-shadow:none;background:transparent;text-decoration:underline;font-size:11px;white-space:nowrap}.photo-review-more{justify-self:end;font-size:11px;text-decoration:underline}.photo-pending-score{margin:0;padding:8px;border-bottom:1px solid #000;background:#efe4da;font-size:11px;color:#4a4440}.photo-open{display:grid;gap:5px;padding:5px;justify-items:center}.photo-open img{max-width:100%;max-height:230px}.photo-open small{font-size:11px}.photo-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:16px;background:#000c}.photo-lightbox>div{display:grid;gap:8px;width:min(100%,700px);max-height:95dvh;padding:8px;border:1px solid #000;background:#f9f0e9}.photo-lightbox button{justify-self:end}.photo-lightbox img{display:block;max-width:100%;max-height:calc(95dvh - 80px);object-fit:contain;margin:auto}.share-warning{margin:0;padding:10px;border:1px solid #000;background:#ffe4d6;font-size:12px}.share-card{display:grid;gap:8px;padding:14px;border:1px solid #000;background:#fffefa;overflow-wrap:anywhere}.share-card-head{display:flex;justify-content:space-between;gap:8px;border-bottom:2px solid #000;padding-bottom:6px;font-size:12px}.share-card h3{margin:0;font-size:20px}.share-card p{margin:0}.share-card-score{font:24px Pixelify Sans,Noto Sans TC,sans-serif}.share-card>small{border-top:1px solid #c6c0ba;padding-top:8px;color:#4a4440}.share-ingredients{display:flex;flex-wrap:wrap;gap:4px}.share-tag{padding:3px 7px;border:1px solid #000;font-size:12px;background:#afe2e5}.share-rec{font-size:12px;color:#4a4440;border-left:2px solid #afe2e5;padding-left:8px}.share-calories{font-size:13px;color:#4a4440}.cal-inline{font-weight:400;color:#4a4440}.share-answers{display:grid;gap:4px;padding:8px;border:1px solid #000;background:#f9f0e9}.share-answers>div{display:flex;justify-content:space-between;gap:10px;border-top:1px dashed #c6c0ba;padding-top:4px;font-size:12px}.share-answers b{flex:none}.share-notes{white-space:pre-wrap}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.share-actions button{min-width:0}.share-link-box,.share-active{display:grid;gap:8px;padding:10px;border:1px solid #000;background:#efe4da;min-width:0}.share-link-box small{overflow-wrap:anywhere}.share-link-box button{justify-self:start}.share-active>div{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px dashed #c6c0ba;padding-top:6px}.share-active button{flex:none}.public-share-page{min-height:100dvh;padding:48px 12px}.public-share-window{width:min(100%,600px);margin:auto;border:1px solid #000;background:#f9f0e9}.public-share-window .section-body{display:grid;gap:14px}.public-share-photos{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.public-share-photos img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;border:1px solid #000;background:#fffefa}@media(max-width:390px){.share-actions{grid-template-columns:1fr}}.place-editor{display:grid;gap:10px;padding:12px;border:1px solid #000;background:#efe4da}.place-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.place-choices button{min-width:0;padding:6px}.place-choices button[aria-pressed=true]{background:#afe2e5;font-weight:700}.place-gps{display:flex;flex-wrap:wrap;gap:6px}.place-editor small{color:#4a4440;line-height:1.5}.mini-map{height:180px;border:1px solid #000;z-index:0}html,body,#root{width:100%;max-width:100%;overflow-x:hidden}.app,.window{width:100%;min-width:0}.app{max-width:100%}.section-body,.record,.photo-window{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){input,textarea,select{font-size:16px!important}.app,.window{max-width:100%}.section-body>*{min-width:0}}@media(max-width:390px){.app-clock{right:12px}.dock{bottom:20px;width:calc(100% - 24px);border-radius:3px}.dock a{min-height:60px}}@media(max-width:600px){.app{width:100vw;max-width:100vw;padding-inline:12px;overflow-x:clip}.photo-window{display:block;width:100%;max-width:100%;min-width:0;margin:0;overflow-x:clip}.photo-window>*,.photo-title,.viewfinder,.photo-file-strip,.photo-tray,.photo-latest,.photo-actions,.photo-meal-row{max-width:100%;min-width:0}.photo-title .stripes{min-width:0}.photo-tray{display:grid;grid-template-columns:minmax(0,1fr) auto}.photo-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:242px}.photo-thumb,.photo-add{width:100%;min-width:0;aspect-ratio:1;height:auto;min-height:0}.photo-tray-meta{min-width:0;font-size:10px}.photo-latest-top>span,.photo-latest-main>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-actions button,.photo-actions .button{width:100%;min-width:0}.photo-meal-row strong{min-width:0}}@media(max-width:350px){.photo-tray{grid-template-columns:minmax(0,1fr) 59px;gap:5px}.photo-thumbs{gap:3px}.photo-tray-meta small{white-space:normal}.photo-actions{gap:3px}}.analyze-anim{padding:24px 14px;display:grid;gap:20px;place-items:center;overflow:hidden}.analyze-photos{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:4px;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scroll-behavior:smooth}.analyze-card{width:100px;height:100px;min-width:100px;border:2px solid #c6c0ba;overflow:hidden;position:relative;opacity:.4;transition:all .4s ease;transform:scale(.9);scroll-snap-align:center}.analyze-card img{width:100%;height:100%;object-fit:cover}.analyze-active{opacity:1;border-color:#000;transform:scale(1);box-shadow:4px 4px #0002}.analyze-scan{position:absolute;left:0;right:0;height:3px;background:#afe2e5;box-shadow:0 0 8px #afe2e5;animation:scan-line 1.2s ease-in-out infinite}@keyframes scan-line{0%{top:0}50%{top:calc(100% - 3px)}to{top:0}}.analyze-status{text-align:center;display:grid;gap:4px}.analyze-status .loading-icon{font-size:28px}.analyze-status p{margin:0;font-size:13px}.analyze-status .muted{font-size:11px}.loading-screen{display:grid;place-items:center;place-content:center;min-height:calc(100dvh - 100px);text-align:center;gap:8px}.loading-screen p{margin:0;font-size:13px;color:#4a4440}.loading-icon{font-size:48px;line-height:1;animation:loading-pulse 1.2s ease-in-out infinite}@keyframes loading-pulse{0%,to{opacity:.25}50%{opacity:1}}.loading-box{display:grid;place-items:center;padding:40px 0;gap:8px}.loading-box p{margin:0;font-size:12px;color:#4a4440}.loading-box .loading-icon{font-size:32px}.record-end{display:grid;text-align:right;white-space:nowrap;gap:0;line-height:1.3}.record-end .fav-icon{font-size:12px;margin:0}.fav-icon{color:#e74c6f}.fav-btn{float:right;min-height:0;border:0;box-shadow:none;background:transparent;padding:0 4px;font-size:18px;color:#e74c6f;cursor:pointer}.fav-btn:active{background:transparent;color:#000}.section-title:has(.fav-btn){display:flex;justify-content:space-between;align-items:center}.cal-nav{display:flex;align-items:center;justify-content:space-between}.cal-nav button{min-height:28px;height:28px;width:40px;padding:0;font-size:14px}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:8px}.cal-head{text-align:center;font-size:11px;color:#4a4440;padding:4px 0}.cal-day{display:grid;place-items:center;aspect-ratio:1;border:1px solid transparent;background:transparent;min-height:0;font-size:13px;padding:2px;position:relative;cursor:pointer;box-shadow:none}.cal-day:active{background:#000;color:#fff}.cal-active{border-color:#000;background:#afe2e5!important}.cal-today{font-weight:700;border-color:#000}.cal-dot{position:absolute;bottom:3px;left:50%;transform:translate(-50%);width:5px;height:5px;background:#e74c6f;border:1px solid #000;border-radius:50%;display:block}.view-toggle{display:flex;gap:4px}.rule-row{display:flex!important;align-items:center;gap:8px;border-bottom:1px solid #c6c0ba;padding:8px 0;min-height:44px;cursor:pointer}.rule-row input[type=checkbox]{width:20px;height:20px;flex:none;margin:0}.rule-label{flex:1;min-width:0}.rule-weight{display:flex;align-items:center;gap:6px;flex:none;white-space:nowrap}.rule-weight input{width:48px;min-height:32px;text-align:center;border:1px solid #000;padding:4px}.rule-weight select{min-height:32px;border:1px solid #000;padding:4px;font-size:13px;background:#fffefa}.custom-rule-row{display:flex;align-items:center;gap:4px;border-bottom:1px solid #c6c0ba;padding:4px 0}.custom-rule-row .rule-row{flex:1;border:0;padding:0;min-height:36px}.rule-label-input{flex:1;min-width:0;border:1px solid #c6c0ba;padding:4px 6px;font-size:13px;background:#fffefa}.new-rule-row{border-bottom:1px solid #c6c0ba}.fruit-seg{flex:none;gap:0}.fruit-seg button{min-width:0;flex:none;padding:4px 10px;min-height:36px;font-size:13px}.fruit-add{display:flex;gap:6px;align-items:center}.fruit-add input{flex:1;min-width:0}.danger-sm{background:#d32f2f;color:#fff;border:1px solid #000;padding:4px 8px;font-size:12px;cursor:pointer;flex:none;line-height:1}.diary-picker-full{width:100%;border:1px solid #000;background:#fffefa;padding:10px;min-height:44px;font-size:14px}.ai-calories{text-align:center;padding:12px 8px;background:#fffbe6;border:1px solid #000;margin-bottom:4px}.ai-calories-number{font-size:28px;font-weight:700;letter-spacing:-1px}.ai-calories-unit{font-size:14px;margin-left:2px;color:#4a4440}.ai-calories .muted{margin:4px 0 0;font-size:12px}.ai-section{display:grid;gap:10px}.ai-dish{font-size:16px;font-weight:700;margin:0}.ai-dish-en{font-size:12px;color:#4a4440;margin:0}.ai-ingredients{display:flex;flex-wrap:wrap;gap:4px;padding:4px 0}.ai-chip{padding:3px 7px;border:1px solid #000;font-size:12px;background:#fffefa}.ai-chip.visible{background:#afe2e5}.ai-chip.inferred{background:#ffe4d6}.ai-chip.user_reported{background:#e8d5f5}.ai-chip.unknown{background:#f0f0f0;border-style:dashed}.ai-assessment{padding:8px 0;border-bottom:1px solid #c6c0ba;font-size:13px}.ai-assessment:last-child{border:0}.ai-status{font-weight:700;margin-right:4px}.ai-status.confirmed{color:#d32f2f}.ai-status.likely{color:#e65100}.ai-status.unknown{color:#757575}.ai-status.no_evidence{color:#2e7d32}.ai-rec{padding:8px;background:#efe4da;border:1px solid #000;font-size:13px;margin-top:4px}.ingredients-input{width:100%;padding:8px;border:1px solid #000;font-size:14px;font-family:inherit;background:#fffefa;box-sizing:border-box}.desktop-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#f6d5d5;background-image:linear-gradient(#0000000d 1px,transparent 1px),linear-gradient(90deg,#0000000d 1px,transparent 1px);background-size:12px 12px;overflow:auto;padding-bottom:90px}.desktop-clock{position:fixed;right:0;top:0;z-index:100;height:30px;display:flex;align-items:center;background:#f9f0e9;border:1px solid #000;border-top:0;border-right:0;border-radius:0 0 0 4px;padding:0 14px;font-size:12px}.desktop-dock{position:fixed;z-index:100;bottom:16px;left:50%;transform:translate(-50%);display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #000;background:#f9f0e9;box-shadow:4px 4px #0002;border-radius:3px}.desktop-dock button{text-align:center;text-decoration:none;min-height:58px;border:0;border-right:1px solid #000;display:grid;place-items:center;font-size:12px;gap:1px;cursor:pointer;background:#f9f0e9;box-shadow:none;min-width:72px;padding:6px 10px}.desktop-dock button:last-child{border-right:0}.desktop-dock button:hover{background:#afe2e5}.desktop-dock button:active{background:#000;color:#fff}.desktop-dock button span{display:block;font-size:20px;line-height:1}.desktop-win{position:absolute;background:#f9f0e9;border:1px solid #000;border-radius:3px;box-shadow:6px 6px #0003;display:grid;grid-template-rows:auto 1fr;min-width:320px}.desktop-win-chrome{height:28px;display:flex;align-items:center;gap:5px;padding:0 7px;border-bottom:1px solid #000;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;background:#f9f0e9;border-radius:3px 3px 0 0}.desktop-win-chrome:active{cursor:grabbing}.desktop-win-close{width:16px;height:16px;min-height:16px;border:1px solid #000;background:#f9f0e9;display:grid;place-items:center;padding:0;font-size:10px;line-height:1;cursor:pointer;box-shadow:none;flex:none}.desktop-win-close:hover{background:#f87171;color:#fff}.desktop-win-stripes{flex:1;height:9px;background:repeating-linear-gradient(#000 0 1px,transparent 1px 3px)}.desktop-win-chrome b{font:16px Abril Fatface,Georgia,serif;letter-spacing:.04em;white-space:nowrap}.desktop-win-body{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.desktop-win-resize{position:absolute;right:0;bottom:0;width:18px;height:18px;cursor:nwse-resize;z-index:1}.desktop-win-resize:after{content:"";position:absolute;right:3px;bottom:3px;width:9px;height:9px;border-right:2px solid #000;border-bottom:2px solid #000;opacity:.5}.desktop-win-body .window{box-shadow:none;border:0;min-height:auto;max-width:none}.desktop-win-body .photo-window{min-height:auto;border:0}.desktop-win-body .title,.desktop-win-body .photo-title,.desktop-win-body .app-clock{display:none}.walking-cat{position:fixed;bottom:2px;z-index:4;image-rendering:pixelated;image-rendering:crisp-edges;pointer-events:none}@media(prefers-reduced-motion:reduce){.walking-cat{display:none}}.postcard-tabs{display:flex;gap:4px;padding:8px 12px;border-bottom:1px solid #000}.postcard-tabs button{flex:1}.postcard-compose{padding:12px;border-bottom:1px solid #000;display:grid;gap:8px}.postcard-compose textarea{height:80px;resize:none}.postcard-compose-foot{display:flex;justify-content:space-between;align-items:center;font-size:12px}.postcard-compose-foot .muted{color:#4a4440}.postcard-list{padding:8px 12px;display:grid;gap:10px}.postcard-card{border:2px solid #000;padding:10px;background:#fffefa;position:relative;display:grid;gap:6px}.postcard-card:before{content:"";position:absolute;top:4px;right:4px;width:28px;height:28px;border:2px solid #000;background:repeating-conic-gradient(#afe2e5 0,#afe2e5 25%,#fffefa 0,#fffefa 50%) 0 0/8px 8px}.postcard-card .postcard-msg{font-size:14px;line-height:1.5;padding-right:36px;white-space:pre-wrap;word-break:break-all}.postcard-card .postcard-meta{font-size:11px;color:#4a4440;display:flex;justify-content:space-between;gap:8px;border-top:1px dashed #c6c0ba;padding-top:6px}.postcard-status{font-size:11px;padding:2px 6px;border:1px solid #000}.postcard-status.delivered{background:#afe2e5}.postcard-status.transit{background:#ffe4d6}.postcard-status.read{background:#e8d5f5}.postcard-status.new-card{background:#f87171;color:#fff}.postcard-empty{text-align:center;padding:40px 12px;color:#4a4440}.postcard-daily{font-size:12px;color:#4a4440;text-align:center;padding:4px}.postcard-image-picker{display:grid;gap:6px}.postcard-stickers{display:flex;gap:4px;flex-wrap:wrap}.postcard-sticker{width:36px;height:36px;min-height:36px;border:2px solid #000;display:grid;place-items:center;font-size:18px;padding:0;cursor:pointer;box-shadow:none}.postcard-sticker.active{outline:3px solid #000;outline-offset:1px}.postcard-sticker:active{background:#000!important}.postcard-or{text-align:center;font-size:11px;color:#4a4440}.postcard-upload-btn{font-size:12px}.postcard-photo-preview{position:relative;display:inline-block}.postcard-photo-preview img{max-width:100%;max-height:120px;border:1px solid #000;object-fit:cover}.postcard-photo-preview button{position:absolute;top:2px;right:2px;min-height:24px;width:24px;height:24px;padding:0;font-size:12px;background:#f87171;color:#fff;border:1px solid #000;box-shadow:none}.postcard-photo-edit{right:28px!important;background:#fde68a!important;color:#000!important}.postcard-sticker-display{width:48px;height:48px;border:2px solid #000;display:grid;place-items:center;font-size:28px}.postcard-photo{max-width:100%;max-height:160px;border:1px solid #000;object-fit:cover;display:block}.pe-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#f6d5d5b3;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;padding:8px}.pe{width:min(100%,420px);background:#f9f0e9;border:2px solid #000;display:grid;max-height:95dvh;overflow:hidden}.pe-head{display:flex;justify-content:space-between;align-items:center;padding:4px 6px;border-bottom:2px solid #000;background:#fde68a;font:700 14px Pixelify Sans,DotGothic16,sans-serif;letter-spacing:.08em}.pe-head button{min-height:34px;font-size:12px;padding:4px 10px}.pe-tools{display:flex;gap:4px;padding:4px 6px;border-bottom:1px solid #000;background:#efe4da}.pe-tools button{min-height:32px;font-size:12px;padding:3px 8px}.pe-cv{display:grid;place-items:center;padding:8px;background:repeating-conic-gradient(#1a1a1a 0,#1a1a1a 25%,#222 0,#222 50%) 0 0/10px 10px;min-height:0;overflow:hidden}.pe-cv-wrap{position:relative;display:inline-block;max-width:100%;line-height:0}.pe-cv canvas{display:block;max-width:100%;max-height:44dvh;image-rendering:auto;border:2px solid #555}.pe-crop-layer{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none;cursor:crosshair}.pe-crop-dim{position:absolute;background:#00000080;pointer-events:none}.pe-crop-box{position:absolute;border:2px solid #fff;box-shadow:0 0 0 1px #0006;cursor:move;touch-action:none}.pe-crop-h{position:absolute;width:20px;height:20px;background:#fff;border:2px solid #000;border-radius:50%;transform:translate(-50%,-50%);cursor:grab;touch-action:none;z-index:1}.pe-crop-h.tl{top:0;left:0}.pe-crop-h.tr{top:0;left:100%}.pe-crop-h.bl{top:100%;left:0}.pe-crop-h.br{top:100%;left:100%}.pe-crop-act{display:flex;gap:6px;padding:8px;border-top:2px solid #000}.pe-crop-act button{flex:1}.pe-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-block:2px solid #000}.pe-tabs-4{grid-template-columns:repeat(4,1fr)}.pe-tabs button{border:0;border-right:1px solid #000;min-height:38px;box-shadow:none;font-size:13px;font-weight:700}.pe-tabs button:last-child{border-right:0}.pe-tabs button[aria-pressed=true]{background:#afe2e5}.pe-opts{display:flex;gap:5px;padding:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;min-height:52px}.pe-opts button{flex:none;min-height:38px;padding:5px 11px;font-size:12px;white-space:nowrap}.pe-opts button.active{background:#afe2e5;outline:2px solid #000;outline-offset:1px}.pe-panel{overflow-y:auto;max-height:150px}.pe-frame-panel{display:grid;gap:0}.pe-sub-row{display:flex;align-items:center;gap:5px;padding:4px 8px;border-top:1px solid #c6c0ba}.pe-sub-label{font-size:11px;width:32px;flex:none;color:#4a4440}.pe-sub-row button{min-height:30px;padding:3px 10px;font-size:12px;flex:none}.pe-sub-row button.active{background:#afe2e5;outline:2px solid #000;outline-offset:1px}.pe-color-btn{width:28px!important;height:28px;min-height:28px!important;border:2px solid #000;padding:0!important;border-radius:50%}.pe-color-btn.active{outline:2px solid #000;outline-offset:2px}.pe-sel-bar{display:flex;align-items:center;gap:6px;padding:4px 8px;border-top:1px solid #000;background:#efe4da;font-size:12px}.pe-sel-bar span{flex:1}.pe-sel-bar button{min-height:30px;padding:3px 10px;font-size:14px}.pe-sticker-panel{padding:6px 8px}.pe-sticker-grid{display:flex;flex-wrap:wrap;gap:4px}.pe-sticker-grid button{width:36px;height:36px;min-height:36px;padding:0;font-size:18px;display:grid;place-items:center;box-shadow:none}.pe-custom-st{overflow:hidden;padding:0!important}.pe-custom-st img{width:100%;height:100%;object-fit:cover}.pe-add-st{font-size:22px!important;font-weight:700;background:#efe4da}.pe-cv-wrap{touch-action:none}.postcard-compose{position:relative}.postcard-sticker-toggle{position:absolute;top:8px;right:8px;width:36px;height:36px;min-height:36px;padding:0;font-size:20px;display:grid;place-items:center;border:2px solid #000;box-shadow:none;z-index:1}.postcard-sticker-toggle.has-sticker{outline:2px solid #000;outline-offset:1px;background:#afe2e5}.postcard-sticker-dropdown{position:absolute;top:44px;right:8px;z-index:2;background:#f9f0e9;border:2px solid #000;padding:8px;display:flex;flex-wrap:wrap;gap:4px;width:min(230px,calc(100% - 16px));box-shadow:4px 4px #0002}
