.br-recipe-view-toggle{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}
.br-recipe-view-toggle button{appearance:none;border:1px solid var(--line);border-radius:999px;padding:8px 14px;background:var(--paper);color:inherit;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer}
.br-recipe-view-toggle button[aria-pressed=true]{background:var(--green,#365b3b);border-color:var(--green,#365b3b);color:#fff}
.br-recipe-view-toggle button:focus-visible{outline:3px solid #b08547;outline-offset:3px}
html[data-theme=dark] .br-recipe-view-toggle button[aria-pressed=true]{background:#58744d;border-color:#58744d;color:#fff}

/* Unified segmented control matches the recipe field shape and height. */
#app .br-recipe-view-toggle{display:flex;align-items:stretch;gap:4px;width:100%;margin:16px 0 0!important;padding:4px;border:1px solid #a6b7ae;border-radius:10px;background:#fff;}
#app .br-recipe-view-toggle button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1 1 0;min-width:0;min-height:44px;padding:8px 14px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ink,#252522);font-family:inherit;font-size:16px;font-weight:600;line-height:1.25;}
#app .br-recipe-view-toggle button[aria-pressed=true]{background:#365b3b;border-color:#365b3b;color:#fff;}
#app .br-recipe-view-toggle button:focus-visible{outline:3px solid #b08547;outline-offset:2px;}
html[data-theme=dark] #app .br-recipe-view-toggle{background:#27352b;border-color:#566b58;}
html[data-theme=dark] #app .br-recipe-view-toggle button{color:#f3efdf;}
html[data-theme=dark] #app .br-recipe-view-toggle button[aria-pressed=true]{background:#58744d;border-color:#58744d;color:#fff;}
@media(max-width:760px){#app .br-recipe-view-toggle{margin-top:12px!important}#app .br-recipe-view-toggle button{font-size:14px;padding-inline:8px}}
