/* Search and sharing controls across the guide. */
.top-actions{display:flex;align-items:center;gap:.5rem}
.site-action,.search-submit{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:44px;min-height:48px;padding:.6rem .8rem;border:1px solid #9b8bb7;border-radius:.65rem;background:transparent;color:#f4edff;font:700 .9rem/1.2 var(--display);text-decoration:none;cursor:pointer}
.site-action svg,.search-submit svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-action:hover{background:#584277}.site-action:focus-visible,.search-submit:focus-visible{outline:3px solid #46d8cf;outline-offset:3px}
.site-action[hidden]{display:none!important}
.search-row{display:flex;gap:.5rem;margin:0;min-width:0;max-width:100%}.tools{grid-template-columns:minmax(0,1fr)}.search-row .search{flex:1;min-width:0;width:auto}.search-submit{background:#3d285e;color:white;border-color:#3d285e;flex:none}.search-submit:hover{background:#60418f}
#q,#foodSearch,[data-search-form],#count,#foodCount{scroll-margin-top:7rem}
.share-status{position:fixed;bottom:1.25rem;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100% - 2rem);padding:.8rem 1.1rem;border-radius:.7rem;background:#26183f;color:#fff;box-shadow:0 4px 20px #0004;font:600 1rem/1.4 var(--display)}
.share-status:empty{display:none}.share-dialog{width:min(29rem,calc(100% - 2rem));box-sizing:border-box;padding:1.5rem;border:1px solid #bdb0d0;border-radius:1rem;background:#fff;color:#231934;font:1rem/1.5 var(--display)}
.share-dialog::backdrop{background:#160c2bcc}.share-dialog h2{margin:0 0 .7rem;font-size:1.5rem}.share-dialog p{margin:0 0 1rem}.share-dialog label{display:block;font-weight:700}.share-dialog input{box-sizing:border-box;width:100%;min-height:48px;padding:.65rem;margin:.4rem 0 1rem;border:1px solid #7b6a95;border-radius:.4rem;font:1rem var(--display)}.share-dialog-actions{display:flex;gap:.6rem;flex-wrap:wrap}.share-dialog button{min-height:44px;padding:.65rem 1rem;border:1px solid #7b6a95;border-radius:.5rem;background:#3d285e;color:#fff;font:700 1rem var(--display);cursor:pointer}.share-dialog button[data-close]{background:white;color:#3d285e}.share-dialog [data-copy-status]{margin-top:.8rem}
.header-links .site-action{font:700 .85rem/1.3 var(--display);padding:.6rem .8rem;min-height:44px}
@media(max-width:30rem){.top .wrap{gap:.4rem}.top .brand img{width:104px}.top .menubtn{width:48px;height:48px}.top-actions{gap:6px}.top-actions .site-action{padding:.6rem;width:44px}.top-actions .action-label{display:none}.search-submit{padding:.6rem .75rem}.search-submit svg{display:none}}

/* Matched header controls and readable, centered hero actions. */
.top-actions .site-action,.top .menubtn{appearance:none;-webkit-appearance:none;box-sizing:border-box;height:44px;min-height:44px;border:1px solid #a99abb;border-radius:12px;background:#ffffff06;color:#f4edff;box-shadow:none;line-height:1;padding:0 12px}
.top .menubtn{width:44px;min-width:44px;padding:0;cursor:pointer}
.top-actions svg{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.top-actions .site-action:active,.top .menubtn:active{background:#584277}
.top .menubtn:focus-visible{outline:3px solid #46d8cf;outline-offset:3px}
.hero .ctas .btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;line-height:1.25;text-align:center;padding:14px 20px;border-radius:12px;box-sizing:border-box}
.hero .ctas .btn.ghost{background:#20152c85;border-color:#d2c6e9}
@media(max-width:43rem){.hero .ctas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hero .ctas .btn{min-width:0;width:100%;padding:14px 12px}.hero .ctas .btn:last-child{grid-column:1/-1}}
@media(max-width:30rem){.top-actions .site-action{width:44px;min-width:44px;padding:0}.top-actions{gap:8px}.hero .ctas{grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr}.hero .ctas .btn{min-height:52px}}
@media(hover:hover){.top-actions .site-action:hover,.top .menubtn:hover{background:#584277}.hero .ctas .btn.ghost:hover{background:#44325e}}
