:root{color-scheme:light;--bg:#f8f6f1;--surface:#fffdf9;--ink:#383d35;--muted:#6c7065;--line:#dedfd5;--accent:#7c6546;--soft:#eeeee3;--error:#a84432}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer;min-height:44px}button:disabled{cursor:default;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit}button{transition:background .15s}button:active{opacity:.75}.app{max-width:680px;margin:auto;padding:32px 28px 0}header{display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{text-decoration:none;letter-spacing:2px;font-size:23px;font-weight:500;display:flex;align-items:center;gap:8px}.brand span{width:5px;height:5px;border-radius:50%;background:#bc956a}.actor{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.actor select{font-size:12px;background:transparent;border:1px solid var(--line);padding:5px 7px;border-radius:20px;min-height:36px}.space-switch{display:flex;margin:31px 0 0;background:var(--soft);padding:4px;border-radius:12px;gap:4px}.space-switch button{flex:1;border:0;border-radius:8px;background:transparent;font-size:14px;color:var(--muted)}.space-switch button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 2px 5px #343b2510}main{min-height:480px;padding:32px 0}h1{font-family:"Songti SC",serif;font-weight:400;font-size:29px;letter-spacing:1px;line-height:1.5;margin:0 0 10px}h2{font-size:17px;font-weight:500;margin:0}h3{font-size:16px;font-weight:500;margin:0 0 6px}.muted{color:var(--muted);font-size:12px;margin:0}.section-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:21px}.subtle{color:var(--muted);font-size:11px}.primary{background:var(--accent);color:#fffdf8;border:0;border-radius:7px;padding:10px 17px;font-size:13px}.secondary{background:transparent;border:1px solid var(--line);border-radius:7px;padding:9px 14px;font-size:13px}.text-button{background:transparent;border:0;font-size:13px;color:var(--accent);padding:6px 0}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.welcome{padding-bottom:24px}.home-image{width:100%;height:170px;object-fit:cover;border-radius:10px;margin:9px 0 23px}.home-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;background:transparent;border:0;border-top:1px solid var(--line);padding:17px 0}.home-row strong{font-weight:400;font-size:15px}.home-row small{font-size:11px;color:var(--muted)}.home-chat{border:1px solid var(--line);border-radius:10px;padding:20px;margin-top:24px}.home-chat p{font-size:13px;margin:10px 0;color:var(--muted)}.home-chat .text-button{min-height:36px}.list{display:grid;gap:12px}.resource{border:1px solid var(--line);border-radius:10px;background:transparent;padding:17px 18px}.resource-top{display:flex;gap:12px;justify-content:space-between;align-items:baseline}.resource-top button{font-size:16px;text-align:left;min-height:32px;padding:0;background:none;border:0;overflow-wrap:anywhere}.resource p{font-size:12px;color:var(--muted);margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.resource .actions{margin-top:10px;gap:18px}.resource .text-button{min-height:36px;font-size:12px}.owner{font-size:10px;color:var(--muted);white-space:nowrap}.filter{display:flex;gap:8px;margin-bottom:19px}.filter button{border:1px solid var(--line);border-radius:22px;background:transparent;padding:7px 19px;font-size:13px}.filter button[aria-pressed=true]{background:var(--soft);border-color:#c9cdbb}.empty{padding:45px 14px;text-align:center;color:var(--muted);font-size:13px}.status{font-size:11px;padding:2px 8px;border-radius:20px;background:var(--soft);white-space:nowrap}.chat-log{display:grid;gap:19px;margin-bottom:24px;max-height:520px;overflow:auto;padding:4px 2px}.message{max-width:92%;justify-self:start;min-width:160px}.message.mine{justify-self:end}.message-meta{font-size:10px;color:var(--muted);margin-bottom:6px}.bubble{background:var(--soft);border-radius:0 10px 10px 10px;padding:13px 15px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.mine .bubble{background:#e6e8dc;border-radius:10px 0 10px 10px}.message.ai .bubble{background:var(--surface);border:1px solid var(--line)}.message.mention .bubble{border-left:3px solid #ae8860}.chat-compose{border-top:1px solid var(--line);padding-top:16px}.chat-compose textarea{min-height:78px}.chat-compose .actions{margin-top:10px;justify-content:flex-end}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.chips button{border:1px solid var(--line);border-radius:20px;background:transparent;font-size:11px;padding:5px 10px;min-height:36px}.proposal{border:1px solid #c0c9af;border-radius:8px;padding:13px;margin-top:9px;font-size:12px;background:#f2f4ea}.proposal p{margin:3px 0 8px}.plan{display:flex;gap:12px;align-items:flex-start;border-bottom:1px solid var(--line);padding:18px 0}.plan-content{flex:1;overflow-wrap:anywhere}.plan-content p{margin:0;font-size:14px}.plan-content small{font-size:11px;color:var(--muted)}.check{width:44px;flex-shrink:0;border:1px solid var(--line);background:transparent;border-radius:8px;font-size:18px}.plan.done .plan-content p{text-decoration:line-through;color:var(--muted)}.plan .actions{margin-top:5px;gap:14px}.plan .text-button{font-size:11px;min-height:32px}.agreement{border-left:2px solid #bd9d73;padding-left:15px}.detail-note{font-size:13px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.recipe-block{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;margin:19px 0}.detail-label{font-size:11px;color:var(--muted);margin:20px 0 5px}nav{position:sticky;bottom:0;display:flex;background:var(--bg);border-top:1px solid var(--line);padding:8px 0 max(8px,env(safe-area-inset-bottom));z-index:2}nav button{flex:1;border:0;background:transparent;color:var(--muted);font-size:12px;border-radius:8px}nav button[aria-current=page]{background:var(--soft);color:var(--ink)}footer{text-align:center;font-size:10px;color:var(--muted);padding:21px 0 24px}footer a{display:inline-block;margin-top:7px;text-decoration:none}dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:13px;width:min(480px,calc(100% - 28px));max-height:90dvh;padding:25px;box-shadow:0 20px 80px #343b251c}dialog::backdrop{background:#34383145;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dialog-top h2{font-size:21px;font-weight:400;font-family:"Songti SC",serif}.close{background:none;border:0;padding:0;width:44px;font-size:25px}.actions .close{font-size:13px;width:auto;border:1px solid var(--line);padding:9px 14px}form label{display:block;font-size:12px;color:var(--muted);margin:14px 0}input,textarea,form select{width:100%;background:var(--bg);border:1px solid #b7bdaa;border-radius:7px;padding:10px 12px;font-size:16px;margin-top:6px}textarea{resize:vertical}form>.primary{width:100%;margin-top:10px}.error{font-size:12px;color:var(--error)}.error:empty{display:none}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 17px;border-radius:8px;font-size:12px;max-width:calc(100% - 40px);opacity:0;pointer-events:none;z-index:5}#toast.show{opacity:1}[hidden]{display:none!important}@media(max-width:600px){.app{padding:25px 22px 0}main{padding:27px 0;min-height:430px}h1{font-size:26px}.home-image{height:150px}.actor{gap:4px;font-size:9px}.actor select{font-size:11px}.resource{padding:15px}.chat-log{max-height:440px}.message{max-width:95%}dialog{padding:22px}.space-switch{margin-top:25px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.home-chat p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
/* Visual direction: a quiet home album, with objects before explanations. */
:root{--bg:#f7f7f2;--surface:#ffffff;--ink:#343e36;--muted:#6b746b;--line:#e5e8df;--accent:#607862;--soft:#edf1e7}.app{max-width:680px;padding-top:28px}header{padding:0 2px}.brand{font-size:21px;letter-spacing:2px}.brand span{background:#c29472}.actor{gap:0}.actor select{border:0;background:#e9eee2;min-height:38px;border-radius:50px;padding:7px 12px}.space-switch{width:270px;margin:26px auto 0;border-radius:30px;padding:4px;background:#e8ece2}.space-switch button{min-height:39px;border-radius:24px;font-size:12px}.space-switch button[aria-pressed=true]{box-shadow:0 3px 10px #4b614215}.section-top{margin-bottom:24px}h1{font-size:27px;letter-spacing:2px}.page-home .section-top{margin-bottom:18px}main{padding-top:28px;min-height:460px}.visual-hero{position:relative;display:block;width:100%;height:238px;border:0;border-radius:20px;overflow:hidden;padding:0;text-align:left;background:#e9e9dc}.hero-photo{width:100%;height:100%;object-fit:cover;display:block}.visual-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#faf7edb8,transparent 85%)}.hero-text{position:absolute;left:26px;top:50%;transform:translateY(-50%);z-index:1;display:grid;gap:13px}.hero-text small{font-size:8px;letter-spacing:2px;color:#5c6656}.hero-text strong{font:400 25px/1.5 "Songti SC",serif;letter-spacing:1px;color:#344235}.hero-link{font-size:11px;color:#53644f;margin-top:4px}.home-tiles{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:19px}.visual-tile{border:0;border-radius:17px;overflow:hidden;background:#e9eddf;text-align:left;padding:0;position:relative}.visual-tile:nth-child(2){background:#f0e6d6}.tile-art{display:block;width:100%;height:145px;object-fit:cover}.tile-caption{display:grid;grid-template-columns:1fr auto;gap:4px;padding:0 19px 18px;position:relative}.tile-caption strong{font-size:17px;font-weight:500;letter-spacing:1px}.tile-caption small{font-size:10px;color:#626f5d;grid-column:1}.tile-arrow{font-size:17px;color:#617257;position:absolute;right:19px;bottom:24px}.fridge-tile{display:flex;align-items:center;width:100%;border:0;background:#eef1e7;border-radius:16px;margin-top:16px;padding:0 18px;text-align:left;position:relative;min-height:96px}.fridge-art{height:91px;width:91px;object-fit:contain;margin:-3px 7px -3px -7px}.fridge-copy{display:grid;gap:7px}.fridge-copy strong{font-size:16px;font-weight:500}.fridge-copy small{font-size:11px;color:var(--muted)}.fridge-tile .tile-arrow{bottom:auto;top:35px}.note-tile{position:relative;display:grid;gap:6px;text-align:left;width:100%;padding:20px 24px;margin-top:20px;border:0;border-radius:4px 15px 15px 15px;background:#f3edde;box-shadow:0 6px 16px #69603c06}.note-tile small{font-size:10px;color:#7f735e}.note-tile strong{font-size:13px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:16px}.note-pin{width:6px;height:6px;background:#bda485;border-radius:50%;position:absolute;top:12px;left:12px}.note-tile .tile-arrow{bottom:24px;color:#8b7859}body[data-space=shared] .space-switch{background:#f0e7de}body[data-space=shared] .space-switch button[aria-pressed=true]{background:#fffaf4}body[data-space=shared] .visual-hero:after{background:linear-gradient(90deg,#faf4e8cf,transparent 90%)}body[data-space=shared] .hero-photo{object-position:70% 50%}body[data-space=shared] .fridge-tile{background:#f0eee4}nav{border:1px solid #e8ebe2;border-radius:23px;background:#fffffff2;backdrop-filter:blur(12px);margin-bottom:10px;padding:7px 7px max(7px,env(safe-area-inset-bottom));box-shadow:0 8px 30px #35452c0b;bottom:12px;gap:4px}nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:16px;font-size:9px;min-height:53px;color:#7a8478}nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}nav button[aria-current=page]{background:#edf2e7;color:#526d4f}footer{font-size:10px;padding:7px 0 25px;opacity:.8}footer details{text-align:center}footer summary{cursor:pointer;min-height:32px;padding:5px;list-style:none}footer summary::-webkit-details-marker{display:none}footer p{font-size:10px;margin:4px 0}.list{grid-template-columns:1fr 1fr;gap:17px}.resource{padding:0;overflow:hidden;border:0;border-radius:16px;background:#fff}.resource-cover{display:block;width:100%;border:0;padding:0;background:#edf1e4}.resource-art{display:block;width:100%;height:157px;object-fit:cover}.resource-top{display:block;padding:13px 16px 0}.resource-top button{font-size:14px;min-height:36px;line-height:1.5}.owner{font-size:9px;display:block;margin:2px 0 0;color:#71816b}.owner:empty{display:none}.resource p{padding:0 16px;margin:2px 0 0;font-size:11px;line-height:1.5;color:#778073}.resource-note{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.resource .actions{margin:10px 16px 10px;gap:10px;align-items:center}.resource .text-button{font-size:10px;min-height:36px;flex:1;text-align:left;white-space:nowrap;color:#60745b}.resource.fridge{position:relative;background:#edf1e5;min-height:160px;padding-right:105px;grid-column:1/-1}.resource.fridge .inventory-art{position:absolute;right:7px;top:7px;width:120px;height:120px;object-fit:contain}.resource.fridge .resource-top{padding-top:18px}.resource.fridge .owner{font-size:9px}.resource.fridge .actions{margin-top:12px;justify-content:flex-start}.filter{gap:8px}.filter button{border:0;background:#ecefe5;border-radius:22px;min-height:40px;font-size:12px;padding:6px 23px}.filter button[aria-pressed=true]{background:#687f61;color:white}.secondary{border-color:#dce3d4;border-radius:20px;background:white;font-size:12px}.primary{border-radius:20px;font-size:12px}.conversation-page .section-top{margin-bottom:18px}.chat-log{background:#fff;border-radius:18px;padding:22px 18px;gap:23px;max-height:430px}.message{position:relative;padding-left:33px;max-width:100%;width:100%;justify-self:stretch;min-width:0}.message.mine{justify-self:stretch}.message-avatar{position:absolute;left:0;top:1px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e4ecdf;color:#5f7759;font-size:9px}.mine .message-avatar{background:#ede3d6;color:#8b7457}.message-meta{font-size:9px;line-height:25px;margin:0 0 4px}.bubble,.mine .bubble,.message.ai .bubble{background:transparent;border:0;border-radius:0;padding:0;font-size:13px;line-height:1.8}.message.mention .bubble{border:0}.message.mention .message-meta:after{content:" · @你";color:#936b3e}.message-save{font-size:16px;color:#7c8975;position:absolute;top:0;right:-5px;min-height:30px;width:30px;border:0;background:none}.chat-recipe{border:0;border-radius:11px;background:#f1f3e9;display:flex;align-items:center;width:100%;padding:0;overflow:hidden;margin:10px 0 0;text-align:left;min-height:68px;gap:12px}.chat-recipe img{width:78px;height:68px;object-fit:cover;flex-shrink:0}.chat-recipe strong{font-size:12px;font-weight:400;padding-right:7px;overflow-wrap:anywhere}.chat-compose{border:0;background:white;border-radius:17px;padding:11px 13px}.chat-compose textarea{background:transparent;border:0;min-height:54px;padding:8px;font-size:14px;margin:0}.chat-compose .actions{gap:7px;align-items:center;margin-top:0}.chat-compose .secondary,.chat-compose .primary{font-size:11px;padding:7px 11px;min-height:38px}.chips{margin:14px 0;gap:6px}.chips button{background:#eef1e6;border:0;font-size:10px;min-height:33px;padding:5px 10px}.proposal{background:#edf4e6;border:0;padding:13px;border-radius:12px}.plan{background:white;border:0;padding:18px;border-radius:14px;margin-bottom:12px}.plan.agreement{background:#f5eddf}.plan-content small{font-size:10px}.check{width:32px;height:32px;min-height:32px;display:grid;place-items:center;border-radius:50%;background:#eff3e9;line-height:1;border:0;font-size:17px}.plan-content .actions{justify-content:flex-end}.plan .text-button{font-size:10px}.section-top .secondary{white-space:nowrap}dialog{border:0;border-radius:21px}.dialog-top h2{font-family:inherit;font-size:20px}.dialog-top{margin-bottom:15px}.recipe-block{background:#f1f3eb;border-radius:12px;padding:16px;font-size:13px}.detail-note{font-size:12px}input,textarea,form select{border-color:#d9e0d2;border-radius:10px}.actions{gap:9px}.close{font-weight:300;color:var(--muted)}
@media(max-width:600px){.app{padding:23px 22px 0}.brand{font-size:20px}main{padding-top:24px;padding-bottom:24px;min-height:440px}h1{font-size:24px}.space-switch{margin-top:24px;width:258px}.visual-hero{height:190px;border-radius:17px}.hero-text{left:20px;gap:12px}.hero-text strong{font-size:22px}.hero-text small{font-size:7px;letter-spacing:1.7px}.home-tiles{gap:12px;margin-top:15px}.tile-art{height:115px}.tile-caption{padding:0 15px 15px}.tile-caption strong{font-size:16px}.tile-caption small{font-size:9px}.tile-arrow{right:15px;bottom:23px}.fridge-tile{min-height:83px;padding:0 15px;margin-top:13px}.fridge-art{width:79px;height:79px}.fridge-tile .tile-arrow{top:29px}.note-tile{margin-top:15px;padding:19px 23px}.list{gap:12px}.resource-art{height:123px}.resource-top{padding:10px 13px 0}.resource-top button{font-size:13px}.resource p{padding:0 13px;font-size:10px}.resource .actions{margin:5px 13px 8px;gap:5px}.resource .text-button{font-size:9px}.resource.fridge{min-height:148px;padding-right:80px}.resource.fridge .inventory-art{width:97px;height:110px;right:0;top:10px}.chat-log{padding:18px 13px;max-height:370px}.message{padding-left:32px}.message-avatar{width:24px;height:24px}.bubble,.mine .bubble,.message.ai .bubble{font-size:12px}.chat-compose .actions{gap:5px}.chat-compose .primary,.chat-compose .secondary{padding:6px 10px}.section-top{gap:8px}.section-top h1{font-size:23px}nav{bottom:9px}footer{padding-bottom:20px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Fresher artwork palette; layout remains unchanged. */
.visual-tile{background:#edf4ed}.visual-tile:nth-child(2){background:#f0f6f0}
.visual-hero:after{background:linear-gradient(90deg,#ffffff90,transparent 85%)}
body[data-space=shared] .visual-hero:after{background:linear-gradient(90deg,#fffefa98,transparent 90%)}
.resource-cover{background:#edf4ed}

/* One small illustrated invitation, in the same style as the shelves. */
.inspiration-card{display:flex;align-items:center;justify-content:space-between;position:relative;width:100%;height:130px;padding:0 22px;border:0;border-radius:17px;overflow:hidden;background:#edf3e9;text-align:left}
.inspiration-label{display:flex;align-items:center;gap:13px;flex-shrink:0;z-index:1}
.inspiration-label strong{font-size:17px;font-weight:500;letter-spacing:.5px}
.inspiration-arrow{font-size:17px;color:#758b6b}
.inspiration-art{width:205px;height:130px;object-fit:contain;margin-right:-16px}
body[data-space=shared] .inspiration-card{background:#f2f1e7}
@media(max-width:600px){.inspiration-card{height:108px;padding:0 19px;border-radius:16px}.inspiration-label{gap:9px}.inspiration-label strong{font-size:16px}.inspiration-art{width:172px;height:108px;margin-right:-19px}}
/* Keep the small note quieter than the main entry cards. */
.note-tile{background:#f3f5ef;box-shadow:none}
.note-tile small{color:#74806e}
.note-pin{background:#bdcbb5}
.note-tile .tile-arrow{color:#74836b}
/* Recipe cards and a light editor, following the accepted home palette. */
#detail{padding:22px;max-height:90dvh}#detail .dialog-top{margin-bottom:17px}
.recipe-detail-cover{display:block;width:100%;height:220px;object-fit:cover;border-radius:15px;background:#edf3e8}
.recipe-detail-meta{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0 13px}
.recipe-detail-meta span{font-size:10px;color:#64765b;padding:4px 9px;border-radius:20px;background:#eff3e9}
.recipe-section-title{font-size:14px;font-weight:500;margin:23px 0 11px;letter-spacing:1px}
.recipe-ingredients{list-style:none;padding:0;margin:0;border-radius:12px;background:#f3f6ef}
.recipe-ingredients li{padding:11px 15px;font-size:13px;border-bottom:1px solid #e6ecdf;overflow-wrap:anywhere}
.recipe-ingredients li:last-child{border:0}.recipe-steps{list-style:none;padding:0;counter-reset:step;margin:0;display:grid;gap:14px}
.recipe-steps li{counter-increment:step;position:relative;padding-left:34px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}
.recipe-steps li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;font-size:11px;color:#8ca17d}
.recipe-detail-actions{margin-top:25px}.recipe-detail-actions button{min-height:44px;flex:1;white-space:nowrap;padding:9px 12px;font-size:11px}
.recipe-delete{display:block;margin:22px auto 0;border:0;background:transparent;color:#818b7b;font-size:11px;min-height:44px}
.recipe-photo-field{position:relative}.recipe-photo-picker{position:relative;display:block;height:155px;overflow:hidden;border-radius:14px;background:#eef3e7;cursor:pointer;margin:0!important}
.recipe-photo-picker img{width:100%;height:100%;object-fit:cover;display:block}.recipe-photo-picker span{position:absolute;right:10px;bottom:10px;border-radius:20px;background:#fffffff0;padding:7px 12px;font-size:11px;color:#596f52}
.recipe-photo-field:focus-within .recipe-photo-picker{outline:2px solid var(--accent);outline-offset:3px}.recipe-photo-field>.text-button{font-size:11px;min-height:36px;margin:4px 0 0}
.recipe-meta-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.recipe-meta-fields input{font-size:14px}
#resource-form label{font-size:11px}#resource-form textarea{font-size:14px;line-height:1.8}#resource-form input:not([type=hidden]):not([type=file]){font-size:14px}
#resource-form>.primary{min-height:46px;margin-top:15px}.butler-tools{margin:0 0 15px}.butler-tools summary{font-size:11px;color:#718268;cursor:pointer;min-height:36px;padding:8px 0}
.butler-tools button{margin:4px 5px 5px 0;min-height:36px;padding:6px 11px;font-size:10px}
.butler-draft{margin-top:12px;background:#f0f5e8;border-radius:14px;padding:17px;overflow-wrap:anywhere}
.butler-draft>small{display:block;font-size:9px;letter-spacing:1px;color:#7b8e6d}.butler-draft>strong{display:block;font-weight:500;font-size:14px;margin:5px 0 11px}
.butler-draft dl{margin:0}.butler-draft dt{font-size:10px;color:#7b8e6d;margin-top:11px}.butler-draft dd{font-size:12px;line-height:1.8;margin:3px 0 0;white-space:pre-wrap;max-height:190px;overflow:auto}
.butler-draft .actions button{min-height:40px;font-size:11px;padding:7px 12px}.draft-state{font-size:11px;color:#718068;margin:12px 0 0}
@media(max-width:600px){.recipe-detail-cover{height:183px}.recipe-photo-picker{height:138px}.recipe-detail-actions{gap:7px}.recipe-detail-actions button{padding:8px 9px;font-size:10px}.butler-draft{padding:14px}}
/* Configuration stays in a separate panel, without crowding the home. */
.settings-button{background:#edf2e7;border:0;width:38px;height:38px;min-height:38px;display:grid;place-items:center;border-radius:50%;margin-left:8px;color:#6d8062}
.settings-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
header .actor{margin-left:auto}header .settings-button:last-child{flex-shrink:0}header:has(.actor[hidden]) .settings-button{margin-left:auto}
.settings-tabs{display:flex;gap:7px;margin:0 0 16px}.settings-tabs button{flex:1;border:0;border-radius:22px;background:#eef2e7;font-size:12px;padding:8px;min-height:40px}.settings-tabs button[aria-pressed=true]{background:#647d5e;color:white}
.settings-help{font-size:11px;color:#77816f;line-height:1.8;margin:10px 0}.settings-status{font-size:12px;color:#627954}.settings-status:empty{display:none}.settings-section-title{font-size:14px;margin-top:28px;font-weight:500}
#settings input,#settings textarea{font-size:14px}#settings form>.primary{min-height:44px}#settings details{margin-top:25px}#settings summary{font-size:12px;cursor:pointer;min-height:40px;padding:8px 0}
.prompt-history{margin-top:20px}.prompt-history label{font-size:11px;color:var(--muted)}#prompt-history{margin:7px 0 12px;padding:9px;background:var(--bg);border:1px solid #d9e0d2;width:100%;border-radius:10px;font-size:12px}
#invite-result{font-size:12px;background:#eff4e8;margin-top:13px}#settings-api .actions{margin-top:15px}.actor[hidden]{display:none!important}

.shared-consent{font-size:12px;line-height:1.8;display:flex;align-items:flex-start;gap:9px;margin:22px 0;color:var(--muted)}#settings .shared-consent input{width:18px;min-width:18px;margin-top:3px;accent-color:var(--accent)}#prompt-space{display:block;width:100%;padding:9px 12px;margin-top:6px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:14px}

/* Butler suggestions use the same quiet recipe art as the menu. */
.chat-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 5px}.chat-recommendations:has(>.chat-recipe:only-child){grid-template-columns:1fr}.chat-recommendations .chat-recipe{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;border-radius:14px;background:#eef3e9;min-width:0}.chat-recommendations .chat-recipe.drink{background:#f2f5ee}.chat-recommendations .chat-recipe img{width:100%;height:88px;object-fit:cover}.chat-recipe-caption{display:grid;gap:5px;padding:10px 12px 13px}.chat-recommendations .chat-recipe strong{font-size:13px;font-weight:500;padding:0}.chat-recipe-caption small{font-size:10px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.butler-explanation{margin:7px 0 0}.butler-explanation summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:11px;color:var(--accent);list-style:none;gap:7px}.butler-explanation summary::before{content:'＋';font-size:14px}.butler-explanation[open] summary::before{content:'−'}.butler-explanation summary::-webkit-details-marker{display:none}.butler-explanation .bubble{padding-top:0!important}.butler-explanation summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}.message.ai{min-width:0;width:100%}

.chat-reference-label{display:block;font-size:10px;color:var(--muted);margin:10px 0 -4px}

.recipe-check-note{font-size:10px;color:var(--muted);margin:9px 0 0;line-height:1.6}

.chat-compose .actions .primary{margin-left:auto}.chat-compose .mention-shortcut{background:transparent;border:0;color:var(--accent);font-size:12px;min-height:38px;padding:7px 10px}
