.portal-global-search{position:relative;flex:0 1 320px;min-width:170px;margin-left:auto}
.global-search-field{display:flex;align-items:center;border:1px solid #e0e6f0;border-radius:8px;padding:0 9px;background:#f7f9fc;gap:6px;min-width:0;height:34px}
.global-search-field>span{font-size:18px;color:#8b99ae}
body.portal-shell #console .global-search-field input{width:100%;min-width:0;min-height:0;padding:6px 0;border:0;background:transparent;box-shadow:none;outline:none;font-size:11px;height:30px}
.global-search-field:focus-within{border-color:#7f98ef;box-shadow:0 0 0 2px #edf1ff}
.global-search-field kbd{white-space:nowrap;font:9px system-ui;color:#8a97ac;background:#fff;padding:2px 4px;border:1px solid #e5eaf2;border-radius:4px}
.global-search-results{position:absolute;right:0;top:calc(100% + 8px);width:min(520px,calc(100vw - 28px));max-height:450px;overflow:auto;background:#fff;border:1px solid #dce4ef;border-radius:11px;box-shadow:0 12px 35px #182a4926;z-index:1500;text-align:left}
.global-search-results[hidden]{display:none}
.global-search-results p{padding:12px 14px;margin:0;color:#7b899e;font-size:11px;border-bottom:1px solid #eef1f6}
body.portal-shell .global-search-results button{display:flex;align-items:center;gap:10px;border:0;border-radius:0;background:#fff;box-shadow:none;width:100%;padding:11px 14px;min-height:52px;text-align:left;color:#253957;cursor:pointer}
body.portal-shell .global-search-results button:hover,body.portal-shell .global-search-results button[aria-selected=true]{background:#f0f4ff}
.global-search-results button>span:nth-child(2){min-width:0;flex:1}
.global-search-results b{font-size:12px;font-weight:600;display:block;overflow-wrap:anywhere}
.global-search-results small{font-size:10px;color:#7c8ca4;display:block;margin-top:3px;overflow-wrap:anywhere}
.global-result-icon{display:grid;place-items:center;width:29px;height:29px;background:#eef2ff;color:#6c6ad1;border-radius:7px;flex-shrink:0}
.global-search-results em{font-size:9px;font-style:normal;color:#8593a8}
body.portal-shell #console .topbar .crumbs{min-width:0;flex:1 1 100px;max-width:420px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.portal-shell #console .topbar .crumbs b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:1250px){body.portal-shell #console .topbar .system-ok{display:none}.portal-global-search{flex-basis:260px}.global-search-field kbd{display:none}}
@media(max-width:900px){body.portal-shell #console .topbar{flex-wrap:wrap;gap:8px;min-height:56px;height:auto;padding-bottom:10px}.portal-global-search{order:5;flex:1 0 100%;margin:0;min-width:0}.global-search-results{left:0;right:auto;width:100%}.global-search-field{height:34px}body.portal-shell #console .topbar .crumbs{max-width:none}body.portal-shell #console .topbar .top-actions{margin-left:auto}}

.global-search-match{outline:2px solid #99adff;outline-offset:-2px;background:#f0f4ff!important}
