/* v15 Mobil Uyum Güçlendirme Paketi */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{touch-action:manipulation}img,canvas,video{max-width:100%}button,a,input,select,textarea{font-size:16px}input,select,textarea{min-height:44px}.btn,button{min-height:44px}.actions{max-width:100%}.tablewrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{max-width:100%}
@media(max-width:900px){
  .wrap{width:100%!important;padding-left:12px!important;padding-right:12px!important;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}.top,.hero{gap:12px!important}.brand{min-width:0}.brand h1,h1{word-break:normal;overflow-wrap:anywhere}.card{border-radius:22px!important}.stats{grid-template-columns:1fr 1fr!important}.grid{grid-template-columns:1fr!important}.actions{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}.actions .btn,.actions a,.actions button{white-space:nowrap;flex:0 0 auto}.pill,.badge,.member{white-space:nowrap}.doc{border-radius:22px!important}.line,.paper-line{gap:8px!important}.line span,.paper-line span{word-break:break-word}.sigs,.mini,.meters,.charts{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  h1{font-size:clamp(30px,12vw,46px)!important;letter-spacing:-1.2px!important}.lead,.muted{font-size:15px!important}.card,.card-inner{padding:14px!important}.row{grid-template-columns:1fr!important}.stats{grid-template-columns:1fr!important}.stat b{font-size:28px!important}.btn,button,a.btn{width:auto;justify-content:center;text-align:center}.actions{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important}.actions .btn,.actions a,.actions button{width:100%;white-space:normal}.line,.paper-line{display:grid!important;grid-template-columns:1fr!important;text-align:left!important}.line span,.paper-line span{text-align:left!important}.tablewrap table{min-width:760px}.doc{padding:16px!important}.seal{width:76px!important;height:76px!important;font-size:34px!important}.stamp{font-size:20px!important;text-align:center}.verify{grid-template-columns:1fr!important;text-align:center}.verify img{margin:auto}.visual-preview img,.doc-visual img{max-height:300px!important}
  /* Sohbet mobil */
  .chat-shell{border-radius:22px!important;min-height:calc(100vh - 150px)}.chat-head{display:grid!important}.messages{height:calc(100vh - 315px)!important;min-height:330px!important;padding:12px!important}.msg{max-width:94%!important}.bubble{font-size:15px!important}.composer{position:sticky;bottom:0;z-index:5;padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}.quick{display:flex!important;overflow-x:auto;flex-wrap:nowrap!important}.quick .chip{flex:0 0 auto;white-space:nowrap}.form{grid-template-columns:1fr!important}textarea{min-height:52px!important}
}
@media(max-width:420px){
  .wrap{padding-left:10px!important;padding-right:10px!important}.card{border-radius:18px!important}.btn,button,a.btn{padding:12px 12px!important}.tablewrap table{min-width:680px}.messages{height:calc(100vh - 330px)!important}.logo{width:48px!important;height:48px!important}.brand{gap:9px!important}
}
@media(hover:none){.btn:active,button:active{transform:scale(.99)}}

/* v20 - Kompakt Mobil Sohbet ve Panel İyileştirmeleri */
@media(max-width:720px){
  body.chat-page{overflow:hidden;height:100dvh}.chat-page .wrap{height:100dvh;display:flex;flex-direction:column;padding:8px!important}.chat-page .top{flex:0 0 auto;margin-bottom:8px!important}.chat-page .brand h1{font-size:28px!important;line-height:1!important}.chat-page .brand .muted{font-size:12px!important;margin:4px 0!important}.chat-page .top .actions{grid-template-columns:1fr 1fr!important;gap:6px!important}.chat-page .top .actions .btn{min-height:38px!important;padding:8px 9px!important;font-size:12px!important;border-radius:12px!important}.chat-page .chat-shell{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;border-radius:18px!important}.chat-page .chat-head{flex:0 0 auto;padding:9px 10px!important;gap:6px!important}.chat-page .chat-head b{font-size:14px!important}.chat-page .chat-head .muted{font-size:11px!important}.chat-page .members{gap:5px!important;max-height:32px;overflow:hidden}.chat-page .member{padding:5px 7px!important;font-size:10px!important}.chat-page .messages{flex:1 1 auto;height:auto!important;min-height:0!important;padding:9px!important;gap:7px!important}.chat-page .msg{max-width:86%!important;gap:3px!important}.chat-page .bubble{padding:8px 10px!important;border-radius:14px!important;font-size:13px!important;line-height:1.35!important}.chat-page .meta{font-size:10px!important;line-height:1.2!important}.chat-page .read{font-size:10px!important}.chat-page .chat-img{max-width:180px!important;max-height:180px!important;object-fit:cover!important;border-radius:12px!important}.chat-page .composer{flex:0 0 auto;padding:8px!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}.chat-page .quick{gap:6px!important;margin-bottom:7px!important}.chat-page .quick .chip{padding:7px 8px!important;font-size:12px!important;border-radius:999px!important}.chat-page .fileline{margin-bottom:7px!important;gap:6px!important}.chat-page .fileline input{font-size:12px!important;max-width:180px!important;min-height:36px!important;padding:7px!important}.chat-page #fileInfo{font-size:11px!important;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-page textarea{min-height:42px!important;max-height:90px!important;border-radius:14px!important;font-size:14px!important;padding:9px 10px!important}.chat-page .form .btn{min-height:40px!important;padding:9px!important;font-size:14px!important;border-radius:14px!important}.chat-page .status{font-size:10px!important;margin-top:5px!important}.chat-page .del{font-size:10px!important;margin-left:4px!important}.chat-page #pwaWidget{bottom:72px!important;transform:scale(.84);transform-origin:right bottom}
}
@media(max-width:430px){
  .chat-page .top .actions{grid-template-columns:1fr!important}.chat-page .top .actions .btn:nth-child(n+3){display:none}.chat-page .brand h1{font-size:24px!important}.chat-page .msg{max-width:92%!important}.chat-page .chat-img{max-width:150px!important;max-height:150px!important}.chat-page .quick .chip{font-size:11px!important;padding:6px 7px!important}.chat-page .fileline{display:grid!important;grid-template-columns:1fr!important}.chat-page .fileline input{max-width:100%!important}.chat-page #fileInfo{max-width:100%}.chat-page .messages{padding:7px!important}.chat-page .composer{padding:7px!important}}
@media(max-height:680px) and (max-width:720px){
  .chat-page .brand .muted,.chat-page .chat-head .muted{display:none!important}.chat-page .members{display:none!important}.chat-page .quick .chip:nth-child(n+4){display:none!important}.chat-page .fileline{display:none!important}.chat-page .bubble{font-size:12.5px!important}.chat-page textarea{min-height:38px!important;max-height:70px!important}
}
