/* Host-only small-screen layout. Desktop rules are intentionally unchanged. */
@media (max-width:700px){
 #hd-host-dialog,#hd-host-dialog.hd-admin-mode{position:fixed!important;inset:0!important;transform:none!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;padding:calc(16px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
 #hd-host-dialog *{box-sizing:border-box;min-width:0;}
 #hd-host-dialog #hd-host-close{position:sticky!important;top:0!important;float:right;width:44px!important;height:44px!important;z-index:20;background:#edf4ed!important;border:1px solid #cbdccf;border-radius:50%;}
 #hd-host-dialog>.hd-local-language{clear:both;padding:0;margin:8px 0 16px!important;justify-content:flex-start;}
 #hd-host-dialog .hd-local-language select{max-width:calc(100vw - 150px)!important;}
 #hd-host-dialog #hd-admin-app,#hd-host-dialog #hd-host-signed-in{width:100%;max-width:100%;}
 #hd-host-dialog .hd-admin-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;}
 #hd-host-dialog.hd-admin-mode .hd-admin-heading>div{min-width:0!important;flex:auto!important;}
 #hd-host-dialog .hd-admin-heading button,#hd-host-dialog #hd-host-signout{width:100%!important;min-height:44px;}
 #hd-host-dialog .hd-admin-tabs{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));flex-wrap:wrap!important;overflow:visible!important;gap:7px;padding:12px 0;}
 #hd-host-dialog .hd-admin-tabs button{white-space:normal!important;min-height:46px;padding:10px 8px;font-size:14px;}
 #hd-host-dialog .hd-admin-grid,#hd-host-dialog .hd-work-grid{grid-template-columns:minmax(0,1fr)!important;}
 #hd-host-dialog .hd-admin-metrics,#hd-host-dialog #hd-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;}
 #hd-host-dialog .hd-admin-metrics>div{padding:13px 10px;overflow-wrap:anywhere;}
 #hd-host-dialog .hd-admin-metrics strong{font-size:23px;}
 #hd-host-dialog input,#hd-host-dialog select,#hd-host-dialog textarea{font-size:16px!important;max-width:100%!important;min-height:44px;}
 #hd-host-dialog input[type=checkbox],#hd-host-dialog input[type=radio]{min-height:20px;width:20px!important;flex:0 0 20px;}
 #hd-host-dialog .hd-admin-table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain;}
 #hd-host-dialog .hd-admin-table{min-width:560px;}
 #hd-host-dialog .hd-admin-table button{min-height:44px;min-width:80px;}
 #hd-host-dialog .hd-admin-table td:first-child{min-width:150px;max-width:200px;overflow-wrap:anywhere;}
 #hd-host-dialog .hd-admin-toolbar,#hd-host-dialog .hd-seller-toolbar,#hd-host-dialog .hd-admin-pagination{display:flex;flex-wrap:wrap;gap:9px;}
 #hd-host-dialog .hd-admin-toolbar>*,#hd-host-dialog .hd-seller-toolbar>*{max-width:100%;}
 #hd-host-dialog .hd-admin-section details,#hd-host-dialog #hd-product-editor,#hd-host-dialog .hd-admin-payment-group{padding:12px;}
 #hd-host-dialog .hd-admin-section summary{min-height:42px;line-height:1.6;overflow-wrap:anywhere;}
 #hd-host-dialog .hd-product-row{flex-wrap:wrap;}
 #hd-host-dialog pre,#hd-host-dialog p{overflow-wrap:anywhere;}
 #hd-host-dialog .hd-mobile-table-hint{display:block;font-size:12px;color:#536c5b;margin:8px 0;}
}
@media(min-width:701px){#hd-host-dialog .hd-mobile-table-hint{display:none;}}
