/* OceanofTools homepage compact directory — 2026-11-05.
   Scoped to homepage only; tool pages and shared header/footer unchanged. */
body.oot-home.oot-home-compact{background:#f5f8f6!important;}
body.oot-home .oot-compact-search-zone{
  position:relative;z-index:1000;background:#eef8f4;
  border-bottom:1px solid #dbece4;padding:22px 16px 20px;
}
body.oot-home .oot-compact-search{
  position:relative!important;z-index:1001!important;width:min(1180px,100%)!important;
  max-width:1180px!important;margin:0 auto!important;
  padding:0!important;background:none!important;border:0!important;
  box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;
}
body.oot-home .oot-compact-search .oot-home-search-label{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:0 0 12px;flex-wrap:wrap;}
body.oot-home .oot-compact-search .oot-home-search-label h1{margin:0!important;padding:0!important;color:#11372c!important;background:none!important;-webkit-text-fill-color:#11372c!important;font:800 clamp(1rem,2.2vw,1.3rem)/1.25 Inter,system-ui,sans-serif!important;letter-spacing:-.025em!important;}
body.oot-home .oot-compact-search .oot-compact-search-hint{color:#617c72!important;font-size:.82rem!important;font-weight:550!important;}
body.oot-home .oot-compact-search .oot-home-search-category{color:#254e41!important;font-size:.78rem!important;display:flex!important;gap:10px;align-items:center;margin:0 0 10px!important;}
body.oot-home .oot-compact-search .oot-home-search-category select{min-width:164px;height:37px;color:#16392e;border:1px solid #c7e1d7;border-radius:10px;background:#fff;padding:5px 10px;font-size:.84rem;}
body.oot-home .oot-compact-search .search-container{position:relative!important;z-index:1010!important;margin:0!important;width:100%!important;max-width:none!important;min-width:0!important;}
body.oot-home .oot-compact-search .search-container:before,body.oot-home .oot-compact-search .search-container:after{display:none!important;}
body.oot-home .oot-compact-search .search-box{display:block;width:100%!important;min-width:0!important;height:54px!important;border:1px solid #bcdacf!important;border-radius:13px!important;background:#fff!important;padding:0 88px 0 47px!important;color:#11382d!important;font-size:.95rem!important;box-shadow:0 6px 18px rgba(6,59,43,.07)!important;}
body.oot-home .oot-compact-search .search-box:focus{outline:none!important;border-color:#13a889!important;box-shadow:0 0 0 3px rgba(19,168,137,.15)!important;}
body.oot-home .oot-compact-search .oot-home-search-icon{left:17px;top:50%;font-size:1rem;color:#0c8d70;}
body.oot-home .oot-compact-search .oot-search-shortcut{top:50%;}
body.oot-home .oot-compact-search .search-results{top:calc(100% + 6px)!important;z-index:20000!important;}
body.oot-home .oot-category-jump{margin-top:16px!important;}
body.oot-home .ut-wrapper{margin-top:0!important;}
body.oot-home .ut-section-grid{align-items:stretch;}
body.oot-home .ut-tool-card{height:100%;box-sizing:border-box;}
body.oot-home .ut-tool-content{min-width:0;}
body.oot-home .ut-icon-wrapper{font-size:1.25rem!important;}
body.oot-home .ut-section-icon{font-size:1.25rem!important;}
body.oot-home .ut-tool-text{overflow-wrap:anywhere;}
@media(max-width:780px){
  body.oot-home .oot-compact-search-zone{padding:15px 12px 13px!important;}
  body.oot-home .oot-compact-search .oot-home-search-label{margin-bottom:8px;}
  body.oot-home .oot-compact-search .oot-compact-search-hint{font-size:.73rem!important;}
  body.oot-home .oot-compact-search .oot-home-search-category{margin-bottom:8px!important;}
  body.oot-home .oot-compact-search .search-box{height:49px!important;padding:0 14px 0 44px!important;font-size:.88rem!important;}
  body.oot-home .oot-compact-search .oot-search-shortcut{display:none!important;}
  body.oot-home .oot-compact-search .search-results{max-height:45vh!important;}
  body.oot-home .oot-category-jump{margin-top:12px!important;}
}
@media(max-width:430px){
  body.oot-home .oot-compact-search .oot-compact-search-hint{display:none!important;}
  body.oot-home .oot-compact-search .oot-home-search-category select{min-width:145px;}
}
