:root{--paper:#f7f5ee;--white:#fffefb;--ink:#263d33;--muted:#7a8177;--orange:#dc4d27;--orange-soft:#f9ece2;--green:#e9eee3;--line:#e5e6dc;--radius:20px;font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;color:var(--ink);background:#eeeee6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bd562f;outline-offset:3px}a{color:inherit}button svg{pointer-events:none}.icon{width:21px;height:21px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:17px}small{font-size:11px}img{display:block;object-fit:cover;width:100%}.app-shell{max-width:480px;min-height:100dvh;background:var(--paper);margin:auto;position:relative;box-shadow:0 0 80px #243f3310}#app{padding:0 22px 115px;min-height:100dvh}.initial{display:grid;place-content:center;height:80dvh;text-align:center;font-size:13px;color:var(--muted)}.loading-bowl{font-size:60px;color:var(--orange);animation:bob 1.4s infinite}.desktop-note{display:none}.header{height:87px;display:flex;justify-content:space-between;align-items:center;gap:10px}.brand{display:flex;align-items:center;gap:9px}.brand img{width:35px;height:35px}.brand b{font-size:23px;font-weight:900;letter-spacing:-1px}.campus{display:flex;align-items:center;gap:4px;font-size:11px;margin-left:auto;color:#536151}.campus .icon{width:15px}.avatar{width:35px;height:35px;border-radius:50%;background:#e9e7d9;display:grid;place-items:center;font-weight:700;font-size:13px;flex-shrink:0;border:1px solid #d8dbcc}.hello{font-size:11px;letter-spacing:1.5px;color:#77816f;display:flex;align-items:center;gap:6px}.sun{color:var(--orange);font-size:18px}.intro{padding:12px 0 25px;position:relative}.intro h1{font-size:35px;font-weight:800;line-height:1.48;letter-spacing:-1.5px;margin-top:10px}.intro em{font-style:normal;color:var(--orange)}.intro p{font-size:12px;color:var(--muted);margin-top:9px}.little-flower{position:absolute;right:12px;top:44px;color:#d6dcc9;font-size:66px;transform:rotate(12deg);font-family:Georgia,serif}.filters{display:flex;gap:7px;margin:15px 0 28px;flex-wrap:wrap}.chip{border:1px solid #dcdfd2;border-radius:99px;padding:8px 12px;display:inline-flex;align-items:center;gap:5px;font-size:11px;min-height:36px;background:transparent;white-space:nowrap}.chip .icon{width:14px;height:14px}.chip.active{border-color:var(--orange);color:var(--orange);background:var(--orange-soft)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 15px}.section-title{display:flex;align-items:center;gap:8px}.section-title .dot{width:6px;height:6px;border-radius:50%;background:var(--orange)}.section-heading h2{font-size:18px}.text-button{font-size:11px;display:inline-flex;align-items:center;gap:5px;min-height:36px;color:#697265}.text-button .icon{width:15px;height:15px}.food-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;position:relative}.cover{position:relative;overflow:hidden;background:#ece9df}.cover img{height:210px;transition:transform .4s}.cover:hover img{transform:scale(1.035)}.cover-button{display:block;padding:0;width:100%;text-align:left}.pick-badge{position:absolute;left:13px;top:13px;background:#fff6d7;color:#5b4930;border-radius:8px;padding:6px 9px;font-size:10px;font-weight:600;display:flex;align-items:center;gap:5px}.image-note{position:absolute;bottom:8px;right:10px;color:white;text-shadow:0 1px 3px #000;font-size:9px}.favorite{width:34px;height:34px;position:absolute;top:12px;right:12px;background:#ffffffef;border-radius:50%;display:grid;place-items:center;z-index:1}.favorite.active{color:var(--orange)}.favorite.active .icon{fill:#f5c6b8}.card-body{padding:16px}.card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.card-heading h3{font-size:17px;letter-spacing:-.4px}.price{color:var(--orange);font-size:22px;font-weight:700;white-space:nowrap;letter-spacing:-1px}.price small{font-size:12px;font-weight:500;margin-right:2px}.location{font-size:10px;color:var(--muted);margin-top:6px;display:flex;align-items:center;gap:4px}.location .icon{width:12px;height:12px}.rating{font-size:11px;color:#ac6d2a;margin:10px 0}.rating span{color:#8a8d83;margin-left:6px;font-size:10px}.reason{font-size:11px;line-height:1.7;color:#62725c;background:#f1f4ea;padding:9px 11px;border-radius:9px}.card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:13px;padding-top:9px;font-size:10px;color:#7b8073}.card-foot .text-button{min-height:26px;color:var(--orange)}.alternatives{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}.new-banner{display:flex;align-items:center;gap:16px;background:#e9eddf;border-radius:18px;padding:18px;margin:25px 0 10px;width:100%;text-align:left}.new-stamp{font-family:Georgia,serif;color:#5b7250;border:1px dashed #99aa83;outline:1px solid #bcc6ab;outline-offset:3px;width:47px;height:47px;display:grid;place-content:center;text-align:center;transform:rotate(-8deg);font-size:14px}.new-stamp small{font-size:8px}.new-banner h3{font-size:16px}.new-banner p{font-size:10px;color:#728068;margin-top:5px}.new-banner>.icon{margin-left:auto}.reassurance{display:flex;justify-content:center;align-items:center;gap:7px;color:#7e8977;font-size:10px;margin-top:24px;padding-bottom:12px}.reassurance .icon{width:13px;height:13px}.demo-note{text-align:center;font-size:9px;color:#969b90;margin-top:14px;line-height:1.8}#navigation{position:fixed;bottom:0;width:min(100%,480px);height:calc(73px + env(safe-area-inset-bottom));padding:8px 12px calc(8px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-around;background:#fffefbf5;border-top:1px solid #e7e7db;z-index:15;backdrop-filter:blur(15px)}.nav-item{display:grid;justify-items:center;gap:4px;width:70px;font-size:10px;color:#8a8e80;min-height:52px}.nav-item.active{color:var(--orange);font-weight:700}.nav-item .icon{width:22px;height:22px}.nav-item.active:after{content:'';width:4px;height:4px;background:var(--orange);border-radius:50%;position:absolute;bottom:6px}.page-top{display:flex;align-items:center;gap:10px;min-height:78px}.back,.round-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;flex-shrink:0}.page-top h1{font-size:22px;letter-spacing:-1px}.page-top .text-button{margin-left:auto}.subtitle{font-size:12px;color:var(--muted);line-height:1.8;margin-top:6px}.search{display:flex;align-items:center;border:1px solid var(--line);border-radius:13px;padding:0 13px;background:var(--white);margin:12px 0}.search .icon{width:18px;color:var(--muted)}.search input{border:0;outline:none;background:none;min-width:0;width:100%;height:45px;padding:0 10px;font-size:12px;color:var(--ink)}.tabs{display:flex;gap:8px;overflow-x:auto;padding:8px 0 14px;scrollbar-width:none}.list-card{display:flex;align-items:center;gap:13px;width:100%;padding:14px 0;border-bottom:1px solid var(--line);text-align:left}.list-card img{width:91px;height:91px;border-radius:14px;flex-shrink:0}.list-content{flex:1;min-width:0}.list-content h3{font-size:14px}.list-content .price{font-size:17px}.row{display:flex;align-items:center;justify-content:space-between;gap:8px}.label{font-size:10px;background:#e9eedf;color:#56674f;padding:4px 7px;border-radius:6px;display:inline-block}.label.orange{background:var(--orange-soft);color:var(--orange)}.detail-cover{margin:0 -22px;position:relative}.detail-cover img{height:270px}.detail-body{padding-top:22px}.detail-body .card-heading h1{font-size:24px;letter-spacing:-1px}.detail-description{font-size:12px;line-height:1.9;color:#7b8174;margin:13px 0 18px}.tags{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.panel{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:17px;margin:15px 0}.panel h3{font-size:14px;margin-bottom:8px}.panel p{font-size:12px;line-height:1.8;color:#707a6d}.warning{background:#f7efdf;color:#86622f;font-size:11px;line-height:1.8;padding:12px;border-radius:12px;display:block;width:100%;text-align:left;margin:10px 0}.review{padding:16px 0;border-bottom:1px solid var(--line)}.review-head{display:flex;gap:9px;align-items:center;font-size:12px}.review-head small{font-size:9px;color:var(--muted)}.review-head .rating{margin-left:auto}.review p{font-size:12px;line-height:1.9;margin-top:10px}.review .label{font-size:9px}.detail-actions{display:flex;gap:10px;position:sticky;bottom:85px;background:var(--paper);padding:10px 0;margin-top:15px}.primary,.secondary,.danger{padding:13px 17px;border-radius:12px;min-height:45px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary{background:var(--orange);color:white}.secondary{background:var(--green);color:var(--ink);border:1px solid #dae0d1}.danger{background:#f7e9e3;color:#a4482d}.full{width:100%}.detail-actions>*{flex:1}.empty{padding:35px 15px;text-align:center;border:1px dashed #d8ddcf;border-radius:16px;margin:15px 0}.empty .icon{color:#98a18e;width:32px;height:32px;margin-bottom:12px}.empty h3{font-size:14px}.empty p{font-size:11px;line-height:1.9;color:var(--muted);margin:9px auto;max-width:260px}.profile{display:flex;align-items:center;gap:15px;padding:15px 0 20px}.profile .avatar{width:66px;height:66px;font-size:25px;background:#e5eacb}.profile h1{font-size:25px}.profile p{font-size:11px;color:var(--muted);margin-top:7px}.stats{display:grid;grid-template-columns:repeat(3,1fr);background:var(--white);border:1px solid var(--line);border-radius:17px;padding:20px 0;margin:5px 0 20px}.stats button{display:grid;gap:5px;text-align:center;border-right:1px solid var(--line)}.stats button:last-child{border:0}.stats b{font-size:24px}.stats span{font-size:10px;color:var(--muted)}.menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;border-bottom:1px solid var(--line);text-align:left;font-size:13px;min-height:55px}.menu-item>.icon:last-child{margin-left:auto;color:#929a8b;width:16px}.menu-item small{margin-left:auto;color:var(--muted)}.mode-card{display:flex;align-items:center;gap:11px;background:#e9eedf;border-radius:16px;padding:18px}.mode-card p{font-size:10px;color:#6c7d61;margin-top:5px}.mode-card h3{font-size:14px}.mode-card>.icon{width:26px;height:26px;color:#648454}.switch{position:relative;width:43px;height:25px;border-radius:99px;background:#afb5a4;flex-shrink:0;margin-left:auto;min-height:25px}.switch:after{content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:transform .2s}.switch[aria-checked=true]{background:#55794f}.switch[aria-checked=true]:after{transform:translateX(18px)}.meal-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 10px}.meal-heading h3{font-size:15px}.meal-heading small{color:var(--muted);font-size:10px;margin-left:7px;font-weight:400}.add-meal{border:1px dashed #d4dbcc;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:16px;font-size:11px;color:#899480}.diary-row{background:var(--white);border-radius:12px;padding:13px;display:flex;gap:12px;align-items:center;margin-bottom:8px}.diary-row img{width:48px;height:48px;border-radius:10px}.diary-row h3{font-size:12px}.diary-row p{font-size:10px;color:var(--muted);margin-top:4px}.diary-row>button{margin-left:auto}.date-row{display:flex;justify-content:space-between;align-items:center;margin:10px 0 20px}.date-row input{padding:7px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);font-size:12px}.cal-total{font-size:29px;font-weight:700;margin:12px 0}.cal-total small{font-size:12px;font-weight:400}.chat-intro{text-align:center;padding:25px 10px}.chat-intro img{width:55px;height:55px;margin:0 auto 16px}.chat-intro h2{font-size:21px}.chat-intro p{font-size:12px;line-height:1.9;color:var(--muted);margin:10px 0}.suggestions{display:grid;gap:9px;margin:20px 0}.suggestions button{border:1px solid var(--line);border-radius:12px;padding:13px;background:var(--white);text-align:left;font-size:12px;display:flex;justify-content:space-between}.message{margin:18px 0}.message.user{display:flex;justify-content:flex-end}.message-text{padding:13px 15px;line-height:1.9;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;background:#fffefb;border:1px solid var(--line)}.message.user .message-text{background:#e9eedf;border:0;max-width:87%;border-bottom-right-radius:3px}.message-meta{font-size:9px;color:var(--muted);margin-bottom:5px;display:flex;align-items:center;gap:5px}.message-meta img{width:20px;height:20px}.message .list-card img{width:54px;height:54px}.message .list-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:10px;margin:8px 0}.sources{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.sources button{font-size:9px;padding:6px 8px;border:1px solid var(--line);border-radius:6px}.chat-composer{position:fixed;bottom:74px;width:min(calc(100% - 44px),436px);display:flex;gap:8px;background:var(--white);border:1px solid #d7ddce;border-radius:16px;padding:9px;z-index:12;box-shadow:0 4px 20px #243f3310}.chat-composer textarea{resize:none;background:none;border:0;min-width:0;width:100%;font-size:12px;padding:8px;max-height:100px;outline:none;color:var(--ink)}.chat-composer button{align-self:flex-end;width:39px;height:39px;border-radius:11px;background:var(--orange);color:white;display:grid;place-items:center}.chat-space{height:75px}.error-banner{background:#f6e7dd;color:#884e31;padding:12px;border-radius:12px;font-size:11px;line-height:1.8;margin:10px 0}.transaction{padding:15px 0;border-bottom:1px solid var(--line)}.transaction h3{font-size:13px}.transaction p{font-size:10px;color:var(--muted);margin:6px 0}.transaction .price{font-size:18px}dialog{border:0;padding:0;color:var(--ink);background:var(--paper);border-radius:24px 24px 0 0;width:min(100%,480px);max-width:480px;max-height:90dvh;margin:auto auto 0;box-shadow:0 -10px 100px #20362a20}dialog::backdrop{background:#15291f6b;backdrop-filter:blur(2px)}#sheet-content{padding:8px 24px 30px;overflow-y:auto}.handle{width:35px;height:4px;background:#d4d8cc;border-radius:10px;margin:4px auto 14px}.sheet-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.sheet-title h2{font-size:21px}.sheet-title button{width:36px;height:36px;display:grid;place-items:center}.field{display:grid;gap:7px;margin:14px 0;font-size:12px}.field input,.field select,.field textarea{width:100%;min-height:43px;padding:11px 12px;border:1px solid #d9dfd1;background:var(--white);border-radius:10px;color:var(--ink);font-size:12px}.field textarea{min-height:85px;resize:vertical}.field small{color:var(--muted);font-size:10px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-actions{display:flex;gap:10px;margin-top:23px}.form-actions>*{flex:1}.check-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:7px 0;margin-right:10px}.check-label input{accent-color:var(--orange);width:16px;height:16px}.account-option{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:15px;border:1px solid var(--line);border-radius:15px;margin:10px 0;background:var(--white)}.account-option h3{font-size:14px}.account-option p{font-size:10px;color:var(--muted);margin-top:5px}.account-option .icon{margin-left:auto}.stars{display:flex;gap:8px;margin:17px 0}.stars label{font-size:28px;color:#c6c8b9;cursor:pointer}.stars input{position:absolute;opacity:0;width:1px;height:1px}.stars label:has(input:checked){color:#c68232}.stars input:focus-visible+span{outline:2px solid var(--orange)}#toast{position:fixed;left:50%;bottom:100px;transform:translate(-50%,15px);background:#263d33f2;color:white;font-size:12px;padding:12px 20px;max-width:90%;border-radius:12px;z-index:99;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.inline-error{font-size:12px;color:#ac402b;line-height:1.7;margin:12px 0}.admin-row{padding:13px 0;border-bottom:1px solid var(--line)}.admin-row h3{font-size:13px}.admin-row small{color:var(--muted)}.admin-row .text-button{color:var(--orange)}.admin-actions{display:flex;gap:12px}.small-note{font-size:10px;color:var(--muted);line-height:1.8;margin:12px 0}@keyframes bob{50%{transform:translateY(-8px)}}@media(min-width:1000px){body{background-color:#edeee5;background-image:radial-gradient(#a0ab942e .8px,transparent .8px);background-size:13px 13px}.app-shell{margin-left:calc(50% + 15px);margin-right:40px}.desktop-note{display:block;position:fixed;left:calc(50% - 435px);top:16%;width:350px}.wordmark{font-size:41px;font-weight:900;letter-spacing:-2px}.wordmark span{display:block;font-size:8px;letter-spacing:2px;margin-top:8px;color:#7c8972}.desktop-note h1{font-family:'Noto Sans SC',sans-serif;font-size:44px;letter-spacing:-2px;line-height:1.65;margin-top:55px;font-weight:700}.desktop-note>p{font-size:13px;line-height:2.3;color:#89907e;margin-top:23px}.note-mark{margin-top:65px;font-size:11px;color:#7d8973;border-top:1px solid #d2d9c7;padding-top:23px}.note-mark span{display:block;font-size:8px;letter-spacing:2px;margin-top:8px}#toast{left:calc(50% + 255px)}}@media(max-width:359px){#app{padding-left:16px;padding-right:16px}.intro h1{font-size:31px}.chip{padding:8px 10px}.card-heading h3{font-size:15px}.chat-composer{width:calc(100% - 32px)}.campus{font-size:10px}.detail-cover{margin:0 -16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* 让主推荐的菜名和价格在常见手机首屏内可见。 */
.header{height:73px}.intro{padding:6px 0 18px}.intro h1{font-size:32px;line-height:1.4;margin-top:8px}.filters{margin:12px 0 20px}.section-heading{margin:20px 0 13px}.cover img{height:185px}
#floating-assistant{position:fixed;z-index:20;left:calc(100% - 86px);top:60%;width:78px;height:94px;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;border-radius:22px;filter:drop-shadow(0 5px 10px #47352026)}
#floating-assistant img{width:62px;height:62px;object-fit:contain;pointer-events:none;transition:transform .18s}
#floating-assistant span{background:#fffdf5;border:1px solid #e8d9a1;border-radius:99px;padding:5px 8px;font-size:10px;line-height:14px;white-space:nowrap;pointer-events:none;color:#4e432d}
#floating-assistant b{font-size:8px;color:#8a7023;margin-left:2px}
#floating-assistant:hover img,#floating-assistant:focus-visible img{transform:translateY(-3px)}
#floating-assistant.dragging{cursor:grabbing;filter:drop-shadow(0 9px 12px #47352040)}
#floating-assistant.dragging img{transform:scale(1.06) rotate(-6deg)}

/* 新菜收藏独立于详情按钮，保持触屏操作区与上架日期清晰。 */
.new-dish { margin-bottom: 16px; }
.new-dish > .row { padding: 0 12px 10px; gap: 12px; }

/* 聊天页已有输入区，隐藏重复入口并移出键盘焦点顺序。 */
#floating-assistant[hidden]{display:none}
/* 第一轮阅读层级：减少首页重复信息，把触控空间留给真实操作。 */
:root{--muted:#687361}
.location,.rating,.rating span,.small-note,.subtitle,.label,.demo-note,.campus,.hello,.intro p,.new-banner p,.reassurance,.nav-item,.message-meta,.error-banner{font-size:12px;line-height:1.65}
.text-button,.chip,.sources button{font-size:13px;min-height:44px}
.back,.round-button,.favorite,.header .avatar,.sheet-title button{width:44px;height:44px;flex-shrink:0}
.primary,.secondary,.danger,.field,.field input,.field select,.field textarea,.search input{font-size:15px;min-height:44px}
.list-content h3{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.list-content .row{align-items:flex-start}.list-content .price{flex-shrink:0}
.list-content .label{margin:2px 4px 0 0}
.card-heading>button{padding:0;min-height:44px;text-align:left;min-width:0;flex:1}.card-heading>.price{flex-shrink:0}.card-heading h3{font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.header{height:72px}.intro{padding:4px 0 12px}.intro h1{text-align:right;font-size:28px;line-height:1.4;margin-top:8px;letter-spacing:-1px}.intro p{margin-top:8px}
.hello{letter-spacing:.5px}.filters{gap:8px;margin:12px 0 16px}.chip{padding:8px 10px}.chip:last-child{min-width:44px;justify-content:center}
.section-heading{gap:8px;margin:16px 0 12px}.section-heading h2{font-size:18px}.section-title{gap:6px;flex-shrink:0}
.recommendation-progress{display:flex;align-items:flex-end;flex-direction:column}.recommendation-progress>span{font-size:12px;color:var(--muted)}
.recommendation-progress .text-button{padding:4px 0}.cover img{height:180px}.pick-badge,.image-note{font-size:12px}
.card-body{padding:12px 16px}.card-body .location{margin-top:0}.recommendation-reasons{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.recommendation-reasons span{font-size:13px;line-height:1.65;color:#53654b;background:var(--green);padding:4px 8px;border-radius:6px}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:4px;margin-top:12px}
.card-foot .rating{margin:0}.card-foot .text-button{flex-shrink:0;font-size:12px}.card-foot .rating span{display:block;margin-left:0}
.alternatives{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
.alternative-card{position:relative;border:1px solid var(--line);border-radius:16px;background:var(--white);padding:12px}
.alternative-card .list-card{border:0;padding:0;padding-right:36px;align-items:flex-start;gap:12px}.alternative-card .list-card img{width:64px;height:72px;border-radius:10px}
.alternative-card .list-content .row{display:block}.alternative-card .list-content .price{display:block;margin-top:4px}
.alternative-card .favorite{right:6px;top:8px;background:transparent}.alternative-card .rating{margin:6px 0}.alternative-card .list-content>.label{display:none}
.alternative-reason{font-size:13px;line-height:1.65;color:#53654b;margin:8px 0 0 76px;overflow-wrap:anywhere}
/* 聊天成为独立阅读页，原生 details 保留键盘展开能力。 */
#navigation[hidden]{display:none}#app.chat-page{padding-bottom:16px}
.chat-page .page-top{position:sticky;top:0;z-index:10;background:var(--paper);min-height:72px}.chat-page .page-top h1{font-size:22px}
.chat-intro p,.suggestions button{font-size:15px;line-height:1.7}.chat-intro{padding:32px 0 16px}
.message{margin:24px 0}.message-text{font-size:16px;line-height:1.7;padding:12px 16px}.message-meta{gap:8px;margin-bottom:8px}
.message .list-card{margin:0;border:0;border-radius:0;padding:12px;background:transparent}.message .list-card img{width:64px;height:72px;border-radius:10px}.message .rating{margin:6px 0}
.chat-dish{margin-top:12px;background:var(--white);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.chat-reason{font-size:15px;line-height:1.7;padding:12px;border-top:1px solid var(--line);color:#53654b;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-sources summary{font-size:13px;min-height:44px;padding:12px 0;cursor:pointer;color:var(--muted)}.chat-sources summary span{margin-left:8px;font-size:12px}.sources{margin:0;gap:8px}
.chat-composer{bottom:calc(12px + env(safe-area-inset-bottom));align-items:flex-end;gap:8px;padding:8px;border-radius:16px}
.chat-composer textarea{font-size:16px;line-height:1.65;min-height:44px;max-height:144px;padding:8px;overflow-y:auto}
.chat-composer button{width:44px;height:44px;flex-shrink:0}.chat-composer textarea:focus-visible{outline:2px solid #bd562f;outline-offset:0;border-radius:8px}
.chat-space{height:calc(var(--composer-height,62px) + 20px + env(safe-area-inset-bottom))}.chat-status{font-size:13px;line-height:1.7;color:var(--muted);padding:8px 0}
.chat-failure{padding:12px 16px;background:var(--orange-soft);border-radius:12px;color:#884e31;font-size:14px;line-height:1.7}.chat-failure .text-button{color:#884e31;text-decoration:underline}
.sending-dots{font-size:24px;letter-spacing:2px}.chat-page .error-banner{margin:0 0 16px}
@media(max-width:359px){.intro h1{font-size:26px}.section-heading h2{font-size:16px}.campus{font-size:11px}.card-body{padding:12px}.alternative-card .list-card{gap:8px}.alternative-card .list-card img{width:52px;height:64px}.alternative-reason{margin-left:60px}.message .list-card img{width:48px;height:60px}.message .list-card{gap:8px}.chat-page .page-top h1{font-size:20px}}
/* 第二轮：详情围绕选餐依据，登记围绕确认已吃过的一餐。 */
.detail-description,.review p,.panel p{font-size:15px;line-height:1.75}
.detail-body>.card-heading{align-items:flex-start}.detail-body h1{min-width:0;overflow-wrap:anywhere}
.preference-notice{margin:16px 0;padding:12px 16px;border-left:3px solid #718464;background:var(--green);border-radius:0 12px 12px 0}
.preference-notice h2{font-size:15px}.preference-notice .small-note{margin:8px 0 0;color:#53654b}
.warning{font-size:13px;line-height:1.7;background:#f4efe2;color:#785d35}.review-head small,.review .label{font-size:12px}
.detail-actions{position:fixed;bottom:calc(73px + env(safe-area-inset-bottom));width:min(calc(100% - 44px),436px);z-index:14;margin:0;padding:12px 0;border-top:1px solid var(--line);gap:8px}
.detail-actions .primary{flex:1.4}.detail-actions button{padding:12px 8px;font-size:14px;white-space:nowrap}.detail-body{padding-bottom:76px}
.record-summary{display:flex;align-items:center;gap:12px;padding:12px;background:var(--white);border:1px solid var(--line);border-radius:12px}
.record-summary[hidden]{display:none}.record-summary img{width:56px;height:56px;border-radius:10px;flex-shrink:0}.record-summary h3{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.record-summary p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:4px}
.record-food summary,.record-options summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px;line-height:1.6;color:#53654b}
.record-options{border-top:1px solid var(--line);margin-bottom:12px}.record-food{margin-top:8px}
.save-confirmation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;background:var(--green);border:1px solid #d4ddc8;border-radius:12px;padding:8px 12px;margin:0 0 16px;font-size:13px}
.save-confirmation .text-button{color:var(--ink)}.favorite-row>.small-note{margin:0;padding:8px 0 12px}.favorite-row .list-card{border:0}.favorite-row{border-bottom:1px solid var(--line)}
.empty .secondary{margin-top:16px}.admin-tabs{margin-bottom:16px}.admin-tabs .chip{flex:1;justify-content:center}.admin-row h3{font-size:16px;line-height:1.6;overflow-wrap:anywhere}.admin-row small,.admin-row p{font-size:13px;line-height:1.65;color:var(--muted)}
#floating-assistant{width:64px;height:76px;padding:2px;gap:0;border-radius:18px}#floating-assistant img{width:48px;height:48px}#floating-assistant span{font-size:10px;padding:3px 6px}#floating-assistant b{font-size:9px}
#loading-status{position:fixed;z-index:100;top:12px;left:50%;transform:translateX(-50%);padding:8px 16px;border:1px solid var(--line);border-radius:99px;background:var(--white);color:var(--ink);font-size:13px;box-shadow:0 2px 12px #263d331a;pointer-events:none}
@media(min-width:1000px){#loading-status{left:calc(50% + 255px)}}
@media(max-width:359px){.detail-actions{width:calc(100% - 32px)}.detail-actions button{font-size:13px;padding:12px 6px}}
