/* NetToolForge v81: targeted mobile overflow fixes + Word conversion choice */
html{max-width:100%;overflow-x:clip}
body{min-width:0;max-width:100%;overflow-x:clip}
.ntf-site-header,.v6-home,.v6-hero,main,.wrap{min-width:0;max-width:100%}
img,svg,video,canvas,iframe{max-width:100%}
@media(max-width:767px){
  .ntf-site-header{width:100%!important;max-width:100%!important;left:0!important;right:0!important;}
  .ntf-site-header .ntf-nav-wrap{width:100%!important;max-width:100%!important;min-width:0!important;display:flex!important;gap:8px!important;justify-content:space-between!important;align-items:center!important;padding-inline:16px!important;}
  .ntf-site-header .brand{min-width:0!important;max-width:calc(100% - 114px)!important;flex:0 1 auto!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(17px,5vw,25px)!important;}
  .ntf-site-header .brand .mark{margin-right:5px!important;width:27px!important;height:27px!important;}
  .ntf-site-header .ntf-nav-toggle{flex:0 0 auto!important;white-space:nowrap!important;font-size:14px!important;padding:8px 12px!important;}
  .v6-home,.v6-home .v6-hero,.v6-home .v6-hero .wrap{width:100%!important;max-width:100%!important;min-width:0!important;}
  .v6-home .v6-hero{padding:35px 0 42px!important;overflow:hidden!important;}
  .v6-home .v6-hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important;}
  .v6-home .v6-hero-grid>*,.v6-home .v6-hero-grid>div{min-width:0!important;max-width:100%!important;}
  .v6-home .v6-hero h1{font-size:clamp(30px,8.6vw,43px)!important;line-height:1.14!important;overflow-wrap:break-word;}
  .v6-home .v6-hero p{font-size:clamp(14px,3.8vw,17px)!important;line-height:1.6!important;max-width:100%!important;overflow-wrap:break-word;}
  .v6-home .v6-hero .actions{display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:10px!important;}
  .v6-home .v6-hero .actions .btn{max-width:100%!important;text-align:center;padding:11px 15px!important;font-size:14px!important;}
  .v6-home .v6-hero .hero-panel{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;transform:none!important;}
  .v6-home .v6-hero .terminal-top{min-width:0!important;gap:8px!important;padding-inline:12px!important;}
  .v6-home .v6-hero .terminal-top span{min-width:0;overflow-wrap:anywhere;}
  .v6-section .wrap,.v6-categories .wrap,.v6-popular .wrap{min-width:0!important;max-width:100%!important}
  .v6-cat-grid,.v6-pop-grid,.v6-guide-grid,.collection-grid{grid-template-columns:minmax(0,1fr)!important;}
  .ntf-pdf-app,.ntf-pdf-output,.ntf-pdf-drop{min-width:0;max-width:100%}
  .ntf-pdf-app input,.ntf-pdf-app select{max-width:100%}
}
.ntf-word-mode{border:1px solid #dce4f6;border-radius:14px;background:#f7f9ff;margin:0 0 16px;padding:14px;min-width:0;}
.ntf-word-mode legend{font-size:15px;font-weight:800;color:#243253;padding:0 6px}
.ntf-word-option{display:flex!important;align-items:flex-start;gap:12px;border:1px solid #dce3f3;background:#fff;border-radius:12px;padding:13px 14px;margin:9px 0;cursor:pointer;}
.ntf-word-option:has(input:checked){border-color:#7962dc;background:#f6f2ff;}
.ntf-word-option input[type=radio]{width:17px;height:17px;margin:4px 0 0;flex:none;accent-color:#6c53df;}
.ntf-word-option span{min-width:0;display:block}
.ntf-word-option strong{font-size:14px;color:#1f3152;display:block}
.ntf-word-option small{font-size:12px;line-height:1.6;color:#5f6c86;display:block;font-weight:400;margin-top:4px}
.ntf-word-layout-hint{font-size:13px;line-height:1.6;color:#34446b;background:#f1f6ff;border-radius:10px;padding:12px 14px;margin-top:12px;}
