/* AMIIN Core 14.43 — compact public navigation actions only. Not loaded on Halal Work. */
#awc-heritage-root .awc-h-brand span{display:flex;align-items:center;min-width:0}
#awc-heritage-root .awc-h-brand strong{line-height:1.1}
#awc-heritage-root .awc-h-actions{gap:8px;min-width:0;flex-wrap:wrap}
#awc-heritage-root .awc-h-search{position:relative;display:flex;align-items:center;flex:0 0 auto;min-width:0}
#awc-heritage-root .awc-h-search > .awc-h-search-toggle,
#awc-heritage-root .awc-h-actions > :is(.awc-h-account,.awc-h-logout){
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:40px;min-height:40px;min-width:40px;margin:0;padding:8px 11px;
  border:1px solid #cfe0d7;border-radius:999px;background:linear-gradient(180deg,#fbfefc,#eff6f2);
  color:#1d6049;text-decoration:none;font-size:13px;font-weight:700;line-height:1;
  box-shadow:0 2px 8px rgba(14,57,43,.05);white-space:nowrap;
}
#awc-heritage-root .awc-h-search > .awc-h-search-toggle{width:40px;padding:0;cursor:pointer}
#awc-heritage-root .awc-h-search svg,
#awc-heritage-root .awc-h-account svg,
#awc-heritage-root .awc-h-logout svg{display:block;flex:none}
#awc-heritage-root .awc-h-account{max-width:clamp(106px,16vw,200px);min-width:0}
#awc-heritage-root .awc-h-account .awc-h-action-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#awc-heritage-root .awc-h-actions > :is(.awc-h-account,.awc-h-logout):hover,
#awc-heritage-root .awc-h-search > .awc-h-search-toggle:hover{background:#e7f4ed;color:#15563f;text-decoration:none}
#awc-heritage-root .awc-h-search > .awc-h-search-toggle[aria-expanded="true"]{background:#d9efe4;border-color:#8ebca7}
#awc-heritage-root .awc-h-search form[hidden]{display:none!important}
#awc-heritage-root .awc-h-search > form{
  box-sizing:border-box;position:absolute;z-index:10002;right:0;top:calc(100% + 10px);
  display:flex;align-items:center;gap:6px;flex:none;
  width:min(340px,calc(100vw - 28px));max-width:calc(100vw - 28px);
  padding:7px;border:1px solid #c9dfd3;border-radius:15px;background:#fff;
  box-shadow:0 16px 38px rgba(14,59,44,.17);
}
#awc-heritage-root .awc-h-search > form input[type="search"]{
  box-sizing:border-box;display:block;flex:1 1 0;min-width:0;max-width:none;width:100%;
  height:38px;min-height:38px;border:0;outline:0;padding:6px 10px;
  background:transparent;color:#25473c;font:inherit;font-size:14px;
}
#awc-heritage-root .awc-h-search > form button.awc-h-search-submit{
  box-sizing:border-box;display:grid;place-items:center;flex:0 0 38px;
  width:38px;min-height:38px;height:38px;padding:0;
  border:0;border-radius:10px;background:#176b51;color:#fff;cursor:pointer;
}
#awc-heritage-root .awc-h-search > form button.awc-h-search-submit:hover{background:#10523e}
#awc-heritage-root .awc-h-search > form:focus-within{outline:2px solid #9fcabb;outline-offset:2px}
#awc-heritage-root :is(.awc-h-search-toggle,.awc-h-search-submit,.awc-h-account,.awc-h-logout):focus-visible{
  outline:3px solid #b58f47;outline-offset:3px
}
@media(max-width:900px){
  #awc-heritage-root .awc-h-actions{position:relative;width:100%;justify-content:flex-end}
  /* On narrow screens, anchor the dropdown to the full action row, not the icon: no left-hand clipping. */
  #awc-heritage-root .awc-h-search{position:static}
  #awc-heritage-root .awc-h-search > form{flex:0 0 auto;max-width:calc(100vw - 28px);width:min(340px,calc(100vw - 28px))}
}
@media(max-width:450px){
  #awc-heritage-root .awc-h-top{column-gap:7px;row-gap:7px}
  #awc-heritage-root .awc-h-actions{gap:6px}
  #awc-heritage-root .awc-h-actions > :is(.awc-h-account,.awc-h-logout){padding:7px 9px}
  #awc-heritage-root .awc-h-account{max-width:145px}
  #awc-heritage-root .awc-h-logout{min-width:40px}
}
