/* R50 is a focused owner workspace. Other results retain the regular OS shell. */
body.o2-on:has(#o2-thread>.o2-msg:last-child .r50-engine) #o2-rail,
body.o2-on:has(#o2-thread>.o2-msg:last-child .r50-engine) #o2-top,
body.o2-on:has(#o2-thread>.o2-msg:last-child .r50-engine) #o2-dock{display:none}
body.o2-on:has(#o2-thread>.o2-msg:last-child .r50-engine) #o2{display:block}
body.o2-on:has(#o2-thread>.o2-msg:last-child .r50-engine) #view .o2-home-in{max-width:1200px;padding:24px 28px 40px}
#o2-thread:has(>.o2-msg:last-child .r50-engine)>.o2-msg.me:has(+.o2-msg:last-child){display:none}
#o2-thread>.o2-msg:last-child:has(.r50-engine)>.o2-mark,
#o2-thread>.o2-msg:last-child:has(.r50-engine)>.o2-aib>:not(.s5-result){display:none}
.r50-engine{padding:0!important;margin:0!important;max-width:none;width:100%;border:0;border-radius:0;background:transparent!important;box-shadow:none;backdrop-filter:none;scroll-margin-top:20px}
.r50-worktop{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 22px;margin-bottom:38px;border-bottom:1px solid var(--o2-edge)}
.r50-worktop h1{font:400 22px/1.2 var(--serif);margin:0;color:var(--ink)}
.r50-engine .o2-btn{min-height:44px}
.r50-layout{display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:48px;row-gap:24px;align-items:start}
.r50-context{grid-column:1;grid-row:1}
.r50-context>h2{font:400 43px/1.03 var(--serif);letter-spacing:-.03em;margin:3px 0 20px;color:var(--ink)}
.r50-engine i{color:var(--amethyst);font-weight:400}
.r50-context>p{font:400 14px/1.7 var(--sans,sans-serif);color:var(--o2-muted);margin:0 0 26px;max-width:30ch}
.r50-next{padding:22px 0;border-top:1px solid var(--o2-edge);border-bottom:1px solid var(--o2-edge)}
.r50-next h3{font:500 14px/1.5 var(--sans,sans-serif);margin:0 0 9px}
.r50-next p{font:400 12px/1.7 var(--sans,sans-serif);color:var(--o2-muted);margin:0 0 16px}
.r50-next>.o2-btn{width:100%;justify-content:center}
.r50-direct{display:flex;flex-direction:column;align-items:stretch;padding:14px 0;gap:4px}
.r50-direct>.o2-btn{justify-content:flex-start;border:0!important;background:transparent!important;padding:9px 0;box-shadow:none;font-size:13px;font-weight:500;color:var(--amethyst)}
.r50-direct>.o2-btn:after{content:'→';margin-left:auto;font-size:17px;font-weight:400}
.r50-engine .r50-example,.r50-footnote{font:400 11px/1.7 var(--sans,sans-serif);color:var(--o2-muted);margin:10px 0 0;max-width:37ch}
.r50-menu{grid-column:2;grid-row:1 / span 2;padding:22px 24px 10px;border:1px solid var(--o2-edge);border-top-color:var(--os-accent,#ad8b50);border-radius:22px;background:var(--os-surface,#fcfbf8);box-shadow:0 18px 34px -28px rgba(var(--os-shade-rgb),.3);overflow:hidden}
.r50-tablehead{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}
.r50-tablehead h2{font:400 30px/1.15 var(--serif);letter-spacing:-.02em;margin:0}
.r50-tablehead p{font:400 11px/1.5 var(--sans,sans-serif);color:var(--o2-muted);margin:0;white-space:nowrap}
.r50-engine .r50-basis{font:400 11px/1.6 var(--sans,sans-serif);color:var(--o2-muted);max-width:65ch;margin:0 0 16px}
.r50-table-scroll{max-height:620px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--o2-edge) transparent}
.r50-table-scroll:focus-visible{outline:2px solid var(--amethyst);outline-offset:3px}
.r50-menu table{width:100%;border-collapse:collapse;table-layout:fixed}
.r50-menu thead th{font:400 10px/1.5 var(--sans,sans-serif);color:var(--o2-muted);text-align:right;padding:0 0 12px;text-transform:uppercase;letter-spacing:.08em;position:sticky;top:0;background:var(--os-surface,#fcfbf8);z-index:1}
.r50-menu thead th:first-child{text-align:left;width:60%}
.r50-menu tbody tr{border-top:1px solid var(--o2-edge)}
.r50-menu tbody th,.r50-menu tbody td{padding:12px 0;text-align:right;vertical-align:middle;font:400 13px/1.4 var(--sans,sans-serif);font-variant-numeric:tabular-nums}
.r50-menu tbody th{text-align:left;padding-right:14px}
.r50-dish{display:flex;align-items:center;gap:12px;min-width:0}
.r50-dish img,.r50-photo-fallback{display:block;flex:none;width:48px;height:48px;object-fit:cover;border-radius:8px;background:var(--os-surface-soft)}
.r50-photo-fallback{display:grid;place-items:center;font:400 24px var(--serif);color:var(--o2-muted)}
.r50-dish b{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}
.r50-menu small{display:block;font-size:10px;color:var(--o2-muted);margin-top:4px;font-weight:400}
.r50-menu strong{font-size:15px;font-weight:500}
.r50-missing{display:inline-block;padding:4px 8px;background:var(--os-surface-soft);border-radius:12px;font-size:10px;color:var(--o2-muted);white-space:nowrap}
.r50-tools{grid-column:1;grid-row:2}
.r50-tools details{border-top:1px solid var(--o2-edge);padding:15px 0}
.r50-tools summary{cursor:pointer;list-style:none;min-height:44px;position:relative;padding-right:20px;font:500 13px/1.5 var(--sans,sans-serif)}
.r50-tools summary::-webkit-details-marker{display:none}
.r50-tools summary:after{content:'+';position:absolute;right:0;top:0;font-size:20px;font-weight:300;color:var(--o2-muted)}
.r50-tools details[open] summary:after{content:'−'}
.r50-tools summary span{display:block;font-size:11px;font-weight:400;color:var(--o2-muted);margin-top:4px}
.r50-tools .o2-row{gap:6px;margin-top:10px}
.r50-empty{padding:24px 0;font-size:14px;color:var(--o2-muted)}
@media(max-width:700px){body.o2-on:has(#o2-thread>.o2-msg:last-child .r50-engine) #view .o2-home-in{padding:14px 16px 28px}.r50-worktop{gap:8px;padding-bottom:13px;margin-bottom:24px;flex-wrap:wrap}.r50-worktop h1{font-size:20px;order:-1;width:100%;margin-bottom:3px}.r50-worktop .o2-btn{font-size:11px;min-height:40px;padding:8px 12px}.r50-layout{grid-template-columns:minmax(0,1fr);gap:24px}.r50-context{grid-column:1;grid-row:1}.r50-context>h2{font-size:34px;margin:0 0 12px}.r50-context>h2 br{display:none}.r50-context>p{font-size:12px;max-width:40ch;margin-bottom:18px}.r50-next{padding:15px 0}.r50-next h3{font-size:13px}.r50-next p{font-size:11px;margin-bottom:12px}.r50-direct{flex-direction:row;flex-wrap:wrap;gap:6px;padding:10px 0}.r50-direct>.o2-btn{font-size:11px;padding:8px 10px;border:1px solid var(--o2-edge)!important;border-radius:22px}.r50-direct>.o2-btn:after{display:none}.r50-engine .r50-example{max-width:none;margin:3px 0 0;font-size:10px}.r50-menu{grid-column:1;grid-row:2;padding:18px 14px 8px;border-radius:18px}.r50-tablehead{display:block;margin-bottom:9px}.r50-tablehead h2{font-size:26px;margin-bottom:6px}.r50-table-scroll{max-height:440px}.r50-menu thead th:first-child{width:58%}.r50-menu thead th{font-size:8px;letter-spacing:.04em}.r50-menu tbody th,.r50-menu tbody td{font-size:11px;padding:11px 0}.r50-dish{gap:8px}.r50-dish img,.r50-photo-fallback{width:36px;height:40px;border-radius:6px}.r50-dish b{font-size:11px}.r50-menu small{font-size:9px}.r50-missing{font-size:9px;padding:4px 6px}.r50-menu strong{font-size:12px}.r50-tools{grid-column:1;grid-row:3}.r50-footnote{max-width:none}}
@media(prefers-reduced-motion:reduce){.r50-engine *{scroll-behavior:auto!important}}
@font-face{font-family:'R50 Instrument Serif';src:url('/fonts/instrumentserif-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'R50 Instrument Serif';src:url('/fonts/instrumentserif-400i.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'R50 Instrument Sans';src:url('/fonts/instrumentsans-400.woff2') format('woff2');font-weight:400 600;font-display:swap}
@font-face{font-family:'R50 Instrument Sans';src:url('/fonts/instrumentsans-700.woff2') format('woff2');font-weight:700 900;font-display:swap}
.r50-engine{--serif:'R50 Instrument Serif',serif;--sans:'R50 Instrument Sans',sans-serif;font-family:var(--sans)}
.r50-menu thead th:nth-child(3),.r50-menu tbody td:last-child{padding-left:12px}
@media(max-width:700px){.r50-worktop{flex-wrap:nowrap;gap:8px;margin-bottom:20px;padding-bottom:14px}.r50-worktop h1{order:0;width:auto;flex:1;text-align:center;font-size:16px;margin:0}.r50-worktop .o2-btn{font-size:10px;padding:8px 10px}.r50-context>h2{font-size:32px}.r50-context>h2 br{display:none}.r50-context>p{margin-bottom:14px}.r50-next{padding:13px 0}.r50-layout{gap:20px}.r50-menu thead th:first-child{width:55%}.r50-menu thead th:nth-child(2){width:18%}.r50-menu thead th:nth-child(3){width:27%}}
.r50-dish b,.r50-next h3,.r50-tools summary{font-weight:700}
.r50-next>.o2-btn,.r50-worktop .o2-btn{font-weight:700}
.r50-missing{color:var(--os-warn,#7a4d00);background:var(--os-warn-bg,#fbefd7);font-weight:600;padding:5px 9px}
.r50-menu tbody td{font-size:14px}
.r50-context>h2{font-size:38px}
.r50-tablehead h2{font-size:34px}
@media(max-width:700px){.r50-context>h2{font-size:32px}.r50-tablehead h2{font-size:27px}.r50-menu tbody td{font-size:12px}.r50-missing{font-size:9px;padding:4px 7px}}
/* R50 refinement: larger food imagery and clearer, quieter table hierarchy. */
.r50-worktop h1{font-size:26px}
.r50-context>h2{font-size:46px;line-height:1.06}
.r50-portrait{margin:24px 0 0;position:relative;overflow:hidden;border-radius:12px}
.r50-portrait img{display:block;width:100%;height:154px;object-fit:cover}
.r50-portrait figcaption{position:absolute;inset:auto 0 0;padding:24px 12px 10px;background:linear-gradient(transparent,rgba(20,22,28,.85));color:#f6f4ef;font-size:11px}
.r50-menu{padding:26px 28px 12px;border-radius:18px}
.r50-tablehead h2{font-size:36px}
.r50-menu tbody th,.r50-menu tbody td{padding:14px 0}
.r50-dish img,.r50-photo-fallback{width:56px;height:56px}
.r50-dish b{font-weight:600;font-size:14px}
.r50-missing{border-radius:5px;background:var(--os-surface-soft);color:var(--o2-muted);font-weight:400}
.r50-engine button:focus-visible,.r50-tools summary:focus-visible{outline:2px solid var(--amethyst);outline-offset:4px}
.r50-direct>.o2-btn:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){.r50-worktop h1{font-size:16px}.r50-context>h2{font-size:36px}.r50-portrait{display:none}.r50-menu{padding:20px 14px 8px}.r50-tablehead h2{font-size:29px}.r50-dish img,.r50-photo-fallback{width:42px;height:46px}.r50-dish b{font-size:12px}.r50-menu tbody th,.r50-menu tbody td{padding:12px 0}.r50-layout{gap:24px}}
/* The conversation commits its read before another tool can start. */
body.o2-thinking .r50-engine button{pointer-events:none;opacity:.55}
@font-face{font-family:'R50 Cormorant';src:url('/fonts/cormorant-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'R50 Cormorant';src:url('/fonts/cormorant-500i.woff2') format('woff2');font-weight:500;font-style:italic;font-display:swap}
.r50-engine{--serif:'R50 Cormorant','R50 Instrument Serif',serif}
.r50-worktop h1{font-size:27px;font-weight:500}
.r50-context>h2{font-size:48px;font-weight:500}
.r50-tablehead h2{font-size:40px;font-weight:500}
.r50-dish b{font-weight:700}
.r50-engine .r50-basis{font-size:12px}
.r50-menu thead th{font-size:11px}
.r50-menu small{font-size:11px}
.r50-missing{font-size:11px;color:var(--os-warn,#7a4d00);background:var(--os-warn-bg,#fbefd7)}
@media(max-width:700px){.r50-worktop h1{font-size:19px}.r50-context>h2{font-size:39px}.r50-tablehead h2{font-size:31px}.r50-context>p{font-size:13px}.r50-next p{font-size:12px}.r50-engine .r50-basis{font-size:11px}.r50-menu thead th{font-size:9px}.r50-menu small{font-size:10px}.r50-missing{font-size:10px}}
