
/* FA-NET basic info + mobile repair v82 */
.bi82-card{max-width:1180px;margin:0 auto}
.bi82-head{margin-bottom:14px}
.bi82-head h2{margin-bottom:4px}
.bi82-party{margin-top:18px}
.bi82-party>h3{margin:0 0 10px;padding-bottom:7px;border-bottom:1px solid #d8dde3}
.bi82-grid,.bi82-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bi82-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.bi82-field>span,.bi82-row small{font-size:12px;font-weight:700;color:#52606d}
.bi82-field input,.bi82-field textarea{width:100%;box-sizing:border-box}
.bi82-field textarea{resize:vertical;min-height:120px}
.bi82-wide{grid-column:1/-1}
.bi82-row{border:1px solid #d8dde3;border-radius:8px;background:#fff;padding:12px;min-width:0}
.bi82-row strong{display:block;margin-top:5px;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.bi82-contract{white-space:pre-wrap;line-height:1.65;overflow-wrap:anywhere}
.bi82-actions{display:flex;justify-content:flex-end;margin-top:16px}

/* smartphone header repair */
@media(max-width:640px){
 html,body{width:100%;max-width:100%;overflow-x:hidden}
 #app header{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
  padding:8px!important;
  box-sizing:border-box!important;
 }
 #app .header-left{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
 }
 #app #userbox{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  overflow:visible!important;
 }
 #app #userbox .userbox-v72{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
 }
 #app #userbox .userbox-v78-meta,
 #app #userbox .userbox-v78-actions{
  width:100%!important;
  max-width:100%!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 }
 #app #userbox .userbox-v78-meta{height:32px!important;gap:4px!important}
 #app #userbox .userbox-v78-actions{height:34px!important;gap:4px!important;margin-top:4px!important}
 #app #userbox .userbox-v78-cell,
 #app #userbox .userbox-v78-actions .userbox-action{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  font-size:11px!important;
 }
 #app #userbox .userbox-v72-jst{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  font-size:10px!important;
  text-align:center!important;
 }
 #nav{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  -webkit-overflow-scrolling:touch!important;
 }
 #nav button{flex:0 0 auto!important;min-height:40px!important}
 main{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}

 .bi82-card{padding:12px}
 .bi82-grid,.bi82-view{grid-template-columns:1fr}
 .bi82-wide{grid-column:1}
 .bi82-party{margin-top:14px}
 .bi82-actions{justify-content:stretch}
 .bi82-actions button{width:100%;min-height:42px}
}
@media(max-width:430px){
 #app header{padding:6px!important}
 #app #userbox .userbox-v78-meta{height:30px!important;gap:3px!important}
 #app #userbox .userbox-v78-actions{height:32px!important;gap:3px!important;margin-top:3px!important}
 #app #userbox .userbox-v78-cell,
 #app #userbox .userbox-v78-actions .userbox-action{font-size:9px!important;padding-left:2px!important;padding-right:2px!important}
 #app #userbox .userbox-v72-jst{font-size:8.5px!important}
}
