/* OceanofTools category-local shared CSS. Tool-specific layout belongs in the page CSS file. */
/* Category-local shared rules. Tool function/layout CSS stays in this category or the page itself. */
.search-container{display:none!important}


/* ===== 2026-08-17 Device tools responsive workspace ===== */
body.oot-device-tool{overflow-x:hidden;background:linear-gradient(180deg,#f5f8fc,#eef4f8);color:#10243a;}
body.oot-device-tool *{box-sizing:border-box;min-width:0;}
body.oot-device-tool img,body.oot-device-tool canvas,body.oot-device-tool video,body.oot-device-tool svg{max-width:100%;height:auto;}
body.oot-device-tool .device-hero{width:min(1380px,calc(100% - 24px))!important;max-width:1380px!important;margin:14px auto!important;padding:20px 24px!important;border-radius:24px!important;background:linear-gradient(135deg,#10254a,#1a4777)!important;color:#fff!important;text-align:left!important;box-shadow:0 18px 42px rgba(15,35,58,.14)!important;border:1px solid rgba(255,255,255,.08)!important;}
body.oot-device-tool .device-hero__icon{display:none!important;}
body.oot-device-tool .device-hero h1{margin:0 0 8px!important;color:#fff!important;font-size:clamp(1.9rem,4vw,2.8rem)!important;line-height:1.08!important;letter-spacing:-.035em!important;}
body.oot-device-tool .device-hero p{margin:0!important;max-width:980px!important;color:rgba(255,255,255,.88)!important;font-size:1rem!important;line-height:1.58!important;}
body.oot-device-tool .device-shell{width:min(1380px,calc(100% - 24px))!important;max-width:1380px!important;margin:14px auto 24px!important;}
body.oot-device-tool .tool-card,body.oot-device-tool .content-section{max-width:100%;overflow:hidden;}
body.oot-device-tool .grid,body.oot-device-tool .metrics-grid,body.oot-device-tool .result-grid{min-width:0;}
body.oot-device-tool .toolbar{display:flex;flex-wrap:wrap;gap:10px;}
body.oot-device-tool pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;}
body.oot-device-tool table{max-width:100%;}
body.oot-device-tool .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
body.oot-device-tool .tab-list{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px;}
body.oot-device-tool .tab-button{flex:0 0 auto;white-space:nowrap;}
@media(max-width:760px){
 body.oot-device-tool .device-hero{width:calc(100% - 12px)!important;margin:8px auto 10px!important;padding:16px!important;border-radius:18px!important;}
 body.oot-device-tool .device-hero h1{font-size:1.72rem!important;overflow-wrap:anywhere;}
 body.oot-device-tool .device-hero p{font-size:.92rem!important;line-height:1.5!important;}
 body.oot-device-tool .device-shell{width:calc(100% - 12px)!important;margin:10px auto 18px!important;}
 body.oot-device-tool .tool-card,body.oot-device-tool .content-section{padding:15px!important;border-radius:18px!important;}
 body.oot-device-tool .grid,body.oot-device-tool .metrics-grid,body.oot-device-tool .result-grid{grid-template-columns:1fr!important;}
 body.oot-device-tool .toolbar{display:grid!important;grid-template-columns:1fr!important;}
 body.oot-device-tool .toolbar button,body.oot-device-tool .btn-primary,body.oot-device-tool .btn-secondary{width:100%!important;max-width:100%!important;}
 body.oot-device-tool input,body.oot-device-tool select,body.oot-device-tool textarea{max-width:100%!important;width:100%;}
}
